/* Theme v1 generated CSS — do not edit by hand. Source: style.css. Rebuild: php artisan theme:style-split */
@charset "UTF-8";

/* unused IRANSans weight faces omitted in theme-core (see style.css) */

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src:
        url("/theme/v1/fonts/iransans/woff2/IRANSansX-Bold.woff2")
            format("woff2"),
        url("/theme/v1/fonts/iransans/woff/IRANSansX-Bold.woff") format("woff");
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src:
        url("/theme/v1/fonts/iransans/woff2/IRANSansX-Regular.woff2")
            format("woff2"),
        url("/theme/v1/fonts/iransans/woff/IRANSansX-Regular.woff")
            format("woff");
}

/*
 * Measured fallback (Playwright metric probe on app detail):
 * wrap height IRANSans==Tahoma (72px) vs Arial (48px).
 * size-adjust = IRANSans width / Tahoma width = 329.70/348.59 ≈ 94.58%.
 * Keeps Persian text geometry stable until IRANSans swaps in.
 */
@font-face {
    font-family: "IRANSansX Fallback";
    src: local("Tahoma"), local("Segoe UI"), local("Arial");
    size-adjust: 94.58%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/*Basic Colors*/
.color-white {
    color: #fff !important;
}

.color-black {
    color: #000 !important;
}

.bg-white {
    background-color: #fff !important;
}

.bg-black {
    background-color: #000 !important;
}

/*Main Color Settings*/
.theme-dark {
    background-color: #18191a;
}

.theme-dark .bg-theme {
    background-color: #0f1117 !important;
}

.theme-dark .border-theme {
    border-color: #0f1117 !important;
}

.theme-dark .color-theme {
    color: #fff !important;
}

.theme-light {
    background-color: #f1f1f7;
}

.theme-light .bg-theme {
    background-color: #fff !important;
}

.theme-light .border-theme {
    border-color: #fff !important;
}

.theme-light .color-theme {
    color: #0f1117 !important;
}

/*Dark Theme Settings*/
.theme-dark p {
    color: #edebeb;
}

.theme-dark code {
    color: #898989;
    opacity: 0.7;
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6,
.theme-dark #footer-bar a i,
.theme-dark #footer-bar a span .theme-dark p strong {
    color: #fff;
}

/*Structural Dark Settings*/
.theme-dark .header,
.theme-dark #footer-bar {
    background: rgba(0, 0, 0, 0.95);
}

.theme-dark .card,
html.theme-dark #preloader,
.theme-dark #preloader {
    background-color: #0f1117;
}

/* Generating Color Pack*/
.color-highlight {
    color: #4a89dc !important;
}

.bg-highlight {
    background-color: #4a89dc !important;
    color: #fff !important;
}

.border-highlight {
    border-color: #4a89dc !important;
}

.gradient-highlight {
    background-image: linear-gradient(to bottom, #5d9cec, #4a89dc) !important;
    color: #fff !important;
}

.gradient-menu {
    background-image: linear-gradient(130deg, #7ea5f6, #ff384c) !important;
}

.bg-fade2-highlight {
    background-color: !important;
    color: #fff !important;
}

.bg-fade-highlight {
    background-color: !important;
    color: #fff !important;
}

.color-highlight-light {
    color: #5d9cec !important;
}

.bg-highlight-light {
    background-color: #5d9cec !important;
    color: #fff !important;
}

.color-highlight-dark {
    color: #4a89dc !important;
}

.color-icon-highlight {
    stroke: #4a89dc !important;
    fill: !important;
}

.bg-highlight-dark {
    background-color: #4a89dc !important;
    color: #fff !important;
}

.border-highlight-light {
    border-color: #5d9cec !important;
}

.border-highlight-dark {
    border-color: #4a89dc !important;
}

.border-fade-highlight {
    border-color: !important;
}

.focus-highlight:focus {
    border-color: #4a89dc !important;
}

.gradient-highlight {
    border: none;
    background-image: linear-gradient(to bottom, #5d9cec, #4a89dc);
}

.bg-fade2-green {
    background-color: rgba(140, 193, 82, 0.15) !important;
    color: #fff !important;
}

.bg-fade-green {
    background-color: rgba(140, 193, 82, 0.3) !important;
    color: #fff !important;
}

.color-green-light {
    color: #a0d468 !important;
}

.bg-green-light {
    background-color: #a0d468 !important;
    color: #fff !important;
}

.color-green-dark {
    color: #8cc152 !important;
}

.color-icon-green {
    stroke: #8cc152 !important;
    fill: rgba(140, 193, 82, 0.3) !important;
}

.bg-green-dark {
    background-color: #8cc152 !important;
    color: #fff !important;
}

.border-green-light {
    border-color: #a0d468 !important;
}

.border-green-dark {
    border-color: #8cc152 !important;
}

.border-fade-green {
    border-color: rgba(140, 193, 82, 0.3) !important;
}

.focus-green:focus {
    border-color: #8cc152 !important;
}

.gradient-green {
    border: none;
    background-image: linear-gradient(to bottom, #4cc986, #43ab73);
}

.bg-fade2-red {
    background-color: rgba(218, 68, 83, 0.2) !important;
    color: #fff !important;
}

.bg-fade-red {
    background-color: rgba(218, 68, 83, 0.2) !important;
    color: #fff !important;
}

.color-red-light {
    color: #ed5565 !important;
}

.bg-red-light {
    background-color: #ed5565 !important;
    color: #fff !important;
}

.color-red-dark {
    color: #d84558 !important;
}

.color-icon-red {
    stroke: #d84558 !important;
    fill: rgba(218, 68, 83, 0.2) !important;
}

.bg-red-dark {
    background-color: #d84558 !important;
    color: #fff !important;
}

.border-red-light {
    border-color: #ed5565 !important;
}

.border-red-dark {
    border-color: #d84558 !important;
}

.border-fade-red {
    border-color: rgba(218, 68, 83, 0.2) !important;
}

.focus-red:focus {
    border-color: #d84558 !important;
}

.gradient-red {
    border: none;
    background-image: linear-gradient(to bottom, #ed5565, #d84558);
}

.bg-fade2-orange {
    background-color: rgba(233, 87, 63, 0.2) !important;
    color: #fff !important;
}

.bg-fade-orange {
    background-color: rgba(233, 87, 63, 0.3) !important;
    color: #fff !important;
}

.color-orange-light {
    color: #fc6e51 !important;
}

.bg-orange-light {
    background-color: #fc6e51 !important;
    color: #fff !important;
}

.color-orange-dark {
    color: #e9573f !important;
}

.color-icon-orange {
    stroke: #e9573f !important;
    fill: rgba(233, 87, 63, 0.3) !important;
}

.bg-orange-dark {
    background-color: #e9573f !important;
    color: #fff !important;
}

.border-orange-light {
    border-color: #fc6e51 !important;
}

.border-orange-dark {
    border-color: #e9573f !important;
}

.border-fade-orange {
    border-color: rgba(233, 87, 63, 0.3) !important;
}

.focus-orange:focus {
    border-color: #e9573f !important;
}

.gradient-orange {
    border: none;
    background-image: linear-gradient(to bottom, #fc6e51, #e9573f);
}

.bg-fade2-yellow {
    background-color: rgba(246, 187, 66, 0.2) !important;
    color: #fff !important;
}

.bg-fade-yellow {
    background-color: rgba(246, 187, 66, 0.25) !important;
    color: #fff !important;
}

.color-yellow-light {
    color: #ffce54 !important;
}

.bg-yellow-light {
    background-color: #ffce54 !important;
    color: #fff !important;
}

.color-yellow-dark {
    color: #f6bb42 !important;
}

.color-icon-yellow {
    stroke: #f6bb42 !important;
    fill: rgba(246, 187, 66, 0.25) !important;
}

.bg-yellow-dark {
    background-color: #f6bb42 !important;
    color: #fff !important;
}

.border-yellow-light {
    border-color: #ffce54 !important;
}

.border-yellow-dark {
    border-color: #f6bb42 !important;
}

.border-fade-yellow {
    border-color: rgba(246, 187, 66, 0.25) !important;
}

.focus-yellow:focus {
    border-color: #f6bb42 !important;
}

.gradient-yellow {
    border: none;
    background-image: linear-gradient(to bottom, #ffce54, #f6bb42);
}

.bg-fade2-blue {
    background-color: rgba(74, 137, 220, 0.2) !important;
    color: #fff !important;
}

.bg-fade-blue {
    background-color: rgba(74, 137, 220, 0.25) !important;
    color: #fff !important;
}

.color-blue-light {
    color: #5d9cec !important;
}

.bg-blue-light {
    background-color: #5d9cec !important;
    color: #fff !important;
}

.color-blue-dark {
    color: #4a89dc !important;
}

.color-icon-blue {
    stroke: #4a89dc !important;
    fill: rgba(74, 137, 220, 0.25) !important;
}

.bg-blue-dark {
    background-color: #4a89dc !important;
    color: #fff !important;
}

.border-blue-light {
    border-color: #5d9cec !important;
}

.border-blue-dark {
    border-color: #4a89dc !important;
}

.border-fade-blue {
    border-color: rgba(74, 137, 220, 0.25) !important;
}

.focus-blue:focus {
    border-color: #4a89dc !important;
}

.gradient-blue {
    border: none;
    background-image: linear-gradient(to bottom, #5d9cec, #4a89dc);
}

.bg-fade2-teal {
    background-color: rgba(125, 177, 177, 0.2) !important;
    color: #fff !important;
}

.bg-fade-teal {
    background-color: rgba(125, 177, 177, 0.3) !important;
    color: #fff !important;
}

.color-teal-light {
    color: #a0cecb !important;
}

.bg-teal-light {
    background-color: #a0cecb !important;
    color: #fff !important;
}

.color-teal-dark {
    color: #7db1b1 !important;
}

.color-icon-teal {
    stroke: #7db1b1 !important;
    fill: rgba(125, 177, 177, 0.3) !important;
}

.bg-teal-dark {
    background-color: #7db1b1 !important;
    color: #fff !important;
}

.border-teal-light {
    border-color: #a0cecb !important;
}

.border-teal-dark {
    border-color: #7db1b1 !important;
}

.border-fade-teal {
    border-color: rgba(125, 177, 177, 0.3) !important;
}

.focus-teal:focus {
    border-color: #7db1b1 !important;
}

.gradient-teal {
    border: none;
    background-image: linear-gradient(to bottom, #34d399, #10b981);
}

.bg-fade2-mint {
    background-color: rgba(55, 188, 155, 0.2) !important;
    color: #fff !important;
}

.bg-fade-mint {
    background-color: rgba(55, 188, 155, 0.3) !important;
    color: #fff !important;
}

.color-mint-light {
    color: #48cfad !important;
}

.bg-mint-light {
    background-color: #48cfad !important;
    color: #fff !important;
}

.color-mint-dark {
    color: #37bc9b !important;
}

.color-icon-mint {
    stroke: #37bc9b !important;
    fill: rgba(55, 188, 155, 0.3) !important;
}

.bg-mint-dark {
    background-color: #37bc9b !important;
    color: #fff !important;
}

.border-mint-light {
    border-color: #48cfad !important;
}

.border-mint-dark {
    border-color: #37bc9b !important;
}

.border-fade-mint {
    border-color: rgba(55, 188, 155, 0.3) !important;
}

.focus-mint:focus {
    border-color: #37bc9b !important;
}

.gradient-mint {
    border: none;
    background-image: linear-gradient(to bottom, #48cfad, #37bc9b);
}

.bg-fade2-pink {
    background-color: rgba(215, 112, 173, 0.2) !important;
    color: #fff !important;
}

.bg-fade-pink {
    background-color: rgba(255, 89, 190, 0.3) !important;
    color: #fff !important;
}

.color-pink-light {
    color: #ff5982 !important;
}

.bg-pink-light {
    background-color: #ff5982 !important;
    color: #fff !important;
}

.color-pink-dark {
    color: #fb3365 !important;
}

.color-icon-pink {
    stroke: #fb3365 !important;
    fill: rgba(255, 89, 190, 0.3) !important;
}

.bg-pink-dark {
    background-color: #fb3365 !important;
    color: #fff !important;
}

.border-pink-light {
    border-color: #ff5982 !important;
}

.border-pink-dark {
    border-color: #fb3365 !important;
}

.border-fade-pink {
    border-color: rgba(255, 89, 190, 0.3) !important;
}

.focus-pink:focus {
    border-color: #fb3365 !important;
}

.gradient-pink {
    border: none;
    background-image: linear-gradient(to bottom, #ff5982, #fb3365);
}

.bg-fade2-magenta {
    background-color: rgba(150, 122, 220, 0.2) !important;
    color: #fff !important;
}

.bg-fade-magenta {
    background-color: rgba(150, 122, 220, 0.3) !important;
    color: #fff !important;
}

.color-magenta-light {
    color: #ac92ec !important;
}

.bg-magenta-light {
    background-color: #ac92ec !important;
    color: #fff !important;
}

.color-magenta-dark {
    color: #967adc !important;
}

.color-icon-magenta {
    stroke: #967adc !important;
    fill: rgba(150, 122, 220, 0.3) !important;
}

.bg-magenta-dark {
    background-color: #967adc !important;
    color: #fff !important;
}

.border-magenta-light {
    border-color: #ac92ec !important;
}

.border-magenta-dark {
    border-color: #967adc !important;
}

.border-fade-magenta {
    border-color: rgba(150, 122, 220, 0.3) !important;
}

.focus-magenta:focus {
    border-color: #967adc !important;
}

.gradient-magenta {
    border: none;
    background-image: linear-gradient(to bottom, #ac92ec, #967adc);
}

.bg-fade2-brown {
    background-color: rgba(170, 142, 105, 0.2) !important;
    color: #fff !important;
}

.bg-fade-brown {
    background-color: rgba(170, 142, 105, 0.25) !important;
    color: #fff !important;
}

.color-brown-light {
    color: #baa286 !important;
}

.bg-brown-light {
    background-color: #baa286 !important;
    color: #fff !important;
}

.color-brown-dark {
    color: #aa8e69 !important;
}

.color-icon-brown {
    stroke: #aa8e69 !important;
    fill: rgba(170, 142, 105, 0.25) !important;
}

.bg-brown-dark {
    background-color: #aa8e69 !important;
    color: #fff !important;
}

.border-brown-light {
    border-color: #baa286 !important;
}

.border-brown-dark {
    border-color: #aa8e69 !important;
}

.border-fade-brown {
    border-color: rgba(170, 142, 105, 0.25) !important;
}

.focus-brown:focus {
    border-color: #aa8e69 !important;
}

.gradient-brown {
    border: none;
    background-image: linear-gradient(to bottom, #baa286, #aa8e69);
}

.bg-fade2-gray {
    background-color: rgba(170, 178, 189, 0.2) !important;
    color: #fff !important;
}

.bg-fade-gray {
    background-color: rgba(170, 178, 189, 0.4) !important;
    color: #fff !important;
}

.color-gray-light {
    color: #e2e5ea !important;
}

.bg-gray-light {
    background-color: #e2e5ea !important;
    color: #fff !important;
}

.color-gray-dark {
    color: #aab2bd !important;
}

.color-icon-gray {
    stroke: #aab2bd !important;
    fill: rgba(170, 178, 189, 0.4) !important;
}

.bg-gray-dark {
    background-color: #aab2bd !important;
    color: #fff !important;
}

.border-gray-light {
    border-color: #e2e5ea !important;
}

.border-gray-dark {
    border-color: #aab2bd !important;
}

.border-fade-gray {
    border-color: rgba(170, 178, 189, 0.4) !important;
}

.focus-gray:focus {
    border-color: #aab2bd !important;
}

.gradient-gray {
    border: none;
    background-image: linear-gradient(to bottom, #e2e5ea, #aab2bd);
}

.bg-fade2-night {
    background-color: rgba(67, 74, 84, 0.2) !important;
    color: #fff !important;
}

.bg-fade-night {
    background-color: rgba(67, 74, 84, 0.3) !important;
    color: #fff !important;
}

.color-night-light {
    color: #222529 !important;
}

.bg-night-light {
    background-color: #222529 !important;
    color: #fff !important;
}

.color-night-dark {
    color: #16181c !important;
}

.color-icon-night {
    stroke: #16181c !important;
    fill: rgba(67, 74, 84, 0.3) !important;
}

.bg-night-dark {
    background-color: #16181c !important;
    color: #fff !important;
}

.border-night-light {
    border-color: #222529 !important;
}

.border-night-dark {
    border-color: #16181c !important;
}

.border-fade-night {
    border-color: rgba(67, 74, 84, 0.3) !important;
}

.focus-night:focus {
    border-color: #16181c !important;
}

.gradient-night {
    border: none;
    background-image: linear-gradient(to bottom, #222529, #16181c);
}

.bg-fade2-dark {
    background-color: rgba(67, 74, 84, 0.2) !important;
    color: #fff !important;
}

.bg-fade-dark {
    background-color: rgba(67, 74, 84, 0.4) !important;
    color: #fff !important;
}

.color-dark-light {
    color: #656d78 !important;
}

.bg-dark-light {
    background-color: #656d78 !important;
    color: #fff !important;
}

.color-dark-dark {
    color: #434a54 !important;
}

.color-icon-dark {
    stroke: #434a54 !important;
    fill: rgba(67, 74, 84, 0.4) !important;
}

.bg-dark-dark {
    background-color: #434a54 !important;
    color: #fff !important;
}

.border-dark-light {
    border-color: #656d78 !important;
}

.border-dark-dark {
    border-color: #434a54 !important;
}

.border-fade-dark {
    border-color: rgba(67, 74, 84, 0.4) !important;
}

.focus-dark:focus {
    border-color: #434a54 !important;
}

.gradient-dark {
    border: none;
    background-image: linear-gradient(to bottom, #656d78, #434a54);
}

/*Social Colors*/
.color-facebook {
    color: #3b5998 !important;
}

.bg-facebook {
    background-color: #3b5998 !important;
    color: #fff;
}

.color-linkedin {
    color: #0077b5 !important;
}

.bg-linkedin {
    background-color: #0077b5 !important;
    color: #fff;
}

.color-twitter {
    color: #4099ff !important;
}

.bg-twitter {
    background-color: #4099ff !important;
    color: #fff;
}

.color-google {
    color: #d34836 !important;
}

.bg-google {
    background-color: #d34836 !important;
    color: #fff;
}

.color-whatsapp {
    color: #34af23 !important;
}

.bg-whatsapp {
    background-color: #34af23 !important;
    color: #fff;
}

.color-pinterest {
    color: #c92228 !important;
}

.bg-pinterest {
    background-color: #c92228 !important;
    color: #fff;
}

.color-mail {
    color: #3498db !important;
}

.bg-mail {
    background-color: #3498db !important;
    color: #fff;
}

.color-phone {
    color: #27ae60 !important;
}

.bg-phone {
    background-color: #27ae60 !important;
    color: #fff;
}

.color-instagram {
    color: #e1306c !important;
}

.bg-instagram {
    background-color: #e1306c !important;
    color: #fff;
}

/*Default Colors*/
.color-white {
    color: #fff !important;
}

.color-black {
    color: #000 !important;
}

.bg-white {
    background-color: #fff !important;
}

.bg-black {
    background-color: #000 !important;
}

.border-transparent {
    border-color: transparent !important;
}

.theme-light .bg-gradient-fade {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 20%,
        rgba(0, 0, 0, 0.1) 30%,
        rgba(0, 0, 0, 0.8) 70%,
        #000 100%
    ) !important;
}

.theme-dark .bg-gradient-fade {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 20%,
        rgba(0, 0, 0, 0.1) 30%,
        rgba(0, 0, 0, 0.8) 70%,
        #000 100%
    ) !important;
}

/*Default Highlight Colors*/
.splide__pagination__page.is-active {
    background-color: #4a89dc !important;
}

input[type="range"]::-webkit-slider-thumb {
    background-color: #4a89dc;
}

.color-highlight {
    color: #4a89dc;
}

.bg-highlight {
    background-color: #4a89dc;
    color: #fff !important;
}

#footer-bar .active-nav .footer-bar-box {
    background: #5d9cec57;
    color: #fff !important;
    padding-top: 4px;
    border-radius: 2rem;
}

#footer-bar .active-nav {
    padding-top: 3px !important;
}

#footer-bar .active-nav .dout-svg::after {
    transform: scale(0.8) translateY(5px) translateZ(0px);
    filter: blur(12px);
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
}

/*Shadow Backgrounds*/
.shadow-bg:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
}

.shadow-bg {
    background-size: cover;
    position: relative;
    z-index: 10;
    overflow: visible !important;
}

.shadow-bg-xs::after {
    transform: scale(0.7) translateY(3px) translateZ(0px);
    filter: blur(8px);
}

.shadow-bg-s::after {
    transform: scale(0.8) translateY(5px) translateZ(0px);
    filter: blur(12px);
}

.shadow-bg-m::after {
    transform: scale(0.85) translateY(7px) translateZ(0px);
    filter: blur(12px);
}

.shadow-bg-l::after {
    transform: scale(0.95) translateY(10px) translateZ(0px);
    filter: blur(12px);
}

.bg-1 {
    background-image: url(../images/pictures/1.jpg);
}

.bg-2 {
    background-image: url(../images/pictures/2.jpg);
}

.bg-3 {
    background-image: url(../images/pictures/3.jpg);
}

.bg-4 {
    background-image: url(../images/pictures/4.jpg);
}

.bg-5 {
    background-image: url(../images/pictures/5.jpg);
}

.bg-6 {
    background-image: url(../images/pictures/6.jpg);
}

.bg-7 {
    background-image: url(../images/pictures/7.jpg);
}

.bg-8 {
    background-image: url(../images/pictures/8.jpg);
}

.bg-9 {
    background-image: url(../images/pictures/9.jpg);
}

.bg-10 {
    background-image: url(../images/pictures/10.jpg);
}

.bg-11 {
    background-image: url(../images/pictures/11.jpg);
}

.bg-12 {
    background-image: url(../images/pictures/12.jpg);
}

.bg-13 {
    background-image: url(../images/pictures/13.jpg);
}

.bg-14 {
    background-image: url(../images/pictures/14.jpg);
}

.bg-15 {
    background-image: url(../images/pictures/15.jpg);
}

.bg-16 {
    background-image: url(../images/pictures/16.jpg);
}

.bg-17 {
    background-image: url(../images/pictures/17.jpg);
}

.bg-18 {
    background-image: url(../images/pictures/18.jpg);
}

.bg-19 {
    background-image: url(../images/pictures/19.jpg);
}

.bg-20 {
    background-image: url(../images/pictures/20.jpg);
}

.bg-21 {
    background-image: url(../images/pictures/21.jpg);
}

.bg-22 {
    background-image: url(../images/pictures/22.jpg);
}

.bg-23 {
    background-image: url(../images/pictures/PinoBg01.jpg);
}

/*Typography 1 Settings*/
body {
    font-size: 14px;
    font-family:
        IRANSansX, "IRANSansX Fallback", Tahoma, "Segoe UI", sans-serif !important;
    line-height: 24px !important;
    color: #747474 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7 {
    font-weight: 700;
    color: #1b1b1b;
    font-family:
        IRANSansX, "IRANSansX Fallback", Tahoma, "Segoe UI", sans-serif !important;
    margin-bottom: 5px;
    letter-spacing: -0.7px;
}

h1 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
}

h2 {
    font-size: 22px;
    line-height: 25px;
    font-weight: 800;
}

h3 {
    font-size: 20px;
    line-height: 24px;
    font-weight: 800;
}

h4 {
    font-size: 18px;
    line-height: 23px;
    font-weight: 700;
}

h5 {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}

h6 {
    font-size: 11px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0px;
}

a {
    text-decoration: none !important;
}

p {
    color: #464646;
    margin-bottom: 30px;
    padding-bottom: 0px;
}

/*Page Structure Settings*/
* {
    font-smooth: subpixel-antialiased;
}

#page {
    min-height: 60vh;
    z-index: 1;
    position: relative;
}

.page-content {
    position: relative;
    overflow-x: hidden;
    transition: all 250ms ease;
    z-index: 2;
    padding-bottom: 60px;
    padding-bottom: calc(60px + constant(safe-area-inset-bottom) * 1.1);
    padding-bottom: calc(60px + env(safe-area-inset-bottom) * 1.1);
}

/*Content Boxes*/
.content {
    position: relative;
}
.content p:last-child {
    margin-bottom: 0px;
}

.menu-divider {
    padding-right: 22px;
    font-size: 11px;
    display: block;
    font-weight: 300;
    color: rgb(109, 109, 109);
    opacity: 0.9;
    text-transform: uppercase;
}

.menu-list a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-right: 44px;
    padding-left: 18px;
    text-decoration: none;
}

/*
 * Sidebar row chrome: vertically center absolute tiles without `transform`.
 * `top/bottom + margin-block:auto` keeps `transform` free for hover/state
 * and avoids an extra containing block on the colored tile.
 */
.menu-list a img:first-child,
.menu-icon-circle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin-block: auto;
    width: 32px;
    height: 32px;
}

.menu-list a img:first-child {
    border-radius: 50%;
}

.menu-icon-circle {
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

/* Flex item glyph box — no absolute offsets (legacy 50px clip bug). */
.menu-list .menu-icon-circle > i {
    position: static;
    inset: auto;
    width: 1em;
    height: 1em;
    margin: 0;
    line-height: 1;
    font-size: 18px;
    color: #fff;
    display: inline-block;
    flex-shrink: 0;
}

.menu-list a > span {
    display: block;
    padding-right: 0;
    font-size: 13px;
    font-weight: 400;
    color: rgb(109, 109, 109);
    line-height: 1.4;
}

.menu-list a > i:not(.ph-duotone):last-child {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin-block: auto;
    height: 1em;
    color: rgb(109, 109, 109);
    font-size: 9px;
    line-height: 1;
}

.menu-list a .badge-s {
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    margin-block: auto;
    font-style: normal;
    font-size: 10px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    padding: 0;
    border-radius: 10px;
}

.menu-list .active-item > span {
    color: #1f1f1f;
    font-weight: 600;
    font-size: 13px;
}

.menu-list .active-item > i:last-child::after {
    content: "●";
    font-style: normal;
    position: absolute;
    font-size: 20px;
    line-height: 1;
    height: 1em;
    top: 0;
    bottom: 0;
    margin-block: auto;
    left: -1px;
    color: #a0d468;
}

.menu-list .form-switch {
    position: absolute;
    left: -8px;
    top: 0;
    bottom: 0;
    margin-block: auto;
    z-index: 2;
}

.theme-dark .menu-list a i:last-child {
    color: rgba(255, 255, 255, 0.8);
}

.theme-dark .menu-list .active-item span {
    color: #fff;
}

.theme-dark .menu-divider {
    color: rgba(255, 255, 255, 0.8);
}

.header-bar {
    z-index: 98;
    left: 0px;
    right: 0px;
    top: 0px;
    min-height: 55px;
    padding: 0px 0px;
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-top: calc(constant(safe-area-inset-top)) !important;
    padding-top: calc(env(safe-area-inset-top)) !important;
    display: flex;
    aling-items: stretch;
    transition: all 250ms ease;
}
.header-bar a {
    position: relative;
}
.header-bar .badge {
    height: 15px;
    min-width: 15px;
    line-height: 16px;
    font-size: 9px;
    font-weight: 400;
    font-style: normal;
    border-radius: 15px;
    text-align: center;
    padding: 0px;
    position: absolute;
    margin-top: -15px;
    transform: translateX(6px);
    z-index: 3;
}
.header-bar .badge-text {
    padding: 0px 5px;
}

.header-bar .btn {
    margin: 0px 10px !important;
    margin-top: -5px !important;
    font-size: 11px !important;
    height: 35px !important;
    line-height: 22px !important;
    padding: 5px 15px !important;
}

.header-bar * {
    align-self: center;
}

.header-bar a:not(.header-title) {
    text-align: center;
    font-size: 16px;
    min-width: 42px;
    min-height: 42px;
}

/* Flex-center chrome links, but never force-show theme toggles (show-on-theme-* owns visibility). */
.header-bar
    a:not(.header-title):not(.show-on-theme-light):not(.show-on-theme-dark) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-bar.header-left .header-title {
    padding-left: 15px;
    flex-grow: 8;
}

.header-bar.header-right .header-title {
    padding-right: 15px;
    flex-grow: 8;
    text-align: right;
}

.header-bar.header-app .header-title {
    margin-left: 5px;
    flex-grow: 8;
    text-align: left;
}

/* Theme v1: centered brand logo (equal flex sides + absolute mark) */
.header-bar--brand-center {
    position: relative;
}

.header-bar--brand-center .header-bar-side {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
}

.header-bar--brand-center .header-bar-side--start {
    justify-content: flex-start;
}

.header-bar--brand-center .header-bar-side--end {
    justify-content: flex-end;
}

/* فاصله از لبهٔ داخلی کارت هدر (گوشهٔ گرد) وقتی فقط دکمهٔ بازگشت است */
.header-bar--brand-center .header-bar-side--end-with-app-back {
    padding-inline-end: 6px;
    padding-inline-start: 6px;
}

.header-bar--brand-center .header-brand-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    line-height: 0;
    font-size: 0;
    min-width: 50px;
    min-height: 50px;
    margin-top: 0px;
}

.header-bar--brand-center .header-brand-logo__img {
    display: block;
    height: 50px;
    width: auto;
    max-width: min(160px, 42vw);
    object-fit: contain;
}

/* هدر: بازگشت به اپ — آیکون + برچسب کوتاه از عرض تبلت؛ فاصله از لبه */
.header-bar a.header-bar-app-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    max-width: min(46vw, 220px);
    padding: 6px 10px;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 12px;
}

.header-bar-app-back__text {
    display: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}

@media (min-width: 768px) {

    .header-bar-app-back__text {
        display: inline;
    }

    .header-bar a.header-bar-app-back {
        min-width: 0;
        padding-inline: 10px 12px;
    }
}


@media (min-width: 480px) {

    .header-bar--brand-center .header-brand-logo__img {
        height: 40px;
    }
}


/* Theme v1: هدر صفحات دسته — لوگوی خانه (راست)، عنوان وسط، بازگشت (چپ) */
.header-bar--category-context {
    position: relative;
}

.header-bar--category-context .header-bar-side {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
}

.header-bar--category-context .header-bar-side--start {
    justify-content: flex-start;
}

.header-bar--category-context .header-category-page-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 4px 8px;
    line-height: 0;
    pointer-events: none;
    user-select: none;
}

.header-bar--category-context .header-category-page-icon i {
    display: block;
}

.header-bar--category-context .header-bar-side--end {
    justify-content: flex-end;
}

.header-bar--category-context {
    min-height: 60px;
}

.header-bar--category-context .header-category-heading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin: 0;
    padding: 0 8px;
    max-width: calc(100% - 104px);
    text-align: center;
    pointer-events: none;
}

.header-bar--category-context .header-category-title {
    margin: 0;
    padding: 0;
    max-width: 100%;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--app-detail-h1, #111827);
}

.header-bar--category-context .header-category-subtitle {
    margin: 2px 0 0 0;
    padding: 0;
    max-width: 100%;
    font-size: 11px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--app-detail-stat-label, #6b7280) !important;
}

.header-bar--category-context .header-category-title--stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.header-bar--category-context .header-category-title__line {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-bar--category-context .header-category-title__line--primary {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.header-bar--category-context .header-category-title__line--secondary {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #3f51b5 !important;
}

body.theme-dark .header-bar--category-context .header-category-title {
    color: #f3f4f6;
}

body.theme-dark .header-bar--category-context .header-category-subtitle {
    color: #9ca3af;
}

body.theme-dark
    .header-bar--category-context
    .header-category-title__line--secondary {
    color: #9ca3af;
}

@media (min-width: 480px) {

    .header-bar--category-context .header-category-title {
        font-size: 15px;
    }

    .header-bar--category-context .header-category-subtitle {
        font-size: 12px;
    }

    .header-bar--category-context .header-category-title__line--secondary {
        font-size: 12px;
    }
}


@media (min-width: 768px) {

    .header-bar--category-context .header-category-heading {
        max-width: calc(100% - 168px);
    }
}


.header-bar.header-center .header-title {
    flex-grow: 8;
    text-align: center;
}

.header-fixed {
    position: fixed;
}

.header-title {
    margin-top: 1px;
    font-size: 14px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
}

.header-auto-show {
    opacity: 0;
    pointer-events: none;
    transition: all 150ms ease;
}

.header-active {
    opacity: 1;
    pointer-events: all !important;
    transition: all 150ms ease;
}

.header-transparent {
    background-color: rgba(0, 0, 0, 0) !important;
    box-shadow: none !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.header-clear {
    padding-top: 55px;
    padding-top: calc(55px + (constant(safe-area-inset-top)) * 0.8) !important;
    padding-top: calc(55px + (env(safe-area-inset-top)) * 0.8) !important;
}

.header-clear-small {
    padding-top: calc(55px - 30px);
    padding-top: calc(
        (55px - 30px) + constant(safe-area-inset-top) * 0.8
    ) !important;
    padding-top: calc(
        (55px - 30px) + env(safe-area-inset-top) * 0.8
    ) !important;
}

.header-clear-medium {
    padding-top: calc(60px);
    padding-top: calc((60px) + constant(safe-area-inset-top) * 0.8) !important;
    padding-top: calc((60px) + env(safe-area-inset-top) * 0.8) !important;
}

.header-clear-large {
    padding-top: calc(55px + 40px);
    padding-top: calc(
        (55px + 40px) + constant(safe-area-inset-top) * 0.8
    ) !important;
    padding-top: calc(
        (55px + 40px) + env(safe-area-inset-top) * 0.8
    ) !important;
}

/*Header Bar Under*/
.page-content .header-bar {
    position: relative;
    z-index: 1;
}

.page-title {
    position: relative;
    z-index: 1;
    padding: 5px 15px 30px 15px;
}

.page-title h1 {
    font-size: 28px;
    margin-bottom: -3px;
}

.page-title p {
    margin-bottom: -5px;
    font-size: 13px;
    font-weight: 600;
}

.header-card {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    z-index: 0;
    border-radius: 0px !important;
    margin: 0px !important;
}

.header-card .card-overlay {
    border-radius: 0px;
}

/*Header Dark & Light*/
.header-bar i {
    font-size: 23px !important;
}

.theme-light .header-bar * {
    color: rgb(0, 0, 0);
}

.theme-light .header-bar {
    background-color: rgba(255, 255, 255, 0.85);
}

.theme-dark .header-bar * {
    color: #fff;
}

.theme-dark .header-bar {
    background-color: rgba(0, 0, 0, 0.55);
}

.header {
    margin-top: 0px;
}

.header-bar-detached {
    border-radius: 20px;
    left: 10px !important;
    right: 10px !important;
    top: 8px !important;
    padding-top: 0px !important;
    margin-top: calc(env(safe-area-inset-top) * 0.8) !important;
    box-shadow: 0 0px 15px 0 rgba(0, 0, 0, 0.1) !important;
}

/*-Footer Menu-*/
#footer-bar {
    padding: 0px 10px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 98;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0px 140px 10px 120px rgba(255, 255, 255, 0.6) !important;
    height: 60px;
    height: calc(60px + (env(safe-area-inset-bottom)) * 1.1);
    display: flex;
    text-align: center;
    transition: all 250ms ease;
}

.theme-dark #footer-bar {
    box-shadow: 0px 140px 10px 120px rgba(0, 0, 0, 0.6) !important;
}

#footer-bar a:not(.btn) {
    padding-top: 9px;
    position: relative;
    flex: 1 1 auto;
    color: #818181;
}
#footer-bar a:not(.btn) span {
    position: relative;
    z-index: 2;
    display: block;
    font-size: 11px;
    font-weight: bold;
    margin-top: -3px;
    color: #1d1c1c;
}
#footer-bar a:not(.btn) i {
    margin-top: -2px;
    display: block;
    font-size: 18px;
    position: relative;
    z-index: 2;
}
#footer-bar .badge {
    height: 15px;
    min-width: 15px;
    line-height: 16px;
    font-size: 8px;
    font-style: normal;
    border-radius: 15px;
    text-align: center;
    padding: 0px;
    position: absolute;
    top: 8px;
    margin-right: -5px;
    z-index: 3;
}
#footer-bar .btn {
    padding-top: 9px;
    margin-top: 9px;
    height: 38px;
}
#footer-bar .badge-text {
    padding: 0px 5px;
}

