.fmsa-archive-wrap,
.fmsa-archive-wrap *,
.fmsa-pack-single-wrap,
.fmsa-pack-single-wrap * {
    box-sizing: border-box;
}

.fmsa-filter-options [hidden],
.fmsa-filter-no-result[hidden] {
    display: none !important;
}

.fmsa-archive-wrap {
    width: 100%;
    direction: rtl;
    padding-right: clamp(10px, 2vw, 20px);
    padding-left: clamp(10px, 2vw, 20px);
}

.fmsa-archive-hidden-heading {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}


.fmsa-filter-open {
    width: 100%;
    margin: 0 0 18px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #ff7a00;
    border-radius: 16px;
    background: #ff7a00;
    box-shadow: none;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
    transition: transform .16s ease, opacity .16s ease;
}

.fmsa-filter-open:hover,
.fmsa-filter-open:focus-visible {
    transform: translateY(-1px);
    opacity: .94;
    color: #ffffff;
    outline: none;
}

.fmsa-filter-open-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #ffffff;
}

.fmsa-filter-open-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fmsa-skin-title-search-wrap {
    position: relative;
    width: 100%;
    margin: -4px 0 18px;
}

.fmsa-title-search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8f8f8f;
    transform: translateY(-50%);
    pointer-events: none;
}

.fmsa-title-search-icon svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fmsa-skin-title-search {
    width: 100%;
    min-height: 48px;
    border: 1px solid #e2e2e2;
    border-radius: 16px;
    background: #ffffff;
    color: #222222;
    padding: 0 46px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 48px;
    text-align: center;
    direction: rtl;
    outline: none;
    box-shadow: none;
}

.fmsa-skin-title-search::placeholder {
    color: #9a9a9a;
    opacity: 1;
    text-align: center;
}

.fmsa-skin-title-search:focus {
    border-color: #ff7a00;
}

.fmsa-skins-grid {
    --fmsa-cols: 6;
    --fmsa-tablet-cols: 4;
    --fmsa-mobile-cols: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(var(--fmsa-cols), minmax(0, 1fr));
    gap: 14px;
    position: relative;
    isolation: isolate;
}

.fmsa-skins-grid.is-pagination-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 30;
    border-radius: 22px;
    background: rgba(255, 255, 255, .58);
    pointer-events: auto;
}

.fmsa-skins-grid.is-pagination-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 31;
    width: 34px;
    height: 34px;
    margin: -19px 0 0 -19px;
    border: 4px solid rgba(48, 48, 48, .18);
    border-top-color: #303030;
    border-radius: 50%;
    animation: fmsaSpin .72s linear infinite;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .fmsa-skins-grid.is-pagination-loading::before {
        animation-duration: 1.6s;
    }
}

.fmsa-skin-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 0.64;
    min-width: 0;
    border-radius: 22px;
    background: #f8eee5;
    border: 1px solid #ead8c8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .07);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
    contain: layout paint;
    isolation: isolate;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.fmsa-skin-card:hover {
    transform: translateY(-3px);
    border-color: #e4cdb8;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .10);
}

.fmsa-skin-title {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5;
    margin: 0 !important;
    min-height: 34px;
    padding: 8px 10px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    color: #ffffff !important;
    font: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #303030;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    border-radius: 0;
}

.fmsa-skin-preview {
    position: absolute;
    inset: 38px 2px 38px;
    border-radius: 18px;
    overflow: hidden;
    pointer-events: none;
    background: transparent;
    transform: translateZ(0);
}

.fmsa-skin-canvas {
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background: transparent;
    transform: translateZ(0);
}

.fmsa-skin-index-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.fmsa-skin-canvas,
.fmsa-single-main-canvas,
.fmsa-single-side-canvas {
    position: relative;
    z-index: 1;
}

.fmsa-skin-download {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .22);
    border-radius: 0;
    background: #ff7a00;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transition: transform .16s ease, opacity .16s ease;
}

.fmsa-skin-download:hover,
.fmsa-skin-download:focus-visible {
    transform: none;
    color: #ffffff;
    background: #ff7a00;
    opacity: .94;
    outline: none;
}

.fmsa-skin-download[disabled] {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.fmsa-empty {
    padding: 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    color: #666666;
    text-align: center;
}

.fmsa-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.fmsa-filter-modal.is-open {
    display: flex;
}

.fmsa-filter-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .48);
}

.fmsa-filter-panel {
    position: relative;
    width: min(920px, 100%);
    max-height: min(720px, 92vh);
    overflow: auto;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e9e9e9;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .26);
    padding: 18px;
}

.fmsa-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.fmsa-filter-head strong {
    color: #222222;
    font-size: 17px;
    font-weight: 900;
}