.footer-bar-no-text .active-nav {
    margin-top: 22px;
}

.footer-bar-no-text .active-nav i {
    padding-top: 2px;
}

.footer-bar-no-text i {
    padding-top: 8px;
}

#footer-bar.position-relative {
    z-index: 90 !important;
}

.footer-bar-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50px;
}

.footer-bar-box .dout-svg {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 24px;
    margin: 0 auto 4px;
    flex-shrink: 0;
}

#footer-bar .footer-bar-box .dout-svg .ph-duotone {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 24px !important;
    font-weight: normal !important;
    margin-top: 0 !important;
}

.footer-bar .active-nav {
    color: #1f1f1f;
}

.footer-bar .active-nav span {
    font-weight: 600 !important;
    color: #0064e4 !important;
    margin-top: -1px !important;
}

.footer-bar .active-nav i {
    position: absolute !important;
    width: 48px;
    height: 48px;
    left: 50%;
    margin-left: -24px;
    transform: translateY(-28px);
    border-radius: 22px;
    line-height: 48px;
}

.theme-light #footer-bar {
    background-color: rgba(255, 255, 255, 1);
}

.theme-light #footer-bar a {
    color: #818181;
}

.theme-dark #footer-bar a {
    color: #fff;
}

.theme-dark #footer-bar a span {
    color: #fff !important;
}

.footer-bar-detached {
    border-radius: 2rem;
    left: 25px !important;
    right: 25px !important;
    bottom: 15px !important;
    height: 60px !important;
}

/* .footer-bar-detached::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  box-shadow: -5px 73px 15px 52px rgba(255, 255, 255, 0.9) !important;
  z-index: 97;
  backdrop-filter: blur(10px);
} */

/*Chat Bubbles - Duo 3.2*/
.speach-icon a {
    padding-top: 0 !important;
    display: block;
    border-radius: 15px;
    width: 38px;
    height: 38px;
    line-height: 20px;
    margin-top: 3px;
    transform: translateY(10px);
}

.speach-input input {
    width: 100%;
    display: block;
    line-height: 44px;
    height: 44px;
    margin-top: 8px;
    border-radius: 15px;
}

.theme-dark .speach-input input {
    border: solid 1px #404040;
}

/*Utility / Secondary Classes*/
/*Rounded Borders*/
.rounded-0 {
    border-radius: 0px !important;
}

.rounded-xxs {
    border-radius: 5px !important;
}

.rounded-xs {
    border-radius: 10px !important;
}

.rounded-s {
    border-radius: 15px !important;
}

.rounded-m {
    border-radius: 20px !important;
}

.rounded-l {
    border-radius: 25px !important;
}

.rounded-xl {
    border-radius: 30px !important;
}

.rounded-xxl {
    border-radius: 35px !important;
}

.rounded-top {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.rounded-bottom {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

/*Shadows*/
.shadow-0 {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
}

.shadow-xxs {
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.03) !important;
}

.shadow-xs {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.04) !important;
}

.shadow-s {
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.06) !important;
}

.shadow-m {
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.08) !important;
}

.shadow-l {
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.12) !important;
}

.shadow-xl {
    box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.18) !important;
}

.shadow-xxl {
    box-shadow: 0 14px 15px 0 rgba(0, 0, 0, 0.18) !important;
}

/*Borders*/
.border-xxs {
    border-width: 1px !important;
}

.border-xs {
    border-width: 2px !important;
}

.border-s {
    border-width: 3px !important;
}

.border-m {
    border-width: 4px !important;
}

.border-l {
    border-width: 5px !important;
}

.border-xl {
    border-width: 6px !important;
}

.border-xxl {
    border-width: 7px !important;
}

/*Line Height Control*/
.line-height-xxs {
    line-height: 12px !important;
}

.line-height-xs {
    line-height: 14px !important;
}

.line-height-s {
    line-height: 18px !important;
}

.line-height-m {
    line-height: 24px !important;
}

.line-height-l {
    line-height: 26px !important;
}

.line-height-xl {
    line-height: 32px !important;
}

.line-height-xxl {
    line-height: 46px !important;
}

/*Text Shadow*/
.text-shadow-s {
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.4);
}

.text-shadow-l {
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
}

/*Boxed Text*/
.boxed-text-xl,
.boxed-text-l,
.boxed-text-m,
.boxed-text-s {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.boxed-text-xl {
    width: 90%;
    max-width: 340px;
}

.boxed-text-l {
    width: 85%;
    max-width: 300px;
    margin-bottom: 5px;
}

.boxed-text-m {
    width: 80%;
    max-width: 300px;
}

.boxed-text-s {
    width: 70%;
    max-width: 260px;
}

/*Font Weights*/
.font-200 {
    font-weight: 200 !important;
}

.font-300 {
    font-weight: 300 !important;
}

.font-400 {
    font-weight: 400 !important;
}

.font-500 {
    font-weight: 500 !important;
}

.font-600 {
    font-weight: 600 !important;
}

.font-700 {
    font-weight: 700 !important;
}

.font-800 {
    font-weight: 800 !important;
}

.font-900 {
    font-weight: 900 !important;
}

/*Opacity Values - Used for Contrasting Text, example opacity-30 will make the opacity 0.3*/
.opacity-10 {
    opacity: 0.1 !important;
}

.opacity-20 {
    opacity: 0.2 !important;
}

.opacity-30 {
    opacity: 0.3 !important;
}

.opacity-40 {
    opacity: 0.4 !important;
}

.opacity-50 {
    opacity: 0.5 !important;
}

.opacity-60 {
    opacity: 0.6 !important;
}

.opacity-70 {
    opacity: 0.7 !important;
}

.opacity-80 {
    opacity: 0.8 !important;
}

.opacity-85 {
    opacity: 0.85 !important;
}

.opacity-90 {
    opacity: 0.9 !important;
}

/*Font Array - Better Typography Control, example font-30 class will make the font size 30px*/
.font-8 {
    font-size: 8px !important;
}

.font-9 {
    font-size: 9px !important;
}

.font-10 {
    font-size: 10px !important;
}

.font-11 {
    font-size: 11px !important;
}

.font-12 {
    font-size: 12px !important;
}

.font-13 {
    font-size: 13px !important;
}

.font-14 {
    font-size: 14px !important;
}

.font-15 {
    font-size: 15px !important;
}

.font-16 {
    font-size: 16px !important;
}

.font-17 {
    font-size: 17px !important;
}

.font-18 {
    font-size: 18px !important;
}

.font-19 {
    font-size: 19px !important;
}

.font-20 {
    font-size: 20px !important;
}

.font-21 {
    font-size: 21px !important;
}

.font-22 {
    font-size: 22px !important;
}

.font-23 {
    font-size: 23px !important;
}

.font-24 {
    font-size: 24px !important;
}

.font-25 {
    font-size: 25px !important;
}

.font-26 {
    font-size: 26px !important;
}

.font-27 {
    font-size: 27px !important;
}

.font-28 {
    font-size: 28px !important;
}

.font-29 {
    font-size: 29px !important;
}

.font-30 {
    font-size: 30px !important;
}

.font-31 {
    font-size: 31px !important;
}

.font-32 {
    font-size: 32px !important;
}

.font-33 {
    font-size: 33px !important;
}

.font-34 {
    font-size: 34px !important;
}

.font-35 {
    font-size: 35px !important;
}

.font-36 {
    font-size: 36px !important;
}

.font-37 {
    font-size: 37px !important;
}

.font-38 {
    font-size: 38px !important;
}

.font-39 {
    font-size: 39px !important;
}

.font-40 {
    font-size: 40px !important;
}

.font-41 {
    font-size: 41px !important;
}

.font-42 {
    font-size: 42px !important;
}

.font-43 {
    font-size: 43px !important;
}

.font-44 {
    font-size: 44px !important;
}

.font-45 {
    font-size: 45px !important;
}

.font-46 {
    font-size: 46px !important;
}

.font-47 {
    font-size: 47px !important;
}

.font-48 {
    font-size: 48px !important;
}

.font-49 {
    font-size: 49px !important;
}

.font-50 {
    font-size: 50px !important;
}

/*Scaling Animation*/
@keyframes scale-animation {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.05, 1.05);
    }
    0% {
        transform: scale(1, 1);
    }
}
.scale-box {
    animation: scale-animation 1.5s;
    animation-iteration-count: infinite;
}

@keyframes scale-icon {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.3, 1.3);
    }
    0% {
        transform: scale(1, 1);
    }
}
.scale-icon {
    animation: scale-icon 1.5s;
    animation-iteration-count: infinite;
}

/*Control Classes*/
::-webkit-scrollbar {
    display: none;
}

*::-webkit-scrollbar {
    display: none;
}

img.mx-auto {
    display: block;
}

.disabled {
    display: none !important;
}

.no-click {
    pointer-events: none !important;
}

.no-outline {
    outline: none !important;
}

.notch-clear {
    padding-top: calc(0px + constant(safe-area-inset-top) * 0.8) !important;
    padding-top: calc(0px + env(safe-area-inset-top) * 0.8) !important;
}

.notch-push {
    transform: translateY(-150%) !important;
    top: calc(0px + constant(safe-area-inset-top) * 0.8) !important;
    top: calc(0px + env(safe-area-inset-top) * 0.8) !important;
}

/*Hide Show Based on Color Scheme*/
.theme-dark .show-on-theme-dark {
    display: block;
}

.theme-dark .show-on-theme-light {
    display: none;
}

.theme-light .show-on-theme-light {
    display: block;
}

.theme-light .show-on-theme-dark {
    display: none;
}

.theme-dark .glass-effect,
.theme-light .glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.theme-dark .glass-effect {
    background-color: rgba(0, 0, 0, 0.85);
}

.theme-light .glass-effect {
    background-color: rgba(255, 255, 255, 0.85);
}

.theme-dark .btn-close {
    filter: invert(100%);
}

@keyframes splide-loading {
    0% {
        transform: rotate(0);
    }
    to {
        transform: rotate(1turn);
    }
}
.splide__container {
    position: relative;
    box-sizing: border-box;
}

.splide__list {
    margin: 0 !important;
    padding: 0 !important;
    width: -webkit-max-content;
    width: max-content;
    will-change: transform;
}

.splide.is-active .splide__list {
    display: flex;
}

.splide__pagination {
    display: inline-flex;
    align-items: center;
    width: 95%;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}

.splide__pagination li {
    list-style-type: none;
    display: inline-block;
    line-height: 1;
    margin: 0;
}

.splide {
    visibility: hidden;
}

.splide.is-initialized,
.splide.is-rendered {
    visibility: visible;
}

.splide,
.splide__slide {
    position: relative;
    outline: none;
}

.splide__slide {
    box-sizing: border-box;
    list-style-type: none !important;
    margin: 0;
    flex-shrink: 0;
}

.splide__slide img {
    vertical-align: bottom;
}

.splide__slider {
    position: relative;
}

.splide__spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #999;
    border-left-color: transparent;
    animation: splide-loading 1s linear infinite;
}

.splide__sr {
    clip: rect(0 0 0 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.splide__track {
    position: relative;
    z-index: 0;
}

.splide--draggable > .splide__track > .splide__list > .splide__slide {
    -webkit-user-select: none;
    user-select: none;
}

.splide--fade > .splide__track > .splide__list {
    display: block;
}

.splide--fade > .splide__track > .splide__list > .splide__slide {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
}

.splide--fade > .splide__track > .splide__list > .splide__slide.is-active {
    position: relative;
    z-index: 1;
    opacity: 1;
}

.splide--rtl {
    direction: rtl;
}

.splide--ttb > .splide__track > .splide__list {
    display: block;
}

.splide--ttb > .splide__pagination {
    width: auto;
}

.splide__arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    width: 2em;
    height: 2em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    opacity: 0.7;
    background: #ccc;
}

.splide__arrow svg {
    width: 1.2em;
    height: 1.2em;
}

.splide__arrow:hover {
    cursor: pointer;
    opacity: 0.9;
}

.splide__arrow:focus {
    outline: none;
}

.splide__arrow--prev {
    left: 1em;
}

.splide__arrow--prev svg {
    transform: scaleX(-1);
}

.splide__arrow--next {
    right: 1em;
}

.splide__pagination {
    position: absolute;
    z-index: 1;
    bottom: 0.5em;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
}

.splide__pagination__page {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    margin: 0px 7px;
    padding: 0;
    transition: transform 0.2s linear;
    border: none;
    opacity: 0.7;
}

.splide__pagination__page.is-active {
    transform: scale(1.4);
    background: #fff;
}

.splide__pagination__page:hover {
    cursor: pointer;
    opacity: 0.9;
}

.splide__pagination__page:focus {
    outline: none;
}

.splide__progress__bar {
    width: 0;
    height: 3px;
    background: #ccc;
}

.splide--nav > .splide__track > .splide__list > .splide__slide {
    border: 3px solid transparent;
}

.splide--nav > .splide__track > .splide__list > .splide__slide.is-active {
    border-color: #000;
}

.splide--nav > .splide__track > .splide__list > .splide__slide:focus {
    outline: none;
}

.splide--rtl > .splide__arrows .splide__arrow--prev,
.splide--rtl > .splide__track > .splide__arrows .splide__arrow--prev {
    right: 1em;
    left: auto;
}

.splide--rtl > .splide__arrows .splide__arrow--prev svg,
.splide--rtl > .splide__track > .splide__arrows .splide__arrow--prev svg {
    transform: scaleX(1);
}

.splide--rtl > .splide__arrows .splide__arrow--next,
.splide--rtl > .splide__track > .splide__arrows .splide__arrow--next {
    left: 1em;
    right: auto;
}

.splide--rtl > .splide__arrows .splide__arrow--next svg,
.splide--rtl > .splide__track > .splide__arrows .splide__arrow--next svg {
    transform: scaleX(-1);
}

.splide--ttb > .splide__arrows .splide__arrow,
.splide--ttb > .splide__track > .splide__arrows .splide__arrow {
    left: 50%;
    transform: translate(-50%);
}

.splide--ttb > .splide__arrows .splide__arrow--prev,
.splide--ttb > .splide__track > .splide__arrows .splide__arrow--prev {
    top: 1em;
}

.splide--ttb > .splide__arrows .splide__arrow--prev svg,
.splide--ttb > .splide__track > .splide__arrows .splide__arrow--prev svg {
    transform: rotate(-90deg);
}

.splide--ttb > .splide__arrows .splide__arrow--next,
.splide--ttb > .splide__track > .splide__arrows .splide__arrow--next {
    top: auto;
    bottom: 1em;
}

.splide--ttb > .splide__arrows .splide__arrow--next svg,
.splide--ttb > .splide__track > .splide__arrows .splide__arrow--next svg {
    transform: rotate(90deg);
}

.splide--ttb > .splide__pagination {
    display: flex;
    flex-direction: column;
    bottom: 50%;
    left: auto;
    right: 0.5em;
    transform: translateY(50%);
}

.slider-cover-dots .splide__pagination {
    transform: translate(-50%, -40px) !important;
}

.splide .card {
    background-size: cover;
    background-position: center center;
}

.slider-no-dots .splide__pagination {
    display: none;
}

.slider-no-dots .splide__arrows {
    display: none;
}

.slider-boxed .splide__slide {
    padding: 0px 15px 0px 15px;
}

.slider-visible {
    padding-right: 60px;
}

.slider-visible .splide__slide {
    padding: 0px 7.5px 0px 15px;
}

.slider-visible-center {
    padding: 0px 30px 0px 30px;
}

.slider-visible-center .splide__slide {
    padding: 0px 10px 0px 10px;
}

.splide .splide__arrow--prev {
    margin-left: 20px !important;
}

.splide .splide__arrow--next {
    margin-right: 20px !important;
}

.splide.slider-dots-under .splide__pagination {
    bottom: -30px;
}

.slider-boxed.triple-slider {
    margin-left: 7px;
    margin-right: 7px;
}

.slider-boxed.triple-slider .splide__slide {
    padding: 0px 7.5px 0px 7.5px;
}

.slider-visible.triple-slider {
    margin-left: 7px;
}

.slider-visible.triple-slider .splide__slide {
    padding: 0px 7.5px 0px 7.5px;
}

.slider-visible-center.triple-slider .splide__slide {
    padding: 0px 7.5px 0px 7.5px;
}

/*List Groups*/
.list-group .active {
    background-color: #4a89dc !important;
    border-color: #4a89dc !important;
}

.list-group * {
    font-family: IRANSansX, "Roboto", sans-serif !important;
}

.list-group-s .list-group-item {
    padding-top: 9px;
    padding-bottom: 9px;
}

.list-group-m .list-group-item {
    padding-top: 11px;
    padding-bottom: 11px;
}

.list-group-l .list-group-item {
    padding-top: 13px;
    padding-bottom: 13px;
}

.list-custom {
    overflow: hidden;
}

.list-group .badge {
    font-size: 10px;
    padding-top: 4px;
    color: #fff;
    background-color: #4a89dc;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.list-group .active .badge {
    background-color: #fff;
    color: #000;
}

.list-group i:first-child {
    padding-right: 8px;
    display: inline-block;
    width: 25px;
}

.list-group i:last-child {
    font-size: 8px;
    position: absolute;
    left: 15px;
    transform: translateY(-50%);
    top: 50%;
}

.list-custom .list-group-item {
    display: flex;
}

.list-custom.list-group-flush .list-group-item {
    padding-left: 0px;
    padding-right: 0px;
}

.list-custom.list-group-flush i:last-child {
    left: 0px;
}

.list-custom.list-group-flush i:first-child:not(.has-bg) {
    margin-left: -5px;
}

.list-custom.list-group-flush .badge {
    margin-left: -14px;
}

.list-custom .list-group-item * {
    align-self: center;
    cursor: pointer;
}

.list-custom .list-group-item i,
.list-custom .list-group-item div {
    display: block;
}

.list-custom .list-group-item i:first-child:not(.has-bg) {
    padding-left: 34px;
    margin-left: -5px;
    padding-right: 0px;
}

.list-custom .list-group-item i.has-bg {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    padding: 0px;
    margin-left: 15px;
}

.list-custom .list-group-item span:not(.badge) {
    pointer-events: none;
    display: block;
    font-size: 11px;
    margin-top: -8px;
    font-weight: 400;
}

.sidebar-member-logout-btn span {
    color: #f53b3b;
}

.list-custom .list-group-item strong {
    pointer-events: none;
    line-height: 28px;
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.list-custom .ios-switch,
.list-custom .android-switch {
    z-index: 97;
    position: relative;
    margin-right: auto;
    margin-left: -20px;
    transform-origin: 100% 50%;
}

.icon-list {
    list-style: none;
    padding-right: 0px;
}

.icon-list i {
    padding-left: 10px;
}

.theme-light .list-group * {
    border-color: rgba(0, 0, 0, 0.07);
}

.theme-light .list-custom a:hover {
    color: #000;
    opacity: 1 !important;
}

.theme-dark .list-custom a:hover {
    color: #fff;
    opacity: 1 !important;
}

.theme-dark .list-group * {
    border-color: rgba(255, 255, 255, 0.05);
}

.theme-dark .list-group-item {
    background-color: #0f1117;
    color: #fff;
}

.visited-link::after {
    content: "\f26a";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    color: #8cc152;
}

.card-style {
    overflow: hidden;
    margin: 0px 15px 30px 15px;
    border-radius: 16px;
    border: none;
}

.main-menu-cover {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.card-style--transparent {
    background: transparent !important;
    box-shadow: none !important;
}

.card-style--no-radius {
    border-radius: 0 !important;
}

.card-style--transparent > .content {
    padding-left: 0;
    padding-right: 0;
}

/* Developer section helpers */
.app-dev__ltr {
    direction: ltr;
    unicode-bidi: plaintext;
}

.app-dev-info {
    overflow: hidden;
}

.theme-dark .app-dev-info {
    border-color: rgba(255, 255, 255, 0.06);
}

.app-dev-info--plain {
    border: none;
    border-radius: 0;
}

.app-dev-info__row {
    display: grid;
    grid-template-columns: 34px minmax(80px, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    padding: 14px 14px;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.theme-dark .app-dev-info__row {
    background: rgba(15, 17, 23, 0.72);
}

.app-dev-info--plain .app-dev-info__row,
.theme-dark .app-dev-info--plain .app-dev-info__row {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.app-dev-info--plain .app-dev-info__row + .app-dev-info__row {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-dark .app-dev-info--plain .app-dev-info__row + .app-dev-info__row {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.developer-info-title {
    margin: 10px 0 14px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--offer-card-text);
    text-align: right;
}

.developer-website-link {
    color: inherit;
    text-decoration: none;
}

.developer-website-link:hover,
.developer-website-link:focus {
    text-decoration: underline;
}

/* Developer apps list (row layout) */
.developer-app-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent;
}

.theme-dark .developer-app-list {
    border-color: rgba(255, 255, 255, 0.06);
}

.developer-app-list--plain {
    border: none;
    border-radius: 0;
    overflow: visible;
}

.developer-app-list--plain .developer-app-row__link {
    padding-left: 0;
    padding-right: 0;
}

.developer-app-row__link {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 12px;
    text-decoration: none;
    color: inherit;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.theme-dark .developer-app-row__link {
    background: transparent;
}

.developer-app-row + .developer-app-row .developer-app-row__link {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-dark .developer-app-row + .developer-app-row .developer-app-row__link {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.developer-app-list--plain
    .developer-app-row
    + .developer-app-row
    .developer-app-row__link {
    border-top: none;
}

.developer-app-row__icon-wrap {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--mini-app-icon-bg);
    flex: 0 0 auto;
}

.developer-app-row__icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.developer-app-row__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: right;
}

.developer-app-row__title-fa {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
    color: var(--mini-app-title);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.developer-app-row__title-en {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 500;
    color: var(--mini-app-subtitle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
    direction: ltr;
}

.developer-app-row__rating {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #f5c451;
}

.developer-app-row__rating-val {
    color: #5e5957;
}

.developer-app-row__rating .ph-duotone:before,
.developer-app-row__rating .ph-duotone:after {
    white-space: nowrap;
}

.developer-app-row__rating .ph-duotone {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    margin-bottom: 2px;
}

/* ردیف اپ در موردعلاقه‌ها: لینک + دکمه حذف */
















/* لایه‌های duotone روی هم؛ بدون این در ستون بلند آیکون «دو تکه» دیده می‌شود */










/* پنل خالی موردعلاقه‌ها — بدون کارت سفید؛ چِپ قلب مثل .app-favorite-toggle (حالت غیرفعال) */






/* جایگاه آیکون (مقیاس بزرگ‌تر از دکمهٔ ۳۲px جزئیات اپ، همان نسبت گوشه و رنگ) */






/* لایه‌های duotone روی هم — همان ایدهٔ .member-fav-row__remove-icon */












/* ── Member reviews (نظرات من) ─────────────────────────────────────────────── */












































/* ── Member profile ── */
/* فاصله از header شناور و footer-bar detached (PWA) */
.app-member-profile-page--safe-chrome {
    margin-top: 0 !important;
    padding-top: calc(84px + env(safe-area-inset-top, 0px) * 0.8);
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px) * 1.1);
}

.app-member-profile-page {
    background: #f5f6f8;
}

.theme-dark .app-member-profile-page,
body.theme-dark .app-member-profile-page {
    background: transparent;
}











































































.member-verify-banner--profile .member-verify-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.14);
}

.member-verify-banner--profile .member-verify-banner__head {
    width: 100%;
}

.member-verify-banner--profile .member-verify-banner__cta {
    width: 100%;
    align-self: stretch;
}

























































.theme-bottom-sheet__field-error {
    margin: -0.15rem 0 0.85rem;
    padding: 0 0.35rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #e11d48;
    font-weight: 600;
}

.theme-bottom-sheet__field-error[hidden] {
    display: none !important;
}

.theme-bottom-sheet__field.is-invalid .form-control {
    border-color: rgba(225, 29, 72, 0.55) !important;
}

.theme-dark .theme-bottom-sheet__field-error,
body.theme-dark .theme-bottom-sheet__field-error {
    color: #fb7185;
}

































/* پیش‌نمایش علاقه‌مندی‌ها در پروفایل: آیکون ۷۸×۷۸ */






@media (max-width: 991.98px) {

    
}


@media (min-width: 992px) {

    .desktop-member-profile-page {
        background: #f5f6f8;
        border-radius: 1rem;
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .theme-dark .desktop-member-profile-page,
    body.theme-dark .desktop-member-profile-page {
        background: transparent;
        padding: 0;
    }

    
}


/* اسکلتون ردیف هنگام بارگذاری صفحهٔ بعد */


















@keyframes member-favorites-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}



.app-dev-info__row + .app-dev-info__row {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-dark .app-dev-info__row + .app-dev-info__row {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.app-dev-info__icon-col {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
}

.app-dev-info__icon {
    display: inline-block;
    font-size: 20px;
    opacity: 0.92;
    white-space: nowrap;
    line-height: 1;
}

.app-dev-info__label-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.app-dev-info__label {
    font-size: 13px;
    font-weight: 800;
    color: var(--offer-card-text);
    white-space: nowrap;
    line-height: 1.25;
}

.app-dev-info__label-en {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(17, 24, 39, 0.52);
    white-space: nowrap;
}

.theme-dark .app-dev-info__label-en {
    color: rgba(249, 250, 251, 0.52);
}

.app-body-desc__clip > .app-body-desc__meta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.app-body-desc__empty + .app-body-desc__meta {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.theme-dark .app-body-desc__meta {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.app-meta-info-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.app-meta-info-section__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--offer-card-text);
}

.app-meta-info-section .app-dev-info {
    margin: 0;
    overflow: visible;
}

.app-meta-info-section .app-dev-info__row {
    padding: 12px 0;
    column-gap: 10px;
}

.app-meta-info-section__subtitle {
    font-size: 12px;
    font-weight: 600;
    color: rgba(17, 24, 39, 0.52);
    margin-inline-start: auto;
}

.theme-dark .app-meta-info-section__subtitle {
    color: rgba(249, 250, 251, 0.52);
}

.app-meta-info__row--category {
    align-items: flex-start;
}

.app-meta-info__row--category .app-dev-info__icon-col {
    margin-top: 2px;
}

.app-meta-info__category-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    max-width: 100%;
}

.app-meta-info__chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.14);
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    color: rgba(17, 24, 39, 0.88);
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        color 0.15s ease;
}

.theme-dark .app-meta-info__chip {
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(249, 250, 251, 0.9);
}

.app-meta-info__chip--link:hover,
.app-meta-info__chip--link:focus-visible {
    border-color: rgba(37, 99, 235, 0.45);
    color: #1d4ed8;
    text-decoration: none;
}

.theme-dark .app-meta-info__chip--link:hover,
.theme-dark .app-meta-info__chip--link:focus-visible {
    border-color: rgba(147, 197, 253, 0.45);
    color: #93c5fd;
}

.app-meta-info .app-dev-info__value {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: none;
}

.app-meta-info__row--category .app-dev-info__value {
    padding-top: 1px;
}

.app-meta-info__stacked-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: left;
}

.app-meta-info__stacked-value-primary {
    font-weight: 800;
    line-height: 1.25;
}

.app-meta-info__stacked-value-secondary {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(17, 24, 39, 0.58);
}

.theme-dark .app-meta-info__stacked-value-secondary {
    color: rgba(249, 250, 251, 0.58);
}

.app-meta-info__play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(0, 100, 228, 0.08);
    color: #0064e4;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.app-meta-info__play-btn i {
    font-size: 14px;
    line-height: 1;
}

.app-meta-info__play-btn:hover,
.app-meta-info__play-btn:focus-visible {
    text-decoration: none;
    background: rgba(0, 100, 228, 0.14);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 100, 228, 0.16);
}

.theme-dark .app-meta-info__play-btn {
    background: rgba(147, 197, 253, 0.14);
    color: #93c5fd;
}

.theme-dark .app-meta-info__play-btn:hover,
.theme-dark .app-meta-info__play-btn:focus-visible {
    background: rgba(147, 197, 253, 0.22);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.35);
}

.app-dev-info__value {
    font-size: 13px;
    font-weight: 700;
    color: rgba(17, 24, 39, 0.86);
    max-width: 62vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.theme-dark .app-dev-info__value {
    color: rgba(249, 250, 251, 0.86);
}

.developer-app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 576px) {

    .developer-app-grid {
        grid-template-columns: 1fr;
    }
}


.developer-app-grid__item .mini-app-card__link {
    border-radius: 18px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.02);
}

.theme-dark .developer-app-grid__item .mini-app-card__link {
    background: rgba(255, 255, 255, 0.04);
}

.card-overlay {
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: -2px;
    top: -2px;
    z-index: 1;
    border-radius: 30px;
}

.card-body,
.card-top,
.card-center,
.card-bottom {
    z-index: 3;
}

.card-top,
.card-center,
.card-bottom {
    z-index: 3;
    position: absolute;
    left: 0px;
    right: 0px;
}

.card-top {
    top: 0px;
}

.card-center {
    top: 50%;
    transform: translateY(-50%);
}

.card-bottom {
    bottom: 0px;
}

.card-over {
    z-index: 3;
}

.card-inter {
    z-index: 2;
}

.card-under {
    z-index: 1;
}

.shadow-card:after {
    transform: scale(0.95) translateY(10px) translateZ(-36px);
    filter: blur(12px);
    content: "";
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-color: inherit;
    z-index: -1;
}

.shadow-card {
    overflow: visible;
}

.shadow-card .card-overlay {
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
}

.shadow-card-s::after {
    transform: scale(0.91) translateY(15px) translateZ(-40px);
    filter: blur(12px);
}

.shadow-card-m::after {
    transform: scale(0.93) translateY(15px) translateZ(-40px);
    filter: blur(12px);
}

.shadow-card-l::after {
    transform: scale(0.95) translateY(15px) translateZ(-46px);
    filter: blur(12px);
}

.theme-light .shadow-card:after {
    opacity: 0.8;
}

.theme-dark .shadow-card:after {
    opacity: 0.3;
}

/*Dividers*/
.divider {
    position: relative;
    height: 1px;
    display: block;
    background-color: rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
}

divider:after {
    content: "";
    display: table;
    clear: both;
}

.divider-icon i {
    position: absolute;
    left: 50%;
    height: 44px;
    width: 44px;
    text-align: center;
    line-height: 50px;
    margin-top: -24px;
    transform: translate(-50%);
    z-index: 6;
}

.divider-icon em {
    position: absolute;
    content: "";
    height: 2px;
    left: 50%;
    width: 44px;
    background-color: #f0f0f0;
    margin-left: -22px;
    top: 50%;
    margin-top: -1px;
    z-index: 5;
}

.divider-faded {
    background-color: transparent;
    background-image: linear-gradient(
        left,
        rgba(0, 0, 0, 0.01) 2%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.01) 98%
    );
    background-image: -webkit-linear-gradient(
        left,
        rgba(0, 0, 0, 0.01) 2%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.01) 98%
    );
}

.divider-faded i {
    position: absolute;
    left: 50%;
    height: 44px;
    width: 44px;
    text-align: center;
    line-height: 44px;
    margin-top: -22px;
    transform: translate(-50%);
    z-index: 6;
}

/*Size Settings*/
.divider-s i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    margin-top: -20px;
}

.divider-m i {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 19px;
    margin-top: -22px;
}

.divider-l i {
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 21px;
    margin-top: -24px;
}

.divider-s:not(.divider-icon):not(.divider-faded) {
    width: 50px;
    height: 3px;
}

.divider-m:not(.divider-icon):not(.divider-faded) {
    width: 75px;
    height: 3px;
}

.divider-l:not(.divider-icon):not(.divider-faded) {
    width: 107.5px;
    height: 3px;
}

/*Dark Settings*/
.theme-dark .divider {
    background-color: rgba(255, 255, 255, 0.05);
}

.theme-dark .divider em {
    background-color: #0f1117;
}

.theme-dark .divider-faded {
    background-color: transparent;
    background-image: linear-gradient(
        left,
        rgba(255, 255, 255, 0.01) 2%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.01) 98%
    );
    background-image: -webkit-linear-gradient(
        left,
        rgba(255, 255, 255, 0.01) 2%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.01) 98%
    );
}

.icon {
    line-height: 0px;
    display: inline-block;
    text-align: center;
    transition: all 120ms ease;
}

.icon:hover {
    opacity: 0.9;
}

.icon-style {
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 12px;
    font-size: 14px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    box-shadow: 0 5px 14px 0 rgba(0, 0, 0, 0.12);
    transform: translateY(2px);
}

.icon-xxs {
    font-size: 12px;
    height: 34px;
    line-height: 34px;
    width: 34px;
    transform: translateY(0px);
}

.icon-xs {
    font-size: 11px;
    height: 38px;
    line-height: 38px;
    width: 38px;
    transform: translateY(0px);
}

.icon-s {
    font-size: 11px;
    height: 42px;
    line-height: 42px;
    width: 42px;
    transform: translateY(0px);
}

.icon-m {
    font-size: 14px;
    height: 45px;
    line-height: 45px;
    width: 45px;
    transform: translateY(2px);
}

.icon-l {
    font-size: 16px;
    height: 49px;
    line-height: 49px;
    width: 49px;
    transform: translateY(2px);
}

.icon-xl {
    font-size: 16px;
    height: 51px;
    line-height: 51px;
    width: 51px;
    transform: translateY(2px);
}

.icon-xxl {
    font-size: 17px;
    height: 60px;
    line-height: 60px;
    width: 60px;
    transform: translateY(2px);
}

/*Buttons*/
.btn {
    color: #fff;
    display: inline-block;
    transition: all 120ms ease;
}

.btn:hover {
    opacity: 0.9;
    color: #fff;
}

.btn:focus {
    box-shadow: none !important;
}

.btn:not(.btn-border):active {
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.5) !important;
}

.btn {
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 12px;
    font-size: 12px;
    padding: 14px 20px;
    box-shadow: 0 5px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn-3d {
    border-bottom-width: 4px !important;
    border-left: none;
    border-right: none;
    border-top: none;
}

.btn-3d:hover {
    opacity: 1 !important;
    border-bottom: solid 0px rgba(255, 255, 255, 0) !important;
}

.btn-3d:active {
    opacity: 1 !important;
    border-bottom: solid 0px rgba(255, 255, 255, 0) !important;
}

.btn-xxs {
    font-size: 11px;
    padding: 8px 13px;
}

.btn-xs {
    font-size: 12px;
    padding: 9px 14px;
}

.btn-s {
    font-size: 12px;
    padding: 12px 18px;
}

.btn-m {
    font-size: 12px;
    padding: 13px 20px;
}

.btn-l {
    font-size: 14px;
    padding: 13px 22px;
}

.btn-xl {
    font-size: 15px;
    padding: 14px 24px;
}

.btn-xxl {
    font-size: 15px;
    padding: 15px 28px;
}

.btn-full {
    display: block;
}

.btn .badge {
    font-size: 9px;
    margin-left: 10px;
    padding: 3px 5px;
    border-radius: 5px;
}

.btn .badge-border {
    border: solid 1px #fff;
    color: #fff;
}

.btn .badge-shadow {
    box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.3) !important;
    color: #fff;
}

/*Accordions*/
.accordion-s .accordion-button {
    height: 45px;
}

.accordion-m .accordion-button {
    height: 49px;
}

.accordion-l .accordion-button {
    height: 53px;
}

.accordion {
    overflow: hidden;
    border: 0px;
}

.accordion * {
    background-color: transparent;
}

.accordion .accordion-item:first-child {
    border-top: 0px;
}

.accordion .accordion-item:last-child {
    border-bottom: 0px;
}

.accordion .accordion-item {
    border-color: rgba(0, 0, 0, 0.02);
}

.accordion-button:not(.collapsed) {
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-family: "Inter", sans-serif;
}

.accordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.05);
}

.accordion-item.border-bottom-0 {
    border-bottom: 0px !important;
    margin-bottom: -1px !important;
}

.accordion-button::after {
    background-image: none !important;
}

.accordion-button[aria-expanded="true"] {
    color: initial !important;
}

.accordion-button[aria-expanded="true"] i:last-child {
    color: red;
    transform: rotate(180deg);
}

.accordion-button[aria-expanded="true"] i:first-child {
    transform: scale(1.2, 1.2);
}

.accordion-button i:last-child {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    left: 0px;
    width: 40px;
    height: 40px;
    color: #1f1f1f;
    text-align: center;
    line-height: 40px;
}

.accordion.no-border *,
.accordion.border-0 * {
    border: none;
    box-shadow: none !important;
}

.theme-dark .accordion-button,
.theme-dark .accordion-button[aria-expanded="true"] {
    color: #fff !important;
}

.theme-dark .accordion-button.collapsed i {
    color: #fff;
}

.theme-dark .accordion .accordion-item {
    border-color: rgba(255, 255, 255, 0.02);
}

.theme-dark .accordion-button:not(.collapsed) {
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.accordion-item.border {
    border-width: 1px !important;
    border-style: solid !important;
}

/*Tabs*/
.tabs a[aria-expanded="true"] {
    pointer-events: none;
}

.tabs .tab-controls {
    font-weight: 600;
    font-family: "Inter", sans-serif;
}

.tabs-box .tab-controls {
    overflow: hidden;
    display: flex;
    border: solid 1px rgba(0, 0, 0, 0.07);
}

.tabs-box .tab-controls a:last-child {
    border-right: none !important;
}

.tabs-box .tab-controls a {
    transition: all 200ms ease;
    overflow: hidden;
    text-align: center;
    border-right: solid 1px rgba(0, 0, 0, 0.07);
    width: 100%;
    margin: auto;
    color: #000;
    line-height: 38px;
}

.tabs-box a[aria-expanded="true"] {
    background-color: #4a89dc;
    border-color: #4a89dc;
    color: #fff !important;
}

.tabs-pill .tab-controls {
    background-color: rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
}

.tabs-pill .tab-controls a {
    transition: all 200ms ease;
    overflow: hidden;
    text-align: center;
    width: 100%;
    margin: auto;
    color: #000;
    line-height: 35px;
}

.tabs-pill a[aria-expanded="true"] {
    background-color: #4a89dc;
    border-color: #4a89dc;
    color: #fff !important;
}

.tabs-links .tab-controls {
    background-color: rgba(0, 0, 0, 0.07);
}

.tabs-links .tab-controls {
    overflow: hidden;
    display: flex;
}

.tabs-links .tab-controls a {
    transition: all 200ms ease;
    overflow: hidden;
    text-align: center;
    padding: 2px 12px;
    color: #000;
}

.tabs-links a[aria-expanded="true"] {
    background-color: #4a89dc;
    border-color: #4a89dc;
    color: #fff !important;
}

.tabs-icons .tab-controls a * {
    display: block;
    font-weight: 400;
}

.tabs-icons .tab-controls {
    overflow: hidden;
    display: flex;
    margin: auto -15px auto -15px;
}

.tabs-icons a[aria-expanded="true"] * {
    opacity: 1 !important;
}

.tabs-icons a[aria-expanded="true"] {
    color: #4a89dc !important;
}

.tabs-icons .tab-controls a {
    overflow: hidden;
    text-align: center;
    width: 100%;
    margin: auto;
    color: #000;
    line-height: 20px;
}

.tabs-borders .tab-controls {
    overflow: hidden;
    display: flex;
}

.tabs-borders .tab-controls a {
    transition: all 200ms ease;
    overflow: hidden;
    text-align: center;
    border-bottom: solid 1px rgba(0, 0, 0, 0.07);
    width: 100%;
    margin: auto;
    color: #000;
    line-height: 40px;
}

.tabs-borders a[aria-expanded="true"] {
    color: #4a89dc !important;
    border-color: #4a89dc !important;
}

.tabs-cards {
    margin: 0px 15px 30px 15px;
}

.tabs-cards .card-style {
    overflow: visible;
    border-top-left-radius: 0px;
    margin: 6px 0px 30px 0px;
}

.tabs-cards .tab-controls a {
    transition: all 200ms ease;
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    color: #1f1f1f;
    background-color: rgba(0, 0, 0, 0.04);
    padding: 12px 22px 18px 22px;
}

.tabs-cards .tab-controls a[aria-expanded="true"] {
    color: #4a89dc;
    background-color: #fff;
    padding: 14px 22px 20px 22px;
}

.theme-dark .tabs-box a {
    border: solid 1px rgba(255, 255, 255, 0.05);
}

.theme-dark .tabs-pill .tab-controls a {
    color: #fff;
}

.theme-dark .tabs-pill .tab-controls {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.theme-dark .tabs-links .tab-controls a {
    color: #fff;
}

.theme-dark .tabs-icons .tab-controls a {
    color: #fff;
}

.theme-dark .tabs-borders .tab-controls a {
    border-bottom: solid 1px rgba(255, 255, 255, 0.05);
    color: #fff;
}

.theme-dark .tabs-cards .tab-controls a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.theme-dark .tabs-cards .tab-controls a[aria-expanded="true"] {
    background-color: #0f1117;
}

/*Switches*/
.switch-xs,
.switch-s,
.switch-m,
.switch-l {
    transform-origin: 0% 50%;
}

.switch-xs {
    transform: scale(0.6);
}

.switch-s {
    transform: scale(0.7);
}

.switch-m {
    transform: scale(0.8);
}

.switch-l {
    transform: scale(0.9);
}

.ios-switch input,
.android-switch input {
    display: none;
}

.android-switch,
.ios-switch {
    margin: 0px;
    padding: 0px;
    height: 32px;
    position: relative;
}

.android-switch *,
.ios-switch * {
    cursor: pointer !important;
}

/*iOS Switches*/
.ios-switch {
    width: 58px;
}

.ios-switch label::before {
    cursor: pointer;
    content: "";
    display: block !important;
    background-color: rgba(0, 0, 0, 0.07);
    pointer-events: all;
    margin-right: -1px;
    width: 58px !important;
    height: 32px !important;
    border-radius: 50px !important;
    transition: all 200ms ease;
}

.ios-switch i {
    pointer-events: none;
    position: absolute;
    z-index: 2;
    top: 50%;
    z-index: 1;
    font-style: normal;
    transform: translateY(-50%);
}

.ios-switch i:first-child:not(.bi) {
    padding-right: 4px;
    margin-top: 0px;
}

.ios-switch i:last-child:not(.bi) {
    padding-left: 4px;
    margin-top: 0px;
}

.ios-switch i:first-child {
    right: 3px;
    margin-top: 1px;
}

.ios-switch i:last-child {
    left: 5px;
    margin-top: 1px;
}

.ios-switch label::after {
    cursor: pointer;
    position: relative;
    content: "";
    display: block !important;
    margin-top: -31px;
    z-index: 2;
    width: 30px !important;
    height: 30px !important;
    transition: all 250ms ease;
    border-radius: 50px !important;
    background-color: #fff;
    border: solid 1px rgba(152, 152, 152, 0.3);
    transition: all 200ms ease;
}

.ios-input:checked ~ .custom-control-label::after {
    transform: translateX(-26px) !important;
}

.ios-input:checked ~ .custom-control-label::before {
    background-color: #4a89dc;
}

.switch-green .ios-input:checked ~ .custom-control-label::before {
    background-color: #8cc152 !important;
}

.switch-blue .ios-input:checked ~ .custom-control-label::before {
    background-color: #4a89dc !important;
}

.switch-red .ios-input:checked ~ .custom-control-label::before {
    background-color: #ed5565 !important;
}

/*Android Switches*/
.android-switch {
    width: 54px;
}

.android-switch label::before {
    display: block !important;
    content: "";
    pointer-events: all;
    margin-top: 5px;
    width: 53px !important;
    height: 17px !important;
    border-radius: 50px !important;
    background-color: rgba(0, 0, 0, 0.07);
    transition: all 250ms ease;
}

.android-switch label::after {
    display: block !important;
    content: "";
    border: solid 1px rgba(0, 0, 0, 0.07) !important;
    margin-top: -22px;
    width: 27px !important;
    height: 27px !important;
    background-color: #fff;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.07) !important;
    border-radius: 50px !important;
    transition: all 250ms ease;
}

.android-input:checked ~ .custom-control-label::after {
    border: none !important;
    transform: translateX(27px) !important;
}

.android-switch-short {
    margin-left: -8px;
}

.android-switch-short.android-switch label::before {
    width: 43px !important;
}

.android-switch-short .android-input:checked ~ .custom-control-label::after {
    transform: translateX(-18px) !important;
}

.switch-blue .android-input:checked ~ .custom-control-label::after {
    background-color: #4a89dc !important;
}

.switch-blue .android-input:checked ~ .custom-control-label::before {
    background-color: rgba(74, 137, 220, 0.5) !important;
}

.switch-green .android-input:checked ~ .custom-control-label::after {
    background-color: #8cc152 !important;
}

.switch-green .android-input:checked ~ .custom-control-label::before {
    background-color: rgba(139, 193, 82, 0.5) !important;
}

.switch-red .android-input:checked ~ .custom-control-label::after {
    background-color: #ed5565 !important;
}

.switch-red .android-input:checked ~ .custom-control-label::before {
    background-color: rgba(237, 85, 101, 0.5) !important;
}

.theme-dark .ios-switch label::before,
.theme-dark .android-switch label::before {
    background-color: rgba(255, 255, 255, 0.05);
}

/*Toasts*/
.toast {
    display: flex !important;
    transition: all 250ms ease !important;
}

.toast-l {
    width: 270px;
    margin-left: -135px;
}

.toast-m {
    width: 200px;
    margin-left: -100px;
}

.toast-s {
    width: 110px;
    margin-left: -55px;
}

.toast-pill {
    font-family: "Inter", sans-serif;
    opacity: 1 !important;
    position: fixed;
    z-index: 10;
    border: none;
    transition: all 350ms ease;
    left: 50%;
    padding: 5px 5px 5px 36px;
    background-color: transparent;
    box-shadow: none;
    text-align: center;
    display: block;
    overflow: visible;
}

.toast-pill i {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 45px !important;
    text-align: center;
    line-height: 35px;
}

.toast-bar strong,
.toast-bar span {
    display: block;
}

.toast-bar {
    font-family: "Inter", sans-serif;
    opacity: 1 !important;
    position: fixed;
    z-index: 10;
    border: none;
    transition: all 350ms ease;
    left: 50%;
    width: 250px;
    margin-left: -125px;
    background-color: transparent;
    box-shadow: none;
    padding: 5px;
    display: block;
}

.toast-bar {
    display: flex;
}

.toast-bottom {
    bottom: calc(80px + env(safe-area-inset-bottom) * 1.1);
    transform: translateY(200px);
}

.toast-bottom.show {
    transform: translateY(0px);
    transition: all 250ms ease;
}

.toast-top {
    top: calc(70px + env(safe-area-inset-top) * 1.1);
    transform: translateY(-200px);
}

.toast-top.show {
    transform: translateY(0px);
    transition: all 250ms ease;
}

/* پشتهٔ toast سراسری (themeToast) — کپسول مدرن، دو خط، بدون toast-bar قدیمی */
/* مرکز افقی با left فیزیکی: در html[dir=rtl] مقدار inset-inline-start=50% مرکز واقعی نیست و toast بیرون می‌زند */
.theme-toast-stack {
    position: fixed;
    z-index: 10050;
    top: calc(70px + env(safe-area-inset-top) * 1.1);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(380px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    padding-inline-start: max(0px, env(safe-area-inset-left));
    padding-inline-end: max(0px, env(safe-area-inset-right));
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    column-gap: 12px;
    align-items: stretch;
    pointer-events: none;
}

.theme-toast-stack > .toast.theme-toast-item {
    pointer-events: auto;
    position: relative !important;
    left: auto !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100%;
    transform: translateY(-12px);
    opacity: 0;
    transition:
        opacity 280ms ease,
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-toast-stack > .toast.theme-toast-item.show {
    transform: translateY(0);
    opacity: 1;
}

/* ریست Bootstrap / تم — فقط داخل پشته */
.theme-toast-stack > .toast.theme-toast {
    --bs-toast-max-width: none;
    --bs-toast-bg: transparent;
    --bs-toast-border-width: 0;
    --bs-toast-border-color: transparent;
    --bs-toast-box-shadow: none;
    --bs-toast-padding-x: 0;
    --bs-toast-padding-y: 0;
    --bs-toast-font-size: inherit;
    --bs-toast-color: inherit;
    border: none !important;
    border-radius: 9999px !important;
    padding-block: 6px !important;
    padding-inline: 16px 14px !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
    flex-wrap: nowrap;
    text-align: start;
    min-height: 0;
    overflow: visible !important;
    background-clip: padding-box !important;
    font-family:
        "IRANSansX",
        "Inter",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-size: 0.82rem;
    -webkit-font-smoothing: antialiased;
}

.theme-toast-stack .theme-toast__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
}

.theme-toast-stack .theme-toast__text {
    font-family: "IRANSansX";
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    row-gap: 4px;
    column-gap: 0;
    overflow: visible;
    padding-block: 2px;
    padding-inline: 0;
    text-align: start;
}

.theme-toast-stack .theme-toast__title {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.01em;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    color: inherit;
}

.theme-toast-stack .theme-toast__subtitle {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    color: inherit;
}

.theme-toast-stack .theme-toast__close {
    flex-shrink: 0;
    align-self: center;
    opacity: 0.88;
    padding-block: 0.3rem !important;
    padding-inline: 0.3rem !important;
    margin: 0 !important;
    margin-inline-start: auto;
}

.theme-toast-stack > .toast.theme-toast.theme-toast--has-actions {
    align-items: flex-start;
    padding-block: 10px !important;
}

.theme-toast-stack .theme-toast__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.theme-toast-stack .theme-toast__action-btn {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.28rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    border-radius: 9999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        transform 0.1s ease;
}

.theme-toast-stack .theme-toast__action-btn--ghost {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.theme-toast-stack .theme-toast__action-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.26);
}

.theme-toast-stack .theme-toast__action-btn--primary {
    background: #fff;
    color: #15803d;
    border-color: rgba(255, 255, 255, 0.85);
}

.theme-toast-stack .theme-toast__action-btn--primary:hover {
    filter: brightness(0.97);
}

.theme-toast-stack .theme-toast--warning .theme-toast__action-btn--primary {
    color: #b91c1c;
}

.theme-toast-stack .theme-toast--info .theme-toast__action-btn--primary {
    color: #1d4ed8;
}

.theme-toast-stack .theme-toast--default .theme-toast__action-btn--primary {
    color: #1f2937;
}

.theme-toast-stack .theme-toast--success {
    color: #fff !important;
    background: linear-gradient(
        145deg,
        #34d399 0%,
        #22c55e 42%,
        #15803d 100%
    ) !important;
    box-shadow:
        0 14px 36px rgba(22, 163, 74, 0.32),
        0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.theme-toast-stack .theme-toast--success .theme-toast__icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.theme-toast-stack .theme-toast--warning {
    color: #fff !important;
    background: linear-gradient(
        145deg,
        #fb7185 0%,
        #ef4444 45%,
        #b91c1c 100%
    ) !important;
    box-shadow:
        0 14px 36px rgba(239, 68, 68, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.theme-toast-stack .theme-toast--warning .theme-toast__icon {
    background: #fff;
    color: #dc2626;
}

.theme-toast-stack .theme-toast--info {
    color: #fff !important;
    background: linear-gradient(
        145deg,
        #93c5fd 0%,
        #3b82f6 50%,
        #1d4ed8 100%
    ) !important;
    box-shadow:
        0 14px 36px rgba(37, 99, 235, 0.28),
        0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.theme-toast-stack .theme-toast--info .theme-toast__icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.theme-toast-stack .theme-toast--default {
    color: #fff !important;
    background: linear-gradient(
        145deg,
        #6b7280 0%,
        #4b5563 45%,
        #1f2937 100%
    ) !important;
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.22),
        0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.theme-toast-stack .theme-toast--default .theme-toast__icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {

    .theme-toast-stack > .toast.theme-toast-item {
        transition-duration: 0.01ms;
        transition-delay: 0s;
    }
}


/* پشتهٔ toast پایین صفحه (مثلاً بروزرسانی PWA) — زیر offcanvas (1045) */
.theme-toast-stack--bottom {
    top: auto;
    bottom: calc(80px + env(safe-area-inset-bottom) * 1.1);
    z-index: 1035;
}

body.pwa-update-sheet-open .theme-toast-stack--bottom {
    display: none !important;
    pointer-events: none !important;
}

.theme-toast-stack--bottom > .toast.theme-toast-item {
    transform: translateY(1rem);
}

.theme-toast-stack--bottom > .toast.theme-toast-item.show {
    transform: translateY(0);
}

.theme-toast-stack--bottom > .toast.theme-toast,
.theme-toast-stack--bottom > .toast.theme-toast.theme-toast--bottom-panel {
    border-radius: 1.25rem !important;
    padding-block: 10px !important;
    align-items: flex-start;
}

.theme-toast-stack--bottom .theme-toast__actions {
    width: 100%;
    gap: 10px;
    margin-top: 8px;
}

.theme-toast-stack--bottom .theme-toast__action-btn {
    flex: 1 1 0;
    min-width: 5.5rem;
    padding: 0.38rem 1.15rem;
    font-size: 0.76rem;
    text-align: center;
    justify-content: center;
}

/*Toasts*/
.snackbar {
    font-family: "Inter", sans-serif;
    opacity: 1 !important;
    position: fixed;
    left: 10px;
    right: 10px;
    z-index: 10;
    border: none;
    transition: all 350ms ease;
    padding: 10px 15px;
    background-color: transparent;
    box-shadow: none;
    display: block;
}

.snackbar {
    bottom: calc(80px + env(safe-area-inset-bottom) * 1.1);
    transform: translateY(200px);
}

.snackbar.show {
    transform: translateY(0px);
    transition: all 250ms ease;
}

/*Notifications*/
.notification-bar {
    opacity: 1 !important;
    position: fixed;
    top: calc(0px + env(safe-area-inset-top) * 1.1);
    left: 0px;
    right: 0px;
    transform: translateY(-120%);
    transition: all 250ms ease;
    z-index: 100 !important;
}

.notification-bar .toast-header {
    background-color: transparent !important;
}

.notification-bar.detached {
    left: 10px;
    right: 10px;
    top: calc(10px + env(safe-area-inset-top) * 1.1);
}

.notification-bar {
    overflow: hidden;
}

.notification-bar.show {
    transform: translateY(0%);
}

/*Theme Dark Settings*/
.theme-dark .notification-bar .toast-header {
    background-color: transparent !important;
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
}

.theme-dark .notification-bar .btn-close {
    background-color: #fff !important;
}

.alert-dismissible .btn-close {
    left: 0px !important;
    right: auto;
}

.alert-dismissible {
    padding-left: 3rem !important;
    padding-right: 20px !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-select {
    background-position: left 0.75rem center;
}

textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="date"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline-color: rgba(74, 137, 220, 0.35);
    box-shadow: 0px 0px 0px 0px rgba(74, 137, 220, 0.35) !important;
    background-color: transparent;
}

input::placeholder,
textarea::placeholder,
select::placeholder,
input,
textarea,
select {
    font-size: 12px !important;
}

select {
    appearance: none;
    -webkit-appearance: none;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    transform: translateY(-5px) translateX(6px);
}

input {
    border-width: 1px !important;
}

.upload-file {
    height: 50px;
    position: absolute;
    width: 100%;
    opacity: 0;
}

.was-validated .form-control:valid,
.form-control.is-valid,
.was-validated .form-select:valid,
.form-select.is-valid {
    border-color: rgba(140, 193, 82, 0.3) !important;
}

.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .form-select:invalid,
.form-select.is-invalid {
    border-color: rgba(213, 25, 77, 0.3) !important;
}

/*Form Custom Text*/
.form-custom span {
    position: absolute;
    top: 0px;
    left: 10px;
    height: 53px;
    line-height: 53px;
    pointer-events: none;
    font-size: 9px;
    opacity: 0.5;
}

/*Form Icons*/
.form-custom input,
.form-custom select,
.form-custom textarea {
    height: 53px !important;
    padding: 13px 15px 0px 15px !important;
}

.form-custom label {
    line-height: 50px;
    padding: 0px 15px 0px 15px;
}

.form-custom.form-icon input,
.form-custom.form-icon select,
.form-custom.form-icon textarea {
    padding-right: 40px !important;
}

.form-custom.form-icon label {
    padding-left: 45px;
}

.form-custom.form-icon i {
    position: absolute;
    font-size: 16px;
    height: 53px;
    width: 40px;
    line-height: 53px;
    text-align: center;
}

.form-custom textarea {
    padding-top: 20px !important;
    line-height: 23px !important;
}

.form-custom textarea:focus {
    min-height: 150px;
}

.was-validated * {
    background-image: none !important;
}

.form-custom {
    position: relative;
}

.form-border * {
    border-left: 0px !important;
    border-right: 0px !important;
    border-top: 0px !important;
    border-radius: 0px !important;
}

.form-border.form-icon i {
    margin-right: -10px;
}

.form-border.form-icon input,
.form-border.form-icon select,
.form-border.form-icon textarea {
    padding-right: 30px !important;
}

.form-border.form-icon label {
    padding-right: 33px !important;
}

.form-border.form-custom:not(.form-icon) input,
.form-border.form-custom:not(.form-icon) select,
.form-border.form-custom:not(.form-icon) textarea {
    padding-right: 2px !important;
}

.form-border.form-custom:not(.form-icon) label {
    padding-right: 0px !important;
}

.form-custom.form-floating input,
.form-custom.form-floating select,
.form-custom.form-floating textarea {
    padding-top: 15px !important;
}

.form-custom:not(.form-floating) * {
    padding-top: 0px !important;
}

.form-custom:not(.form-floating) textarea {
    padding-top: 15px !important;
}

.form-custom:not(.form-floating) input[type="date"] {
    line-height: 46px;
}

.form-custom.form-floating input[type="date"] {
    line-height: 36px;
}

input[type="range"] {
    -webkit-appearance: none;
}

.range-1 *,
.range-2 *,
.range-3 * {
    border-radius: 50%;
}

.range-1 input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 3px;
}

.range-1 input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    margin-top: -7px;
}

.range-2 input[type="range"]::-webkit-slider-runnable-track {
    height: 24px;
    border-radius: 20px;
    padding: 0px 2px;
}

.range-2 input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    margin-top: 2px;
}

.range-3 input[type="range"]::-webkit-slider-runnable-track {
    height: 2px;
    border-radius: 20px;
    padding: 0px 2px;
}

.range-3 input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 23px;
    width: 23px;
    background-color: #fff;
    border: solid 1px rgba(0, 0, 0, 0.15);
    margin-top: -11px;
    box-shadow: 0 3px 7px 0px rgba(0, 0, 0, 0.2);
}

.stepper {
    width: 102px;
}

.stepper:after {
    content: "";
    display: table;
    clear: both;
}

.stepper input {
    height: 33px;
    width: 33px;
    float: right;
    border: none !important;
    text-align: center;
    display: block;
    line-height: 33px;
    font-size: 11px !important;
    background-color: transparent;
}

.stepper input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stepper a {
    text-align: center;
    width: 33px;
    height: 33px;
    line-height: 33px;
    font-size: 9px;
}

.stepper * {
    outline: none !important;
}

.theme-dark .form-custom label {
    color: rgba(255, 255, 255, 0.4);
}

.theme-dark .form-custom * {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
}

.theme-dark .form-custom input,
.theme-dark .form-custom textarea,
.theme-dark .form-custom select {
    border: solid 1px rgba(255, 255, 255, 0.1);
}

.theme-dark .form-custom label {
    background-color: #0f1117 !important;
}

.theme-light .form-custom input,
.theme-light .form-custom textarea,
.theme-light .form-custom select {
    border: solid 1px rgba(0, 0, 0, 0.07);
}

.theme-dark .range-1 input[type="range"]::-webkit-slider-runnable-track,
.theme-dark .range-2 input[type="range"]::-webkit-slider-runnable-track,
.theme-dark .range-3 input[type="range"]::-webkit-slider-runnable-track {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-light .stepper {
    border: solid 1px rgba(0, 0, 0, 0.1);
}

.theme-light .stepper a:last-child {
    border-left: solid 1px rgba(0, 0, 0, 0.1);
}

.theme-light .stepper a:first-child {
    border-right: solid 1px rgba(0, 0, 0, 0.1);
}

.theme-dark .stepper {
    border: solid 1px rgba(255, 255, 255, 0.1);
}

.theme-dark .stepper a:last-child {
    border-left: solid 1px rgba(255, 255, 255, 0.1);
}

.theme-dark .stepper a:first-child {
    border-right: solid 1px rgba(255, 255, 255, 0.1);
}

.form-label label {
    position: absolute;
    top: -5px;
    background-color: #fff;
    height: 10px;
    line-height: 10px;
    right: 0px;
    font-size: 11px;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    opacity: 0;
    transition: all 250ms ease;
    background-color: #fff;
    padding-left: 2px !important;
    padding-right: 5px !important;
}

.form-label:not(.form-icon) label {
    transform: translateX(-10px) !important;
}

.form-label.form-icon label {
    transform: translateX(-40px) !important;
}

.form-label.form-border label {
    transform: translateX(0px) !important;
}

.form-label-active {
    opacity: 1 !important;
}

.form-label-always-active {
    opacity: 1 !important;
}

.form-label:not(.form-icon) label {
    margin-right: 2px !important;
}

.form-label.form-icon label {
    margin-right: -32px !important;
}

.form-label:not(.form-icon) label {
    margin-right: 2px !important;
}

.form-label.form-border.form-icon label {
    margin-right: -32px !important;
    margin-top: 0px;
    font-family: "IRANSansX";
    font-size: 0.63rem;
}

.form-label.form-border i {
    margin-top: -4px;
}

.form-label.form-border input,
.form-label.form-border select,
.form-label.form-border textarea {
    height: 45px !important;
}

.form-label.form-border textarea {
    padding-top: 10px !important;
}

.no-animation * {
    transition: all 250ms ease !important;
}

.form-custom *,
.form-custom *:after,
.form-custom *:before {
    background-color: transparent !important;
}

/*OTP*/
.otp {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: solid 1px #cacaca;
}

.otp:focus,
.otp:active {
    outline: solid 1px #000 !important;
}

.theme-dark .otp {
    background-color: #000;
    color: #fff;
    border: solid 1px rgba(255, 255, 255, 0.2);
}

.form-check-custom {
    margin-left: -30px;
    margin-right: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    position: relative;
    width: auto;
    display: block;
}
.form-check-custom input {
    position: absolute !important;
    transform: translateX(-10000px);
}
.form-check-custom input:checked ~ .is-unchecked {
    opacity: 0 !important;
    display: none !important;
}
.form-check-custom input:checked ~ .is-checked {
    display: block;
}
.form-check-custom i {
    width: 20px;
    text-align: center;
    pointer-events: none;
    position: absolute;
    left: 30px;
    top: 0px;
    font-size: 15px;
    height: 24px;
    line-height: 24px;
}
.form-check-custom label {
    cursor: pointer;
    font-size: 13px;
    padding: 0px 15px 0px 40px;
}
.form-check-custom .is-checked {
    display: none;
}

.offcanvas {
    min-height: auto !important;
    height: auto !important;
    display: block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -5px 5px 0 rgba(0, 0, 0, 0.04);
    border: 0px;
}

.offcanvas-modal {
    transform: translate(-50%, -50%) scale(0.8, 0.8) !important;
    top: 50%;
    left: 50%;
    bottom: auto !important;
    right: auto !important;
    opacity: 0;
}

.offcanvas-modal.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1, 1) !important;
}

.offcanvas,
.modal-backdrop {
    transition: all 300ms ease !important;
}

[data-bs-toggle]:focus,
[data-bs-dismiss]:focus {
    outline: none !important;
}

.offcanvas-bottom:not(.offcanvas-detached) {
    bottom: env(safe-area-inset-bottom) !important;
}

.offcanvas-detached.offcanvas-start {
    left: 10px;
    top: calc(10px + env(safe-area-inset-top));
    bottom: calc(10px + env(safe-area-inset-bottom));
}

.offcanvas-detached.offcanvas-start:not(.show) {
    transform: translateX(-120%);
}

.offcanvas-detached.offcanvas-end {
    right: 10px;
    top: calc(10px + env(safe-area-inset-top));
    bottom: calc(10px + env(safe-area-inset-bottom));
}

.offcanvas-detached.offcanvas-end:not(.show) {
    transform: translateX(120%);
}

.offcanvas-detached.offcanvas-top {
    left: 10px;
    right: 10px;
    top: calc(10px + env(safe-area-inset-top));
}

.offcanvas-detached.offcanvas-top:not(.show) {
    transform: translateY(-120%);
}

.offcanvas-detached.offcanvas-bottom {
    left: 10px;
    right: 10px;
}

.offcanvas-detached.offcanvas-bottom:not(.show) {
    transform: translateY(120%);
}

.offcanvas {
    pointer-events: none;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}

.offcanvas.show {
    pointer-events: all !important;
}

.theme-dark .offcanvas {
    background-color: rgba(19, 30, 43, 0.8);
}

/*Prealoder*/
#preloader {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 99999;
    transition: all 200ms ease;
}
#preloader .preloader-ripple {
    --preloader-color: rgb(54, 169, 109);
    --preloader-size: 1px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(16 * var(--preloader-size));
    height: calc(16 * var(--preloader-size));
    margin: 0;
    border-radius: 50%;
    display: block;
    background: var(--preloader-color);
    box-sizing: border-box;
    transform: translate(-50%, -50%);
}