.fmsa-filter-head button {
    width: 36px;
    height: 36px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #f6f6f6;
    color: #222222;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.fmsa-filter-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.fmsa-filter-tab {
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    background: #f7f7f7;
    color: #333333;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.fmsa-filter-tab:hover,
.fmsa-filter-tab:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.fmsa-filter-tab.is-active {
    border-color: #ff7a00;
    background: #ff7a00;
    color: #ffffff;
}


.fmsa-filter-search-wrap {
    position: relative;
    margin-bottom: 12px;
}

.fmsa-filter-search-icon {
    position: absolute;
    top: 50%;
    right: 13px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #777777;
    transform: translateY(-50%);
    pointer-events: none;
}

.fmsa-filter-search-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fmsa-filter-search {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dedede;
    border-radius: 15px;
    background: #ffffff;
    color: #222222;
    padding: 0 42px 0 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    outline: none;
    box-shadow: none;
}

.fmsa-filter-search:focus {
    border-color: #ff7a00;
}

.fmsa-filter-panels {
    width: 100%;
}

.fmsa-filter-panel-tab {
    width: 100%;
    border-radius: 18px;
    padding: 12px;
    background: #fafafa;
    border: 1px solid #e9e9e9;
}

.fmsa-filter-panel-tab[hidden] {
    display: none !important;
}

.fmsa-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.fmsa-filter-options label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    background: #ffffff;
    color: #777777;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.fmsa-filter-options label:hover,
.fmsa-filter-options label:focus-within {
    border-color: #cfcfcf;
    transform: translateY(-1px);
}

.fmsa-filter-options label.is-selected {
    border-color: #ff7a00;
    background: #ff7a00;
    color: #ffffff;
}

.fmsa-filter-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.fmsa-filter-options p,
.fmsa-filter-no-result {
    grid-column: 1 / -1;
    margin: 0;
    color: #777777;
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

.fmsa-filter-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 14px;
    width: 100%;
}

.fmsa-filter-actions button {
    flex: 1 1 50%;
    width: 50%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    padding: 0 16px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    transition: transform .16s ease, opacity .16s ease;
}

.fmsa-filter-actions button:hover,
.fmsa-filter-actions button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.fmsa-filter-reset {
    order: 1;
    border: 1px solid #d9d9d9;
    background: #f4f4f4;
    color: #222222;
}

.fmsa-filter-apply {
    order: 2;
    border: 1px solid #ff7a00;
    background: #ff7a00;
    color: #ffffff;
}

.fmsa-filter-apply.is-loading {
    opacity: .88;
    cursor: wait;
    pointer-events: none;
}

.fmsa-filter-loader {
    width: 15px;
    height: 15px;
    display: none;
    border: 2px solid rgba(255, 255, 255, .55);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: fmsaSpin .7s linear infinite;
}

.fmsa-filter-apply.is-loading .fmsa-filter-loader {
    display: inline-block;
}

.fmsa-pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fmsa-pagination::-webkit-scrollbar {
    display: none;
}

.fmsa-pagination[hidden] {
    display: none !important;
}

.fmsa-pagination button,
.fmsa-pagination a {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    color: #333333;
    cursor: pointer;
    padding: 0 12px;
    font: inherit;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transition: transform .16s ease, opacity .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease;
}

.fmsa-pagination button:hover,
.fmsa-pagination button:focus-visible,
.fmsa-pagination a:hover,
.fmsa-pagination a:focus-visible {
    transform: translateY(-1px);
    border-color: #ff7a00;
    outline: none;
}

.fmsa-pagination button.is-active,
.fmsa-pagination a.is-active {
    border-color: #ff7a00;
    background: #ff7a00;
    color: #ffffff;
}

.fmsa-pagination button:disabled,
.fmsa-pagination a.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.fmsa-page-ellipsis {
    min-width: 22px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #8a8a8a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.fmsa-page-icon {
    display: none;
    font-size: 21px;
    line-height: 1;
}


@keyframes fmsaSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .fmsa-pagination .fmsa-page-prev,
    .fmsa-pagination .fmsa-page-next {
        min-width: 38px;
        width: 38px;
        padding: 0;
    }

    .fmsa-page-text {
        display: none;
    }

    .fmsa-page-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .fmsa-skins-grid {
        grid-template-columns: repeat(var(--fmsa-tablet-cols), minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .fmsa-skins-grid {
        grid-template-columns: repeat(var(--fmsa-mobile-cols), minmax(0, 1fr));
        gap: 8px;
    }

    .fmsa-filter-modal {
        padding: 10px;
    }

    .fmsa-filter-panel {
        border-radius: 20px;
        padding: 12px;
    }

    .fmsa-filter-tabs {
        gap: 6px;
    }

    .fmsa-filter-tab {
        min-height: 40px;
        gap: 4px;
        border-radius: 12px;
        font-size: 11px;
    }

    .fmsa-filter-panel-tab {
        padding: 10px;
    }

    .fmsa-filter-options {
        gap: 8px;
    }

    .fmsa-filter-options label {
        min-height: 36px;
        padding: 7px 8px;
        border-radius: 11px;
        font-size: 12px;
    }

    .fmsa-skin-title-search-wrap {
        margin-bottom: 14px;
    }

    .fmsa-skin-title-search {
        min-height: 44px;
        border-radius: 14px;
        font-size: 13px;
    }

    .fmsa-pagination {
        justify-content: flex-start;
        padding-bottom: 2px;
    }

    .fmsa-pagination button,
    .fmsa-pagination a {
        min-width: 34px;
        min-height: 34px;
        border-radius: 11px;
        padding: 0 10px;
        font-size: 12px;
    }

    .fmsa-skin-card {
        border-radius: 16px;
    }

    .fmsa-skin-preview {
        inset: 36px 1px 36px;
        border-radius: 13px;
    }

    .fmsa-skin-title {
        top: 0;
        right: 0;
        left: 0;
        min-height: 30px;
        padding: 7px 8px;
        font-size: 11px;
    }

    .fmsa-skin-download {
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 30px;
        font-size: 11px;
    }
}

.fmsa-skin-card-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
    outline: none;
}

.fmsa-skin-card-link:hover,
.fmsa-skin-card-link:focus-visible {
    color: inherit;
    text-decoration: none !important;
    outline: none;
}

.fmsa-skin-card-link:focus-visible::after {
    content: "";
    position: absolute;
    inset: 4px;
    z-index: 8;
    border: 2px solid rgba(255, 122, 0, .8);
    border-radius: 18px;
    pointer-events: none;
}

.fmsa-skin-download-count,
.fmsa-skin-download-count:hover,
.fmsa-skin-download-count:focus-visible {
    cursor: default;
    pointer-events: none;
    opacity: 1;
}

body.single-fmsa_skin article.fmsa_skin > header,
body.single-fmsa_skin article.fmsa_skin .entry-title {
    display: none !important;
}

.fmsa-single-wrap,
.fmsa-single-wrap * {
    box-sizing: border-box;
}

.fmsa-single-wrap {
    width: 100%;
    direction: rtl;
    padding: clamp(10px, 2vw, 20px);
}

.fmsa-single-title-box {
    width: min(1180px, 100%);
    margin: 0 auto 12px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 18px;
    background: #303030;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
}

.fmsa-single-title-box h1 {
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font: inherit;
    font-size: clamp(15px, 2.2vw, 21px);
    font-weight: 900;
    line-height: 1.45;
    text-align: center;
}

.fmsa-single-description {
    position: relative;
    width: min(1180px, 100%);
    margin: 12px auto 0;
    padding: 14px 18px 16px;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    color: #555555;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .04);
}

.fmsa-single-description-content {
    max-height: none;
    overflow: visible;
}

.fmsa-single-description.has-overflow:not(.is-expanded) .fmsa-single-description-content {
    max-height: 5.7em;
    overflow: hidden;
}

.fmsa-single-description.has-overflow:not(.is-expanded)::after {
    content: '';
    position: absolute;
    right: 1px;
    bottom: 1px;
    left: 1px;
    height: 74px;
    border-radius: 0 0 17px 17px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .92) 54%, #ffffff 100%);
    pointer-events: none;
}