#preloader .preloader-ripple::before,
#preloader .preloader-ripple::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: calc(2 * var(--preloader-size)) solid var(--preloader-color);
    box-sizing: border-box;
    animation: preloader-ripple 1.4s ease-out infinite;
}

#preloader .preloader-ripple::after {
    animation-delay: -0.7s;
}

@keyframes preloader-ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    #preloader .preloader-ripple::before,
    #preloader .preloader-ripple::after {
        animation: none;
        opacity: 0;
    }
}


.preloader-hide {
    opacity: 0;
    pointer-events: none;
    transition: all 150ms ease !important;
}

.theme-light #preloader {
    background-color: #fff;
}

html.theme-dark #preloader,
.theme-dark #preloader {
    background-color: #0f1117;
}

.preloader-l * {
    width: 70px;
    height: 70px;
}

.preloader-m * {
    width: 50px;
    height: 50px;
}

.preloader-s * {
    width: 30px;
    height: 30px;
}

/*Pagination*/
.pagination {
    margin-bottom: 30px;
}
.pagination .page-link {
    padding: 6px 14px;
}
.pagination .page-item {
    margin-right: 5px;
}
.pagination i {
    padding: 0px;
}
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    padding: 6px 12px !important;
}

.page-item.active a {
    color: #fff !important;
}

/*Offline Detector*/
.offline-message,
.online-message {
    position: fixed;
    transform: translateY(-200%);
    padding-bottom: 0px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    transition: all 250ms ease;
    top: 10px;
    left: 8px;
    right: 8px;
    z-index: 100;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 15px;
    border-radius: 20px;
    line-height: 50px;
}

.offline-message-active,
.online-message-active {
    transform: translateY(calc(-2px + constant(safe-area-inset-bottom)));
    transform: translateY(calc(-2px + env(safe-area-inset-bottom)));
}

/*Responsive Videos and iframes*/
.max-iframe {
    max-height: 200px !important;
    height: 300px !important;
    padding-bottom: 0px !important;
    margin: 0 auto;
}

.responsive-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.responsive-iframe object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.responsive-iframe embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* new */
/* ROOT */
:root {
    --offer-card-bg: #f3f4f6;
    --offer-card-text: #111827;
    --offer-card-subtext: #6b7280;
    --offer-card-muted: #474747;
    --offer-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --offer-card-border: rgba(0, 0, 0, 0.06);
}

.theme-dark {
    --offer-card-bg: #1c1d21;
    --offer-card-text: #f9fafb;
    --offer-card-subtext: #a1a1aa;
    --offer-card-muted: #d1d5db;
    --offer-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    --offer-card-border: rgba(255, 255, 255, 0.06);
}

/* SECTION */
.home-offers {
    padding: 16px 0;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.section-head {
    padding: 0 16px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.section-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--offer-card-text);
}

.home-offers .mini-apps-section__head,
.promo-apps-section .mini-apps-section__head,
.app-spotlight .mini-apps-section__head,
.featured-app-section .mini-apps-section__head,
.mini-apps-section .mini-apps-section__head {
    position: relative;
    z-index: 2;
}

/* SLIDER
   Splide's list is width:max-content, so % slide widths are cyclic and the
   cover's intrinsic size (~1024px) wins — PWA cards measured 1042px wide.
   Lock slides to viewport units below 992px. Cover stays 2:1 (~140px on phone). */
.offer-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.offer-slider.splide {
    visibility: visible;
}

.offer-slider .splide__track {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    cursor: grab;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-inline: contain;
}

.offer-slider.is-dragging .splide__track {
    cursor: grabbing;
}

.offer-slider :is(a, img) {
    -webkit-user-drag: none;
    user-select: none;
}

.offer-slider .splide__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: auto;
    max-width: none;
}

.offer-slider .splide__slide {
    box-sizing: border-box;
    height: auto;
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 991.98px) {

    .offer-slider .splide__slide {
        flex: 0 0 calc((100vw - 24px - 8px) / 1.12);
        width: calc((100vw - 24px - 8px) / 1.12) !important;
        max-width: calc((100vw - 24px - 8px) / 1.12);
    }

    .offer-card__cover-wrap {
        aspect-ratio: auto;
        height: 148px;
        max-height: 148px;
    }
}


@media (min-width: 768px) and (max-width: 991.98px) {

    .offer-slider .splide__slide {
        flex: 0 0 calc((100vw - 28px - 10px) / 1.5);
        width: calc((100vw - 28px - 10px) / 1.5) !important;
        max-width: calc((100vw - 28px - 10px) / 1.5);
    }
}


@media (min-width: 992px) {

    .offer-slider .splide__slide {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        min-width: 0;
    }
}


.media-img {
    position: relative;
    display: block;
    overflow: hidden;
}

.media-img__el {
    display: block;
}

/* CARD */
.offer-card-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
}

.offer-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--offer-card-border);
}

.theme-dark .offer-card {
    background: #0f1117;
}

.offer-card__cover-wrap {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 2 / 1;
    height: auto;
    max-height: 160px;
    min-height: 0;
    overflow: hidden;
    flex: 0 0 auto;
    border-radius: 20px 20px 0 0;
}

.offer-card__cover-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        transparent 58%,
        rgba(0, 0, 0, 0.26) 100%
    );
}

.offer-card__cover-wrap > .media-img__el,
.offer-card__cover {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 20px 20px 0 0;
    min-width: 0;
    min-height: 0;
}

.offer-card__body {
    position: relative;
    z-index: 2;
    padding: 10px 12px 12px;
    flex: 0 0 auto;
    background: inherit;
}

.offer-card__app {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.offer-card__icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.offer-card__icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-card__meta {
    flex: 1;
    min-width: 0;
}

.offer-card__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
    margin: 0 0 1px;
    color: var(--offer-card-text, #111827);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-card__developer {
    font-size: 13px;
    margin: 0;
    color: var(--offer-card-subtext, #6b7280);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-card__name-en {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
    color: var(--offer-card-subtext, #6b7280);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
    unicode-bidi: isolate;
    text-align: end;
}

.theme-dark .offer-card__developer,
.theme-dark .offer-card__name-en {
    color: #9ca3af;
}

.offer-card__stats {
    display: flex;
    gap: 10px;
}

.offer-card__rating,
.offer-card__pegi {
    font-size: 12px;
    color: var(--offer-card-muted);
}

.offer-card__action {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    margin-inline-start: auto;
}

.offer-card__button {
    min-width: 72px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(76, 201, 134, 0.16);
    color: #2e9e63;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.theme-dark .offer-card__rating,
.theme-dark .offer-card__pegi {
    color: #dedede;
}

.theme-dark .offer-card__icon-wrap {
    background: #1f2430;
}

.theme-dark .offer-card__button {
    background: rgba(76, 201, 134, 0.22);
    color: #86efac;
}

@media (min-width: 992px) {

    .offer-card {
        border-radius: 20px;
    }

    .offer-card__cover-wrap {
        max-height: 180px;
        border-radius: 20px 20px 0 0;
    }

    .offer-card__cover-wrap > .media-img__el,
    .offer-card__cover {
        border-radius: 20px 20px 0 0;
    }

    .offer-card__body {
        padding: 10px 16px 12px;
    }

    .offer-card__app {
        gap: 14px;
    }

    .offer-card__icon-wrap {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .offer-card__name {
        font-size: 13px;
        line-height: 1.9;
    }

    .offer-card__name-en {
        font-size: 13px;
    }

    .offer-card__button {
        min-width: 84px;
        height: 36px;
        padding: 0 14px;
        font-size: 13px;
    }
}


/* mini sliders */

:root {
    --mini-app-title: #111827;
    --mini-app-subtitle: #6b7280;
    --mini-app-more: #111827;
    --mini-app-icon-bg: #ffffff;
}

.theme-dark {
    --mini-app-title: #f9fafb;
    --mini-app-subtitle: rgba(255, 255, 255, 0.72);
    --mini-app-more: #f9fafb;
    --mini-app-icon-bg: #1f2937;
}

.mini-apps-section {
    position: relative;
    padding: 16px 0;
    overflow: hidden;
}

.mini-apps-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 14px;
}

.mini-apps-section__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--offer-card-text);
}

.mini-apps-section__more {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    width: 60px;
    height: 24px;
    border-radius: 22px;
    color: #0064e4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-dark .mini-apps-section__more {
    color: #0064e4;
}

.mini-apps-section__more:hover,
.mini-apps-section__more:focus,
.mini-apps-section__more:active {
    text-decoration: none;
    color: var(--mini-app-more);
}

.mini-apps-slider {
    position: relative;
    width: 100%;
}

.mini-apps-slider.splide {
    visibility: visible;
}

.mini-apps-slider .splide__track {
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-inline: contain;
}

.mini-apps-slider.is-dragging .splide__track {
    cursor: grabbing;
}

.mini-apps-slider :is(a, img) {
    -webkit-user-drag: none;
    user-select: none;
}

.mini-apps-slider .splide__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: auto;
    max-width: none;
}

.mini-apps-slider .splide__slide {
    height: auto;
}

/* اسلاید خالی ژانر: تمام‌عرض ردیف، متن وسط و بدون ellipsis */
.mini-apps-slider .splide__list--mini-empty-only {
    width: 100%;
    justify-content: center;
}

.mini-apps-slider .splide__slide--mini-empty {
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 92px;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 16px;
}

.mini-apps-slider__empty {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
    padding: 10px 12px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--mini-app-subtitle, #6b7280);
    overflow: visible;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}

.theme-dark .mini-apps-slider__empty {
    color: var(--mini-app-subtitle);
}

.mini-app-card {
    height: 100%;
}

.mini-app-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.mini-app-card__link:hover,
.mini-app-card__link:focus,
.mini-app-card__link:active {
    text-decoration: none;
    color: inherit;
}

.mini-app-card__icon-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: var(--mini-app-icon-bg);
    margin-bottom: 8px;
}

.mini-app-card__icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mini-app-card__content {
    text-align: center;
}

.mini-app-card__title-fa {
    margin: 0 0 2px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--mini-app-title);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-app-card__title-en {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
    color: var(--mini-app-subtitle);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
}
.mini-apps-slider .splide__slide {
    width: 96px;
}

/* singleBox */
:root {
    --app-spotlight-title: #111827;
    --app-spotlight-text: #111827;
    --app-spotlight-subtext: #6b7280;

    --app-spotlight-button-bg: rgba(93, 156, 236, 0.16);
    --app-spotlight-button-text: #0064e4;

    --app-spotlight-screen-bg: #ffffff;
    --app-spotlight-icon-bg: #ffffff;
    --app-spotlight-border: rgba(0, 0, 0, 0.08);
}

.theme-dark {
    --app-spotlight-title: #f9fafb;
    --app-spotlight-text: #f9fafb;
    --app-spotlight-subtext: rgba(255, 255, 255, 0.72);

    --app-spotlight-button-bg: rgba(93, 156, 236, 0.2);
    --app-spotlight-button-text: #7db2ff;

    --app-spotlight-screen-bg: #ffffff;
    --app-spotlight-icon-bg: #ffffff;
    --app-spotlight-border: rgba(255, 255, 255, 0.08);
}

.app-spotlight {
    position: relative;
    padding: 16px 0;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
    overflow-y: visible;
}

.app-spotlight__head {
    padding: 0 16px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.app-spotlight__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--offer-card-text);
}

.app-spotlight__item {
    position: relative;
    max-width: 100%;
    min-width: 0;
}

.app-screens-slider {
    position: relative;
    margin-bottom: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 180px;
    overflow: hidden;
}

.app-screens-slider.splide {
    visibility: visible;
}

.app-screens-slider .splide__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: auto;
    max-width: none;
    will-change: auto;
}

.app-screens-slider .splide__pagination,
.app-screens-slider .splide__arrows {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/*
 * Before Splide mounts, only the first slide participates in layout.
 * A long RTL autoWidth list plus overflow:visible on the track was
 * translating every screenshot off-viewport (empty band on homepage).
 */
.app-screens-slider:not(.is-active):not(.is-slider-fallback) .splide__slide:not(:first-child) {
    display: none;
}

.app-screens-slider:not(.is-active):not(.is-slider-fallback) .splide__list {
    width: 100%;
    max-width: 100%;
}

.app-screens-slider.is-slider-fallback .splide__track {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    touch-action: pan-y pinch-zoom;
    scrollbar-width: none;
}

.app-screens-slider.is-slider-fallback .splide__track::-webkit-scrollbar {
    display: none;
}

.app-screens-slider.is-slider-fallback .splide__list {
    transform: none !important;
    width: max-content;
    max-width: none;
}

.app-screens-slider .splide__track {
    width: 100%;
    max-width: 100%;
    height: 180px;
    overflow: hidden;
    transform: translateZ(0);
    cursor: grab;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-inline: contain;
}

.app-screens-slider.is-dragging .splide__track {
    cursor: grabbing;
}

.app-screens-slider :is(a, img) {
    -webkit-user-drag: none;
    user-select: none;
}

.app-screens-slider .splide__slide.app-screen-slide {
    height: 180px;
    width: auto;
    flex: 0 0 auto;
    box-sizing: border-box;
}

/* screenshot card */
.app-screen-card {
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--app-spotlight-screen-bg);
}

.app-screen-card picture {
    display: block;
    width: 100%;
    height: 100%;
}

.app-screen-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    -webkit-user-drag: none;
    user-select: none;
}

/* footer */
.app-spotlight__footer {
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.app-spotlight__button {
    min-width: 80px;
    height: 34px;
    border-radius: 999px;
    background: #5d9cec57;
    color: #0064e4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
}

.theme-dark .app-spotlight__button {
    background: #5d9cec78;
    color: #ffffff;
}

.app-spotlight__button:hover,
.app-spotlight__button:focus,
.app-spotlight__button:active {
    text-decoration: none;
    color: var(--app-spotlight-button-text);
}

.app-spotlight__meta {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.app-spotlight__meta:hover,
.app-spotlight__meta:focus,
.app-spotlight__meta:active {
    text-decoration: none;
    color: inherit;
}

.app-spotlight__text {
    min-width: 0;
    text-align: right;
}

.app-spotlight__name-fa {
    margin: 0 0 3px;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--app-spotlight-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-spotlight__name-en {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--app-spotlight-subtext);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-spotlight__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 auto;
    background: var(--app-spotlight-icon-bg);
}

.app-spotlight__icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* promo sliders */
:root {
    --promo-card-text: #ffffff;
    --promo-card-subtext: rgba(255, 255, 255, 0.82);
    --promo-card-rating: rgba(255, 255, 255, 0.92);
    --promo-card-button-border: rgba(255, 255, 255, 0.75);
    --promo-card-button-text: #ffffff;
    --promo-card-overlay: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 30%,
        rgba(0, 0, 0, 0.38) 45%,
        rgba(0, 0, 0, 0.08) 60%,
        rgba(0, 0, 0, 0) 100%
    );
}

.promo-apps-section {
    position: relative;
    padding: 10px 0;
    max-width: 100%;
    overflow: hidden;
}

.promo-apps-section__head {
    padding: 0 16px;
    margin-bottom: 14px;
}

.promo-apps-section__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--offer-card-text);
}

.theme-dark .promo-apps-section__title {
    color: #f9fafb;
}

.promo-apps-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.promo-apps-slider.splide {
    visibility: visible;
}

.promo-apps-slider .splide__track {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    cursor: grab;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-inline: contain;
}

.promo-apps-slider.is-dragging .splide__track {
    cursor: grabbing;
}

.promo-apps-slider :is(a, img) {
    -webkit-user-drag: none;
    user-select: none;
}

.promo-apps-slider .splide__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: auto;
    max-width: none;
}

.promo-apps-slider .splide__slide {
    box-sizing: border-box;
    height: auto;
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 991.98px) {

    .promo-apps-slider .splide__slide {
        flex: 0 0 calc((100vw - 24px - 8px) / 1.12);
        width: calc((100vw - 24px - 8px) / 1.12) !important;
        max-width: calc((100vw - 24px - 8px) / 1.12);
    }
}


@media (min-width: 768px) and (max-width: 991.98px) {

    .promo-apps-slider .splide__slide {
        flex: 0 0 calc((100vw - 28px - 10px) / 1.5);
        width: calc((100vw - 28px - 10px) / 1.5) !important;
        max-width: calc((100vw - 28px - 10px) / 1.5);
    }
}


.promo-app-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
}

.promo-app-card__link {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #111;
}

.promo-app-card__link:hover,
.promo-app-card__link:focus,
.promo-app-card__link:active {
    text-decoration: none;
    color: inherit;
}

.promo-app-card__media {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.promo-apps-slider .splide__slide .promo-app-card__media {
    height: 180px;
}

.promo-app-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--promo-card-overlay);
    pointer-events: none;
}

.promo-app-card__cover {
    width: 100%;
    max-width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
    min-width: 0;
}

.promo-apps-slider .splide__slide .promo-app-card__cover {
    max-height: 180px;
}

.promo-app-card__content {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
}

.promo-app-card__cta {
    flex: 0 0 auto;
}

.promo-app-card__button {
    min-width: 80px;
    height: 34px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid rgb(52 52 52 / 75%);
    color: #517fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.promo-app-card__meta {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}

.promo-app-card__text {
    min-width: 0;
    text-align: right;
}

.promo-app-card__title-fa {
    margin: 8px 0 5px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    color: var(--promo-card-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-app-card__title-en {
    margin: 0 0 3px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--promo-card-subtext);
    direction: ltr;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-app-card__rating {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--promo-card-rating);
    white-space: nowrap;
}

.promo-app-card__icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.promo-app-card__icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Developer promo card tweaks (single, non-slider usage) */
.promo-app-card--developer .promo-app-card__media::after {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.76) 18%,
        rgba(0, 0, 0, 0.38) 44%,
        rgba(0, 0, 0, 0.06) 68%,
        rgba(0, 0, 0, 0) 100%
    );
}

.promo-app-card--developer .promo-app-card__cover {
    height: 170px;
}

.promo-app-card--developer .promo-app-card__content {
    justify-content: flex-start;
    align-items: center;
    padding: 18px;
}

.promo-app-card--developer .promo-app-card__meta {
    align-items: center;
}

.promo-app-card--developer .promo-app-card__title-fa {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

/* single special app */
:root {
    --featured-card-text: #ffffff;
    --featured-card-subtext: rgba(255, 255, 255, 0.84);

    --featured-card-button-border: rgba(255, 255, 255, 0.7);
    --featured-card-button-text: #ffffff;

    --featured-card-star-base: rgba(255, 255, 255, 0.28);
    --featured-card-star-fill: #f5c451;

    --featured-card-overlay: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.74) 0%,
        rgba(0, 0, 0, 0.42) 38%,
        rgba(0, 0, 0, 0.1) 72%,
        rgba(0, 0, 0, 0) 100%
    );
}

.featured-app-section {
    position: relative;
    padding: 16px 0;
}

.featured-app-section__head {
    padding: 0 16px;
    margin-bottom: 14px;
}

.featured-app-section__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--offer-card-text, #111827);
}

.theme-dark .featured-app-section__title {
    color: #f9fafb;
}

.featured-app-card {
    padding: 0 16px;
}

.featured-app-card__link {
    position: relative;
    display: block;
    min-height: 180px;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #111;
}

.featured-app-card__link:hover,
.featured-app-card__link:focus,
.featured-app-card__link:active {
    text-decoration: none;
    color: inherit;
}

.featured-app-card__media {
    position: absolute;
    inset: 0;
}

.featured-app-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--promo-card-overlay);
    pointer-events: none;
}

.featured-app-card__cover {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.featured-app-card__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    z-index: 2;
    width: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.featured-app-card__icon-wrap {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.34);
}

.featured-app-card__icon {
    width: 96px;
    height: 96px;
    display: block;
    object-fit: cover;
}

.featured-app-card__rating-bar {
    position: relative;
    margin-top: 8px;
    width: 100%;
    height: 22px;
    line-height: 1;
}

.featured-app-card__stars {
    position: absolute;
    inset: 0;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 1px;
    white-space: nowrap;
    text-align: center;
    margin-right: 5px;
}

.featured-app-card__stars--base {
    color: var(--featured-card-star-base);
}

.featured-app-card__stars--fill {
    color: var(--featured-card-star-fill);
    overflow: hidden;
    margin-right: 76px;
    direction: ltr;
}

.featured-app-card__content {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
}

.featured-app-card__cta {
    flex: 0 0 auto;
}

.featured-app-card__button {
    min-width: 80px;
    height: 34px;
    padding: 0 18px;
    border-radius: 12px;
    border: 0;
    color: #517fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.featured-app-card__meta {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-start;
}

.featured-app-card__text {
    min-width: 0;
    text-align: right;
}

.featured-app-card__title-fa {
    margin: 0 0 2px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--featured-card-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-app-card__title-en {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--featured-card-subtext);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* single app description page */
:root {
    --app-detail-h1: #111827;
    --app-detail-hero-title: #111827;
    --app-detail-hero-subtitle: #047857;
    --app-detail-hero-meta: #6b7280;

    --app-detail-hero-icon-bg: #ffffff;
    --app-detail-hero-icon-border: rgba(0, 0, 0, 0.06);

    --app-detail-stat-bg: #f9fafb;
    --app-detail-stat-border: rgba(0, 0, 0, 0.06);
    --app-detail-stat-value: #111827;
    --app-detail-stat-label: #6b7280;

    --app-detail-install-bg: #4cc986;
    --app-detail-install-text: #0b1b13;
    --app-detail-install-shadow: 0 10px 24px rgba(76, 201, 134, 0.22);

    --app-detail-lead: #4b5563;
}

.theme-dark {
    --app-detail-h1: #f9fafb;
    --app-detail-hero-title: #f9fafb;
    --app-detail-hero-subtitle: #34d399;
    --app-detail-hero-meta: rgba(255, 255, 255, 0.72);

    --app-detail-hero-icon-bg: #ffffff;
    --app-detail-hero-icon-border: rgba(255, 255, 255, 0.08);

    --app-detail-stat-bg: #1b1d24;
    --app-detail-stat-border: rgba(255, 255, 255, 0.06);
    --app-detail-stat-value: #f9fafb;
    --app-detail-stat-label: rgba(255, 255, 255, 0.72);

    --app-detail-install-bg: #55c888;
    --app-detail-install-text: #07120c;
    --app-detail-install-shadow: 0 10px 24px rgba(85, 200, 136, 0.18);

    --app-detail-lead: rgba(255, 255, 255, 0.72);
}

/* هم‌تراز با body.theme-dark وقتی تم با data-theme ست می‌شود */
[data-theme="dark"] {
    --app-detail-h1: #f9fafb;
    --app-detail-hero-title: #f9fafb;
    --app-detail-hero-subtitle: #34d399;
    --app-detail-hero-meta: rgba(255, 255, 255, 0.72);
    --app-detail-hero-icon-bg: #ffffff;
    --app-detail-hero-icon-border: rgba(255, 255, 255, 0.08);
    --app-detail-stat-bg: #1b1d24;
    --app-detail-stat-border: rgba(255, 255, 255, 0.06);
    --app-detail-stat-value: #f9fafb;
    --app-detail-stat-label: rgba(255, 255, 255, 0.72);
    --app-detail-install-bg: #55c888;
    --app-detail-install-text: #07120c;
    --app-detail-install-shadow: 0 10px 24px rgba(85, 200, 136, 0.18);
    --app-detail-lead: rgba(255, 255, 255, 0.72);
}

.app-detail-header {
    padding-top: 10px;
}

.app-detail-header__h1 {
    color: #0f1117;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    margin: 0 5px 10px;
    margin-bottom: 0px;
    line-height: 1.45;
    font-weight: 700;
}

.app-detail-hero {
    padding: 0 16px 14px;
}

.app-detail-hero__inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.app-detail-hero__icon-wrap {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    border-radius: 22px;
    overflow: hidden;
}

.app-detail-hero__icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.app-detail-hero__content {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 2px;
}

.app-detail-hero__title-fa {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--app-detail-hero-title);

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-detail-hero__title-en {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--app-detail-hero-subtitle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
    text-align: right;
}

.app-detail-hero__gp-id {
    font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--app-detail-hero-meta);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-detail-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.app-detail-stat-card {
    min-width: 0;
    background: var(--app-detail-stat-bg);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
}

.theme-dark .app-detail-stat-card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.app-detail-stat-card__value {
    font-size: clamp(12px, 2.8vw, 15px);
    line-height: 1.25;
    font-weight: 700;
    color: var(--app-detail-stat-value);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.25em;
}

.app-detail-stat-card--downloads .app-detail-stat-card__hero-installs {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.22em;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-detail-stat-card--downloads .app-detail-stat-card__hero-installs-num {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.app-detail-stat-card--downloads .app-detail-stat-card__hero-installs-scale {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-detail-stat-card--downloads .app-detail-stat-card__ltr-clip {
    direction: ltr;
    unicode-bidi: plaintext;
    display: block;
    width: 100%;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-detail-stat-card--category .app-detail-stat-card__value {
    font-size: clamp(12px, 2.8vw, 15px);
    letter-spacing: -0.02em;
}

.app-detail-stat-card--category .app-detail-stat-card__category-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-detail-stat-card--rating .app-detail-stat-card__value {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    direction: ltr;
    white-space: nowrap;
}

.app-detail-stat-card__star.ph-duotone {
    display: inline-block;
    width: 15px;
    height: 15px;
    font-size: 15px;
    line-height: 1;
    color: #e6ac00;
    flex-shrink: 0;
}

.app-detail-stat-card__star.ph-duotone:before,
.app-detail-stat-card__star.ph-duotone:after {
    white-space: nowrap;
}

.theme-dark .app-detail-stat-card__star.ph-duotone {
    color: #f5c451;
}

.app-detail-stat-card__label {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
    color: var(--app-detail-stat-label);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.app-detail-stat-card__review-count {
    margin-top: 2px;
    color: var(--app-detail-stat-label);
    font-size: 10px;
    line-height: 1.3;
    white-space: normal;
}

.app-detail-stat-card__inline-ltr {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

.app-detail-hero__actions {
    display: block;
    margin-bottom: 12px;
}

.app-detail-install-button {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 14px;
    background: var(--app-detail-install-bg);
    color: var(--app-detail-install-text);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--app-detail-install-shadow);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
}

.app-detail-install-button:hover {
    transform: translateY(-1px);
}

.app-detail-install-button:active {
    transform: translateY(0);
    opacity: 0.96;
}

.app-detail-install-button:focus-visible {
    outline: 2px solid rgba(76, 201, 134, 0.45);
    outline-offset: 3px;
}

.app-detail-hero__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--app-detail-lead);
}

.app-download-anchor {
    min-height: 1px;
    scroll-margin-top: 90px;
}

/* ——— باکس دانلود تم v1: نزدیک به سکشن نظرات (chip) + نوار لینک + badge خنثی با آیکن duotone رنگی ——— */
.app-download-section {
    margin: 0 12px 20px;
    padding: 0;
}

.app-download-section__panel {
    border-radius: 14px;
    padding: 16px;
    background: #ffffff;
}

.theme-dark .app-download-section__panel {
    background: rgba(24, 28, 32, 0.92);
    box-shadow: none;
}

.app-download-section__head {
    margin-bottom: 14px;
}

.app-download-section__title {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--app-detail-title-fa, #111827);
    line-height: 1.45;
}

.theme-dark .app-download-section__title {
    color: rgba(255, 255, 255, 0.92);
}

.app-download-section-lead {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.65;
    color: #6b7280;
}

.theme-dark .app-download-section-lead {
    color: #9ca3af;
}

.app-download-section__empty {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.85;
    color: var(--app-detail-lead, #5a5a5a);
}

/* آخرین تغییرات نسخهٔ فعلی — زیر باکس دانلود */
.app-changelog-section {
    margin: 0 12px 20px;
    padding: 0;
}

.app-changelog-section__head {
    margin-bottom: 12px;
}

.app-changelog-section__title {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--app-detail-title-fa, #111827);
    line-height: 1.45;
}

.theme-dark .app-changelog-section__title {
    color: rgba(255, 255, 255, 0.92);
}

.app-changelog-section__subtitle {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: rgba(17, 24, 39, 0.52);
    line-height: 1.4;
}

.theme-dark .app-changelog-section__subtitle {
    color: rgba(249, 250, 251, 0.52);
}

.app-changelog-section__fallback-note {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.58;
    color: #6b7280;
}

.theme-dark .app-changelog-section__fallback-note {
    color: #9ca3af;
}

.app-changelog-section__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: var(--app-detail-lead, #374151);
    text-align: start;
    unicode-bidi: unset !important;
}

.theme-dark .app-changelog-section__body {
    color: rgba(229, 231, 235, 0.95);
}

.app-changelog-section__body[dir="ltr"] {
    unicode-bidi: plaintext;
}

.app-changelog-section__body[dir="rtl"] {
    unicode-bidi: plaintext;
}

.app-download-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.app-download-row {
    margin: 0;
    padding: 0;
    list-style: none;
}

.app-download-row__stack {
    position: relative;
    border-radius: 14px;
    overflow: visible;
}

.theme-dark .app-download-row__stack {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.app-download-row__link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 13px;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.55;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    transition:
        filter 0.18s ease,
        transform 0.18s ease;
}

.app-download-row--tone-0 .app-download-row__link {
    background: #40c746;
}

.app-download-row--tone-1 .app-download-row__link {
    background: #17bc73;
}

.app-download-row--tone-2 .app-download-row__link {
    background: #00dcbf;
}

.app-download-row__link:hover {
    filter: brightness(1.05);
}

.app-download-row__link:active {
    transform: scale(0.997);
}

.app-download-row__link-text {
    flex: 1;
    color: #ffffff;
}

.app-download-row__chevron {
    opacity: 0.9;
    font-size: 18px;
    flex-shrink: 0;
    color: #ffffff;
}

/* یک ردیف؛ بدون باکس سفید جدا — چسبیده به لینک و کمی روی لبهٔ پایین نوار */
.app-download-row__badges {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin: -12px 10px 10px;
    padding: 6px 0 2px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    background: transparent;
    border: none;
}

.app-download-row__badges::-webkit-scrollbar {
    height: 4px;
}

.app-download-row__badges::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: rgba(0, 0, 0, 0.12);
}

/* شبیه app-reviews__chip: پس‌زمینه خنثی، تفکیک با آیکن رنگی */
.app-download-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px 5px 7px;
    border-radius: 8px;
    background: rgb(174 255 200 / 21%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 12px;
    line-height: 1.3;
    color: #111827;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.theme-dark .app-download-badge {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(30, 34, 40, 0.75);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.app-download-badge:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.theme-dark .app-download-badge:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.app-download-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
    flex-shrink: 0;
}

.app-download-badge__value {
    min-width: 0;
    white-space: nowrap;
}

.app-download-badge--format .app-download-badge__icon {
    color: #2563eb;
}

.app-download-badge--abi .app-download-badge__icon {
    color: #7c3aed;
}

.app-download-badge--resolution .app-download-badge__icon {
    color: #0d9488;
}

.app-download-badge--android .app-download-badge__icon {
    color: #16a34a;
}

.app-download-badge--size .app-download-badge__icon {
    color: #ea580c;
}

.theme-dark .app-download-badge--format .app-download-badge__icon {
    color: #93c5fd;
}

.theme-dark .app-download-badge--abi .app-download-badge__icon {
    color: #c4b5fd;
}

.theme-dark .app-download-badge--resolution .app-download-badge__icon {
    color: #5eead4;
}

.theme-dark .app-download-badge--android .app-download-badge__icon {
    color: #86efac;
}

.theme-dark .app-download-badge--size .app-download-badge__icon {
    color: #fdba74;
}

.app-download-badge--status .app-download-badge__icon {
    color: #2563eb;
}

.theme-dark .app-download-badge--status .app-download-badge__icon {
    color: #93c5fd;
}

.app-download-badge--ltr .app-download-badge__value {
    direction: ltr;
    unicode-bidi: embed;
}

/* آرشیو: لیست داخل content-card همان ردیف‌ها را دارد */
.app-download-list--archive {
    gap: 12px;
}

.theme-dark .app-download-section__footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.app-download-section__archive-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 6px;
    background: rgba(0, 100, 228, 0.08);
    color: #0064e4;
    font-weight: 800;
    font-size: 12px;
    text-decoration: none;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.app-download-section__archive-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 100, 228, 0.18);
}

.app-download-section__archive-btn-arrow {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: 2px;
    font-size: 1.25rem;
    line-height: 1;
    color: inherit;
    opacity: 0.9;
}

.app-download-section__archive-btn-label {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
}

.app-download-archive-hero-promo,
.app-developer-hero-promo {
    margin: 0 0 12px;
    padding: 0 25px;
}

/*
 * آرشیو دانلود / صفحهٔ توسعه‌دهنده (PWA): فاصله از هدر شناور + safe-area.
 * سلکتور باید app-download / app-developer داشته باشد تا theme:style-split آن را در theme-core نگه دارد
 * (.app-category-page--app-shell به‌تنهایی به theme-secondary می‌رود و این صفحات secondary را لود نمی‌کنند).
 */
.app-download-archive-page.app-category-page--app-shell,
.app-developer-page.app-category-page--app-shell {
    margin-top: calc(4rem + env(safe-area-inset-top, 0px) * 0.8);
    padding-top: 0.35rem;
}

/* نظرات اپ (PWA): هدر دوخطی شناور بلندتر از آرشیو است؛ فاصلهٔ محتوا را جدا نگه دار. */


.app-download-archive-hero-promo .promo-apps-section,
.app-developer-hero-promo .promo-apps-section {
    padding: 0;
}

.app-download-archive-hero-promo
    .promo-app-card--developer
    .promo-app-card__title-en,
.app-developer-hero-promo .promo-app-card--developer .promo-app-card__title-en {
    margin-top: 3px;
}

/* صفحات با footer-bar ثابت: هم‌تراز با ارتفاع #footer-bar + حاشیه */
.app-download-archive-page--safe-footer,
.app-app-reviews-page--safe-footer,
.app-developer-page--safe-footer,
.app-category-apps-page--safe-footer {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px) * 1.1 + 28px);
}

.app-developer-page__footer-spacer,
.app-category-apps-page__footer-spacer {
    display: block;
    min-height: calc(60px + env(safe-area-inset-bottom, 0px) * 1.1 + 20px);
    flex-shrink: 0;
    pointer-events: none;
}

/* صفحهٔ توسعه‌دهنده: آیکون اپ ۷۸×۷۸ */
.app-developer-page .developer-app-row__link {
    grid-template-columns: 78px 1fr;
}

.app-developer-page .developer-app-row__icon-wrap {
    width: 78px;
    height: 78px;
    border-radius: 18px;
}

.app-developer-page .developer-app-row__icon {
    width: 78px;
    height: 78px;
}

.app-developer-page .app-dev-info__row--address {
    align-items: start;
    grid-template-columns: 34px minmax(72px, auto) minmax(0, 1fr);
}

.app-developer-page .app-dev-info__row--address .app-dev-info__icon-col {
    padding-top: 2px;
}

.app-developer-page .app-dev-info__value--wrap {
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

/* صفحهٔ زیردسته (لیست اپ): آیکون ۷۸×۷۸ */






.app-developer-page__lead {
    margin: 0 0 14px;
    padding: 0 4px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--app-detail-stat-label, #6b7280);
}

.theme-dark .app-developer-page__lead {
    color: var(--app-detail-stat-label, rgba(255, 255, 255, 0.72));
}

.promo-app-card--developer .promo-app-card__title-en {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--app-detail-stat-label, #6b7280);
    direction: rtl;
    text-align: right;
}

/* Breadcrumb: یک خط با اسکرول افقی روی عرض کم */
.app-download-archive-page .app-breadcrumb__list {
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
    padding-right: 10px;
}

.app-download-archive-page .app-breadcrumb__item,
.app-download-archive-page .app-breadcrumb__separator {
    flex-shrink: 0;
    max-width: none;
}

.app-download-archive-page .app-breadcrumb__link,
.app-download-archive-page .app-breadcrumb__current,
.app-download-archive-page .app-breadcrumb__text {
    white-space: nowrap;
}

.app-download-archive-page .app-download-archive-intro {
    padding: 0 25px 1.5rem;
    text-align: justify;
}

.app-download-archive-intro__body {
    font-size: 0.81rem;
    line-height: 1.95;
    color: var(--app-detail-lead, #444);
}

.app-download-archive-intro__lead {
    margin: 0 0 0.75rem;
}

.app-download-archive-intro__list-heading {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 800;
}

.app-download-archive-intro__list-body {
    margin: 0 0 0.75rem;
}

.app-download-archive-intro__list {
    margin: 0;
    padding: 0 1.15rem 0 0;
}

.app-download-archive-intro__list li + li {
    margin-top: 0.28rem;
}

.app-download-archive-help {
    padding: 0 25px 1.5rem;
    text-align: justify;
}

.app-download-archive-help .content {
    padding-top: 18px;
    padding-bottom: 18px;
}

.app-download-archive-help__title {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 800;
}

.app-download-archive-help__lead {
    margin: 0 0 0.75rem;
    font-size: 0.81rem;
    line-height: 1.95;
    color: var(--app-detail-lead, #444);
}

.app-download-archive-help__list {
    margin: 0;
    padding: 0 1.15rem 0 0;
    font-size: 0.81rem;
    line-height: 1.9;
    color: var(--app-detail-lead, #444);
}

.app-download-archive-help__list li + li {
    margin-top: 0.28rem;
}

.app-download-row__sha {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    color: var(--app-detail-stat-label, #6b7280);
}

.app-download-row__sha code {
    font-size: 0.72rem;
}

.app-download-version-card__code {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--app-detail-stat-label, #6b7280);
    direction: ltr;
    unicode-bidi: isolate;
}

.app-download-archive-notes {
    padding: 0 25px 1.5rem;
    text-align: justify;
}

.app-download-archive-notes .content {
    padding-top: 18px;
    padding-bottom: 18px;
}

.app-download-archive-notes__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 16px;
    padding: 2px 2px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.theme-dark .app-download-archive-notes__head {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.app-download-archive-notes__head-badge {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        rgba(76, 175, 80, 0.2),
        rgba(25, 135, 84, 0.12)
    );
    color: #15803d;
    font-size: 1.45rem;
    line-height: 1;
}

.theme-dark .app-download-archive-notes__head-badge {
    color: #86efac;
    background: linear-gradient(
        145deg,
        rgba(34, 197, 94, 0.22),
        rgba(22, 163, 74, 0.1)
    );
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.app-download-archive-notes__head-text {
    min-width: 0;
    flex: 1 1 auto;
}

.app-download-archive-notes__title {
    margin: 0 0 4px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--app-detail-h1, #111827);
    line-height: 1.35;
}

.theme-dark .app-download-archive-notes__title {
    color: #f9fafb;
}

.app-download-archive-notes__subtitle {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--app-detail-stat-label, #6b7280);
}

.theme-dark .app-download-archive-notes__subtitle {
    color: rgba(255, 255, 255, 0.62);
}

.app-download-archive-notes__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-download-archive-notes__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.92),
        rgba(248, 250, 252, 0.88)
    );
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.05);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.15s ease;
}

.theme-dark .app-download-archive-notes__item {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(
        165deg,
        rgba(30, 34, 40, 0.95),
        rgba(23, 26, 31, 0.88)
    );
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.app-download-archive-notes__item:hover {
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.05),
        0 12px 28px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.theme-dark .app-download-archive-notes__item:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.app-download-archive-notes__item--safe:hover {
    border-color: rgba(13, 148, 136, 0.28);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.05),
        0 12px 28px rgba(13, 148, 136, 0.1);
}

.app-download-archive-notes__item--recorded:hover {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.05),
        0 12px 28px rgba(37, 99, 235, 0.1);
}

.app-download-archive-notes__item--caution:hover {
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.05),
        0 12px 28px rgba(245, 158, 11, 0.12);
}

.theme-dark .app-download-archive-notes__item--safe:hover {
    border-color: rgba(45, 212, 191, 0.35);
}

.theme-dark .app-download-archive-notes__item--recorded:hover {
    border-color: rgba(147, 197, 253, 0.35);
}

.theme-dark .app-download-archive-notes__item--caution:hover {
    border-color: rgba(252, 211, 77, 0.35);
}

.app-download-archive-notes__item-icon {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: 0;
    border-radius: 12px;
    font-size: 1.25rem;
    line-height: 1;
}

.app-download-archive-notes__item--safe .app-download-archive-notes__item-icon {
    background: rgba(16, 185, 129, 0.14);
    color: #0d9488;
}

.app-download-archive-notes__item--recorded
    .app-download-archive-notes__item-icon {
    background: rgba(59, 130, 246, 0.14);
    color: #2563eb;
}

.app-download-archive-notes__item--caution
    .app-download-archive-notes__item-icon {
    background: rgba(245, 158, 11, 0.16);
    color: #d97706;
}

.theme-dark
    .app-download-archive-notes__item--safe
    .app-download-archive-notes__item-icon {
    background: rgba(45, 212, 191, 0.16);
    color: #5eead4;
}

.theme-dark
    .app-download-archive-notes__item--recorded
    .app-download-archive-notes__item-icon {
    background: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
}

.theme-dark
    .app-download-archive-notes__item--caution
    .app-download-archive-notes__item-icon {
    background: rgba(251, 191, 36, 0.14);
    color: #fcd34d;
}

.app-download-archive-notes__item-body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-download-archive-notes__item-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--app-detail-h1, #111827);
    letter-spacing: -0.01em;
}

.theme-dark .app-download-archive-notes__item-label {
    color: #f3f4f6;
}

.app-download-archive-notes__item-text {
    font-size: 13px;
    line-height: 1.65;
    color: var(--app-detail-lead, #4b5563);
}

.theme-dark .app-download-archive-notes__item-text {
    color: rgba(255, 255, 255, 0.72);
}

.app-download-archive-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 10px 24px;
    padding: 28px 20px 26px;
    border: none;
    background: none;
    text-align: center;
}

.app-download-archive-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(82, 76, 175, 0.1);
    color: #524caf;
    font-size: 1.45rem;
    line-height: 1;
}

.app-download-archive-empty__title {
    margin: 4px 0 0;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.45;
    color: var(--app-detail-title-fa, #111827);
}

.app-download-archive-empty__text {
    margin: 0;
    max-width: 28rem;
    font-size: 13px;
    line-height: 1.8;
    color: var(--app-detail-stat-label, #6b7280);
}

.theme-dark .app-download-archive-empty {
    background: none;
}

.theme-dark .app-download-archive-empty__icon {
    background: rgba(165, 161, 230, 0.14);
    color: #c4c0f0;
}

.theme-dark .app-download-archive-empty__title {
    color: rgba(255, 255, 255, 0.92);
}

.theme-dark .app-download-archive-empty__text {
    color: rgba(255, 255, 255, 0.68);
}

/* بلوک مستقل «آرشیو دانلود» — بدون border، تفکیک با سایه و گرادیان */
.app-download-archive-download-zone {
    margin: 0 10px 24px;
    padding: 20px 14px 22px;
    border-radius: 22px;
    border: none;
    background: linear-gradient(
        165deg,
        rgb(82 76 175 / 9%),
        rgba(249, 250, 251, 0.98) 42%,
        #f3f4f6
    );
}

.theme-dark .app-download-archive-download-zone {
    border: none;
    background: linear-gradient(
        165deg,
        rgba(34, 197, 94, 0.12),
        rgba(23, 26, 31, 0.94) 45%,
        #171a1f
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 20px 50px rgba(0, 0, 0, 0.45);
}

.app-download-archive-download-zone__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(76, 175, 80, 0.14);
}

.theme-dark .app-download-archive-download-zone__header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.app-download-archive-download-zone__header-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.5rem;
    line-height: 1;
    color: #ae0fff;
    background: #5c23d524;
}

.theme-dark .app-download-archive-download-zone__header-icon {
    color: #86efac;
    background: rgba(30, 34, 40, 0.95);
}

.app-download-archive-download-zone__header-text {
    min-width: 0;
    flex: 1 1 auto;
}

.app-download-archive-download-zone__title {
    margin: 0 0 6px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--app-detail-h1, #111827);
    line-height: 1.35;
}

.theme-dark .app-download-archive-download-zone__title {
    color: #f9fafb;
}

.app-download-archive-download-zone__lead {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: var(--app-detail-lead, #4b5563);
}

.theme-dark .app-download-archive-download-zone__lead {
    color: rgba(255, 255, 255, 0.72);
}

.app-download-archive-download-zone__body .app-download-archive-versions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-download-version-card {
    margin: 0 12px 14px;
}

.app-download-archive-download-zone .app-download-version-card {
    margin: 0;
    border-radius: 16px;
    overflow: visible;
    border: none;
    box-shadow: none;
}

.theme-dark .app-download-archive-download-zone .app-download-version-card {
    box-shadow: none;
    background: rgba(30, 34, 40, 0.45);
}

.app-download-version-card--archive .content {
    padding-top: 8px;
    padding-bottom: 10px;
}

/* هدر نسخه: فشرده، یک خط (برچسب + شماره)، بدون ارث‌بری ارتفاع از h2 سراسری */
.app-download-archive-download-zone .app-download-version-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    padding: 8px 12px;
    min-height: 48px;
    border-radius: 12px;
    overflow: visible;
    border: none;
    background: linear-gradient(
        120deg,
        rgb(204 204 204 / 14%),
        rgba(76, 175, 80, 0.05)
    );
}

.theme-dark
    .app-download-archive-download-zone
    .app-download-version-card__head {
    background: linear-gradient(
        120deg,
        rgba(74, 222, 128, 0.12),
        rgba(34, 197, 94, 0.04)
    );
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.app-download-archive-download-zone .app-download-version-card__head-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 1.05rem;
    line-height: 1;
    color: #ffffff;
    background: rgb(109 132 255 / 95%);
}

.theme-dark
    .app-download-archive-download-zone
    .app-download-version-card__head-icon {
    color: #bbf7d0;
    background: rgba(15, 23, 42, 0.35);
    box-shadow: none;
}

.app-download-archive-download-zone .app-download-version-card__head-copy {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    flex-wrap: wrap;
}

.app-download-archive-download-zone .app-download-version-card__head-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px 14px;
    min-width: 0;
}

.app-download-archive-download-zone .app-download-version-card__eyebrow {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: rgba(22, 101, 52, 0.88);
}

.theme-dark
    .app-download-archive-download-zone
    .app-download-version-card__eyebrow {
    color: rgba(187, 247, 208, 0.88);
}

.app-download-archive-download-zone .app-download-version-card__title {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    font-size: inherit;
    font-weight: 800;
    line-height: 1;
    color: inherit;
}

.theme-dark
    .app-download-archive-download-zone
    .app-download-version-card__title {
    color: inherit;
}

.app-download-archive-download-zone .app-download-version-card__version {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    unicode-bidi: plaintext;
    direction: ltr;
    border-radius: 999px;
    background: rgb(255 255 255 / 56%);
    color: #003515;
}

.theme-dark
    .app-download-archive-download-zone
    .app-download-version-card__version {
    background: rgba(15, 23, 42, 0.45);
    color: #ecfdf5;
    box-shadow: none;
}

.app-download-archive-download-zone .app-download-version-card__code {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    color: var(--app-detail-stat-label, #6b7280);
    direction: ltr;
    unicode-bidi: isolate;
}

/* ردیف‌های دانلود داخل zone: گوشه‌ها هم‌تراز با هدر نسخه */
.app-download-archive-download-zone .app-download-row__stack {
    border-radius: 6px;
    overflow: hidden;
}

.app-download-version-card__badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
}

@media (max-width: 640px) {

    .app-detail-header__h1,
    .app-breadcrumb-section__h1 {
        font-size: 0.95rem;
        margin-bottom: 0px;
    }

    .app-detail-hero__inner {
        gap: 12px;
    }

    .app-detail-hero__icon-wrap {
        width: 78px;
        height: 78px;
        border-radius: 20px;
    }

    .app-detail-hero__title-fa {
        font-size: 15px;
    }

    .app-detail-hero__title-en {
        font-size: 13px;
    }

    .app-detail-hero__stats {
        gap: 8px;
    }

    .app-detail-stat-card {
        padding: 10px 6px;
        border-radius: 12px;
        gap: 4px;
    }

    .app-detail-stat-card__value {
        font-size: clamp(11px, 3.2vw, 14px);
    }

    .app-detail-stat-card__label {
        font-size: 11px;
    }

    .app-detail-install-button {
        min-height: 42px;
        font-size: 15px;
    }
}

/* breadcrumb + عنوان اپ (single) و صفحهٔ دسته */
.app-breadcrumb-section {
    padding: 4px 0 6px;
}

.app-breadcrumb-section__inner {
    margin: 0 12px;
    padding: 20px 0;
}

/* صفحهٔ جزئیات اپ: فاصلهٔ کمتر بین گالری و ردیف بریدکرامب/علاقه‌مندی */
.app-breadcrumb-section__inner.app-page-head--breadcrumb-first {
    padding-top: 0;
    padding-bottom: 6px;
}

.app-media-gallery-section + .app-breadcrumb-section {
    padding-top: 0;
    padding-bottom: 0;
}

.app-media-gallery-section
    + .app-breadcrumb-section
    .app-breadcrumb-section__main {
    margin-top: 0;
}

.app-breadcrumb-section__inner--with-favorite {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 14px;
}

.app-breadcrumb-section__main {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 2px;
}

.app-favorite-toggle {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    line-height: 0;
    border: none;
    border-radius: 12px;
    background: #ff4b502b;
    color: #ff4b50;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.12s ease;
}

.app-favorite-toggle:hover {
    box-shadow: 0 4px 14px rgba(76, 201, 134, 0.18);
    color: #ff4b50;
}

.app-favorite-toggle:focus-visible {
    outline: 2px solid rgba(25, 135, 84, 0.45);
    outline-offset: 2px;
}