.fmsa-single-description-more {
    position: absolute;
    right: 50%;
    bottom: 10px;
    z-index: 1;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: #ffffff;
    color: #4f4f4f;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    transform: translateX(50%);
}

.fmsa-single-description.has-overflow:not(.is-expanded) .fmsa-single-description-more,
.fmsa-single-description.has-overflow.is-expanded .fmsa-single-description-more {
    display: inline-flex;
}

.fmsa-single-description.has-overflow.is-expanded .fmsa-single-description-more {
    position: static;
    margin: 12px auto 0;
    transform: none;
}

.fmsa-single-description-more:hover,
.fmsa-single-description-more:focus-visible {
    outline: none;
    border-color: #cfcfcf;
    color: #3f3f3f;
}

.fmsa-archive-seo {
    margin-top: 24px;
    text-align: right;
}

.fmsa-archive-seo h2,
.fmsa-archive-seo h3,
.fmsa-archive-seo h4 {
    margin: 18px 0 8px !important;
    padding: 0 !important;
    color: #303030;
    font: inherit;
    font-weight: 900;
    line-height: 1.7;
}

.fmsa-archive-seo h2 {
    font-size: clamp(18px, 2.2vw, 23px);
}

.fmsa-archive-seo h3 {
    font-size: clamp(16px, 1.9vw, 20px);
}

.fmsa-archive-seo h4 {
    font-size: 15px;
}

.fmsa-archive-seo p {
    margin: 0 0 10px !important;
    color: #555555;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 2;
}

.fmsa-archive-seo script {
    display: none !important;
}

.fmsa-archive-faq {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #eeeeee;
}

.fmsa-archive-faq-title {
    margin-bottom: 12px;
    color: #303030;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.7;
}

.fmsa-archive-faq-item {
    margin: 0 0 12px;
    padding: 12px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid #eeeeee;
}

.fmsa-archive-faq-item strong {
    display: block;
    margin-bottom: 6px;
    color: #333333;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.8;
}

.fmsa-archive-faq-item p {
    margin-bottom: 0 !important;
}


.fmsa-single-stage {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(62px, .12fr) minmax(320px, .76fr) minmax(62px, .12fr);
    gap: clamp(8px, 1.5vw, 16px);
    align-items: start;
    direction: ltr;
}

.fmsa-single-center,
.fmsa-single-side-wrap,
.fmsa-single-side {
    direction: rtl;
}

.fmsa-single-center {
    min-width: 0;
}

.fmsa-single-help {
    width: 100%;
    min-height: 28px;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    direction: rtl;
    overflow: visible;
}

.fmsa-single-help-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    background: #ffffff;
    color: #9a9a9a;
    cursor: default;
    padding: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.fmsa-single-help-text {
    max-width: min(430px, calc(100vw - 90px));
    margin-right: 7px;
    overflow: visible;
    white-space: normal;
    color: #888888;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
    opacity: 1;
    transform: none;
    transition: none;
}

.fmsa-single-help:hover .fmsa-single-help-text,
.fmsa-single-help:focus-within .fmsa-single-help-text {
    max-width: min(430px, calc(100vw - 90px));
    opacity: 1;
    transform: none;
}

.fmsa-single-viewer {
    position: relative;
    width: 100%;
    height: clamp(252px, 31vw, 364px);
    max-height: 364px;
    min-height: 252px;
    overflow: hidden;
    border-radius: 24px;
    background: #f8eee5;
    border: 1px solid #ead7c5;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .09);
    touch-action: none;
    cursor: grab;
    contain: layout paint;
    isolation: isolate;
}

.fmsa-single-viewer:active {
    cursor: grabbing;
}

.fmsa-single-main-canvas,
.fmsa-single-side-canvas {
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.fmsa-single-side-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fmsa-single-side-wrap.is-empty {
    visibility: hidden;
    pointer-events: none;
}

.fmsa-single-side-label {
    width: 100%;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 14px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #444444 !important;
    text-decoration: none !important;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .05);
    transition: transform .16s ease, opacity .16s ease;
}

.fmsa-single-side-label:hover,
.fmsa-single-side-label:focus-visible {
    transform: translateY(-1px);
    opacity: .94;
    outline: none;
}

.fmsa-single-side {
    width: 100%;
    height: clamp(150px, 20vw, 230px);
    max-height: 230px;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #fff7ef;
    border: 1px solid #ead7c5;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .07);
    text-decoration: none !important;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.fmsa-single-side:hover,
.fmsa-single-side:focus-visible {
    transform: translateY(-2px);
    border-color: #e4cdb8;
    box-shadow: 0 13px 26px rgba(0, 0, 0, .10);
    outline: none;
}

.fmsa-single-actions {
    width: 100%;
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.fmsa-single-action {
    min-width: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e2e2;
    border-radius: 15px;
    background: #ffffff;
    color: #676767;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
    transition: transform .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease;
}

.fmsa-single-action:hover,
.fmsa-single-action:focus-visible {
    transform: translateY(-1px);
    border-color: #cfcfcf;
    background: #ffffff;
    color: #5f5f5f;
    outline: none;
}

.fmsa-single-action.is-active,
.fmsa-single-action.is-active:hover,
.fmsa-single-action.is-active:focus-visible {
    transform: translateY(-1px);
    border-color: #cfcfcf;
    background: #f5f5f5;
    color: #5f5f5f;
    outline: none;
}

.fmsa-single-action svg,
.fmsa-single-download-button svg {
    width: 21px;
    height: 21px;
    display: block;
}

.fmsa-single-action svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: none;
}

.fmsa-single-download-button svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.fmsa-single-action[data-fmsa-single-overlay] svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fmsa-single-downloads {
    width: 100%;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fmsa-single-download-button {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #3f3f3f;
    border-radius: 16px;
    background: #3f3f3f;
    color: #ffffff;
    cursor: pointer;
    padding: 0 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    box-shadow: none;
    transition: transform .16s ease, opacity .16s ease;
}

.fmsa-single-download-button:hover,
.fmsa-single-download-button:focus-visible {
    transform: translateY(-1px);
    color: #ffffff;
    opacity: .94;
    outline: none;
}

.fmsa-single-download-button[disabled] {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.fmsa-single-back-button {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #dddddd;
    border-radius: 16px;
    background: #ffffff;
    color: #444444 !important;
    text-decoration: none !important;
    cursor: pointer;
    padding: 0 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    box-shadow: none;
    transition: transform .16s ease, opacity .16s ease;
}

.fmsa-single-back-button:hover,
.fmsa-single-back-button:focus-visible {
    transform: translateY(-1px);
    color: #303030 !important;
    opacity: .94;
    outline: none;
}

.fmsa-single-nav-separator {
    display: none;
}

.fmsa-single-count {
    margin: 10px 0 0;
    color: #777777;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
}


@media (min-width: 1200px) {
    .fmsa-single-title-box,
    .fmsa-single-description,
    .fmsa-single-stage {
        width: min(860px, 100%);
    }

    .fmsa-single-stage {
        grid-template-columns: minmax(78px, 120px) minmax(360px, 560px) minmax(78px, 120px);
        justify-content: center;
    }

    .fmsa-single-viewer {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: 0;
        max-height: none;
    }
}

@media (max-width: 720px) {
    .fmsa-single-wrap {
        padding: 8px;
    }

    .fmsa-single-title-box {
        min-height: 46px;
        margin-bottom: 8px;
        border-radius: 15px;
        padding: 8px 12px;
    }

    .fmsa-single-title-box h1 {
        font-size: 14px;
    }

    .fmsa-single-description {
        margin-top: 8px;
        padding: 10px 12px 14px;
        border-radius: 15px;
        font-size: 12.5px;
    }

    .fmsa-single-description.has-overflow:not(.is-expanded)::after {
        border-radius: 0 0 14px 14px;
    }

    .fmsa-single-stage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "center center"
            "separator separator"
            "prev next";
        gap: 10px 8px;
        direction: rtl;
    }

    .fmsa-single-center {
        grid-area: center;
    }

    .fmsa-single-side-wrap.is-prev {
        grid-area: prev;
    }

    .fmsa-single-side-wrap.is-next {
        grid-area: next;
    }

    .fmsa-single-nav-separator {
        grid-area: separator;
        width: 100%;
        margin: 10px 0 2px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .fmsa-single-nav-separator::before {
        content: '';
        width: min(170px, 56%);
        height: 1px;
        display: block;
        background: #dddddd;
    }

    .fmsa-single-help {
        min-height: 26px;
        margin-bottom: 6px;
    }

    .fmsa-single-help-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 13px;
    }

    .fmsa-single-help-text {
        margin-right: 6px;
        font-size: 10px;
        line-height: 1.6;
    }

    .fmsa-single-viewer {
        height: clamp(252px, 62vw, 308px);
        min-height: 252px;
        border-radius: 19px;
    }

    .fmsa-single-side-wrap {
        gap: 6px;
    }

    .fmsa-single-side-label {
        min-height: 36px;
        padding: 0 6px;
        border-radius: 12px;
        font-size: 11px;
    }

    .fmsa-single-side {
        height: clamp(156px, 48vw, 230px);
        border-radius: 15px;
    }

    .fmsa-single-actions {
        margin-top: 8px;
        gap: 6px;
    }

    .fmsa-single-action {
        min-height: 40px;
        border-radius: 12px;
    }

    .fmsa-single-action svg,
    .fmsa-single-download-button svg {
        width: 18px;
        height: 18px;
    }

    .fmsa-single-action[data-fmsa-single-overlay] svg {
        width: 16px;
        height: 16px;
    }

    .fmsa-single-downloads {
        margin-top: 8px;
        gap: 8px;
    }

    .fmsa-single-download-button,
    .fmsa-single-back-button {
        min-height: 44px;
        border-radius: 14px;
        font-size: 13px;
    }
}

.fmsa-slider-wrap,
.fmsa-slider-wrap * {
    box-sizing: border-box;
}

.fmsa-slider-wrap {
    --fmsa-slider-cols: 6;
    --fmsa-slider-tablet-cols: 3.5;
    --fmsa-slider-mobile-cols: 2.5;
    --fmsa-slider-gap: 14px;
    --fmsa-slider-gap-total: 70px;
    --fmsa-slider-laptop-gap-total: 48px;
    --fmsa-slider-zoom-cols: 4.5;
    --fmsa-slider-zoom-gap-total: 48px;
    --fmsa-slider-tablet-gap-total: 36px;
    --fmsa-slider-mobile-gap-total: 16px;
    width: 100%;
    direction: rtl;
    padding-right: clamp(10px, 2vw, 20px);
    padding-left: clamp(10px, 2vw, 20px);
}

.fmsa-slider-heading {
    width: 100%;
    margin: 0 0 16px;
    text-align: center;
}

.fmsa-slider-heading h2 {
    margin: 0 0 6px !important;
    padding: 0 !important;
    color: #303030;
    font: inherit;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 900;
    line-height: 1.5;
}

.fmsa-slider-heading p {
    margin: 0 !important;
    padding: 0 !important;
    color: #8a8a8a;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fmsa-slider-shell {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
    align-items: center;
    direction: ltr;
}

.fmsa-slider-arrow-next {
    grid-column: 1;
}

.fmsa-slider-arrow-prev {
    grid-column: 3;
}

.fmsa-slider-viewport {
    min-width: 0;
    overflow: hidden;
    direction: rtl;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.fmsa-slider-track {
    display: flex;
    gap: var(--fmsa-slider-gap);
    direction: rtl;
    will-change: transform;
    transition: transform .28s ease;
}

.fmsa-slider-track.is-dragging {
    transition: none;
}


.fmsa-slider-track .fmsa-skin-card {
    flex: 0 0 calc((100% - var(--fmsa-slider-gap-total)) / var(--fmsa-slider-cols));
    direction: rtl;
}

.fmsa-slider-arrow {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #ffffff;
    color: #555555;
    cursor: pointer;
    font: inherit;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
    transition: transform .16s ease, opacity .16s ease, border-color .16s ease;
}

.fmsa-slider-arrow:hover,
.fmsa-slider-arrow:focus-visible {
    transform: translateY(-1px);
    border-color: #d2d2d2;
    color: #444444;
    outline: none;
}

.fmsa-slider-arrow[disabled] {
    opacity: .36;
    cursor: default;
    transform: none;
}

.fmsa-slider-dots {
    width: 100%;
    min-height: 18px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    direction: rtl;
}

.fmsa-slider-more-wrap {
    width: 100%;
    margin-top: 14px;
    display: flex;
    justify-content: center;
    direction: rtl;
}

.fmsa-slider-more-button {
    width: 50%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #ff7a00;
    color: #ffffff !important;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(255, 122, 0, .22);
    transition: transform .16s ease, opacity .16s ease;
}

.fmsa-slider-more-button:hover,
.fmsa-slider-more-button:focus-visible {
    transform: translateY(-1px);
    color: #ffffff !important;
    opacity: .94;
    outline: none;
}

.fmsa-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d2d2d2;
    cursor: pointer;
    transition: width .18s ease, background-color .18s ease, opacity .18s ease;
}

.fmsa-slider-dot.is-active {
    width: 20px;
    background: #ff7a00;
}

@media (min-width: 721px) and (max-width: 1024px) {
    .fmsa-slider-wrap {
        --fmsa-slider-cols: var(--fmsa-slider-tablet-cols, 3.5);
        --fmsa-slider-gap: 12px;
        --fmsa-slider-gap-total: var(--fmsa-slider-tablet-gap-total, 36px);
    }
}

@media (max-width: 720px) {
    .fmsa-slider-wrap {
        --fmsa-slider-cols: var(--fmsa-slider-mobile-cols, 2.5);
        --fmsa-slider-gap: 8px;
        --fmsa-slider-gap-total: var(--fmsa-slider-mobile-gap-total, 16px);
        padding-right: 8px;
        padding-left: 8px;
    }

    .fmsa-slider-heading {
        margin-bottom: 12px;
    }

    .fmsa-slider-heading h2 {
        font-size: 17px;
    }

    .fmsa-slider-heading p {
        max-width: 100%;
        font-size: 11px;
        line-height: 1.45;
    }

    .fmsa-slider-shell {
        display: block;
    }

    .fmsa-slider-viewport {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        touch-action: pan-x;
    }

    .fmsa-slider-viewport::-webkit-scrollbar {
        display: none;
    }

    .fmsa-slider-track {
        transform: none !important;
        transition: none;
    }

    .fmsa-slider-arrow,
    .fmsa-slider-dots {
        display: none !important;
    }

    .fmsa-slider-track .fmsa-skin-card {
        flex: 0 0 calc((100% - 16px) / 2.5);
        min-height: 172px;
        scroll-snap-align: start;
    }

    .fmsa-slider-track .fmsa-skin-title,
    .fmsa-slider-track .fmsa-skin-download {
        min-height: 32px;
        font-size: 12px;
    }

    .fmsa-slider-track .fmsa-skin-preview {
        inset: 35px 2px 35px;
    }
}

.fmsa-archive-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.fmsa-archive-tab {
    min-height: 48px;
    border: 1px solid #e2e2e2;
    border-radius: 16px;
    background: #ffffff;
    color: #303030;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    transition: transform .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease;
}

.fmsa-archive-tab.is-active,
.fmsa-archive-tab:hover,
.fmsa-archive-tab:focus-visible {
    border-color: #ff7a00;
    background: #ff7a00;
    color: #ffffff;
    outline: none;
}

.fmsa-archive-panel[hidden] {
    display: none !important;
}

.fmsa-skin-card.has-price .fmsa-skin-preview {
    inset: 38px 2px 38px;
}

.fmsa-skin-price-card {
    position: absolute;
    right: 8px;
    bottom: 39px;
    left: 8px;
    z-index: 6;
    min-height: 34px;
    padding: 5px 10px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 13px;
    background: #ffffff;
    color: #303030;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .09);
    pointer-events: none;
}

.fmsa-skin-price-card.has-discount {
    padding-right: 42px;
}

.fmsa-price-original {
    color: #9a9a9a;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration-thickness: 1px;
    opacity: .82;
}

.fmsa-price-final {
    color: #303030;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.35;
}

.fmsa-discount-badge {
    position: absolute;
    top: 50%;
    right: 7px;
    min-width: 31px;
    min-height: 20px;
    padding: 2px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e92828;
    color: #ffffff;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    transform: translateY(-50%) rotate(-12deg);
    box-shadow: 0 6px 12px rgba(233, 40, 40, .22);
}

.fmsa-single-price-box {
    position: relative;
    width: 100%;
    min-height: 58px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    background: #ffffff;
    color: #5f5f5f;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.fmsa-single-price-box.has-discount {
    padding-right: 62px;
}

.fmsa-single-price-box .fmsa-price-label {
    color: #666666;
    font-size: 13px;
    font-weight: 900;
}

.fmsa-single-price-box .fmsa-price-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.fmsa-single-price-box .fmsa-price-original {
    font-size: 11px;
}

.fmsa-single-price-box .fmsa-price-final {
    font-size: 15px;
}

.fmsa-single-price-box .fmsa-discount-badge {
    right: 12px;
    min-width: 38px;
    min-height: 24px;
    font-size: 11px;
}

.fmsa-pack-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fmsa-pack-card {
    min-width: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .07);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.fmsa-pack-card:hover {
    transform: translateY(-3px);
    border-color: #e2e2e2;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .10);
}

.fmsa-pack-card-link {
    display: grid;
    gap: 0;
    color: inherit;
    text-decoration: none !important;
}

.fmsa-pack-card-title {
    margin: 0 !important;
    min-height: 50px;
    padding: 12px 14px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #303030;
    font: inherit;
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 950;
    line-height: 1.45;
    text-align: center;
    background: #ffffff;
}

.fmsa-pack-cover {
    aspect-ratio: 4 / 3;
    width: calc(100% - 24px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #fff7ef;
    color: #6b6b6b;
    font-weight: 900;
    overflow: hidden;
}

.fmsa-pack-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fmsa-pack-card-info {
    padding: 12px 14px 14px;
    display: grid;
    gap: 8px;
    text-align: center;
}

.fmsa-pack-skin-count {
    min-height: 30px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border-radius: 999px;
    background: #fff7ef;
    color: #5b5b5b;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.35;
}

.fmsa-pack-card-info .fmsa-skin-price-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: 40px;
}

.fmsa-pack-card-info .fmsa-price-final {
    font-size: 13px;
}

.fmsa-pack-single-wrap {
    width: 100%;
    direction: rtl;
    padding-right: clamp(10px, 2vw, 20px);
    padding-left: clamp(10px, 2vw, 20px);
}

.fmsa-pack-back-button {
    margin: 0 0 18px;
}

.fmsa-pack-skins-grid {
    margin-top: 18px;
    margin-bottom: 20px;
    gap: 14px;
    align-items: start;
}

.fmsa-pack-skins-grid .fmsa-skin-card {
    width: 100%;
}

.fmsa-pack-sticky-buy {
    position: sticky;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 30;
    width: 100%;
    margin: 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.fmsa-pack-sticky-buy .fmsa-single-price-box {
    color: #4f4f4f;
}

.fmsa-pack-sticky-buy .fmsa-single-download-button {
    width: 100%;
}

@media (min-width: 1200px) and (max-width: 1280px) {
    .fmsa-slider-wrap {
        --fmsa-slider-cols: var(--fmsa-slider-laptop-cols, 5);
        --fmsa-slider-gap: 12px;
        --fmsa-slider-gap-total: var(--fmsa-slider-laptop-gap-total, 48px);
    }
}

@media (min-width: 1200px) and (max-width: 1180px) {
    .fmsa-slider-wrap {
        --fmsa-slider-cols: var(--fmsa-slider-zoom-cols, 4.5);
        --fmsa-slider-gap: 12px;
        --fmsa-slider-gap-total: var(--fmsa-slider-zoom-gap-total, 48px);
    }
}

@media (max-width: 900px) {
    .fmsa-pack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .fmsa-archive-tabs {
        gap: 8px;
        margin-bottom: 14px;
    }

    .fmsa-archive-tab {
        min-height: 44px;
        border-radius: 14px;
        font-size: 13px;
    }

    .fmsa-skin-price-card {
        right: 6px;
        bottom: 37px;
        left: 6px;
        min-height: 31px;
        padding: 4px 8px;
        border-radius: 11px;
        font-size: 11px;
    }

    .fmsa-skin-price-card.has-discount {
        padding-right: 36px;
    }

    .fmsa-price-original {
        font-size: 9px;
    }

    .fmsa-price-final {
        font-size: 11px;
    }

    .fmsa-discount-badge {
        right: 6px;
        min-width: 27px;
        min-height: 18px;
        padding: 2px 5px;
        border-radius: 7px;
        font-size: 9px;
    }

    .fmsa-skin-card.has-price .fmsa-skin-preview {
        inset: 36px 1px 36px;
    }

    .fmsa-single-price-box {
        min-height: 54px;
        padding: 8px 10px;
        border-radius: 14px;
        font-size: 13px;
    }

    .fmsa-single-price-box.has-discount {
        padding-right: 52px;
    }

    .fmsa-single-price-box .fmsa-price-final {
        font-size: 14px;
    }

    .fmsa-single-price-box .fmsa-discount-badge {
        right: 10px;
        min-width: 34px;
        min-height: 22px;
        font-size: 10px;
    }

    .fmsa-pack-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fmsa-pack-card {
        border-radius: 20px;
    }

    .fmsa-pack-card-title {
        min-height: 44px;
        padding: 10px 12px 8px;
        font-size: 15px;
    }

    .fmsa-pack-cover {
        width: calc(100% - 20px);
        border-radius: 17px;
    }

    .fmsa-pack-card-info {
        padding: 10px 12px 12px;
    }

    .fmsa-pack-sticky-buy {
        padding: 0;
    }
}

.fmsa-archive-wrap,
.fmsa-slider-wrap,
.fmsa-pack-single-wrap {
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
}

.fmsa-skin-price-card,
.fmsa-single-price-box,
.fmsa-skin-price-card .fmsa-price-final,
.fmsa-single-price-box .fmsa-price-final {
    text-align: center;
}

.fmsa-skin-price-card .fmsa-price-original,
.fmsa-skin-price-card .fmsa-price-final {
    width: 100%;
    display: block;
    text-align: center;
}

.fmsa-skin-card.has-price .fmsa-skin-preview {
    inset: 38px 2px 38px;
}

.fmsa-discount-badge {
    right: -3px;
    transform: translateY(-50%) rotate(12deg);
}

.fmsa-single-price-box .fmsa-discount-badge {
    right: -4px;
}

.fmsa-pack-back-button {
    border-color: #c9c9c9;
}

.fmsa-pack-sticky-buy {
    transition: opacity .16s ease, transform .16s ease;
}

.fmsa-pack-sticky-buy:not(.is-active) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
}

.fmsa-pack-sticky-buy .fmsa-single-price-box {
    border-color: rgba(0, 0, 0, .18);
}

.fmsa-pack-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: .64;
    border-radius: 22px;
    background: #fff7ef;
    border: 1px solid #f0dfcf;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .07);
}

.fmsa-pack-card-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.fmsa-pack-card-title {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5;
    min-height: 34px;
    padding: 8px 10px;
    color: #ffffff !important;
    background: #303030;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fmsa-pack-cover {
    position: absolute;
    top: 44px;
    right: 8px;
    bottom: 82px;
    left: 8px;
    width: auto;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 18px;
}

.fmsa-pack-card-info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 6;
    padding: 0 8px 8px;
    display: grid;
    gap: 7px;
}