.app-favorite-toggle:disabled {
    opacity: 0.55;
    cursor: wait;
    pointer-events: none;
}

.app-favorite-toggle__icons {
    position: absolute;
    inset: 0;
    display: block;
    font-size: 1.125rem;
    line-height: 0;
    pointer-events: none;
}

.app-favorite-toggle__icons .ph-duotone {
    line-height: 1;
    width: 1em;
    height: 1em;
}

.app-favorite-toggle__icons .app-favorite-toggle__icon--line {
    display: inline-block;
}

.app-favorite-toggle__icon--fill {
    display: none;
    color: #e11d48;
}

.app-favorite-toggle.is-favorited .app-favorite-toggle__icon--line {
    display: none;
}

.app-favorite-toggle.is-favorited
    .app-favorite-toggle__icons
    .app-favorite-toggle__icon--fill {
    display: inline-block;
}

.app-favorite-toggle.is-favorited {
    border-color: rgba(225, 29, 72, 0.35);
    background: #e11d48;
    color: #ffff;
}

.app-breadcrumb-section__h1 {
    margin: 20px 0 0;
    padding: 0;
}

.app-breadcrumb {
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.app-breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.app-breadcrumb__item {
    flex: 0 0 auto;
    max-width: 100%;
}

.app-breadcrumb__link,
.app-breadcrumb__current,
.app-breadcrumb__text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 4px;
    border-bottom: 1px solid #00b05e;
    font-size: 12px;
    color: #146c43;
    text-decoration: none;
    max-width: min(240px, 100%);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.app-breadcrumb__link:hover {
    border-color: rgba(76, 201, 134, 0.35);
    color: #0f1117;
    box-shadow: 0 4px 14px rgba(76, 201, 134, 0.12);
}

.app-breadcrumb__item--current .app-breadcrumb__current {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: rgba(52, 211, 153, 0.35);
    color: #007d5c;
    font-weight: 700;
}

.app-breadcrumb__text {
    opacity: 0.85;
    cursor: default;
}

.app-breadcrumb__separator {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    color: #9ca3af;
    user-select: none;
    padding: 0 2px;
}

.app-breadcrumb__sep-char {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.65;
    transform: scaleX(0.92);
    color: #7a997a;
}

/* صفحهٔ فهرست دستهٔ اپ‌ها */




/* هدر صفحات تم: فاصلهٔ یکدست بریدکرامب نسبت به لید یا عنوان بعدی */
.app-page-head__breadcrumb {
    scroll-margin-top: 0.35rem;
}

.app-page-head--breadcrumb-after-lead .app-breadcrumb {
    margin-top: 0.5rem;
}





.app-page-head--breadcrumb-first .app-breadcrumb {
    margin-bottom: 10px;
}

.app-page-head--breadcrumb-only .app-breadcrumb {
    margin-top: 0;
    margin-bottom: 8px;
}

.app-breadcrumb-section--below-category-header {
    padding-top: 2px;
}

.app-breadcrumb-section--below-category-header .app-category-page__lead {
    margin-top: 0;
}

/* دسته‌بندی: فاصلهٔ محتوا از هدر دوخطی (عنوان + زیرعنوان انگلیسی) */


/*
 * Home PWA loads theme-core only. Bare .app-category-page--app-shell is
 * extracted to theme-secondary, so keep a home-prefixed copy in core.
 */
.app-home-page.app-category-page--app-shell {
    margin-top: calc(4rem + env(safe-area-inset-top, 0px) * 0.8);
    padding-top: 0.35rem;
}

.app-category-page--app-shell > .home-offers:first-child,
.app-category-page--app-shell > .mini-apps-section:first-child,
.app-category-page--app-shell > .promo-apps-section:first-child,
.app-category-page--app-shell > .app-download-archive-hero-promo:first-child,
.app-category-page--app-shell > .app-developer-hero-promo:first-child,
.app-category-page--app-shell > .app-download-archive-intro:first-child,
.app-category-page--app-shell > .app-app-reviews-content:first-child,
.app-category-page--app-shell
    > .app-categories-index__search-section:first-child {
    margin-top: 0.65rem;
}



.app-home-page.app-category-page--app-shell > .home-offers:first-child {
    padding-top: 10px;
}

.app-home-page__h1.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-home-page__footer-spacer {
    margin-top: 7rem;
}

.app-home-page .app-spotlight,
.app-home-page .featured-app-section,
.app-home-page .promo-apps-section {
    position: relative;
}





.app-page-head--breadcrumb-first .app-breadcrumb-section__h1 {
    margin-top: 16px;
}









body.theme-dark .app-breadcrumb__link,
body.theme-dark .app-breadcrumb__current,
body.theme-dark .app-breadcrumb__text {
    color: #e5e7eb;
}

body.theme-dark .app-breadcrumb__link:hover {
    background: rgba(55, 65, 81, 0.85);
    border-color: rgba(85, 200, 136, 0.35);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

body.theme-dark .app-breadcrumb__item--current .app-breadcrumb__current {
    background: #5dec9b57;
    border-color: rgba(52, 211, 153, 0.25);
    color: #ffffff;
}

body.theme-dark .app-breadcrumb__separator {
    color: #6b7280;
}

body.theme-dark
    .app-favorite-toggle.is-favorited
    .app-favorite-toggle__icon--fill {
    color: #fb7185;
}



/* فهرست دسته‌ها */
.app-categories-index__search-section {
    position: sticky;
    top: 3.5rem;
    z-index: 12;
    margin-bottom: 10px;
    padding-bottom: 8px;
    background: linear-gradient(
        180deg,
        rgba(248, 247, 252, 0.98) 0%,
        rgba(248, 247, 252, 0.92) 75%,
        rgba(248, 247, 252, 0) 100%
    );
}

.theme-dark .app-categories-index__search-section {
    background: linear-gradient(
        180deg,
        rgba(17, 24, 39, 0.98) 0%,
        rgba(17, 24, 39, 0.92) 75%,
        rgba(17, 24, 39, 0) 100%
    );
}

.app-categories-index__search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-categories-index__search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.05);
}

.theme-dark .app-categories-index__search-field {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(31, 41, 55, 0.92);
}

.app-categories-index__search-icon {
    flex-shrink: 0;
    font-size: 18px;
    color: rgba(17, 24, 39, 0.45);
}

.theme-dark .app-categories-index__search-icon {
    color: rgba(249, 250, 251, 0.5);
}

.app-categories-index__search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--app-detail-hero-title, #111827);
    outline: none;
}

.theme-dark .app-categories-index__search-input {
    color: #f9fafb;
}

.app-categories-index__search-input::placeholder {
    color: rgba(17, 24, 39, 0.42);
}

.theme-dark .app-categories-index__search-input::placeholder {
    color: rgba(249, 250, 251, 0.42);
}

.app-categories-index__search-clear {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    color: rgba(17, 24, 39, 0.65);
    cursor: pointer;
}

.theme-dark .app-categories-index__search-clear {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(249, 250, 251, 0.75);
}

.app-categories-index__search-empty {
    margin: 8px 0 0;
    padding: 0 4px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.app-categories-index__section + .app-categories-index__section {
    margin-top: 18px;
}

.app-categories-index__section.is-section-empty {
    display: none;
}

.app-categories-index__section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.theme-dark .app-categories-index__section-head {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.app-categories-index__section-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 20px;
}

.theme-dark .app-categories-index__section-icon {
    background: rgba(52, 211, 153, 0.12);
    color: #6ee7b7;
}

.app-categories-index__section-titles {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.app-categories-index__section-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--app-detail-hero-title, #111827);
}

.app-categories-index__section-subtitle {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(17, 24, 39, 0.5);
}

.theme-dark .app-categories-index__section-subtitle {
    color: rgba(249, 250, 251, 0.52);
}

.app-categories-index__section-meta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: left;
}

.app-categories-index__section-count,
.app-categories-index__section-apps {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    color: rgba(17, 24, 39, 0.55);
    white-space: nowrap;
}

.theme-dark .app-categories-index__section-count,
.theme-dark .app-categories-index__section-apps {
    color: rgba(249, 250, 251, 0.55);
}

.app-categories-index__list {
    margin: 0 12px 8px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.96);
    overflow: hidden;
}

.theme-dark .app-categories-index__list {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(31, 41, 55, 0.82);
}

.app-categories-index__list-item.is-hidden {
    display: none;
}

.app-categories-index__list-item + .app-categories-index__list-item {
    border-top: 1px solid rgba(17, 24, 39, 0.06);
}

.theme-dark
    .app-categories-index__list-item
    + .app-categories-index__list-item {
    border-top-color: rgba(255, 255, 255, 0.08);
}

































@media (max-width: 420px) {

    .app-categories-index__search-section {
        top: 3.25rem;
    }

    

    
}


/* صفحهٔ موردعلاقه‌های عضو */
.app-member-favorites-page__pagination .pagination {
    margin-bottom: 0;
}

/* محتوای توضیحات اپ (contentSections) — #appBodyDesc */
.app-body-desc {
    padding: 0 25px 1.5rem;
    text-align: justify;
}

/* جمع‌شدن ارتفاع توضیحات فقط در موبایل (متن کامل در DOM می‌ماند — مناسب SEO) */
.app-body-desc__viewport {
    position: relative;
    z-index: 0;
    --app-body-desc-clamp: 330px;
}

@media (max-width: 767.98px) {

    .app-body-desc__clip {
        transition: max-height 0.28s cubic-bezier(0.25, 0.82, 0.2, 1);
    }

    .app-body-desc__viewport.is-desc-animating .app-body-desc__clip {
        overflow: hidden;
    }

    .app-body-desc__viewport.app-body-desc__viewport--needs-expand:not(
            .is-expanded
        )
        .app-body-desc__clip {
        max-height: var(--app-body-desc-clamp);
        overflow: hidden;
    }

    .app-body-desc__viewport.is-expanded .app-body-desc__clip {
        max-height: none;
        overflow: visible;
    }
}


@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {

    .app-body-desc__clip {
        transition: none;
    }

    .app-body-desc__expand-wrap {
        transition: none;
    }

    .app-body-desc__collapse {
        transition: none;
    }
}


@media (min-width: 768px) {

    .app-body-desc__expand-wrap {
        display: none !important;
    }
}


/* لایهٔ روی محتوا: گرادیان بلند روی کل ناحیه تا دکمه روی زمینهٔ مات قرار بگیرد */
.app-body-desc__expand-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 5.75rem;
    padding: 2.75rem 12px 12px;
    pointer-events: none;
    box-sizing: border-box;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.2s ease,
        transform 0.22s cubic-bezier(0.25, 0.82, 0.2, 1);
    will-change: opacity, transform;
    background: linear-gradient(
        to bottom,
        rgba(241, 241, 247, 0) 0%,
        rgba(241, 241, 247, 0.55) 28%,
        rgba(241, 241, 247, 0.92) 52%,
        #f1f1f7 68%,
        #f1f1f7 100%
    );
}

.app-body-desc__expand-wrap.is-overlay-hiding {
    opacity: 0;
    transform: translateY(12px);
}

.app-body-desc__expand-wrap.is-overlay-entering {
    opacity: 0;
    transform: translateY(10px);
}

.theme-dark .app-body-desc__expand-wrap,
.theme-dark .app-body-desc__expand-wrap {
    background: linear-gradient(
        to bottom,
        rgba(24, 25, 26, 0) 0%,
        rgba(24, 25, 26, 0.55) 28%,
        rgba(24, 25, 26, 0.94) 52%,
        #18191a 68%,
        #18191a 100%
    );
}

.app-body-desc__toggle {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px 16px;
    border: unset;
    background: none;
    font-family: inherit;
    font-size: 0.79rem;
    font-weight: 700;
    line-height: 1.45;
    color: #111827;
    text-align: center;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.app-body-desc__toggle:hover {
    border-color: rgba(0, 100, 228, 0.28);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.07),
        0 8px 22px rgba(0, 100, 228, 0.1);
    transform: translateY(-1px);
}

.app-body-desc__toggle:active {
    transform: translateY(0);
}

.app-body-desc__toggle:focus-visible {
    outline: 2px solid rgba(0, 100, 228, 0.45);
    outline-offset: 3px;
}

.app-body-desc__toggle-label {
    flex: 0 1 auto;
}

.app-body-desc__toggle-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(0, 100, 228, 0.08);
    color: #0064e4;
    transition: transform 0.25s cubic-bezier(0.25, 0.82, 0.2, 1);
}

.app-body-desc__toggle-icon i {
    font-size: 18px;
    line-height: 1;
    width: 1em;
    height: 1em;
}

.theme-dark .app-body-desc__toggle {
    color: #f3f4f6;
}

.theme-dark .app-body-desc__toggle:hover,
.theme-dark .app-body-desc__toggle:hover {
    border-color: rgba(96, 165, 250, 0.38);
}

.theme-dark .app-body-desc__toggle:focus-visible,
.theme-dark .app-body-desc__toggle:focus-visible {
    outline-color: rgba(96, 165, 250, 0.55);
}

.theme-dark .app-body-desc__toggle-icon,
.theme-dark .app-body-desc__toggle-icon {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

/* ردیف عنوان اول + دکمهٔ جمع کردن (موبایل، کنار h2 اول — ترتیب DOM برای RTL: دکمه سمت راست) */
.app-content-section__title-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 12px;
}

.app-content-section__title-row .app-content-section__title {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.app-body-desc__collapse {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(0, 100, 228, 0.08);
    color: #0064e4;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9) translateY(-4px);
    transition:
        opacity 0.2s ease,
        transform 0.22s cubic-bezier(0.25, 0.82, 0.2, 1),
        background 0.16s ease,
        color 0.16s ease;
    -webkit-tap-highlight-color: transparent;
    will-change: opacity, transform;
}

.app-body-desc__collapse.is-collapse-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.app-body-desc__collapse.is-collapse-visible:hover {
    background: rgba(0, 100, 228, 0.14);
    transform: scale(1.04) translateY(-1px);
}

.app-body-desc__collapse.is-collapse-visible:active {
    transform: scale(1) translateY(0);
}

.app-body-desc__collapse:focus-visible {
    outline: 2px solid rgba(0, 100, 228, 0.45);
    outline-offset: 2px;
}

.app-body-desc__collapse-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-body-desc__collapse-icon i {
    font-size: 18px;
    line-height: 1;
}

.theme-dark .app-body-desc__collapse,
.theme-dark .app-body-desc__collapse {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

.theme-dark .app-body-desc__collapse:hover,
.theme-dark .app-body-desc__collapse:hover {
    background: rgba(96, 165, 250, 0.2);
}

.theme-dark .app-body-desc__collapse:focus-visible,
.theme-dark .app-body-desc__collapse:focus-visible {
    outline-color: rgba(96, 165, 250, 0.55);
}

@media (min-width: 768px) {

    .app-body-desc__collapse {
        display: none !important;
    }
}


.app-body-desc__empty {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

.app-content-section {
    margin-top: 1.75rem;
}

.app-content-section:first-of-type {
    margin-top: 0.75rem;
}

.app-content-section--page-heading + .app-content-section {
    margin-top: 1.25rem;
}

.app-content-section__page-title {
    margin: 0;
    color: var(--app-detail-h1);
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    font-weight: 900;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.app-content-section__title {
    margin: 0 0 12px;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.5;
    color: #111827;
    padding-bottom: 8px;
}

.app-content-section__body.rte-content {
    font-size: 0.81rem;
    line-height: 1.85;
    color: #374151;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.app-content-section__body.rte-content > *:first-child {
    margin-top: 0;
}

.app-content-section__body.rte-content > *:last-child {
    margin-bottom: 0;
}

.app-content-section__body.rte-content p {
    margin: 1em 0 1em;
    font-size: 0.81rem;
}

.app-content-section__body.rte-content h3,
.app-content-section__body.rte-content h4 {
    margin: 1.25em 0 0.5em;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.app-content-section__body.rte-content ul,
.app-content-section__body.rte-content ol {
    margin: 0 0 1em;
    padding-right: 1.25rem;
}

.app-content-section__body.rte-content a {
    color: #0064e4;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.app-content-section__body.rte-content img,
.app-content-section__body.rte-content video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.app-content-section__body.rte-content table {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    margin: 0 0 1em;
    font-size: 14px;
}

.theme-dark .app-content-section__title {
    color: #f3f4f6;
}

.theme-dark .app-content-section__body.rte-content {
    color: #d1d5db;
}

.theme-dark .app-content-section__body.rte-content h3,
.theme-dark .app-content-section__body.rte-content h4 {
    color: #f9fafb;
}

.theme-dark .app-body-desc__empty {
    color: #9ca3af;
}

.theme-dark .app-content-section__body.rte-content a {
    color: #60a5fa;
}

/*
 * مشکلات نصب (common_errors) — داخل #appBodyDesc
 * کلاس‌ها و data-install-troubleshooting عمداً جدا از .app-faq هستند تا با بلوک FAQ صفحه
 * و اسکیمای FAQPage تداخل معنایی/ساختاری نداشته باشند.
 */
.app-install-troubleshooting {
    margin-top: 4px;
}

.app-install-troubleshooting__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-install-troubleshooting__item {
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 16px;
    background: #f9fafb;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.app-install-troubleshooting__item:hover {
    border-color: #d1d5db;
}

.app-install-troubleshooting__item[open] {
    border-color: #c7d2fe;
    box-shadow: 0 8px 24px rgba(0, 100, 228, 0.08);
    background: #ffffff;
}

.app-install-troubleshooting__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    color: #111827;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.app-install-troubleshooting__summary::-webkit-details-marker {
    display: none;
}

.app-install-troubleshooting__title {
    flex: 1;
    min-width: 0;
    text-align: justify;
    font-size: 0.78rem;
}

.app-install-troubleshooting__chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(234, 88, 12, 0.1);
    color: #c2410c;
    transition: transform 0.25s cubic-bezier(0.25, 0.82, 0.2, 1);
}

.app-install-troubleshooting__chevron i {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
}

.app-install-troubleshooting__chevron i::before,
.app-install-troubleshooting__chevron i::after {
    white-space: nowrap;
}

.app-install-troubleshooting__item[open] .app-install-troubleshooting__chevron {
    transform: rotate(-180deg);
}

.app-install-troubleshooting__panel {
    padding: 0 16px 16px;
    border-top: 1px solid #f3f4f6;
}

.app-install-troubleshooting__body {
    padding-top: 12px;
    margin: 0;
    font-size: 13px;
    line-height: 1.85;
    color: #374151;
    word-wrap: break-word;
    text-align: justify;
}

.app-install-troubleshooting__body p {
    margin: 0 0 0.75em;
}

.app-install-troubleshooting__body p:last-child {
    margin-bottom: 0;
}

.theme-dark .app-install-troubleshooting__item {
    background: #1f2937;
    border: 1px solid #374151;
}

.theme-dark .app-install-troubleshooting__item:hover {
    border-color: #4b5563;
}

.theme-dark .app-install-troubleshooting__item[open] {
    background: #111827;
    border-color: #ea580c;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.theme-dark .app-install-troubleshooting__summary {
    color: #f9fafb;
}

.theme-dark .app-install-troubleshooting__chevron {
    background: rgba(251, 146, 60, 0.15);
    color: #fdba74;
}

.theme-dark .app-install-troubleshooting__panel {
    border-top-color: #374151;
}

.theme-dark .app-install-troubleshooting__body {
    color: #d1d5db;
}

/* قالب قدیمی Bootstrap 3 (panel-group) هنوز در برخی رکوردها ذخیره شده */
.app-content-section--common-errors #app-troubleshooting-accordion.panel-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 4px 0 0;
    border: none;
    box-shadow: none;
}

.app-content-section--common-errors #app-troubleshooting-accordion .panel {
    margin: 0;
    border-radius: 16px;
    background: #f9fafb;
    box-shadow: none;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-heading {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-title
    a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.55;
    color: #111827;
    text-decoration: none;
    text-align: justify;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-title
    a
    .app-ts-accordion__icon-wrap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgb(17 235 52 / 10%);
    transition: transform 0.25s cubic-bezier(0.25, 0.82, 0.2, 1);
}

.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-title
    a
    .app-ts-accordion__icon {
    display: inline-block;
    vertical-align: middle;
    font-size: 18px;
    line-height: 1;
    color: #4caf50;
    white-space: nowrap;
}

.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-title
    a
    .app-ts-accordion__icon:before,
.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-title
    a
    .app-ts-accordion__icon:after {
    white-space: nowrap;
}

.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-title
    a[aria-expanded="true"]
    .app-ts-accordion__icon-wrap {
    transform: rotate(-180deg);
}

.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-collapse.collapse:not(.in) {
    display: none;
}

.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-collapse.collapse.in {
    display: block;
}

.app-content-section--common-errors #app-troubleshooting-accordion .panel-body {
    padding: 0 16px 16px;
    border-top: 1px solid #f3f4f6;
    font-size: 13px;
    line-height: 1.85;
    color: #374151;
    text-align: justify;
}

.app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel.panel-default.is-ts-open {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 100, 228, 0.08);
}

.theme-dark
    .app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel {
    background: #1f2937;
}

.theme-dark
    .app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-title
    a {
    color: #f9fafb;
}

.theme-dark
    .app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-body {
    border-top-color: #374151;
    color: #d1d5db;
}

.theme-dark
    .app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel.panel-default.is-ts-open {
    background: #111827;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.theme-dark
    .app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-title
    a
    .app-ts-accordion__icon-wrap {
    background: rgba(251, 146, 60, 0.15);
}

.theme-dark
    .app-content-section--common-errors
    #app-troubleshooting-accordion
    .panel-title
    a
    .app-ts-accordion__icon {
    color: #fdba74;
}

/* سوالات متداول — #appFaqSeq (app_faqs) */
.app-faq {
    margin-top: 1.75rem;
    padding: 0 16px 1.75rem;
}

.app-faq__heading {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.5;
    color: #111827;
}

.app-faq__lead {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.65;
    color: #6b7280;
}

.app-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-faq__item {
    border-radius: 16px;
    background: #f9fafb;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.app-faq__item:hover {
    border-color: #d1d5db;
}

.app-faq__item[open] {
    border-color: #c7d2fe;
    box-shadow: 0 8px 24px rgba(0, 100, 228, 0.08);
    background: #ffffff;
}

.app-faq__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    color: #111827;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.app-faq__summary::-webkit-details-marker {
    display: none;
}

.app-faq__question-text {
    flex: 1;
    min-width: 0;
    text-align: justify;
    font-size: 0.78rem;
}

.app-faq__chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(0, 100, 228, 0.08);
    color: #0064e4;
    transition: transform 0.25s cubic-bezier(0.25, 0.82, 0.2, 1);
}

.app-faq__chevron i {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
}

.app-faq__chevron i::before,
.app-faq__chevron i::after {
    white-space: nowrap;
}

.app-faq__item[open] .app-faq__chevron {
    transform: rotate(-180deg);
}

.app-faq__panel {
    padding: 0 16px 16px;
    border-top: 1px solid #f3f4f6;
}

.app-faq__answer {
    padding-top: 12px;
    margin: 0;
    font-size: 13px;
    line-height: 1.85;
    color: #374151;
    word-wrap: break-word;
    text-align: justify;
}

.app-faq__answer p {
    margin: 0 0 0.75em;
}

.app-faq__answer p:last-child {
    margin-bottom: 0;
}

.theme-dark .app-faq__heading {
    color: #f3f4f6;
}

.theme-dark .app-faq__lead {
    color: #9ca3af;
}

.theme-dark .app-faq__item {
    background: #1f2937;
    border-color: #374151;
}

.theme-dark .app-faq__item:hover {
    border-color: #4b5563;
}

.theme-dark .app-faq__item[open] {
    background: #111827;
    border-color: #4f46e5;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.theme-dark .app-faq__summary {
    color: #f9fafb;
}

.theme-dark .app-faq__chevron {
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
}

.theme-dark .app-faq__panel {
    border-top-color: #374151;
}

.theme-dark .app-faq__answer {
    color: #d1d5db;
}

.app-media-gallery-section {
    /* margin-top: 20px; */
}

.app-media-gallery-section .content-card {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.section-heading-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-heading-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 154, 255, 0.12);
    color: #53b8ff;
    font-size: 20px;
    flex-shrink: 0;
}

.section-heading-texts {
    min-width: 0;
}

.section-heading-kicker {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1.5;
    color: #8ea3b7;
}

.section-heading-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 800;
    color: #fff;
}

.app-media-slider {
    overflow: hidden;
    /* Reserve final one-row height before Splide mounts (prevents 25 stacked slides ≈ multi-kpx CLS). */
    min-height: 230px;
}

/*
 * Global `.splide { visibility: hidden }` + block list stacks every slide vertically until JS.
 * App media gallery must paint in its final horizontal geometry from first layout.
 */
.app-media-slider.splide {
    visibility: visible;
}

.app-media-slider .splide__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: auto;
    max-width: none;
    will-change: auto;
}

/*
 * Before Splide mounts, only the first slide participates in layout.
 * Otherwise a multi-thousand-px RTL list intersects the viewport in a
 * tiny unstable rect (measured ~116→378px) and scores ~0.12 CLS on mobile.
 */
.app-media-slider:not(.is-active) .splide__slide:not(:first-child) {
    display: none;
}

.app-media-slider:not(.is-active) .splide__list {
    width: 100%;
    max-width: 100%;
}

/* track باید hidden باشد تا Splide موقعیت و اسکرول را درست محاسبه کند؛ visible باعث پرش و snap اشتباه می‌شود.
 * contain:layout را عمداً نمی‌گذاریم — با RTL+autoWidth اندازه‌گیری drag را خراب می‌کند. */
.app-media-slider .splide__track {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: 190px;
    transform: translateZ(0);
}

.app-media-slider .splide__slide.app-media-slide {
    height: auto;
    width: auto;
    flex: 0 0 auto;
    box-sizing: border-box;
}

.app-media-slider .splide__slide.app-media-slide.is-cover {
    max-width: min(calc(190px * 16 / 9), calc(100vw - 64px));
}

.app-media-card {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    display: block;
    text-align: right;
    cursor: pointer;
}

.app-media-card__inner {
    position: relative;
    display: block;
    width: 100%;
    height: 230px;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
}

.app-media-card__img {
    width: 100%;
    height: 190px;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 180ms ease;
}

.app-media-card.is-portrait .app-media-card__inner picture {
    display: block;
    width: 100%;
    height: 100%;
}

.app-media-card.is-portrait,
.app-media-card.is-portrait .app-media-card__inner {
    width: 100%;
    height: 190px;
}

.app-media-card.is-portrait .app-media-card__img {
    width: 100%;
    height: 190px;
    object-fit: contain;
}

.app-media-card.is-cover .app-media-card__img {
    height: 190px;
    object-fit: cover;
}

.app-media-card__img.is-loaded {
    opacity: 1;
}

.app-media-card__overlay {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 38%,
        rgba(0, 0, 0, 0.52) 100%
    );
    pointer-events: none;
}

.app-media-card__meta {
    position: absolute;
    right: 12px;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.app-media-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.app-media-card__title {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.app-media-card__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.app-media-card__play i {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.app-media-card__fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: #b7c3cf;
    font-size: 14px;
}

.app-media-card__fallback i {
    font-size: 28px;
}

.app-media-card:focus-visible {
    outline: none;
}

.app-media-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: min(1.5vw, 10px) min(1vw, 8px);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease;
}

.app-media-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.app-media-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 14, 0.22);
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
}

.app-media-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(100%, 1480px);
    max-height: min(98vh, 980px);
    margin: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    transform: scale(0.98) translateY(6px);
    opacity: 0;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.26s ease;
}

.app-media-modal.is-active .app-media-modal__dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.app-media-modal__close {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    line-height: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    z-index: 5;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        color 0.2s ease;
}

.app-media-modal__close > i,
.app-media-modal__nav > i {
    display: none;
}

.app-media-modal__close::before,
.app-media-modal__close::after {
    content: "";
    grid-area: 1 / 1;
    width: 1em;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    pointer-events: none;
}

.app-media-modal__close::before {
    transform: rotate(45deg);
}

.app-media-modal__close::after {
    transform: rotate(-45deg);
}

.app-media-modal__close:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: scale(1.05);
}

.app-media-modal__close:focus-visible {
    outline: 2px solid rgba(120, 190, 255, 0.9);
    outline-offset: 3px;
}

.app-media-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    line-height: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
        opacity 0.22s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease,
        backdrop-filter 0.2s ease;
}

.app-media-modal__nav::before {
    content: "";
    width: 0.7em;
    height: 1.15em;
    background-color: currentColor;
    pointer-events: none;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpolyline points='4 2 12 12 4 22' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpolyline points='4 2 12 12 4 22' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.app-media-modal__nav--next::before {
    transform: scaleX(-1);
}

.app-media-modal__nav--prev {
    inset-inline-start: 4px;
    inset-inline-end: auto;
}

.app-media-modal__nav--next {
    inset-inline-end: 4px;
    inset-inline-start: auto;
}

@media (hover: hover) and (pointer: fine) {

    .app-media-modal__nav:not([hidden]) {
        opacity: 0;
    }

    .app-media-modal__content-row:hover .app-media-modal__nav:not([hidden]),
    .app-media-modal__nav:not([hidden]):focus-visible,
    .app-media-modal__nav:not([hidden]):hover {
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.42);
        background: rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
    }
}


@media (hover: none), (pointer: coarse) {

    .app-media-modal__nav:not([hidden]) {
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.35);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}


.app-media-modal__nav:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.06);
}

.app-media-modal__nav:focus-visible {
    outline: 2px solid rgba(120, 190, 255, 0.9);
    outline-offset: 3px;
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.app-media-modal__nav[hidden] {
    display: none !important;
}

.app-media-modal__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: 0;
    padding: 46px 0 0;
    overflow: visible;
    background: transparent;
}

.app-media-modal__content-row {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
}

.app-media-modal__body {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: min(calc(100vw - 16px), 1520px);
    max-height: min(calc(100vh - 88px - 52px), 900px);
    padding: 0;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: transparent;
    transition: opacity 0.14s ease;
}

.app-media-modal__body.is-media-swapping {
    opacity: 0.22;
}

.app-media-modal__count {
    margin: 12px auto 0;
    padding: 0 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.01em;
}

.app-media-modal__count[hidden] {
    display: none !important;
}

.app-media-modal__dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 8px;
    margin: 14px auto 0;
    padding: 8px 14px 10px;
    max-width: min(96vw, 560px);
    background: rgba(8, 12, 22, 0.35);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 10px 36px rgba(0, 0, 0, 0.28);
}