.fmsa-pack-card-info .fmsa-skin-price-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: 34px;
    padding: 6px 10px;
    border-color: #ff7a00;
    border-radius: 12px;
    background: #ff7a00;
    color: #ffffff;
    box-shadow: none;
}

.fmsa-pack-card-info .fmsa-price-original {
    color: rgba(255, 255, 255, .78);
}

.fmsa-pack-card-info .fmsa-price-final {
    color: #ffffff;
}

.fmsa-pack-card-info .fmsa-discount-badge {
    background: #303030;
    box-shadow: none;
}

@media (min-width: 1200px) {
    .fmsa-archive-wrap,
    .fmsa-pack-single-wrap {
        padding-right: 0;
        padding-left: 0;
    }

    .fmsa-skins-grid {
        --fmsa-card-width: 198px;
        grid-template-columns: repeat(var(--fmsa-cols), minmax(0, var(--fmsa-card-width)));
        justify-content: center;
    }

    .fmsa-pack-grid {
        grid-template-columns: repeat(6, minmax(0, 198px));
        justify-content: center;
        gap: 14px;
    }

    .fmsa-slider-shell {
        grid-template-columns: 42px minmax(0, calc((198px * var(--fmsa-slider-cols)) + var(--fmsa-slider-gap-total))) 42px;
        justify-content: center;
    }

    .fmsa-slider-track .fmsa-skin-card {
        flex: 0 0 198px;
    }
}

@media (min-width: 721px) and (max-width: 1180px) {
    .fmsa-slider-wrap {
        --fmsa-slider-cols: 3.5;
        --fmsa-slider-gap: 12px;
        --fmsa-slider-gap-total: 36px;
    }
}

@media (max-width: 900px) {
    .fmsa-pack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .fmsa-skin-card.has-price .fmsa-skin-preview {
        inset: 36px 1px 36px;
    }

    .fmsa-pack-cover {
        top: 40px;
        right: 7px;
        bottom: 78px;
        left: 7px;
        border-radius: 15px;
    }

    .fmsa-pack-card-title {
        min-height: 30px;
        padding: 7px 8px;
        font-size: 11px;
    }

    .fmsa-pack-grid {
        grid-template-columns: 1fr;
    }
}

.fmsa-skin-price-card.has-discount {
    padding-right: 42px;
    padding-left: 42px;
}

.fmsa-single-price-box.has-discount {
    padding-right: 62px;
    padding-left: 62px;
}

@media (max-width: 640px) {
    .fmsa-skin-price-card.has-discount {
        padding-right: 36px;
        padding-left: 36px;
    }

    .fmsa-single-price-box.has-discount {
        padding-right: 52px;
        padding-left: 52px;
    }
}

@media (min-width: 1200px) and (max-width: 1259px) {
    .fmsa-skins-grid {
        grid-template-columns: repeat(var(--fmsa-cols), minmax(0, 1fr));
        justify-content: stretch;
    }

    .fmsa-pack-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        justify-content: stretch;
    }
}