.app-media-modal__dots[hidden] {
    display: none !important;
}

.app-media-modal__dot {
    position: relative;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition:
        width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.22s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.app-media-modal__dot:not(.is-active):hover {
    background: rgba(255, 255, 255, 0.48);
    transform: scale(1.08);
}

.app-media-modal__dot.is-active {
    width: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.35),
        0 2px 12px rgba(0, 0, 0, 0.25);
}

.app-media-modal__dot:focus-visible {
    outline: 2px solid rgba(120, 190, 255, 0.95);
    outline-offset: 3px;
}

.app-media-modal__media-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-media-modal__image {
    max-width: 100%;
    max-height: min(calc(100vh - 96px - 56px), 900px);
    width: auto;
    height: auto;
    display: block;
    border-radius: clamp(12px, 1.6vw, 20px);
    object-fit: contain;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.app-media-modal__video {
    width: 100%;
    max-height: min(calc(100vh - 96px - 56px), 900px);
    display: block;
    border-radius: clamp(12px, 1.6vw, 20px);
    background: #000;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

body.media-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {

    .app-media-modal__nav:not([hidden]) {
        display: none !important;
    }
}


@media (max-width: 576px) {

    .app-media-modal {
        padding: min(2vw, 8px) 4px;
    }

    .app-media-modal__backdrop {
        background: rgba(4, 8, 14, 0.26);
        backdrop-filter: blur(16px) saturate(1.1);
        -webkit-backdrop-filter: blur(16px) saturate(1.1);
    }

    .app-media-modal__stage {
        padding: 44px 0 0;
    }

    .app-media-modal__body {
        max-width: min(calc(100vw - 8px), 100%);
        max-height: min(calc(100vh - 96px - 56px), 860px);
    }

    .app-media-modal__close {
        width: 26px;
        height: 26px;
        top: 2px;
        inset-inline-end: 2px;
        font-size: 11px;
    }

    .app-media-modal__close::before,
    .app-media-modal__close::after {
        height: 1.5px;
    }

    .app-media-modal__image,
    .app-media-modal__video {
        max-height: min(calc(100vh - 104px - 52px), 820px);
    }

    .app-media-modal__dots {
        margin-top: 10px;
        padding: 6px 12px 8px;
        gap: 5px 6px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .app-media-modal,
    .app-media-modal__dialog,
    .app-media-modal__close,
    .app-media-modal__nav,
    .app-media-modal__body,
    .app-media-modal__dot,
    .app-media-card__img {
        transition: none !important;
    }

    .app-media-card__img {
        opacity: 1;
    }
}


@media (min-width: 768px) {

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

    .app-media-card__inner {
        height: 190px;
    }

    .app-media-card.is-portrait .app-media-card__inner {
        height: 190px;
    }

}


/* Review Seq */

.app-reviews {
    padding: 16px;
}

/* خلاصه امتیاز: یک ردیف — در صفحه RTL ستون اول گرید سمت راست (امتیاز)، دوم سمت چپ (نوارها) */
.app-reviews__summary {
    display: grid;
    grid-template-columns: minmax(92px, 32%) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    margin-top: 10px;
}

.app-reviews__score-card,
.app-reviews__rate-card {
    padding: 14px;
    min-width: 0;
}

.app-reviews__score-top {
    display: grid;
    place-items: center;
    gap: 8px;
    margin-top: 1.2rem;
}

.app-reviews__score-number {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.app-reviews__score-count {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ستارهٔ خلاصه: همان Phosphor duotone کارت نظر، کمی بزرگ‌تر زیر عدد میانگین */
.app-reviews__score-stars.app-reviews__card-stars {
    gap: 4px;
}

.app-reviews__score-stars.app-reviews__card-stars .app-reviews__card-star {
    font-size: 0.92rem;
}

.app-reviews__bars {
    padding: 14px 0;
    display: grid;
    gap: 3px;
    direction: ltr;
}

.app-reviews__bar-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    direction: ltr;
}

.app-reviews__bar-label {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
}

.app-reviews__bar-track {
    flex: 1;
    min-width: 0;
    height: 8px;
    background: #d8dbdd;
    border-radius: 999px;
    overflow: hidden;
    direction: ltr;
}

.app-reviews__bar-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 999px;
    width: 0%;
    transition: width 240ms ease;
}

.star-rating {
    position: relative;
    display: inline-block;
    line-height: 1;
    font-size: 18px;
    letter-spacing: 2px;
    direction: ltr;
}

.star-rating__base {
    color: #d1d5db;
}

.star-rating__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: #ffc107;
}

.app-reviews__rate-card {
    margin-top: 14px;
    margin-bottom: 2rem;
    padding: 16px;
    background: #ffffff;
    box-shadow: none;
    border-radius: 16px;
}

/* حالت قفل (فقط اعضا) */
.app-reviews__rate-card--locked {
    background: linear-gradient(
        180deg,
        rgba(59, 130, 246, 0.08),
        rgba(59, 130, 246, 0.02)
    );
    border: 1px solid rgba(59, 130, 246, 0.18);
    width: 100%;
    text-align: inherit;
    cursor: pointer;
    transition:
        transform 140ms ease,
        box-shadow 140ms ease,
        border-color 140ms ease;
}

.app-reviews__rate-card--locked:hover {
    border-color: rgba(59, 130, 246, 0.28);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.app-reviews__rate-card--locked:active {
    transform: translateY(0);
}

.app-reviews__rate-card--locked:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.28);
    outline-offset: 3px;
}

.app-reviews__lock-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-reviews__lock-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(59, 130, 246, 0.14);
    color: #1d4ed8;
    flex-shrink: 0;
}

.app-reviews__lock-icon i {
    font-size: 22px;
    line-height: 1;
}

.app-reviews__lock-text {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.theme-dark .app-reviews__rate-card--locked:hover {
    border-color: rgba(96, 165, 250, 0.32);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.2);
}

.app-reviews__lock-title {
    font-size: 13px;
    font-weight: 800;
    color: #111827;
    line-height: 1.5;
}

.app-reviews__lock-sub {
    font-size: 12px;
    color: #374151;
    line-height: 1.6;
}

/* کارت نظر خودِ کاربر */
.app-reviews__my-review-wrap {
    margin-top: 14px;
    margin-bottom: 2rem;
}

.app-reviews__my-review-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    color: #4b5563;
    line-height: 1.5;
    text-align: center;
}

.app-reviews__my-review-wrap .app-reviews__rate-card.app-reviews__my-review {
    margin-top: 0;
    margin-bottom: 0;
}

.app-reviews__my-review {
    border: 1px solid rgba(15, 17, 23, 0.08);
    background: #fff;
}

.app-reviews__my-review-top {
    align-items: start;
}

.app-reviews__my-review-head-spacer {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.app-reviews__my-review-sub {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.app-reviews__status {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    border: 1px solid rgba(15, 17, 23, 0.08);
    background: rgba(107, 114, 128, 0.08);
    color: #374151;
}

.app-reviews__status--approved {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.22);
    color: #166534;
}

.app-reviews__status--pending {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.22);
    color: #92400e;
}

.app-reviews__status--rejected {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.22);
    color: #991b1b;
}

.app-reviews__edit {
    border: none;
    background: unset;
    color: #111827;
    border-radius: 12px;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.app-reviews__actions--my-review {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.app-reviews__edit--footer {
    margin-inline-start: auto;
}

.app-reviews__edit i {
    font-size: 16px;
    line-height: 1;
}

.app-reviews__rate-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    text-align: center;
}

.app-reviews__rate-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.app-reviews__rate-star {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 0;
    line-height: 0;
    border-radius: 14px;
    background: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #9ca3af;
    transition:
        transform 140ms ease,
        background-color 140ms ease,
        border-color 140ms ease,
        color 140ms ease,
        box-shadow 140ms ease;
    box-shadow: 0 6px 18px rgba(15, 17, 23, 0.05);
    border: 1px solid rgba(15, 17, 23, 0.08);
}

.app-reviews__rate-star-icon {
    display: block;
    width: 26px;
    height: 26px;
    margin: 0;
    overflow: visible;
    pointer-events: none;
}

.app-reviews__rate-star.is-hover,
.app-reviews__rate-star:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 193, 7, 0.45);
    color: #e6ac00;
}

.app-reviews__rate-star.is-active {
    background: rgba(255, 193, 7, 0.14);
    border-color: rgba(255, 193, 7, 0.55);
    color: #ffc107;
    box-shadow: 0 10px 24px rgba(255, 193, 7, 0.18);
}

.app-reviews__rate-star:focus-visible {
    outline: 2px solid rgba(255, 193, 7, 0.65);
    outline-offset: 2px;
}

.app-reviews__filters {
    margin: 14px 0 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.app-reviews__chip {
    border: none;
    padding: 6px 11px;
    border-radius: 7px;
    border: 1px solid #b5b3b37d;
    background: none;
    cursor: pointer;
    font-size: 12px;
    color: #111827;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition:
        background-color 140ms ease,
        border-color 140ms ease,
        color 140ms ease,
        transform 140ms ease;
}

.app-reviews__chip:active {
    transform: translateY(1px);
}

.app-reviews__chip.is-active {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.35);
    color: #1d4ed8;
}

.app-reviews__chip-star {
    color: #ffc107;
    font-size: 16px;
    line-height: 1;
    display: block;
    flex-shrink: 0;
    margin-bottom: 3px;
}

.app-reviews__list-shell {
    position: relative;
    margin-top: 10px;
    min-height: 100px;
}

/* صفحهٔ «همه نظرات»: با خالی شدن لیست هنگام فیلتر، ارتفاع شِل کم می‌شود؛
   فلکس لودینگ اسپینر را در محور عمودی جمع می‌کرد و دایره بیضی دیده می‌شد. */
.app-reviews__list-shell.is-loading {
    min-height: 148px;
}

.app-reviews__list-shell.is-loading .app-reviews__list {
    pointer-events: none;
    opacity: 0.35;
    filter: blur(0.5px);
    transition: opacity 0.2s ease;
}

.app-reviews__list-loading {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.app-reviews__list-loading-text {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    flex-shrink: 1;
    min-width: 0;
    text-align: center;
}

.app-reviews__spinner {
    flex-shrink: 0;
    align-self: center;
    display: inline-block;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-top-color: #2563eb;
    animation: app-reviews-spin 0.75s linear infinite;
}

@keyframes app-reviews-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {

    .app-reviews__spinner {
        animation: none;
        border-top-color: rgba(37, 99, 235, 0.35);
        opacity: 0.85;
    }
}


/* لود اسکرول بی‌نهایت — اسپینر بدون کارت؛ دکمه با ظاهر سبز مشترک */
.app-reviews__list-load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 0 4px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.app-reviews__list-load-more-text {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-align: center;
    line-height: 1.45;
    max-width: 22rem;
}

.app-reviews__spinner--load-more {
    width: 30px;
    height: 30px;
    border-width: 2.5px;
    border-color: rgba(54, 169, 109, 0.22);
    border-top-color: rgb(54, 169, 109);
}

.app-reviews__infinite-sentinel {
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.app-reviews__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-reviews__index-append-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
}

.app-reviews__index-append-alert {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(254, 242, 242, 0.95);
    border: 1px solid rgba(220, 38, 38, 0.22);
}

.app-reviews__index-append-alert-text {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #991b1b;
    line-height: 1.5;
}

.app-reviews__index-append-retry {
    align-self: flex-start;
    border: 0;
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    color: #fff;
    background: #2563eb;
}

.app-reviews__index-append-retry:hover {
    background: #1d4ed8;
}

.app-reviews__index-append-retry:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.app-reviews__index-end-notice {
    margin: 0;
    padding: 10px 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    border-radius: 12px;
    background: rgba(249, 250, 251, 0.95);
    border: 1px dashed rgba(15, 17, 23, 0.1);
}

.app-reviews__index-load-more-btn {
    align-self: center;
    width: auto;
    max-width: none;
    min-width: 12.5rem;
    margin: 0;
    border: 1.5px solid rgb(54, 169, 109);
    border-radius: 16px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
    color: #1d7044;
    background: #fff;
    box-shadow: none;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.app-reviews__index-load-more-btn:hover:not(:disabled) {
    color: #1d7044;
    background: #e7f4ec;
    border-color: rgb(54, 169, 109);
}

.app-reviews__index-load-more-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.app-reviews__index-load-more-btn:focus-visible {
    outline: 2px solid rgba(54, 169, 109, 0.45);
    outline-offset: 2px;
}

.app-reviews__list-load-more:not([hidden]) + .app-reviews__index-append-footer .app-reviews__index-load-more-btn {
    display: none;
}

.app-reviews__list {
    display: grid;
    gap: 10px;
    margin-top: 0;
}

.app-reviews__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 28px 18px;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px dashed rgba(15, 17, 23, 0.12);
}

.app-reviews__empty-icon {
    margin-bottom: 12px;
    color: #9ca3af;
    font-size: 2.25rem;
    line-height: 1;
}

.app-reviews__empty-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    line-height: 1.4;
}

.app-reviews__empty-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: #6b7280;
    max-width: 28rem;
    margin-inline: auto;
}

.theme-dark .app-reviews__empty {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.theme-dark .app-reviews__empty-icon {
    color: #6b7280;
}

.theme-dark .app-reviews__empty-title {
    color: #f3f4f6;
}

.theme-dark .app-reviews__empty-text {
    color: #9ca3af;
}

.app-reviews__item {
    border-radius: 16px;
    background: #b5b3b314;
    padding: 14px;
}

.app-reviews__thread {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.app-reviews__item--reply {
    margin-inline-start: 18px;
    max-width: calc(100% - 18px);
    align-self: stretch;
    box-sizing: border-box;
    padding-inline-start: 14px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.04);
}

.app-reviews__name-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.app-reviews__staff-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #f44336;
    line-height: 1;
}

.app-reviews__staff-badge i {
    font-size: 1.05rem;
    vertical-align: middle;
}

.app-reviews__item-head {
    display: grid;
    grid-template-columns: 44px 1fr 36px;
    align-items: center;
    gap: 10px;
}

.app-reviews__item--staff .app-reviews__item-head {
    grid-template-columns: 44px 1fr;
}

.app-reviews__avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.app-reviews__avatar-text {
    font-size: 16px;
    line-height: 1;
}

.app-reviews__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.app-reviews__name {
    font-size: 13px;
    font-weight: 800;
    color: #111827;
}

.app-reviews__date {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

.app-reviews__more {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: none;
    background: unset;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: #6b7280;
}

.app-reviews__more-dd {
    position: relative;
}

.app-reviews__more-menu {
    min-width: 180px;
}

.app-reviews__more-menu.dropdown-menu {
    padding: 8px;
    border-radius: 7px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.08);
    text-align: right; /* RTL */
}

.app-reviews__more-item.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-radius: 2px;
    color: #111827;
    font-weight: 300;
    font-size: 0.73rem;
    line-height: 1.2;
    text-decoration: none;
}

.app-reviews__more-item-icon {
    font-size: 18px;
    line-height: 1;
    color: #ef4444;
}

.app-reviews__more-item-icon--delete {
    color: #dc2626;
}

.app-reviews__more-item--delete.dropdown-item:hover,
.app-reviews__more-item--delete.dropdown-item:focus {
    background: rgba(239, 68, 68, 0.08);
    color: #111827;
}

.app-reviews__more-item-check {
    display: none;
    font-size: 18px;
    line-height: 1;
    color: #16a34a;
}

.app-reviews__more-item-text {
    flex: 1 1 auto;
    min-width: 0;
}

.app-reviews__more-item.dropdown-item:hover,
.app-reviews__more-item.dropdown-item:focus {
    background: rgba(239, 68, 68, 0.08);
    color: #111827;
}

.app-reviews__more-item.dropdown-item:active {
    background: rgba(239, 68, 68, 0.14);
}

.app-reviews__more-item.is-reported .app-reviews__more-item-icon {
    display: none;
}

.app-reviews__more-item.is-reported .app-reviews__more-item-check {
    display: inline-block;
}

.app-reviews__more-item.dropdown-item.is-disabled,
.app-reviews__more-item.dropdown-item[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
}

.app-reviews__item-stars {
    margin-top: 0;
}

/* ستاره‌های هر کارت نظر (Phosphor، پرشدن از راست با direction: rtl) */
.app-reviews__card-stars {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    direction: rtl;
    align-items: center;
    gap: 3px;
    vertical-align: middle;
}

.app-reviews__card-star {
    font-size: 17px;
    line-height: 1;
    color: #d1d5db;
    flex-shrink: 0;
}

.app-reviews__card-star.is-filled {
    color: #ffc107;
}

.theme-dark .app-reviews__card-star {
    color: rgba(255, 255, 255, 0.22);
}

.theme-dark .app-reviews__card-star.is-filled {
    color: #ffc107;
}

.app-reviews__text {
    margin: 10px 0 0;
    font-size: 13px;
    color: #111827;
    line-height: 1.9;
}

.app-reviews__actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.app-reviews__action {
    border: none;
    background: inherit;
    padding: 8px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #374151;
}

.app-reviews__action--reply {
    margin-right: auto;
}

.app-reviews__action i {
    font-size: 16px;
    color: #2563eb;
}

.app-reviews__action.is-active {
    color: #1d4ed8;
    font-weight: 700;
}

.app-reviews__action.is-active i {
    color: #1d4ed8;
}

/* فقط Phosphor-Duotone در تم لود شده؛ ph-fill glyph ندارد — پررنگ کردن هر دو لایهٔ duotone */
.app-reviews__action.is-active i.ph-duotone.app-reviews__react-icon:before,
.app-reviews__action.is-active i.ph-duotone.app-reviews__react-icon:after {
    opacity: 1;
}

.app-reviews__action:disabled {
    opacity: 0.55;
    cursor: wait;
    pointer-events: none;
}

.app-reviews__action-count {
    font-weight: 700;
}

.app-reviews__view-all {
    display: block;
    text-align: center;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0, 100, 228, 0.08);
    color: #0064e4;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

/* پنل پایین مشترک — ورود، ثبت نظر و سایر offcanvasهای هم‌الگو */
.theme-bottom-sheet.offcanvas {
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    height: auto;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -12px 40px rgba(15, 17, 23, 0.12);
}

.theme-bottom-sheet__inner {
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    max-width: 100%;
}

/* جلوگیری از حاشیهٔ مضاعف کلاس سراسری .content روی offcanvas تم */
.theme-bottom-sheet .theme-bottom-sheet__inner.content {
    margin: 0;
}

.theme-bottom-sheet__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.theme-bottom-sheet__head-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.theme-bottom-sheet__titles {
    flex: 1;
    min-width: 0;
}

.theme-bottom-sheet__head-toolbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    align-self: center;
}

/* kicker + عنوان + آیکن: آیکن سمت راست هر دو خط (RTL؛ آیکن اول در DOM) */
.theme-bottom-sheet__title-head-split {
    display: flex;
    flex-direction: row;
    direction: rtl;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.theme-bottom-sheet__title-head-text {
    flex: 1;
    min-width: 0;
}

.theme-bottom-sheet__title-head-text > :where(h1, h2, h3, p, div, span) {
    margin: 0;
}

.theme-bottom-sheet__title-head-split .theme-bottom-sheet__title-trailing {
    flex-shrink: 0;
    align-self: center;
}

.theme-bottom-sheet__kicker {
    margin: 0 0 4px;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2563eb;
    line-height: 1.3;
}

.theme-bottom-sheet__title {
    margin: 0;
    font-size: 0.81rem;
    font-weight: 300;
    line-height: 1.35;
    color: #111827;
    letter-spacing: -0.02em;
}

.theme-bottom-sheet__head-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.theme-bottom-sheet__head-actions .theme-bottom-sheet__close,
.theme-bottom-sheet__head-actions .theme-bottom-sheet__nav-back {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: none;
    color: #6b7280;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.theme-bottom-sheet__head-actions .theme-bottom-sheet__close:hover,
.theme-bottom-sheet__head-actions .theme-bottom-sheet__nav-back:hover,
.theme-bottom-sheet__head-actions .theme-bottom-sheet__close:focus-visible,
.theme-bottom-sheet__head-actions .theme-bottom-sheet__nav-back:focus-visible {
    background: #f9fafb;
    color: #111827;
    outline: none;
}

.theme-bottom-sheet__head-actions .theme-bottom-sheet__close .ph-duotone,
.theme-bottom-sheet__head-actions .theme-bottom-sheet__nav-back .ph-duotone {
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.92;
}

.theme-bottom-sheet__close {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 12px;
    background: none;
    color: #6b7280;
    padding: 0;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.theme-bottom-sheet__close:hover {
    background: #f9fafb;
    color: #111827;
    border-color: rgba(15, 17, 23, 0.14);
}

.theme-bottom-sheet__close .ph-duotone {
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.92;
}

.theme-bottom-sheet__field.form-icon i.ph-duotone {
    font-size: 1.05rem;
    line-height: 53px;
}

.theme-bottom-sheet__row {
    margin-bottom: 12px;
}

/* نوار فراخوان ثبت‌نام / ورود — نسخهٔ مینیمال (یک ردیف) */
.theme-bottom-sheet__foot-callout {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 12px;
    background: linear-gradient(
        145deg,
        rgba(37, 99, 235, 0.06) 0%,
        rgba(255, 255, 255, 0.72) 100%
    );
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 3px 14px rgba(15, 17, 23, 0.04);
}

.theme-bottom-sheet__foot-callout--prepend {
    margin-top: 0;
    margin-bottom: 10px;
}

.theme-bottom-sheet__foot-callout-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

.theme-bottom-sheet__foot-callout-icon .ph-duotone {
    font-size: 1rem;
    line-height: 1;
}

.theme-bottom-sheet__foot-callout-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    text-align: right;
}

.theme-bottom-sheet__foot-callout-kicker {
    font-size: 0.74rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: -0.02em;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 8rem;
}

.theme-bottom-sheet__foot-callout-btn {
    flex: 0 0 auto;
    margin-top: 0;
    border: 1px solid rgba(37, 99, 235, 0.28);
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: inherit;
    color: #1d4ed8;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        border-color 0.14s ease,
        background-color 0.14s ease;
}

.theme-bottom-sheet__foot-callout-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14);
    background: #fff;
}

.theme-bottom-sheet__foot-callout-btn:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.theme-bottom-sheet__foot-callout-btn:active {
    transform: translateY(0);
}

/* ورود از پنل ثبت‌نام — تم کمی خنثی‌تر تا با دکمهٔ سبز اصلی رقابت نکند */
.theme-bottom-sheet__foot-callout-btn--alt {
    color: #4b5563;
    border-color: rgba(15, 17, 23, 0.1);
    background: rgba(249, 250, 251, 0.98);
    box-shadow: 0 2px 8px rgba(15, 17, 23, 0.05);
}

.theme-bottom-sheet__foot-callout-btn--alt:hover {
    border-color: rgba(15, 17, 23, 0.16);
    box-shadow: 0 4px 12px rgba(15, 17, 23, 0.07);
}

.theme-dark .theme-bottom-sheet__foot-callout {
    background: linear-gradient(
        145deg,
        rgba(96, 165, 250, 0.1) 0%,
        rgba(15, 17, 23, 0.52) 100%
    );
    border-color: rgba(96, 165, 250, 0.14);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.theme-dark .theme-bottom-sheet__foot-callout-icon {
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
}

.theme-dark .theme-bottom-sheet__foot-callout-kicker {
    color: #e5e7eb;
}

.theme-dark .theme-bottom-sheet__foot-callout-btn {
    color: #e5e7eb;
    background: rgba(31, 41, 55, 0.85);
    border-color: rgba(96, 165, 250, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.theme-dark .theme-bottom-sheet__foot-callout-btn:hover {
    background: rgba(55, 65, 81, 0.95);
    border-color: rgba(96, 165, 250, 0.35);
}

.theme-dark .theme-bottom-sheet__foot-callout-btn--alt {
    color: #e5e7eb;
    background: rgba(31, 41, 55, 0.72);
    border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .theme-bottom-sheet__foot-callout-btn--alt:hover {
    background: rgba(55, 65, 81, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
}

@media (prefers-reduced-motion: reduce) {

    .theme-bottom-sheet__foot-callout-btn,
    .theme-bottom-sheet__foot-callout-btn:hover,
    .theme-bottom-sheet__foot-callout-btn:active {
        transition: none;
        transform: none;
    }
}


/* بنر تأیید ایمیل اعضا */
.member-verify-banner {
    padding: 10px 12px;
}

.member-verify-banner__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
}

/* ردیف آیکن + متن؛ با dir=rtl آیکن در سمت راست (شروع خط خوانش) قرار می‌گیرد */
.member-verify-banner__head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.member-verify-banner__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    flex-shrink: 0;
}

.member-verify-banner__icon .ph-duotone {
    font-size: 1.25rem;
    line-height: 1;
}

.member-verify-banner__text {
    flex: 1;
    min-width: 0;
}

.member-verify-banner__title {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 2px;
}

.member-verify-banner__sub {
    display: block;
    font-size: 0.72rem;
    line-height: 1.5;
    color: #6b7280;
}

.member-verify-banner__cta {
    border: none;
    background: #2563eb;
    color: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 800;
    font-size: 0.78rem;
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
}

.member-verify-banner__cta:hover {
    background: #1d4ed8;
}

.theme-dark .member-verify-banner__inner {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.18);
}

.theme-dark .member-verify-banner__icon {
    background: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
}

.theme-dark .member-verify-banner__title {
    color: #f3f4f6;
}

.theme-dark .member-verify-banner__sub {
    color: #9ca3af;
}

/* نسخهٔ فشردهٔ بنر تأیید ایمیل داخل منوی اصلی (عرض ~۲۸۰px) */
.member-verify-banner--sidebar {
    padding: 0 12px 10px;
    margin-top: 10px;
}

.member-verify-banner--sidebar .member-verify-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

/* یک ردیف: آیکن راستِ متن (RTL)، ردیف بعد: دکمه تمام‌عرض */
.member-verify-banner--sidebar .member-verify-banner__head {
    flex: none;
    width: 100%;
    align-items: flex-start;
}

.member-verify-banner--sidebar .member-verify-banner__text {
    text-align: start;
    flex: 1;
    min-width: 0;
}

.member-verify-banner--sidebar .member-verify-banner__cta {
    width: 100%;
    text-align: center;
    align-self: stretch;
}

/* کارت کاربر در سایدبار */
.sidebar-member-card {
    border: 1px solid rgba(15, 17, 23, 0.06);
}

.sidebar-member-card__avatar {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    flex-shrink: 0;
}

.theme-dark .sidebar-member-card {
    border-color: rgba(255, 255, 255, 0.08);
}

/* ردیف ورود مهمان — همان الگوی آیکن + متن + فلش منوی سایدبار */
.sidebar-member-login-row {
    border-radius: 10px;
    transition:
        background-color 0.15s ease,
        opacity 0.15s ease;
}

.sidebar-member-login-row:hover {
    background-color: rgba(15, 17, 23, 0.04);
}

.sidebar-member-login-row:active {
    opacity: 0.92;
}

.sidebar-member-login-row:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.sidebar-member-login-row > span.sidebar-member-login-row__text {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: 1.35;
}

.sidebar-member-login-row__title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1f1f1f;
    letter-spacing: -0.01em;
}

.sidebar-member-login-row__sub {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: rgb(109, 109, 109);
    margin-top: 2px;
    line-height: 1.35;
}

.theme-dark .sidebar-member-login-row:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.theme-dark .sidebar-member-login-row__title {
    color: #f3f4f6;
}

.theme-dark .sidebar-member-login-row__sub {
    color: #9ca3af;
}

.sidebar-member-menu__profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    text-decoration: none;
}

.sidebar-member-logout-btn .sidebar-member-logout__spinner {
    flex-shrink: 0;
    width: 0.85rem;
    height: 0.85rem;
    border-width: 0.12em;
}

.sidebar-member-logout-btn[aria-busy="true"] {
    pointer-events: none;
    opacity: 0.72;
}

.app-review-offcanvas__selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: #f3f4f6;
    border: 1px solid rgba(15, 17, 23, 0.06);
    direction: rtl;
}

.app-review-offcanvas.is-editing .app-review-offcanvas__selected {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: stretch;
    column-gap: 12px;
    row-gap: 10px;
}

.app-review-offcanvas__selected-label {
    font-size: 0.73rem;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.4;
    flex-shrink: 0;
}

.app-review-offcanvas__selected-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.app-review-offcanvas__picker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.app-review-offcanvas.is-editing .app-review-offcanvas__picker {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    justify-self: stretch;
}

.app-review-offcanvas__picker .app-reviews__rate-star {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 0;
}

.app-review-offcanvas__picker .app-reviews__rate-star-icon {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0;
    overflow: visible;
    pointer-events: none;
}

.app-review-offcanvas__star {
    font-size: 1.25rem;
    color: #ffc107;
    line-height: 1;
    opacity: 0.95;
}

/* تأیید حذف نظر */
.app-review-delete-offcanvas .theme-bottom-sheet__head {
    margin-bottom: 10px;
}

.app-review-delete-offcanvas .theme-bottom-sheet__kicker {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #64748b;
    line-height: 1.35;
}

.app-review-delete-offcanvas__headline {
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.45;
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* آیکن حذف — همان پالت .app-reviews__more-item--delete (پس‌زمینه مثل hover منو، آیکن #dc2626) */
.app-review-delete-offcanvas__head-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 0;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.16);
    box-shadow: none;
}

.app-review-delete-offcanvas__head-icon-svg {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    color: #dc2626;
    overflow: visible;
}

.app-review-delete-offcanvas__body {
    display: flex;
    flex-direction: column;
}

.app-review-delete-offcanvas__hint.app-review-offcanvas__hint {
    margin: 8px 0 0;
    padding: 0;
    border: none;
    border-radius: 0;
    text-align: start;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #6b7280;
    background: transparent;
}

.app-review-delete-offcanvas__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
}

.app-review-delete-offcanvas__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 14px;
    font-family: "IRANSansX", system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    transition:
        transform 0.12s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.app-review-delete-offcanvas__btn:active:not(:disabled) {
    transform: scale(0.98);
}

.app-review-delete-offcanvas__btn-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    overflow: visible;
}

.app-review-delete-offcanvas__btn--ghost {
    background: #fff;
    color: #475569;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 17, 23, 0.05);
}

.app-review-delete-offcanvas__btn--ghost:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