@media (min-width: 1200px) {
    .fmsa-slider-wrap {
        padding-right: 0;
        padding-left: 0;
    }
}

.fmsa-archive-wrap,
.fmsa-slider-wrap,
.fmsa-pack-single-wrap {
    width: 100%;
    max-width: 1260px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 16px;
    padding-left: 16px;
}

@media (min-width: 1200px) {
    .fmsa-skins-grid {
        grid-template-columns: repeat(var(--fmsa-cols), minmax(0, 1fr));
        justify-content: stretch;
    }

    .fmsa-pack-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        justify-content: stretch;
        gap: 14px;
    }

    .fmsa-slider-shell {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        justify-content: stretch;
    }

    .fmsa-slider-track .fmsa-skin-card {
        flex: 0 0 calc((100% - var(--fmsa-slider-gap-total)) / var(--fmsa-slider-cols));
    }
}

.fmsa-skins-grid {
    --fmsa-mobile-cols: 2;
}

.fmsa-skin-card.has-price .fmsa-skin-preview {
    inset: 38px 2px 38px;
}

.fmsa-skin-price-card.has-discount {
    min-height: 46px;
    padding: 6px 40px;
}

.fmsa-skin-price-card .fmsa-price-original,
.fmsa-skin-price-card .fmsa-price-final,
.fmsa-single-price-box .fmsa-price-original,
.fmsa-single-price-box .fmsa-price-final {
    width: 100%;
    text-align: center;
}