.app-review-delete-offcanvas__btn--danger {
    color: #fff !important;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    border: none;
    box-shadow:
        0 4px 16px rgba(220, 38, 38, 0.32),
        0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.app-review-delete-offcanvas__btn--danger:hover {
    filter: brightness(1.04);
    color: #fff !important;
}

.app-review-delete-offcanvas__btn--danger:disabled {
    opacity: 0.78;
}

.theme-dark .app-review-delete-offcanvas__headline,
.theme-dark .app-review-delete-offcanvas__headline {
    color: #f1f5f9;
}

.theme-dark .app-review-delete-offcanvas .theme-bottom-sheet__kicker,
.theme-dark .app-review-delete-offcanvas .theme-bottom-sheet__kicker {
    color: #94a3b8;
}

.theme-dark .app-review-delete-offcanvas__head-icon,
.theme-dark .app-review-delete-offcanvas__head-icon {
    background: rgba(248, 113, 113, 0.14);
    border-color: rgba(248, 113, 113, 0.28);
}

.theme-dark .app-review-delete-offcanvas__head-icon-svg,
.theme-dark .app-review-delete-offcanvas__head-icon-svg {
    color: #f87171;
}

.theme-dark .app-review-delete-offcanvas__hint.app-review-offcanvas__hint,
.theme-dark .app-review-delete-offcanvas__hint.app-review-offcanvas__hint {
    background: transparent;
    border: none;
    color: #9ca3af;
}

.theme-dark .app-review-delete-offcanvas__btn--ghost,
.theme-dark .app-review-delete-offcanvas__btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.theme-dark .app-review-delete-offcanvas__btn--ghost:hover,
.theme-dark .app-review-delete-offcanvas__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f8fafc;
}

.theme-bottom-sheet__form .form-custom span.theme-bottom-sheet__req {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
}

.theme-bottom-sheet__field .form-control {
    font-size: 14px;
}

#menu-app-review .form-custom textarea.form-control {
    min-height: 88px;
    max-height: 160px;
    padding-top: 12px;
    line-height: 1.6;
    resize: vertical;
}

.theme-bottom-sheet__submit {
    width: 100%;
    margin-top: 4px;
    border: none;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 800;
    color: #fff !important;
    background: #00da37;
    font-family: "IRANSansX";
}

.theme-bottom-sheet__submit:hover,
.theme-bottom-sheet__submit:active,
.theme-bottom-sheet__submit:focus {
    color: #fff !important;
    background: #00da37;
}

.app-review-offcanvas__hint {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.65;
    color: #6b7280;
    text-align: center;
}

.theme-dark .theme-bottom-sheet.offcanvas,
.theme-dark .theme-bottom-sheet.offcanvas {
    background: rgba(15, 17, 23, 0.97) !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.theme-dark .theme-bottom-sheet__kicker {
    color: #60a5fa;
}

.theme-dark .theme-bottom-sheet__title,
.theme-dark .app-review-offcanvas__selected-value {
    color: #f3f4f6;
}

.theme-dark .app-review-offcanvas__selected {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .app-review-offcanvas__selected-label,
.theme-dark .app-review-offcanvas__hint {
    color: #9ca3af;
}

.theme-dark .theme-bottom-sheet__close,
.theme-dark .theme-bottom-sheet__head-actions .theme-bottom-sheet__nav-back {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
}

.theme-dark .theme-bottom-sheet__close:hover,
.theme-dark
    .theme-bottom-sheet__head-actions
    .theme-bottom-sheet__nav-back:hover,
.theme-dark
    .theme-bottom-sheet__head-actions
    .theme-bottom-sheet__nav-back:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.app-reviews__modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.app-reviews__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 23, 0.55);
    backdrop-filter: blur(6px);
}

.app-reviews__modal-panel {
    position: relative;
    margin: 10vh auto 0;
    width: min(520px, calc(100% - 24px));
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 17, 23, 0.08);
    box-shadow: 0 30px 80px rgba(15, 17, 23, 0.35);
    overflow: hidden;
}

.app-reviews__modal-head {
    padding: 14px 14px 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(15, 17, 23, 0.06);
}

.app-reviews__modal-title {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
    color: #111827;
}

.app-reviews__modal-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b7280;
}

.app-reviews__modal-close {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    border: 1px solid rgba(15, 17, 23, 0.08);
    background: #ffffff;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: #6b7280;
}

.app-reviews__modal-body {
    padding: 14px;
}

.app-reviews__field {
    display: grid;
    gap: 8px;
}

.app-reviews__label {
    font-size: 12px;
    font-weight: 800;
    color: #111827;
}

.app-reviews__textarea {
    width: 100%;
    resize: vertical;
    border-radius: 14px;
    border: 1px solid rgba(15, 17, 23, 0.1);
    padding: 12px 12px;
    font-size: 13px;
    line-height: 1.9;
    outline: none;
}

.app-reviews__textarea[type="text"] {
    resize: none;
    line-height: 1.6;
}

.app-reviews__textarea:focus {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.app-reviews__modal-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.app-reviews__btn {
    border: 1px solid rgba(15, 17, 23, 0.1);
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.app-reviews__btn--primary {
    background: #2563eb;
    border-color: rgba(37, 99, 235, 0.65);
    color: #ffffff;
}

.app-reviews__btn--ghost {
    color: #374151;
}

.app-reviews__hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: #6b7280;
}

body.app-reviews-modal-open {
    overflow: hidden;
}

@media (min-width: 768px) {

    .app-reviews__summary {
        grid-template-columns: minmax(110px, 28%) minmax(0, 1fr);
        gap: 14px;
    }

    .app-reviews__score-number {
        font-size: 2rem;
    }
}


.theme-dark .app-reviews__rate-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .app-reviews__rate-card--locked {
    background: linear-gradient(
        180deg,
        rgba(96, 165, 250, 0.16),
        rgba(96, 165, 250, 0.06)
    );
    border-color: rgba(96, 165, 250, 0.22);
}

.theme-dark .app-reviews__lock-title {
    color: #e5e7eb;
}

.theme-dark .app-reviews__lock-sub {
    color: rgba(229, 231, 235, 0.82);
}

.theme-dark .app-reviews__my-review {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .app-reviews__my-review-label {
    color: #9ca3af;
}

.theme-dark .app-reviews__status {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #e5e7eb;
}

.theme-dark .app-reviews__edit {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #e5e7eb;
}

.theme-dark .app-reviews__rate-star {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #6b7280;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.theme-dark .app-reviews__rate-star.is-hover,
.theme-dark .app-reviews__rate-star:hover {
    border-color: rgba(255, 193, 7, 0.45);
    color: #fbbf24;
}

.theme-dark .app-reviews__rate-star.is-active {
    background: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.5);
    color: #ffc107;
}

.theme-dark .app-reviews__score-count,
.theme-dark .app-reviews__date,
.theme-dark .app-reviews__hint,
.theme-dark .app-reviews__modal-sub {
    color: #9ca3af;
}

.theme-dark .app-reviews__score-number,
.theme-dark .app-reviews__rate-title,
.theme-dark .app-reviews__name,
.theme-dark .app-reviews__text,
.theme-dark .app-reviews__modal-title,
.theme-dark .app-reviews__label {
    color: #f3f4f6;
}

.theme-dark .app-reviews__staff-badge {
    color: #60a5fa;
}

.theme-dark .app-reviews__item--reply {
    background: rgba(96, 165, 250, 0.07);
}

.theme-dark .app-reviews__bar-track {
    background: rgba(255, 255, 255, 0.08);
}

.theme-dark .app-reviews__chip,
.theme-dark .app-reviews__action,
.theme-dark .app-reviews__more,
.theme-dark .app-reviews__modal-close,
.theme-dark .app-reviews__btn,
.theme-dark .app-reviews__textarea {
    color: #e5e7eb;
}

.theme-dark .app-reviews__action.is-active,
.theme-dark .app-reviews__action.is-active i {
    color: #93c5fd;
}

.theme-dark
    .app-reviews__action.is-active
    i.ph-duotone.app-reviews__react-icon:before,
.theme-dark
    .app-reviews__action.is-active
    i.ph-duotone.app-reviews__react-icon:after {
    opacity: 1;
}

.theme-dark .app-reviews__action:disabled {
    opacity: 0.45;
}

.theme-dark .app-reviews__more-menu.dropdown-menu {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(17, 24, 39, 0.96);
}

.theme-dark .app-reviews__more-item.dropdown-item {
    color: #e5e7eb;
}

.theme-dark .app-reviews__more-item.dropdown-item:hover,
.theme-dark .app-reviews__more-item.dropdown-item:focus {
    background: rgba(248, 113, 113, 0.14);
}

.theme-dark .star-rating__base {
    color: rgba(255, 255, 255, 0.22);
}

.theme-dark .app-reviews__list-loading {
    background: rgba(15, 17, 23, 0.88);
}

.theme-dark .app-reviews__list-loading-text {
    color: #e5e7eb;
}

.theme-dark .app-reviews__spinner {
    border-color: rgba(96, 165, 250, 0.22);
    border-top-color: #60a5fa;
}

.theme-dark .app-reviews__list-load-more {
    background: none;
    border: 0;
    box-shadow: none;
}

.theme-dark .app-reviews__list-load-more-text {
    color: #9ca3af;
}

.theme-dark .app-reviews__spinner--load-more {
    border-color: rgba(54, 169, 109, 0.22);
    border-top-color: rgb(54, 169, 109);
}

.theme-dark .app-reviews__index-append-alert {
    background: rgba(127, 29, 29, 0.35);
    border-color: rgba(248, 113, 113, 0.35);
}

.theme-dark .app-reviews__index-append-alert-text {
    color: #fecaca;
}

.theme-dark .app-reviews__index-append-retry {
    background: #60a5fa;
    color: #0f172a;
}

.theme-dark .app-reviews__index-append-retry:hover {
    background: #93c5fd;
}

.theme-dark .app-reviews__index-end-notice {
    color: #9ca3af;
    background: rgba(24, 28, 36, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.theme-dark .app-reviews__index-load-more-btn {
    color: #8ed4ae;
    background: transparent;
    border-color: rgba(54, 169, 109, 0.55);
}

.theme-dark .app-reviews__index-load-more-btn:hover:not(:disabled) {
    color: #b7e6cb;
    background: rgba(54, 169, 109, 0.12);
    border-color: rgb(54, 169, 109);
}

/* ——— App search page ——— */
/* فاصله از header-bar شناور و footer-bar ثابت (مثل header-clear-medium + safe-footer) */






































/* فقط دکمهٔ پاک‌کردن سفارشی — نه × پیش‌فرض type=search مرورگر */










































.theme-sheet-navigator__view {
    display: none;
}

.theme-sheet-navigator__view.is-active {
    display: block;
    animation: themeSheetViewIn 0.22s ease;
}

@keyframes themeSheetViewIn {
    from {
        opacity: 0;
        transform: translateX(1rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.theme-sheet-navigator--picker .theme-sheet-navigator__view--picker.is-active {
    animation-name: themeSheetViewInPicker;
}

@keyframes themeSheetViewInPicker {
    from {
        opacity: 0;
        transform: translateX(-1rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.theme-sheet-navigator__picker-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(15, 17, 23, 0.08);
}

.theme-sheet-navigator__picker-title {
    margin: 0;
    padding: 0.25rem 0.25rem 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f1117;
    line-height: 1.4;
    text-align: center;
}

.theme-sheet-navigator__back {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    cursor: pointer;
    flex-shrink: 0;
}

.theme-sheet-navigator__back:hover,
.theme-sheet-navigator__back:focus-visible {
    background: rgba(76, 175, 80, 0.18);
    outline: none;
}

.theme-sheet-navigator__back .ph-duotone {
    font-size: 1.2rem;
    line-height: 1;
}

.theme-sheet-navigator__picker-list {
    margin: 0;
    max-height: min(52vh, 22rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    direction: rtl;
}

.theme-sheet-navigator__picker-list .theme-sheet-navigator__option {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: center;
    padding: 0.72rem 2.35rem !important;
    color: #0f1117;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
}

.theme-sheet-navigator__picker-list.list-custom
    .theme-sheet-navigator__option
    .theme-sheet-navigator__option-label {
    display: block;
    flex: 0 1 auto;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-align: center;
    pointer-events: none;
}

.theme-sheet-navigator__picker-list
    .theme-sheet-navigator__option:focus-visible {
    outline: 2px solid rgba(76, 175, 80, 0.55);
    outline-offset: -2px;
}

.theme-sheet-navigator__picker-list .theme-sheet-navigator__option.is-selected,
.theme-sheet-navigator__picker-list
    .theme-sheet-navigator__option[aria-selected="true"] {
    color: #2e7d32;
    background: rgba(76, 175, 80, 0.1);
}

.theme-sheet-navigator__picker-list .theme-sheet-navigator__option-check {
    position: absolute !important;
    inset-inline-start: 0.65rem !important;
    inset-inline-end: auto !important;
    top: 50% !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
    color: #4caf50;
    opacity: 0;
    transform: translateY(-50%) scale(0.85);
    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
    pointer-events: none;
}

.theme-sheet-navigator__picker-list
    .theme-sheet-navigator__option.is-selected
    .theme-sheet-navigator__option-check,
.theme-sheet-navigator__picker-list
    .theme-sheet-navigator__option[aria-selected="true"]
    .theme-sheet-navigator__option-check {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.theme-sheet-select {
    direction: rtl;
}

.theme-sheet-select__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.theme-sheet-select__trigger {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 1.35rem;
    align-items: center;
    column-gap: 0.5rem;
    width: 100%;
    min-height: 3.15rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(15, 17, 23, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 17, 23, 0.05);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.theme-sheet-select__trigger:hover,
.theme-sheet-select__trigger:focus-visible {
    border-color: rgba(76, 175, 80, 0.55);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.14);
    outline: none;
}

.theme-sheet-select--active .theme-sheet-select__trigger {
    border-color: rgba(76, 175, 80, 0.45);
    background: rgba(76, 175, 80, 0.04);
}

.theme-sheet-select__icon {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: rgba(76, 175, 80, 0.12);
    color: #4caf50;
    font-size: 1.1rem;
}

.theme-sheet-select__body {
    grid-column: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    text-align: center;
}

.theme-sheet-select__label {
    display: block;
    width: 100%;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.25;
}

.theme-sheet-select__value {
    display: block;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f1117;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theme-sheet-select__chevron-wrap {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-sheet-select__chevron {
    font-size: 0.9rem;
    color: #9ca3af;
    opacity: 0.9;
    line-height: 1;
}

.app-search-filter-sheet .theme-bottom-sheet__head {
    align-items: center;
    margin-bottom: 12px;
}

.app-search-filter-sheet .theme-bottom-sheet__head-actions {
    align-self: center;
}











.theme-dark .theme-sheet-navigator__picker-head {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.theme-dark .theme-sheet-navigator__picker-title {
    color: #f3f4f6;
}

.theme-dark .theme-sheet-navigator__picker-list .theme-sheet-navigator__option {
    color: #e5e7eb;
}

.theme-dark
    .theme-sheet-navigator__picker-list
    .theme-sheet-navigator__option.is-selected,
.theme-dark
    .theme-sheet-navigator__picker-list
    .theme-sheet-navigator__option[aria-selected="true"] {
    color: #a5d6a7;
    background: rgba(76, 175, 80, 0.14);
}

.theme-dark
    .theme-sheet-navigator__picker-list.list-custom
    .theme-sheet-navigator__option
    .theme-sheet-navigator__option-label {
    color: inherit;
}

.theme-dark .theme-sheet-select__trigger {
    background: rgba(24, 28, 36, 0.96);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.theme-dark .theme-sheet-select--active .theme-sheet-select__trigger {
    background: rgba(76, 175, 80, 0.08);
    border-color: rgba(76, 175, 80, 0.35);
}

.theme-dark .theme-sheet-select__label {
    color: #9ca3af;
}

.theme-dark .theme-sheet-select__value {
    color: #f3f4f6;
}



/* ——— Member bell: آخرین اطلاعیه‌ها (bottom sheet) ——— */
.member-bell-sheet.theme-bottom-sheet.offcanvas {
    max-height: min(88vh, 640px);
}

.member-bell-sheet .theme-bottom-sheet__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--app-detail-hero-title, #111827);
}

.member-bell-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: min(58vh, 420px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.member-bell-list__item {
    margin: 0;
}

.member-bell-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 12px 12px 12px 14px;
    border-radius: 12px;
    background: var(--app-detail-stat-bg, #f9fafb);
    border: 1px solid var(--app-detail-stat-border, rgba(0, 0, 0, 0.06));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    text-decoration: none;
    color: inherit;
    position: relative;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

a.member-bell-card:hover,
a.member-bell-card:focus-visible {
    background: #f3f4f6;
    border-color: rgba(76, 201, 134, 0.35);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    color: inherit;
}

.member-bell-list__item.is-unread .member-bell-card {
    border-color: rgba(76, 201, 134, 0.28);
}

.member-bell-card__icon-wrap {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--app-detail-hero-icon-bg, #fff);
    border: 1px solid var(--app-detail-hero-icon-border, rgba(0, 0, 0, 0.06));
    display: grid;
    place-items: center;
}

.member-bell-card__app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-bell-card__type-icon {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #10b981;
    font-size: 1.45rem;
}

.member-bell-card__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.member-bell-card__title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--app-detail-stat-value, #111827);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.member-bell-card__text {
    font-size: 12px;
    line-height: 1.65;
    color: var(--app-detail-lead, #4b5563);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.member-bell-card__time {
    font-size: 11px;
    font-weight: 600;
    color: var(--app-detail-stat-label, #6b7280);
    margin-top: 2px;
}

.member-bell-card__unread-dot {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4cc986;
    box-shadow: 0 0 0 2px var(--app-detail-stat-bg, #f9fafb);
}

.member-bell-empty {
    margin-top: 4px;
}

.member-bell-empty__icon {
    color: #9ca3af;
}

.theme-dark .member-bell-sheet .theme-bottom-sheet__title {
    color: var(--app-detail-hero-title, #f9fafb);
}

.theme-dark .member-bell-card {
    background: var(--app-detail-stat-bg, #1b1d24);
    border-color: var(--app-detail-stat-border, rgba(255, 255, 255, 0.06));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.theme-dark a.member-bell-card:hover,
.theme-dark a.member-bell-card:focus-visible {
    background: #23262f;
    border-color: rgba(85, 200, 136, 0.35);
}

.theme-dark .member-bell-card__title {
    color: var(--app-detail-stat-value, #f9fafb);
}

.theme-dark .member-bell-card__text {
    color: var(--app-detail-lead, rgba(255, 255, 255, 0.72));
}

.theme-dark .member-bell-card__time {
    color: var(--app-detail-stat-label, rgba(255, 255, 255, 0.72));
}

.theme-dark .member-bell-card__unread-dot {
    box-shadow: 0 0 0 2px var(--app-detail-stat-bg, #1b1d24);
}

/* PWA — بروزرسانی نرم‌افزار (سایدبار) */
.menu-list a.pwa-update-nav {
    position: relative;
}

.menu-list a.pwa-update-nav > span.pwa-update-nav__label {
    display: block;
    flex: 1;
    min-width: 0;
    padding-right: 0;
}

.menu-list a.pwa-update-nav.pwa-update-nav--has-update {
    padding-left: 3.5rem;
}

.menu-list a.pwa-update-nav.pwa-update-nav--has-update .menu-icon-circle {
    box-shadow:
        0 0 0 2px rgba(59, 130, 246, 0.35),
        0 4px 12px rgba(59, 130, 246, 0.2);
}

/* override .menu-list a > span — متن خاکستری و display:block */
.menu-list a.pwa-update-nav > span.pwa-update-nav__badge {
    position: absolute;
    left: 1.1rem;
    top: 0;
    bottom: 0;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    padding: 0.2rem 0.45rem 0.2rem 0.36rem;
    margin-block: auto;
    margin-inline: 0;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        #fb7185 0%,
        #ef4444 52%,
        #dc2626 100%
    ) !important;
    color: #fff !important;
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.03em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    pointer-events: none;
}

.menu-list a.pwa-update-nav > span.pwa-update-nav__badge[hidden] {
    display: none !important;
}

.menu-list a.pwa-update-nav .pwa-update-nav__badge-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
    animation: pwa-update-nav-badge-pulse 1.6s ease-in-out infinite;
}

@keyframes pwa-update-nav-badge-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.82);
    }
}

@media (prefers-reduced-motion: reduce) {

    .menu-list a.pwa-update-nav .pwa-update-nav__badge-dot {
        animation: none;
    }
}


/* شیت نصب PWA — آیکن وسط‌چین؛ دکمه بستن روی لایهٔ جدا تا تقارن بصری نشکند */
.pwa-install-sheet .theme-bottom-sheet__inner {
    position: relative;
    padding-top: 12px;
}

.pwa-install-sheet .theme-bottom-sheet__head {
    position: absolute;
    top: 8px;
    inset-inline: 8px;
    z-index: 2;
    margin: 0;
    pointer-events: none;
}

.pwa-install-sheet .theme-bottom-sheet__head-main {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pwa-install-sheet .theme-bottom-sheet__head-actions {
    pointer-events: auto;
    margin-inline-start: auto;
}

.pwa-install-sheet__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 28px;
}

.pwa-install-sheet__icon {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.pwa-install-sheet__hero .theme-bottom-sheet__foot-callout {
    width: 100%;
    text-align: start;
}

.pwa-install-sheet__hero .theme-bottom-sheet__submit {
    width: 100%;
}

/* شیت بروزرسانی PWA — فشرده */
#menu-pwa-update.pwa-update-sheet .theme-bottom-sheet__inner {
    padding-top: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

#menu-pwa-update.pwa-update-sheet .theme-bottom-sheet__head {
    margin-bottom: 0.35rem;
    padding-bottom: 0;
}

#menu-pwa-update.pwa-update-sheet .theme-bottom-sheet__kicker {
    font-size: 0.72rem;
    margin-bottom: 0.1rem;
}

#menu-pwa-update.pwa-update-sheet .theme-bottom-sheet__title {
    font-size: 1rem;
    line-height: 1.35;
}

.pwa-update-sheet__hero {
    text-align: center;
    margin-bottom: 0.65rem;
}

.pwa-update-sheet__logo-wrap {
    position: relative;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 0.45rem;
}

.pwa-update-sheet__logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.7rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.theme-dark .pwa-update-sheet__logo {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.pwa-update-sheet__checking {
    position: absolute;
    inset: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pwa-update-sheet__checking[hidden] {
    display: none !important;
}

.theme-dark .pwa-update-sheet__checking {
    background: rgba(19, 30, 43, 0.78);
}

.pwa-update-sheet__spinner {
    width: 1.65rem;
    height: 1.65rem;
    border: 2px solid rgba(59, 130, 246, 0.22);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: pwa-update-sheet-spin 0.65s linear infinite;
}

@keyframes pwa-update-sheet-spin {
    to {
        transform: rotate(360deg);
    }
}

.pwa-update-sheet__status {
    margin: 0;
    padding: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    opacity: 0.72;
    color: inherit;
}

.pwa-update-sheet__versions {
    border-radius: 0.65rem;
    padding: 0.5rem 0.7rem;
    margin-bottom: 0.6rem;
    background: rgba(15, 23, 42, 0.04);
}

.theme-dark .pwa-update-sheet__versions {
    background: rgba(255, 255, 255, 0.06);
}

.pwa-update-sheet__version-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.45;
}

.pwa-update-sheet__version-row + .pwa-update-sheet__version-row {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.theme-dark .pwa-update-sheet__version-row + .pwa-update-sheet__version-row {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.pwa-update-sheet__version-label {
    opacity: 0.62;
}

.pwa-update-sheet__version-value {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pwa-update-sheet__notes {
    margin-bottom: 0.6rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.65rem;
    background: rgba(59, 130, 246, 0.06);
}

.theme-dark .pwa-update-sheet__notes {
    background: rgba(59, 130, 246, 0.12);
}

.pwa-update-sheet__notes-title {
    margin: 0 0 0.3rem;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-highlight, #3b82f6);
}

.pwa-update-sheet__notes-list {
    margin: 0;
    padding: 0 1rem 0 0;
    list-style: disc;
    font-size: 0.72rem;
    line-height: 1.55;
    opacity: 0.85;
}

.pwa-update-sheet__notes-item + .pwa-update-sheet__notes-item {
    margin-top: 0.15rem;
}

.pwa-update-sheet__submit {
    margin-top: 0.15rem !important;
}

@media (prefers-reduced-motion: reduce) {

    .pwa-update-sheet__spinner {
        animation-duration: 0.01ms;
    }
}


.pwa-force-overlay {
    position: fixed;
    inset: 0;
    z-index: 11050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.pwa-force-overlay__card {
    max-width: 22rem;
    width: 100%;
}

.pwa-force-overlay__icon {
    width: 3.5rem;
    height: 3.5rem;
}

body.pwa-force-update-active {
    overflow: hidden;
}

body.pwa-force-update-active #page {
    pointer-events: none;
    user-select: none;
}

/* ——— HTTP error pages (404 / 419 / 500) ——— */
.http-error {
    --http-error-accent: rgb(54, 169, 109);
    --http-error-accent-soft: rgba(54, 169, 109, 0.16);
    --http-error-ink: #111827;
    --http-error-muted: #6b7280;
    --http-error-ring: rgba(15, 17, 23, 0.08);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.http-error--pwa {
    margin-top: calc(4rem + env(safe-area-inset-top, 0px) * 0.8);
    padding: 1.75rem 1.15rem calc(5.85rem + env(safe-area-inset-bottom, 0px));
    min-height: calc(100dvh - 8.75rem);
}

.http-error--desktop {
    min-height: calc(100dvh - 11rem);
    padding: 3.25rem 1.5rem 4rem;
}

.http-error--desktop .http-error__stage {
    width: min(100%, 32rem);
}

.http-error__stage--illustration {
    width: min(100%, 30rem);
}

.http-error--desktop .http-error__stage--illustration {
    width: min(100%, 32rem);
}

.http-error__stage--illustration .http-error__glow {
    display: none;
}

.http-error__stage--illustration .http-error__card {
    overflow: visible;
    padding-top: 0.35rem;
}

.http-error__illustration {
    display: block;
    width: min(100%, 480px);
    height: auto;
    margin-inline: auto;
    margin-bottom: 0.35rem;
    pointer-events: none;
    user-select: none;
}

.http-error--desktop .http-error__card {
    border-radius: 0;
}

.http-error--desktop .http-error__icon {
    width: 5.25rem;
    height: 5.25rem;
    font-size: 3.2rem;
}

.http-error--desktop .http-error__title {
    font-size: 1.7rem;
}

.http-error--desktop .http-error__lead {
    font-size: 0.9375rem;
}

.http-error--warn {
    --http-error-accent: #d97706;
    --http-error-accent-soft: rgba(217, 119, 6, 0.16);
}

.http-error--danger {
    --http-error-accent: #dc2626;
    --http-error-accent-soft: rgba(220, 38, 38, 0.14);
}

.theme-dark .http-error {
    --http-error-ink: #f3f4f6;
    --http-error-muted: #9ca3af;
    --http-error-ring: rgba(255, 255, 255, 0.1);
}

.http-error__stage {
    position: relative;
    width: min(100%, 28.75rem);
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
    text-align: center;
}

.http-error__glow {
    position: absolute;
    inset: 0 0 auto;
    height: 13.5rem;
    background: radial-gradient(ellipse at 50% 28%, var(--http-error-accent-soft), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.http-error__card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 2.35rem 1.45rem 1.7rem;
    background: none;
    border: 0;
    box-shadow: none;
}

.http-error__code {
    position: absolute;
    top: 0.2rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(4.6rem, 22vw, 7.1rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.78;
    color: var(--http-error-accent);
    opacity: 0.1;
    pointer-events: none;
    user-select: none;
}

.http-error__icon {
    position: relative;
    width: 4.75rem;
    height: 4.75rem;
    margin: 0.85rem auto 1.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--http-error-accent);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 62%),
        var(--http-error-accent-soft);
    box-shadow:
        0 0 0 8px color-mix(in srgb, var(--http-error-accent-soft) 72%, transparent),
        0 10px 22px rgba(15, 17, 23, 0.06);
    font-size: 3.2rem;
    line-height: 1;
}

.theme-dark .http-error__icon {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 62%),
        var(--http-error-accent-soft);
}

.http-error__kicker {
    position: relative;
    margin: 0 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--http-error-accent);
}

.http-error__title {
    position: relative;
    margin: 0 0 0.7rem;
    font-size: clamp(1.2rem, 3.4vw, 1.55rem);
    font-weight: 800;
    line-height: 1.45;
    color: var(--http-error-ink);
}

.http-error__lead {
    position: relative;
    margin: 0 auto;
    max-width: 24.5rem;
    font-size: 0.875rem;
    line-height: 1.85;
    color: var(--http-error-muted);
}

.http-error__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 1.45rem;
}

.http-error__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.http-error__btn i {
    font-size: 1.05rem;
}

.http-error__btn--primary {
    background: var(--http-error-accent);
    color: #fff;
    border: 1px solid transparent;
}

.http-error__btn--primary:hover,
.http-error__btn--primary:focus-visible {
    filter: brightness(1.06);
    color: #fff;
}

.http-error__btn--secondary {
    background: transparent;
    color: var(--http-error-ink);
    border: 1px solid var(--http-error-ring);
}

.http-error__btn--secondary:hover,
.http-error__btn--secondary:focus-visible {
    border-color: color-mix(in srgb, var(--http-error-accent) 45%, var(--http-error-ring));
    color: var(--http-error-ink);
}

.http-error__btn:focus-visible {
    outline: 2px solid var(--http-error-accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .http-error__btn {
        transition: none;
    }
}


.http-error-standalone-body {
    margin: 0;
    min-height: 100dvh;
    background: #f1f1f7;
    color: #111827;
    font-family: IRANSansX, "IRANSansX Fallback", Tahoma, sans-serif;
}

html.theme-dark .http-error-standalone-body,
.http-error-standalone-body.theme-dark {
    background: #18191a;
    color: #f3f4f6;
}

.http-error-standalone__header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: 0.85rem 1.15rem;
}

.http-error-standalone__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: inherit;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
}

.http-error-standalone__logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
}

.http-error--standalone.http-error--pwa,
.http-error--standalone.http-error--desktop {
    margin-top: 0;
    min-height: calc(100dvh - 4.5rem);
    padding: 1.75rem 1.15rem 2.75rem;
}