.fmsa-skin-price-card .fmsa-price-final,
.fmsa-single-price-box .fmsa-price-final {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    direction: rtl;
}

.fmsa-skin-price-card.has-discount .fmsa-price-final {
    font-size: 13px;
    line-height: 1.25;
}

.fmsa-skin-price-card .fmsa-price-currency {
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.fmsa-single-price-box.has-discount .fmsa-price-final {
    font-size: 17px;
    line-height: 1.25;
}

.fmsa-single-price-box .fmsa-price-currency {
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.fmsa-discount-badge {
    right: 8px;
    transform: translateY(-50%) rotate(12deg);
}

.fmsa-single-price-box .fmsa-discount-badge {
    right: 12px;
}

@media (max-width: 640px) {
    .fmsa-archive-wrap,
    .fmsa-slider-wrap,
    .fmsa-pack-single-wrap {
        padding-right: 8px;
        padding-left: 8px;
    }

    .fmsa-skin-card.has-price .fmsa-skin-preview {
        inset: 36px 1px 36px;
    }

    .fmsa-skin-price-card.has-discount {
        min-height: 43px;
        padding-right: 34px;
        padding-left: 34px;
    }

    .fmsa-skin-price-card.has-discount .fmsa-price-final {
        font-size: 12px;
    }

    .fmsa-skin-price-card .fmsa-price-currency {
        font-size: 9px;
    }

    .fmsa-single-price-box.has-discount .fmsa-price-final {
        font-size: 15px;
    }

    .fmsa-single-price-box .fmsa-price-currency {
        font-size: 11px;
    }

    .fmsa-discount-badge {
        right: 7px;
    }

    .fmsa-single-price-box .fmsa-discount-badge {
        right: 10px;
    }
}

.fmsa-archive-panel[data-fmsa-archive-panel="skins"] .fmsa-skins-grid {
    --fmsa-mobile-cols: 2 !important;
}

/* FMSA targeted update: pack badges, pack tab grid, and discounted slider exclusion styling support */
.fmsa-card-pack-badge {
    position: absolute;
    top: 42px;
    right: 10px;
    z-index: 7;
    min-width: 38px;
    min-height: 24px;
    padding: 4px 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #303030;
    color: #ffffff;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    pointer-events: none;
}

.fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-grid {
    width: 100%;
    max-width: 1260px;
    margin-right: auto;
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
    justify-content: stretch !important;
}

.fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-card {
    min-width: 0;
    aspect-ratio: auto !important;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
}

.fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-card-link {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0;
    display: grid !important;
    grid-template-rows: auto auto auto;
    color: inherit;
    text-decoration: none !important;
}

.fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-card-title {
    position: static !important;
    min-height: 34px;
    margin: 0 !important;
    padding: 8px 10px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: #303030 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .16) !important;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-cover {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: calc(100% - 24px) !important;
    margin: 12px auto 0 !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 18px;
    overflow: hidden;
    background: #fff7ef;
}

.fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-card-info {
    position: static !important;
    padding: 12px 14px 14px;
    display: grid;
    gap: 8px;
    text-align: center;
}

@media (min-width: 641px) and (max-width: 1024px) {
    .fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .fmsa-card-pack-badge {
        top: 38px;
        right: 8px;
        min-width: 34px;
        min-height: 22px;
        font-size: 10px;
    }

    .fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-cover {
        width: calc(100% - 20px) !important;
        margin-top: 10px !important;
        border-radius: 16px;
    }

    .fmsa-archive-panel[data-fmsa-archive-panel="packs"] .fmsa-pack-card-title {
        min-height: 34px;
        padding: 8px 10px;
        font-size: 12px;
    }
}


/* Commerce notices: scoped to the skin archive frontend. */
.fmsa-commerce-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(17, 24, 39, .42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
    direction: rtl;
}

.fmsa-commerce-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.fmsa-commerce-popup__card {
    width: min(430px, 100%);
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .18);
    padding: 24px;
    text-align: center;
    transform: translateY(8px);
    transition: transform .18s ease;
}

.fmsa-commerce-popup.is-open .fmsa-commerce-popup__card {
    transform: translateY(0);
}

.fmsa-commerce-popup__icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 50%;
    border: 2px solid #0f766e;
    color: #0f766e;
    font-size: 25px;
    font-weight: 800;
}

.fmsa-commerce-popup--cancelled .fmsa-commerce-popup__icon,
.fmsa-commerce-popup--error .fmsa-commerce-popup__icon {
    border-color: #b42318;
    color: #b42318;
}

.fmsa-commerce-popup--info .fmsa-commerce-popup__icon {
    border-color: #175cd3;
    color: #175cd3;
}

.fmsa-commerce-popup__title {
    display: block;
    color: #101828;
    font-size: 19px;
    line-height: 1.7;
}

.fmsa-commerce-popup__message {
    margin: 8px 0 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.9;
}

.fmsa-commerce-popup__order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding: 11px 13px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #f9fafb;
    color: #344054;
}

.fmsa-commerce-popup__order b {
    color: #101828;
    letter-spacing: .04em;
}

.fmsa-commerce-popup__close {
    width: 100%;
    margin-top: 18px;
    border: 0;
    border-radius: 11px;
    padding: 11px 16px;
    background: #ff7a00;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.fmsa-commerce-popup__close:hover,
.fmsa-commerce-popup__close:focus-visible {
    background: #e86f00;
    outline: 3px solid rgba(255, 122, 0, .18);
}

.fmsa-commerce-inline-message {
    width: min(100%, 520px);
    margin: 14px auto 0;
    padding: 11px 14px;
    border: 1px solid #fecdca;
    border-radius: 10px;
    background: #fff6f5;
    color: #b42318;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
}
