:root {
    color-scheme: light;
    --dl-bg: #eef0f2;
    --dl-surface: #fff;
    --dl-soft: #f5f6f7;
    --dl-text: #20252d;
    --dl-muted: #606b79;
    --dl-line: #dce1e7;
    --dl-link: #a53720;
}
@supports (color: light-dark(white, black)) {
    :root {
        --dl-bg: light-dark(#eef0f2, #15181d);
        --dl-surface: light-dark(#fff, #20242b);
        --dl-soft: light-dark(#f5f6f7, #292e37);
        --dl-text: light-dark(#20252d, #f3f4f6);
        --dl-muted: light-dark(#606b79, #b7c0cd);
        --dl-line: light-dark(#dce1e7, #383f4b);
        --dl-link: light-dark(#a53720, #ffab94);
    }
}

:root[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) { color-scheme: dark; }
}

body,
#page.bg-light {
    background: var(--dl-bg) !important;
    color: var(--dl-text);
}

#page .bg-white,
#page .site-nav,
#page .site-nav .sub-menu,
#page .pagination .page-link { background-color: var(--dl-surface) !important; }
#page .bg-light,
#page .btn-light,
#page .form-control,
#page .table-striped tbody tr:nth-of-type(odd) { background-color: var(--dl-soft) !important; }
#page .border,
#page .border-top,
#page .border-bottom,
#page .table td,
#page .table th,
#page .form-control,
#page .pagination .page-link { border-color: var(--dl-line) !important; }
#page :where(a:not(.btn)) { color: var(--dl-link); }
#page .text-body,
#page .navbar-brand,
#page .site-nav .menu a,
#page .btn-light,
#page .form-control,
#page .table,
#page .pagination .page-link { color: var(--dl-text) !important; }
#page .pagination .active .page-link { color: #fff !important; }
#page .site-nav .menu > :is(.current-menu-item, .current-category-ancestor, .current-post-ancestor) > a { color: var(--dl-link) !important; }
#page .text-muted,
#page .breadcrumb-item.active,
#page .form-control::placeholder { color: var(--dl-muted) !important; }
#page .site-header button svg { fill: currentColor; }
#page .site-header button { color: var(--dl-text); }
#page .site-nav .sub-menu { border-color: var(--dl-line); }
#page .accordion .toggler.collapsed { background-color: var(--dl-soft) !important; color: var(--dl-link) !important; }
#page .container { max-width: 1280px; }
#page .content-area > .rounded,
#page .content-area > article,
#page aside .rounded.shadow-sm { border-radius: 16px !important; }
#page .content-area > .shadow-sm,
#page aside .shadow-sm { box-shadow: none !important; }
#page .archive-post.border {
    background: var(--dl-surface);
    border-radius: 12px !important;
}
#page .archive-post.border > .d-flex { align-items: center; }
#page .archive-post h3 { unicode-bidi: plaintext; }
#page .archive-post img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
#page :focus-visible { outline: 2px solid var(--dl-link); outline-offset: -2px; }

.downlody-search { width: min(26vw, 300px); min-width: 0; }
.downlody-theme-toggle:not([hidden]) {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    margin-inline-start: 8px;
    padding: 0;
    border: 1px solid var(--dl-line);
    border-radius: 12px;
    background: var(--dl-soft);
    font: 24px/1 system-ui, sans-serif;
}
.downlody-sun,
.downlody-theme-toggle[aria-pressed="true"] .downlody-moon { display: none; }
.downlody-theme-toggle[aria-pressed="true"] .downlody-sun { display: inline; }

.downlody-featured {
    padding: 20px 20px 4px;
    border: 1px solid var(--dl-line);
    border-radius: 18px;
    background: linear-gradient(125deg, light-dark(#fff4ee, #392922), var(--dl-surface) 75%);
    background-color: var(--dl-surface);
    border-block-start: 3px solid var(--dl-brand);
}
.downlody-featured h2 {
    display: flex;
    gap: .55em;
    align-items: center;
    margin: 0 0 16px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 700;
}
.downlody-featured h2 span { color: var(--dl-link); }

.downlody-ad {
    margin: 0 auto 10px;
    text-align: center;
}
.downlody-ad-label {
    margin: 0 0 4px;
    color: var(--dl-muted);
    font-size: .75rem;
}
.downlody-ad-slot { max-width: 970px; margin-inline: auto; }
.downlody-download-panel {
    padding: 12px;
    background: var(--dl-soft);
}
#page .downlody-download-cta {
    min-height: 48px;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    line-height: 1.5;
}
#download-loading { display: none; }
#page a.dl-google-play-badge {
    display: inline-flex; direction: ltr; align-items: center; gap: 10px;
    max-width: 100%; min-height: 50px; box-sizing: border-box;
    padding: 6px 12px; margin-block-end: 12px; border: 1px solid #a6a6a6;
    border-radius: 8px; background: #111; color: #fff; text-decoration: none;
}
#page a.dl-google-play-badge:hover { background: #242424; color: #fff; }
.dl-google-play-mark {
    flex: 0 0 26px; height: 30px; border-radius: 4px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    background: conic-gradient(from 45deg at 46% 50%, #fbbc04 0 90deg, #ea4335 90deg 180deg, #4285f4 180deg 270deg, #34a853 270deg);
}
.dl-google-play-copy { display: grid; text-align: left; line-height: 1.15; }
.dl-google-play-copy small { font-size: 10px; font-weight: 500; }
.dl-google-play-copy strong { font-size: 21px; font-weight: 600; white-space: nowrap; }
.downlody-waiting #download-loading { display: block; }
.downlody-waiting #download-block { display: none; }
#download { scroll-margin-block-start: 80px; }

@media (max-width: 991.98px) {
    #page .site-header .navbar-brand img { max-width: min(28vw, 140px); max-height: 38px !important; }
    .downlody-search { width: auto; flex: 1 1 0; }
    .downlody-featured { padding: 14px 10px 4px; }
    .downlody-rail.row {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        margin-inline: 0;
        padding-block-end: 8px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline proximity;
        scrollbar-width: thin;
    }
    .downlody-rail.row > div {
        flex: 0 0 calc((100% - 28px) / 4.5);
        max-width: none;
        min-width: 0;
        margin: 0 !important;
        padding: 0;
        scroll-snap-align: start;
    }
    .downlody-rail-wide.row > div { flex-basis: calc((100% - 19px) / 3.35); }
    #page .downlody-rail .archive-post > .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 8px 4px !important;
    }
    #page .downlody-rail .archive-post > .d-flex > :first-child {
        width: min(100%, 60px) !important;
        margin: 0 !important;
    }
    #page .downlody-rail .archive-post > .d-flex > :last-child { width: 100%; }
    #page .downlody-rail h3 { font-size: .75rem; }
    #page .downlody-rail:not(.downlody-rail-wide) .archive-post .small { display: none; }
    #page .downlody-rail-wide .archive-post .small { font-size: .625rem; }
    .downlody-ad-slot {
        width: 100%;
        margin-inline: auto;
        overflow: visible;
        text-align: center;
    }
    .downlody-app-heading,
    #page .downlody-download-heading {
        display: flex;
        gap: 10px;
        align-items: center;
        margin-block: 8px !important;
        text-align: start !important;
    }
    #page .downlody-app-heading > div:first-child { width: 52px !important; margin: 0 !important; }
    #page .downlody-download-heading img { width: 48px; height: 48px; margin: 0 !important; }
    #page .downlody-app-heading h1,
    #page .downlody-download-heading h1 { margin: 0 !important; font-size: 1rem; overflow-wrap: anywhere; }
    .downlody-app-heading time { font-size: .75rem; }
    #page .downlody-waiting #download-loading { display: none; }
    #page .downlody-waiting #download-block { display: block; }
    #page .downlody-download-panel,
    #page article > .downlody-download-cta {
        position: sticky;
        bottom: max(8px, env(safe-area-inset-bottom));
        z-index: 10;
        box-shadow: 0 2px 14px #0002;
    }
    #page .downlody-download-panel { padding: 6px; }
    #page .downlody-download-panel .downlody-download-cta { display: block; }
    #page .downlody-download-panel #download-block p { font-size: .75rem; }
}
:root {
    --dl-bg: #f0f1f5;
    --dl-surface: #fff;
    --dl-soft: #fdf0eb;
    --dl-text: #212529;
    --dl-muted: #5f6772;
    --dl-line: #e6e8ec;
    --dl-link: var(--dl-panel-brand, #c23a18);
    --dl-band: #fcebe4;
    --dl-band-line: #fbe3da;
    --dl-footer: #343a40;
    --dl-gutter: clamp(16px, 4vw, 50px);
}
:root[data-theme="dark"] {
    --dl-bg: #16181b; --dl-surface: #1f2226; --dl-soft: #33211b;
    --dl-text: #e9ebee; --dl-muted: #a1a8b0; --dl-line: #2d3136;
    --dl-link: var(--dl-panel-brand, #ff7a57); --dl-band: #2a1e1a; --dl-band-line: #4a2a1f; --dl-footer: #0f1113;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --dl-bg: #16181b; --dl-surface: #1f2226; --dl-soft: #33211b;
        --dl-text: #e9ebee; --dl-muted: #a1a8b0; --dl-line: #2d3136;
        --dl-link: var(--dl-panel-brand, #ff7a57); --dl-band: #2a1e1a; --dl-band-line: #4a2a1f; --dl-footer: #0f1113;
    }
}
.dl-home, .dl-sidebar, .dl-masthead, .dl-footer { font-family: system-ui, "Segoe UI", Tahoma, sans-serif; }
.dl-masthead {
    position: relative; z-index: 20; width: 100%; background: var(--dl-surface);
    color: var(--dl-text); border-bottom: 1px solid var(--dl-line);
}
.dl-header-inner {
    display: flex; min-height: 64px; align-items: center;
    max-width: 1280px; margin-inline: auto; box-sizing: border-box;
    gap: 28px; padding-inline: var(--dl-gutter);
}
body:has(.dl-masthead) #page { padding-top: 0; }
#page a.dl-wordmark { display: inline-block; font-size: 27px; font-weight: 800; letter-spacing: -.5px; color: var(--dl-text); text-decoration: none; white-space: nowrap; }
.dl-wordmark span { color: var(--dl-link); }
.dl-footer .dl-wordmark span { color: var(--dl-panel-brand, #ff7a57); }
.dl-wordmark img { display: block; width: var(--dl-logo-width, auto); height: var(--dl-logo-height, auto); max-width: min(var(--dl-logo-width, 160px), 34vw); max-height: var(--dl-logo-height, 40px); object-fit: contain; }
.dl-wordmark .dl-logo-dark, :root[data-theme="dark"] .dl-wordmark .dl-logo-light { display: none; }
:root[data-theme="dark"] .dl-wordmark .dl-logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .dl-wordmark .dl-logo-light { display: none; }
    :root:not([data-theme="light"]) .dl-wordmark .dl-logo-dark { display: block; }
}
.dl-nav { display: flex; align-self: stretch; gap: 2px; }
#page .dl-nav a { display: flex; align-items: center; padding: 0 14px; border-bottom: 2px solid transparent; color: var(--dl-text); font-weight: 600; text-decoration: none; }
#page .dl-nav a[aria-current], #page .dl-nav a:hover { color: var(--dl-link); border-color: var(--dl-link); }
.dl-header-search { flex: 1; max-width: 550px; margin-inline-start: auto; }
.dl-search { display: flex; min-width: 0; align-items: center; gap: 8px; background: var(--dl-bg); border: 1px solid var(--dl-line); border-radius: 10px; padding-inline: 10px; }
.dl-search:focus-within { border-color: var(--dl-link); }
.dl-search input { width: 100%; min-width: 0; height: 40px; border: 0; outline: 0; color: var(--dl-text); background: transparent; }
.dl-search input::placeholder { color: var(--dl-muted); }
.dl-search button, .dl-theme, .dl-menu-toggle, .dl-arrows button, .dl-tab-buttons button { border: 0; background: transparent; color: inherit; }
.dl-search button { padding: 3px; }
.dl-theme, .dl-menu-toggle { min-width: 36px; min-height: 36px; border: 1px solid var(--dl-line); border-radius: 9px; }
.dl-theme .dl-sun, .dl-theme[aria-pressed="true"] .dl-moon { display: none; }
.dl-theme[aria-pressed="true"] .dl-sun { display: inline; }
.dl-menu-toggle { display: none; }
.dl-language { position: relative; }
.dl-language summary { white-space: nowrap; cursor: pointer; }
.dl-language ul { position: absolute; inset-inline-end: 0; min-width: 130px; list-style: none; padding: 6px; margin: 6px 0 0; background: var(--dl-surface); border: 1px solid var(--dl-line); border-radius: 10px; }
#page .dl-language a { display: block; padding: 6px 8px; border-radius: 6px; color: var(--dl-text); }
#page .dl-language a[aria-current="page"] { color: var(--dl-link); background: var(--dl-soft); font-weight: 700; }
#page .dl-language a:hover, #page .dl-language a:focus-visible { background: var(--dl-soft); }
.dl-language[open] .dl-language-chevron { transform: rotate(180deg); }
.dl-home { padding: 20px var(--dl-gutter) 32px; max-width: 1280px; margin-inline: auto; box-sizing: border-box; }
.dl-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.dl-home main, .dl-sidebar { display: flex; min-width: 0; flex-direction: column; gap: 20px; }
.dl-panel, .dl-download-tabs { min-width: 0; background: var(--dl-surface); border-radius: 14px; padding: 12px 20px 18px; color: var(--dl-text); }
.dl-picks { background: var(--dl-band); border: 1px solid var(--dl-band-line); padding-top: 18px; }
.dl-panel-head { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 10px; }
.dl-panel h2, .dl-about h2, .dl-download-tabs > .dl-panel-head h2 { font-size: 20px; font-weight: 700; margin: 0; }
.dl-panel-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
#page .dl-view-all { display: inline-flex; align-items: center; gap: 4px; color: var(--dl-link); font-size: 14px; font-weight: 600; white-space: nowrap; }
.dl-view-all svg { flex: none; }
[dir="rtl"] .dl-view-all svg { transform: scaleX(-1); }
.dl-items { display: grid; gap: 12px; }
.dl-rail .dl-items, .dl-picks .dl-items { display: flex; overflow-x: auto; scrollbar-width: none; overscroll-behavior-inline: contain; }
.dl-rail .dl-items::-webkit-scrollbar, .dl-picks .dl-items::-webkit-scrollbar { display: none; }
.dl-rail .dl-card, .dl-picks .dl-card { display: flex; flex: 0 0 105px; min-width: 0; flex-direction: column; align-items: center; text-align: center; }
.dl-rail .dl-card img, .dl-picks .dl-card img, .dl-rail .dl-placeholder, .dl-picks .dl-placeholder { width: 76px; height: 76px; border-radius: 16px; }
.dl-picks .dl-card { flex-basis: 92px; }
.dl-pick-icon {
    --dl-ring: linear-gradient(135deg, #ff923d, var(--dl-panel-brand, #e5512c) 55%, var(--dl-link));
    position: relative; display: grid; place-items: center; overflow: hidden;
    width: 88px; height: 88px; box-sizing: border-box; border: 3px solid transparent; border-radius: 50%;
    background: linear-gradient(var(--dl-band), var(--dl-band)) padding-box, var(--dl-ring) border-box;
}
.dl-picks .dl-pick-icon img, .dl-picks .dl-pick-icon .dl-placeholder { width: 76px; height: 76px; border-radius: 50%; }
.dl-card:is(.is-seen, :active) .dl-pick-icon { --dl-ring: linear-gradient(135deg, #a4a9af, #737a82); }
.dl-pick-frame { position: relative; display: block; max-width: 100%; }
.dl-pick-badge {
    position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%);
    border: 2px solid var(--dl-band); border-radius: 9px; padding: 1px 5px;
    background: #c83817; color: #fff; font-size: 10px; font-weight: 700;
    line-height: 1.25; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
@media (prefers-reduced-motion: no-preference) {
    .dl-pick-icon::after {
        content: ""; position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(115deg, transparent 35%, #fff8 50%, transparent 65%);
        transform: translateX(-110%);
        animation: dl-pick-sheen 800ms ease-out var(--dl-sheen-delay, 180ms) 1;
    }
}
@keyframes dl-pick-sheen { to { transform: translateX(110%); } }
.dl-list-grid .dl-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#page .dl-card { position: relative; display: flex; min-width: 0; align-items: center; gap: 10px; padding: 6px 0; color: var(--dl-text); text-decoration: none; }
#page .dl-card:hover strong { color: var(--dl-link); }
.dl-card img, .dl-placeholder { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 11px; object-fit: cover; }
.dl-placeholder { display: grid; place-items: center; background: var(--dl-soft); color: var(--dl-link); }
.dl-card-copy { display: grid; min-width: 0; max-width: 100%; }
.dl-card strong, .dl-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.dl-card small { color: var(--dl-muted); font-size: 12px; }
.dl-card-category { color: var(--dl-link); }
.dl-rank { font-weight: 700; color: var(--dl-link); }
.dl-rail .dl-rank { position: absolute; inset-block-start: 4px; inset-inline-start: 8px; border-radius: 6px; background: var(--dl-surface); padding: 0 5px; }
.dl-rail-wrap { position: relative; --dl-arrow-center: 51.5px; }
.dl-picks .dl-rail-wrap { --dl-arrow-center: 44px; }
.dl-games .dl-rail-wrap { --dl-arrow-center: 66.5px; }
.dl-download-tabs .dl-rail-wrap { --dl-arrow-center: 48px; }
.dl-arrows button:not([hidden]) {
    position: absolute; z-index: 2; inset-block-start: var(--dl-arrow-center);
    transform: translateY(-50%); width: 44px; height: 44px; padding: 0;
    display: grid; place-items: center; border: 1px solid var(--dl-line);
    border-radius: 50%; color: var(--dl-text); background: var(--dl-surface);
    box-shadow: 0 5px 16px #0002; cursor: pointer;
}
#page .dl-arrows button[hidden] { display: none !important; }
.dl-arrows [data-dl-step="-1"] { inset-inline-start: 0; }
.dl-arrows [data-dl-step="1"] { inset-inline-end: 0; }
.dl-arrows [data-dl-step="-1"] svg, [dir="rtl"] .dl-arrows [data-dl-step="1"] svg { transform: scaleX(-1); }
[dir="rtl"] .dl-arrows [data-dl-step="-1"] svg { transform: none; }
@media (hover: hover) {
    [data-dl-rail]:not(:hover):not(:focus-within) .dl-arrows [data-dl-step] { opacity: 0; pointer-events: none; }
}
@media (hover: none) {
    [data-dl-rail]:not(:focus-within) .dl-arrows [data-dl-step] { opacity: 0; pointer-events: none; }
}
.dl-download-tabs { padding: 12px 20px 0; }
.dl-download-tabs .dl-panel { padding-inline: 0; }
.dl-header-search { flex: 0 1 340px; }
.dl-language summary, .dl-theme { display: flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 12px; border: 0; border-radius: 10px; background: var(--dl-bg); }
.dl-theme[hidden] { display: none; }
.dl-masthead .dl-theme:not([hidden]) { margin-inline-start: 0; border: 0; border-radius: 10px; background: var(--dl-bg); }
.dl-picks .dl-items { gap: 0; }
.dl-picks .dl-card { flex: 1 0 96px; }
#page .dl-picks .dl-card { padding-block: 0; gap: 8px; }
#page .dl-list-grid .dl-card { min-height: 72px; padding: 0 12px; gap: 12px; border: 1px solid var(--dl-line); border-radius: 10px; }
.dl-list-grid .dl-card strong { font-size: 15px; font-weight: 600; }
.dl-home .dl-list-grid .dl-card :is(img, .dl-placeholder) { width: 60px; height: 60px; }
.dl-stack .dl-card { min-height: 68px; }
.dl-stack .dl-card:first-child { border-top: 1px solid var(--dl-line); }
.dl-stack .dl-rank { flex: 0 0 24px; font-size: 22px; text-align: center; }
.dl-rail .dl-items { gap: 14px; padding: 4px 8px; margin-inline: -8px; }
.dl-rail .dl-card { flex-basis: 83px; align-items: stretch !important; text-align: start; }
.dl-rail .dl-card strong { text-align: match-parent; }
html[dir="rtl"] #page .dl-rail:not(#dl-downloads .dl-rail) .dl-card strong { text-align: right; }
.dl-rail .dl-card img, .dl-rail .dl-placeholder { width: 83px; height: 83px; border-radius: 20px; }
.dl-download-tabs .dl-card { flex-basis: 87px; text-align: center; align-items: center !important; }
.dl-download-tabs .dl-card img, .dl-download-tabs .dl-placeholder { width: 76px; height: 76px; border-radius: 19px; }
.dl-download-tabs .dl-rank { inset-block-start: 48px; inset-inline-start: 0; padding: 0; color: var(--dl-link); background: none; font-size: 38px; line-height: 1; font-weight: 800; -webkit-text-stroke: 6px var(--dl-surface); paint-order: stroke fill; }
.dl-games .dl-card { flex-basis: 113px; }
.dl-games .dl-card img, .dl-games .dl-placeholder { width: 113px; height: 113px; border-radius: 24px; }
.dl-game-filters { display: flex; gap: 8px; padding-bottom: 12px; overflow-x: auto; }
#page .dl-game-filters a { display: flex; align-items: center; height: 44px; padding-inline: 16px; border-radius: 22px; background: var(--dl-bg); color: var(--dl-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
#page .dl-game-filters a[aria-current] { background: var(--dl-text); color: var(--dl-surface); }
.dl-tab-buttons { display: flex; gap: 6px; }
.dl-tab-buttons button { border: 1px solid var(--dl-line); border-radius: 20px; padding: 4px 14px; font-size: 13px; }
.dl-tab-buttons button[aria-pressed="true"] { background: var(--dl-text); color: var(--dl-surface); border-color: var(--dl-text); }
.dl-trend-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dl-stack .dl-items { gap: 0; }
.dl-stack .dl-card + .dl-card, .dl-faq details { border-top: 1px solid var(--dl-line); }
#page .dl-category { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; align-items: center; gap: 12px; min-height: 60px; color: var(--dl-text); text-decoration: none; }
.dl-category-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: light-dark(var(--icon-light), var(--icon-dark)); background: color-mix(in srgb, currentColor 12%, var(--dl-surface)); }
.dl-category-blue { --icon-light: #205fa8; --icon-dark: #82b9fa; }
.dl-category-pink { --icon-light: #a51f68; --icon-dark: #ef91c6; }
.dl-category-red { --icon-light: #bf251a; --icon-dark: #ff9388; }
.dl-category-amber { --icon-light: #a85512; --icon-dark: #ffb276; }
.dl-category-teal { --icon-light: #11717e; --icon-dark: #6ed4df; }
.dl-category-green { --icon-light: #206b55; --icon-dark: #83d9ba; }
.dl-category-purple { --icon-light: #7b39ad; --icon-dark: #cda4f4; }
.dl-category-slate { --icon-light: #404852; --icon-dark: #bac3d0; }
.dl-category-copy { display: grid; min-width: 0; }
.dl-category-copy strong { font-size: 15px; font-weight: 600; }
.dl-category-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dl-muted); font-size: 12px; }
.dl-category-chevron { color: var(--dl-muted); }
[dir="rtl"] .dl-category-chevron { transform: scaleX(-1); }
#page .dl-category:hover strong, #page .dl-category-all { color: var(--dl-link); }
#page .dl-category-all, #dl-category-directory form button { border: 0; background: transparent; color: var(--dl-link); cursor: pointer; }
.dl-category-browse { width: 100%; min-height: 46px; margin-top: 8px; border: 0; border-radius: 12px; cursor: pointer; color: var(--dl-link); background: var(--dl-soft); font-weight: 600; }
#dl-category-directory { width: min(480px, calc(100% - 32px)); box-sizing: border-box; padding: 14px 20px; border: 1px solid var(--dl-line); border-radius: 16px; background: var(--dl-surface); color: var(--dl-text); }
#dl-category-directory::backdrop { background: rgb(0 0 0 / 45%); }
.dl-category-scroll { max-height: min(65dvh, 540px); overflow-y: auto; overscroll-behavior: contain; padding-inline-end: 8px; }
#dl-category-directory h3 { margin: 12px 0 4px; font-size: 15px; }
.dl-discover { display: grid; gap: 14px; padding-top: 16px; }
.dl-discover h2 { font-size: 16px; }
.dl-chips { display: flex; flex-wrap: wrap; gap: 7px; }
#page .dl-chips a { padding: 4px 8px; border-radius: 8px; background: var(--dl-bg); color: var(--dl-text); font-size: 12px; }
.dl-faq summary { cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 600; }
.dl-faq p, .dl-about p { color: var(--dl-muted); font-size: 14px; }
.dl-about { margin-top: 20px; }
.dl-about h2 { font-size: 17px; }
.dl-about p { margin: 6px 0 0; }
#page .dl-footer { background: var(--dl-footer); color: #e6e8eb; padding: 32px var(--dl-gutter) 20px; }
.dl-footer .container { max-width: 1460px; padding: 0; }
.dl-footer-grid { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 20px; }
.dl-footer-grid h2 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.dl-footer-grid p, .dl-footer-grid ul { font-size: 14px; }
.dl-footer-grid ul { padding: 0; margin: 0 0 8px; list-style: none; }
.dl-footer-grid li + li { margin-top: 6px; }
#page .dl-footer a { color: #e6e8eb !important; }
.dl-footer .dl-wordmark { margin-bottom: 16px; }
.dl-footer svg { fill: currentColor; }
.dl-footer-copyright { border-top: 1px solid #ffffff26; padding-top: 14px; margin-top: 16px; }
.dl-footer-copyright p { margin: 0; }
@media (max-width: 1000px) {
    .dl-header-inner { gap: 12px; }
    .dl-home-grid { grid-template-columns: minmax(0, 1fr) 255px; }
    .dl-list-grid .dl-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .dl-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dl-home-grid { grid-template-columns: minmax(0, 1fr); }
    .dl-header-inner { flex-wrap: wrap; padding-block: 10px; }
    .dl-menu-toggle { display: inline-block; margin-inline-start: auto; }
    .dl-nav { display: none; flex-basis: 100%; order: 3; }
    .dl-menu-toggle[aria-expanded="true"] + .dl-nav { display: flex; }
    #page .dl-nav a { padding: 8px 12px; }
    .dl-header-search { flex-basis: 100%; max-width: none; order: 4; }
}
@media (max-width: 500px) {
    .dl-trend-grid { grid-template-columns: minmax(0, 1fr); }
    .dl-panel, .dl-download-tabs { padding-inline: 12px; }
    .dl-download-tabs .dl-panel { padding-inline: 0; }
}
.dl-header-search { position: relative; }
.dl-search-suggestions { display: none; position: absolute; inset: calc(100% + 8px) 0 auto; z-index: 2; padding-block: 8px; background: var(--dl-surface); border: 1px solid var(--dl-line); border-radius: 14px; box-shadow: 0 12px 28px #0003; }
.dl-header-search:focus-within .dl-search-suggestions { display: block; }
.dl-search-suggestions strong { display: block; padding: 6px 14px 4px; font-size: 12px; color: var(--dl-muted); }
#page .dl-search-suggestions a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-inline: 14px; color: var(--dl-text); }
.dl-search-suggestions a:hover, .dl-search-suggestions a:focus-visible { background: var(--dl-soft); }
.dl-download-tabs [data-dl-tab-panel] .dl-panel-head { min-height: 0; }
.dl-download-tabs [data-dl-tab-panel] .dl-panel-head h2 { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.dl-articles .dl-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#page .dl-articles .dl-card { flex-direction: column; align-items: stretch; }
.dl-articles .dl-card img, .dl-articles .dl-placeholder { width: 100%; height: 120px; border-radius: 10px; }
.dl-articles .dl-card strong { white-space: normal; }
#page .dl-chips a { display: flex; align-items: center; min-height: 36px; padding: 0; background: transparent; color: var(--dl-link); font-size: 14px; font-weight: 600; }
.dl-chips { gap: 0 16px; }
@media (max-width: 500px) { .dl-articles .dl-items { grid-template-columns: 1fr; } }
.dl-language summary { list-style: none; font-weight: 700; }
.dl-language summary::-webkit-details-marker { display: none; }
.dl-nav a:not([aria-current]) { font-weight: 400 !important; }
.dl-download-tabs { padding-bottom: 18px; }
.dl-download-tabs .dl-rail { padding-block: 0; }
.dl-download-tabs .dl-items { gap: 8px; padding: 4px 12px; }
.dl-download-tabs .dl-card-copy { margin-top: 6px; gap: 5px; }
.dl-trend-grid .dl-panel { padding-bottom: 10px; }
.dl-time { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--dl-soft); color: var(--dl-link); font-size: 12px; font-weight: 700; line-height: 16px; white-space: nowrap; }
.dl-activity { display: inline-flex; direction: ltr; align-items: center; gap: 4px; flex: none; margin-inline-start: auto; color: var(--dl-link); font-size: 13px; font-weight: 700; white-space: nowrap; }
html[dir="rtl"] .dl-activity { margin-right: auto; margin-left: 0; }
.dl-sidebar .dl-stack .dl-card { min-height: 62px; }
.dl-sidebar .dl-stack .dl-card img { width: 44px; height: 44px; }
.dl-faq summary { display: flex; justify-content: space-between; align-items: center; min-height: 50px; list-style: none; }
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after { content: '⌄'; color: var(--dl-muted); }
.dl-faq details[open] summary::after { transform: rotate(180deg); }
.dl-footer-grid { grid-template-columns: 1.9fr repeat(3,minmax(0,1fr)); }
.dl-footer-grid h2 { font-size: 13px; color: #c3c8ce; }
.dl-footer-grid li + li { margin-top: 16px; }
.dl-footer .socials:empty { display: none !important; }
@media (max-width: 760px) { .dl-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.dl-mobile-search, .dl-footer-mobile { display: none; }
@media (max-width: 760px) {
    .dl-header-inner { min-height: 55px; padding: 0 12px; gap: 4px; }
    #page .dl-header-inner > .dl-wordmark { font-size: 24px; margin: 0 auto 0 0; }
    /* The wordmark uses dir="auto"; align it by the page direction instead. */
    html[dir="rtl"] #page .dl-header-inner > .dl-wordmark { margin: 0 0 0 auto; }
    .dl-header-inner .dl-menu-toggle { order: -2; margin: 0; }
    .dl-header-inner .dl-wordmark { order: -1; }
    .dl-header-inner .dl-language { order: 2; }
    .dl-header-inner .dl-theme { order: 1; }
    .dl-header-inner .dl-mobile-search { display: grid; place-items: center; }
    #page .dl-header-inner :is(.dl-mobile-search, .dl-menu-toggle, .dl-theme:not([hidden]), .dl-language summary) {
        width: 42px; min-height: 44px; padding: 0; border: 0; color: var(--dl-text); background: transparent; justify-content: center;
    }
    .dl-header-inner .dl-language-code, .dl-header-inner .dl-language-chevron { display: none; }
    .dl-header-inner .dl-header-search { display: none; padding-block-end: 10px; }
    .dl-header-inner .dl-mobile-search[aria-expanded="true"] + .dl-header-search { display: block; }
    .dl-menu-toggle[aria-expanded="true"] + .dl-nav { flex-wrap: wrap; }
    .dl-home { --dl-gutter: 16px; padding-top: 0; }
    .dl-home-grid { display: flex; flex-direction: column; gap: 14px; }
    .dl-home-grid > :is(main, .dl-sidebar) { display: contents; }
    .dl-home-grid .dl-discover, .dl-home-grid > .dl-sidebar > .dl-stack { display: none; }
    .dl-home-grid #dl-categories { order: 1; }
    .dl-home-grid .dl-articles { order: 2; }
    .dl-home-grid .dl-faq { order: 3; }
    .dl-home-grid .dl-panel-head { min-height: 36px; }
    .dl-home-grid .dl-panel h2, .dl-home-grid .dl-download-tabs h2 { font-size: 17px; }
    .dl-home-grid .dl-panel-title { gap: 4px 8px; }
    .dl-home-grid .dl-time { font-size: 10px; padding: 3px 8px; }
    .dl-home-grid .dl-trend-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .dl-home-grid .dl-trend-grid .dl-panel { padding: 10px 14px; }
    .dl-home-grid .dl-trend-grid .dl-card { min-height: 64px; }
    .dl-home-grid .dl-activity { font-size: 12px; }
    .dl-home-grid .dl-picks { margin-inline: -16px; border-radius: 0; padding: 19px 16px 16px; }
    .dl-home-grid .dl-picks .dl-items { gap: 12px; margin-inline-end: -16px; padding-inline-end: 16px; }
    #page .dl-home-grid .dl-picks .dl-card { flex: 0 0 calc((100% - 48px) / 4.3); }
    .dl-home-grid .dl-pick-icon { width: 100%; height: auto; aspect-ratio: 1; }
    .dl-home-grid .dl-pick-frame { width: 100%; }
    .dl-home-grid .dl-pick-icon :is(img, .dl-placeholder) { width: calc(100% - 4px); height: auto; aspect-ratio: 1; }
    .dl-home-grid :is(.dl-rail, .dl-download-tabs, .dl-list-grid, #dl-categories, .dl-faq) { background: transparent; padding-inline: 0; }
    .dl-home-grid .dl-download-tabs { padding-bottom: 0; }
    .dl-home-grid :is(.dl-rail, .dl-list-grid) .dl-items { margin: 0; margin-inline-end: -16px; padding-block: 4px; padding-inline: 0 16px; }
    .dl-home-grid .dl-list-grid .dl-items { grid-auto-flow: column; grid-template: repeat(3, auto) / none; grid-auto-columns: 80%; overflow-x: auto; scrollbar-width: none; gap: 10px 12px; }
    #page .dl-home-grid .dl-list-grid .dl-card { background: var(--dl-surface); border: 0; }
    #page .dl-home-grid :is(.dl-picks, .dl-rail) .dl-card strong { font-size: 12px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .dl-home-grid .dl-rail .dl-items { gap: 10px; }
    .dl-home-grid .dl-rail .dl-card { flex-basis: calc((100% - 24px) / 4.35); }
    .dl-home-grid .dl-rail .dl-card :is(img, .dl-placeholder) { width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; }
    .dl-home-grid .dl-games .dl-card { flex-basis: calc((100% - 14px) / 3.35); }
    .dl-home-grid .dl-games .dl-card :is(img, .dl-placeholder) { border-radius: 22px; }
    .dl-home-grid .dl-download-tabs .dl-rank { font-size: 30px; inset-block-start: auto; top: calc((100cqi - 24px) / 4.35 - 15px); -webkit-text-stroke-color: var(--dl-bg); }
    .dl-home-grid .dl-download-tabs .dl-items { container-type: inline-size; }
    .dl-home-grid .dl-game-filters { scrollbar-width: none; }
    #page .dl-home-grid .dl-game-filters a:not([aria-current]) { background: var(--dl-surface); }
    .dl-home-grid .dl-category-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    #page .dl-home-grid .dl-category-preview .dl-category { grid-template-columns: 44px minmax(0, 1fr); padding: 8px 10px; background: var(--dl-surface); border-radius: 14px; min-height: 68px; gap: 8px; }
    .dl-home-grid .dl-category-preview .dl-category-chevron { display: none; }
    .dl-home-grid .dl-articles { padding-inline: 14px; }
    .dl-home-grid .dl-articles .dl-items { grid-template-columns: 1fr; gap: 0; }
    #page .dl-home-grid .dl-articles .dl-card { flex-direction: row; align-items: center; border-top: 1px solid var(--dl-line); padding-block: 12px; }
    .dl-home-grid .dl-articles .dl-card :is(img, .dl-placeholder) { width: 76px; height: 56px; border-radius: 8px; }
    .dl-home-grid .dl-faq details { background: var(--dl-surface); border: 0; border-radius: 12px; margin-block-end: 8px; padding: 0 14px; }
    .dl-home .dl-about { margin-block: 0; }
    .dl-footer { padding-block: 22px 14px; }
    .dl-footer-grid > :first-child { grid-column: 1 / -1; }
    .dl-footer-grid > :first-child p, .dl-footer-discover { display: none; }
    .dl-footer-mobile { display: list-item; }
}

.dl-mobile-close-search { display: none; }
#dl-mobile-menu:not([open]) { display: none; }
@media (max-width: 760px) {
    .dl-header-inner .dl-nav { display: none; }
    .dl-header-inner.dl-search-open > :not(.dl-header-search) { display: none !important; }
    .dl-header-inner.dl-search-open .dl-header-search {
        display: flex; align-items: center; gap: 8px; min-height: 55px; padding: 0; margin: 0;
    }
    .dl-search-open .dl-search { flex: 1; min-width: 0; box-shadow: 0 0 0 2px var(--dl-link); }
    .dl-search-open .dl-search input { font-size: 16px; }
    .dl-search-open .dl-search-suggestions a svg { color: var(--dl-link); flex: none; }
    .dl-mobile-close-search, .dl-drawer-head button {
        display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px;
        border: 0; padding: 0; background: transparent; color: var(--dl-text); font-size: 27px; cursor: pointer;
    }
    .dl-search-open .dl-search-suggestions { display: block; inset: 100% -12px auto; border-radius: 0; }
    #dl-mobile-menu {
        position: fixed; inset: 0; inset-inline-end: auto; margin: 0;
        width: min(300px, 88vw); height: 100dvh; max-width: none; max-height: none;
        padding: 0; border: 0; overflow-y: auto; overscroll-behavior: contain;
        background: var(--dl-surface); color: var(--dl-text);
        box-shadow: 0 0 24px #0003; animation: dl-drawer-in .25s ease-out;
        --dl-drawer-offset: -100%;
    }
    [dir="rtl"] #dl-mobile-menu { --dl-drawer-offset: 100%; }
    #dl-mobile-menu::backdrop { background: rgb(0 0 0 / 45%); }
    html:has(#dl-mobile-menu[open]) { overflow: hidden; }
    .dl-drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding-inline: 16px 6px; border-bottom: 1px solid var(--dl-line); }
    .dl-drawer-links, .dl-drawer-categories { padding: 8px; }
    .dl-drawer-categories strong { display: block; padding: 8px; color: var(--dl-muted); font-size: 12px; }
    #page #dl-mobile-menu :is(nav, .dl-drawer-categories, .dl-drawer-info) a {
        display: flex; align-items: center; gap: 12px; min-height: 46px; padding-inline: 10px;
        border-radius: 10px; color: var(--dl-text); text-decoration: none; font-size: 15px;
    }
    #page #dl-mobile-menu a[aria-current="page"], #page #dl-mobile-menu a:hover { color: var(--dl-link); background: var(--dl-soft); }
    .dl-drawer-categories, .dl-drawer-info { border-top: 1px solid var(--dl-line); }
    .dl-drawer-categories .dl-category-icon { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; }
    #page #dl-mobile-menu .dl-drawer-all { color: var(--dl-link); font-weight: 600; }
    .dl-drawer-info ul { list-style: none; margin: 0; padding: 8px; }
}
@keyframes dl-drawer-in { from { transform: translateX(var(--dl-drawer-offset)); } }
@media (prefers-reduced-motion: reduce) { #dl-mobile-menu { animation: none; } }

/* App detail layout */
.dl-app-page { background: var(--dl-bg); color: var(--dl-text); padding-bottom: 18px; }
.dl-app-page #primary { min-width: 0; }
.dl-app-crumb { font-size: 12px; margin-block-end: 8px; }
.dl-app-card, .dl-app-stats { background: var(--dl-surface); border-radius: 14px; margin-block-end: 12px; }
.dl-app-card { padding: 14px; scroll-margin-top: 65px; }
.dl-app-card h2 { font-size: 17px; margin: 0 0 10px; font-weight: 700; }
.dl-app-identity { display: flex; align-items: flex-start; gap: 14px; margin-block-end: 14px; }
.dl-app-identity img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; flex: none; }
.dl-app-identity h1 { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.dl-app-muted, .dl-app-stats dd, .dl-app-facts dt, .dl-app-version small, .dl-app-sticky small { color: var(--dl-muted); font-size: 12px; }
.dl-app-badges { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; }
.dl-app-badges > bdi { border-radius: 6px; background: var(--dl-soft); color: var(--dl-link); padding: 2px 8px; font-weight: 700; }
.dl-app-badges strong span { color: #b77508; }
.dl-app-hero .downlody-ad-slot { margin-inline: auto; }
#page .dl-app-download { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 10px; background: #cb3918; color: #fff; font-weight: 700; text-decoration: none; }
#page :is(.dl-app-download, .downlody-download-cta, .btn-primary):is(:hover, :focus-visible, :active) { color: #fff !important; }
#page .dl-app-hero .dl-app-download { width: 100%; min-height: 56px; font-size: 17px; }
.dl-app-shortcuts { display: flex; gap: 8px; margin-top: 10px; }
#page .dl-app-shortcuts a { flex: 1; text-align: center; padding: 10px 4px; border: 1px solid var(--dl-line); border-radius: 10px; color: var(--dl-text); }
.dl-app-stats { display: flex; text-align: center; overflow: hidden; }
.dl-app-stats > div { flex: 1; padding: 12px 2px; }
.dl-app-stats > div + div { border-inline-start: 1px solid var(--dl-line); }
.dl-app-stats dd, .dl-app-facts dd { margin: 0; }
.dl-app-shots { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding-inline: 16px; }
.dl-app-shots a { flex: none; max-width: min(84vw, 100%); }
.dl-app-shots img { display: block; width: auto; height: auto; max-height: 200px; max-width: 100%; object-fit: contain; border-radius: 12px; }
.dl-shot-gallery { --dl-arrow-center: 50%; }
.dl-shot-gallery .dl-shot-arrows { display: none; }
.dl-shot-arrows [data-dl-step="-1"] { inset-inline-start: 12px; }
.dl-shot-arrows [data-dl-step="1"] { inset-inline-end: 12px; }
@media (min-width: 768px) { .dl-shot-gallery .dl-shot-arrows { display: block; } }
.dl-shot-viewer { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: transparent; overflow: visible; }
.dl-shot-viewer::backdrop { background: rgb(0 0 0 / 85%); }
.dl-shot-viewer img { display: block; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); width: auto; height: auto; object-fit: contain; touch-action: pan-y pinch-zoom; }
.dl-shot-viewer form { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; z-index: 3; }
.dl-shot-viewer-nav [data-shot-step="-1"] { inset-inline-start: 10px; }
.dl-shot-viewer-nav [data-shot-step="1"] { inset-inline-end: 10px; }
.dl-shot-viewer-nav [data-shot-step="-1"] svg, [dir="rtl"] .dl-shot-viewer-nav [data-shot-step="1"] svg { transform: scaleX(-1); }
[dir="rtl"] .dl-shot-viewer-nav [data-shot-step="-1"] svg { transform: none; }
.dl-shot-viewer button { width: 44px; height: 44px; padding: 0; border: 1px solid var(--dl-line); border-radius: 50%; background: var(--dl-surface); color: var(--dl-text); font-size: 27px; line-height: 1; }
.dl-shot-viewer button:focus-visible, .dl-shot-gallery button:focus-visible { outline: 2px solid var(--dl-link) !important; outline-offset: 2px; }
@media (min-width: 768px) {
    .dl-shot-viewer[open] {
        position: fixed;
        inset: 0;
        display: grid;
        place-items: center;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
    }
    .dl-shot-viewer img { width: calc(100vw - 144px); height: calc(100dvh - 32px); }
    .dl-shot-viewer form { inset-block-start: 16px; inset-inline-end: 16px; }
    .dl-shot-viewer-nav [data-shot-step="-1"] { inset-inline-start: 16px; }
    .dl-shot-viewer-nav [data-shot-step="1"] { inset-inline-end: 16px; }
}
@media (max-width: 767px) {
    .dl-shot-viewer form {
        position: fixed;
        inset-block-start: max(14px, env(safe-area-inset-top));
        inset-inline-end: 14px;
    }
    .dl-shot-viewer-nav button:not([hidden]) { position: fixed; inset-block-start: 50%; }
    .dl-shot-viewer-nav [data-shot-step="-1"] { inset-inline-start: 14px; }
    .dl-shot-viewer-nav [data-shot-step="1"] { inset-inline-end: 14px; }
}
.dl-app-description { line-height: 1.85; overflow-wrap: anywhere; }
.dl-app-description summary { color: var(--dl-link); font-weight: 600; cursor: pointer; }
.dl-app-faq { margin-block: 20px; }
.dl-app-faq :is(h2,h3,h4,h5,h6) { margin-block: 0 10px; font-size: 17px; font-weight: 700; }
.dl-app-faq .schema-faq-section { background: var(--dl-surface); border: 0; border-radius: 12px; padding: 0; margin: 0 0 8px; }
.dl-app-faq summary { padding: 14px; cursor: pointer; font-weight: 600; }
.dl-app-faq .schema-faq-answer { display: block; margin: 0; padding: 0 14px 14px; }
.dl-app-faq .schema-faq-section > .schema-faq-question { display: block; padding: 14px; }
.dl-app-toc { background: var(--dl-bg); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.dl-app-toc summary { color: var(--dl-text); }
.dl-app-verified { background: color-mix(in srgb, #289363 12%, var(--dl-surface)); border: 1px solid color-mix(in srgb, #289363 24%, var(--dl-surface)); }
.dl-app-verified h2 { color: light-dark(#196c48, #8bdbb3); }
.dl-app-notes { background: var(--dl-soft); }
.dl-app-notes h2 { color: var(--dl-link); }
.dl-app-notes p:last-child { margin-bottom: 0; }
.dl-app-facts { margin-bottom: 0; }
.dl-app-facts > div, .dl-app-version { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--dl-line); padding-block: 12px; }
.dl-app-facts dd { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; text-align: end; }
.dl-app-version small, .dl-app-sticky small { display: block; }
.dl-app-hash bdi { overflow-wrap: anywhere; }
#dl-app-install ol { padding-inline-start: 24px; margin-bottom: 0; }
#dl-app-install li { padding-block: 6px; }
.dl-app-comments > section, .dl-app-recommendations > section { border-radius: 14px !important; box-shadow: none !important; }
.dl-app-comments textarea { min-height: 85px; }
.dl-app-comments .form-control { background: var(--dl-bg); color: var(--dl-text); border-color: var(--dl-line); border-radius: 10px; }

.dl-app-sticky { display: none; }
@media (max-width: 760px) {
    .dl-app-page #secondary { display: none; }
    .dl-app-sticky:not([hidden]) { position: fixed; z-index: 15; inset: auto 0 0; display: flex; align-items: center; gap: 10px; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: var(--dl-surface); border-top: 1px solid var(--dl-line); box-shadow: 0 -4px 18px #0002; }
    .dl-app-sticky img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
    .dl-app-sticky-copy { flex: 1; min-width: 0; }
    .dl-app-sticky-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    #page .dl-app-sticky a.dl-google-play-badge { margin: 0; }
    body:has(.dl-app-sticky) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

.dl-app-shell { max-width: 1280px; margin-inline: auto; padding: 16px var(--dl-gutter) 24px; }
.dl-app-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.dl-app-page #secondary { width: 100%; max-width: none; padding: 0; }
.dl-app-side-identity { display: flex; align-items: center; gap: 12px; margin-block-end: 12px; }
.dl-app-side-identity img { width: 48px; height: 48px; border-radius: 12px; }
.dl-app-side-identity small { display: block; color: var(--dl-muted); }
#page .dl-app-side-download .dl-app-download { width: 100%; }
.dl-app-page .dl-app-comments > section, .dl-app-page .dl-app-recommendations > section { max-width: none !important; }
@media (min-width: 761px) {
    .dl-app-crumb { margin-block-end: 12px; }
    .dl-app-card { padding: 20px 24px; }
    .dl-app-card, .dl-app-stats { margin-block-end: 20px; }
    .dl-app-identity img { width: 96px; height: 96px; border-radius: 22px; }
    .dl-app-identity h1 { font-size: 24px; }
    .dl-app-hero .downlody-ad-slot { max-width: 728px; }
    .dl-app-actions { display: flex; align-items: stretch; gap: 10px; }
    .dl-app-actions > :is(.dl-app-download, .dl-file-request, .dl-download-unavailable) { flex: 1.3; }
    .dl-app-actions .dl-app-shortcuts { flex: 1; margin: 0; }
    #page .dl-app-shortcuts a { display: grid; place-items: center; }
    .dl-app-shots { margin: 0 0 20px; padding: 0; }
    .dl-app-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
    .dl-app-page .dl-app-comments > section { padding: 20px 24px !important; }
}
@media (min-width: 761px) and (max-width: 1000px) {
    .dl-app-layout { grid-template-columns: minmax(0, 1fr) 240px; }
}
@media (max-width: 760px) {
    .dl-app-shell { padding: 8px 16px 18px; }
    .dl-app-layout { display: block; }
}

.dl-app-publisher { margin-block: 20px; }
.dl-app-publisher h2 { font-size: 17px; }
.dl-app-publisher-items { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
#page .dl-app-publisher-items a { display: grid; justify-items: center; flex: 0 0 104px; min-width: 0; padding: 12px 8px; gap: 8px; border-radius: 12px; background: var(--dl-surface); color: var(--dl-text); text-decoration: none; }
.dl-app-publisher-items img { width: 60px; height: 60px; border-radius: 14px; }
.dl-app-publisher-items strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 100%; text-align: center; font-size: 13px; }

/* App reviews */
.dl-app-comments { --dl-review-gold: #a96600; }
.dl-review-heading, .dl-review-overview { display: flex; align-items: center; gap: 16px; }
.dl-review-heading { justify-content: space-between; margin-block-end: 12px; }
.dl-review-heading h2 { margin: 0; }
.dl-app-comments small { color: var(--dl-muted); }
.dl-review-score { display: grid; justify-items: center; min-inline-size: 80px; }
.dl-review-score strong { font-size: 44px; line-height: 1.05; font-weight: 800; }
.dl-review-stars, .dl-review-choice label { color: var(--dl-review-gold); }
.dl-review-stars { white-space: nowrap; }
.dl-review-distribution { flex: 1; min-inline-size: 0; font-size: 12px; }
.dl-review-distribution > div { display: grid; grid-template-columns: 1em 1fr 3em; align-items: center; gap: 6px; }
.dl-review-distribution meter { width: 100%; height: 8px; appearance: none; }
.dl-review-distribution meter::-webkit-meter-bar { background: var(--dl-bg); border: 0; border-radius: 999px; height: 8px; }
.dl-review-distribution meter::-webkit-meter-optimum-value { background: var(--dl-review-gold); border-radius: 999px; }
.dl-review-distribution meter::-moz-meter-bar { background: var(--dl-review-gold); border-radius: 999px; }
.dl-review-status { background: var(--dl-soft); color: var(--dl-text); }
.dl-review-form form, .dl-review-thread form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dl-review-form form > :not(label[for="author"], label[for="email"]),
.dl-review-thread form > :not(label[for="author"], label[for="email"]) { grid-column: 1 / -1; }
.dl-app-comments form > label { display: grid; gap: 4px; font-size: 13px; }
.dl-app-comments input:is([type="text"], [type="email"]), .dl-app-comments textarea {
    width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--dl-line);
    border-radius: 10px; background: var(--dl-bg); color: var(--dl-text);
}
.dl-app-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
.dl-app-comments .comment-form-cookies-consent input { flex: none; width: 16px; height: 16px; margin: 3px 0 0; }
.dl-app-comments .comment-form-cookies-consent label { margin: 0; font-size: 13px; line-height: 22px; cursor: pointer; }
.dl-app-comments [hidden] { display: none !important; }
.dl-app-comments .form-submit { margin: 2px 0 0; }
#page .dl-app-comments .form-submit input { min-inline-size: 130px; cursor: pointer; }
.dl-review-choice { display: flex; flex-direction: column-reverse; border: 0; padding: 0; margin: 0; }
.dl-review-choice legend { float: none; order: -1; width: auto; font-size: 13px; color: var(--dl-muted); margin: 0; }
.dl-review-choice > div { display: flex; justify-content: flex-start; gap: 2px; }
.dl-review-choice label { position: relative; display: grid; place-items: center; inline-size: 44px; block-size: 44px; cursor: pointer; font-size: 29px; }
.dl-review-choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.dl-review-choice b { display: none; }
.dl-review-choice label:is(:has(input:checked), :has(~ label input:checked), :hover, :has(~ label:hover)) b { display: inline; }
.dl-review-choice label:has(b):is(:has(input:checked), :has(~ label input:checked), :hover, :has(~ label:hover)) span { display: none; }
.dl-review-choice label:has(input:focus-visible) { outline: 2px solid currentColor; border-radius: 8px; }
.dl-review-thread { margin-block: 20px; }
.dl-review-thread h2 { font-size: 17px; font-weight: 700; margin-block-end: 8px; }
.dl-review-sort { display: flex; gap: 6px; margin-block-end: 12px; }
.dl-review-sort button, .dl-review-more {
    border: 0; padding: 10px 14px; border-radius: 999px; background: var(--dl-surface);
    color: var(--dl-text); font-size: 13px; font-weight: 700; cursor: pointer;
}
.dl-review-sort button[aria-pressed="true"] { background: var(--dl-text); color: var(--dl-surface); }
.dl-review-more { display: block; border-radius: 12px; margin: 12px auto 0; inline-size: min(100%, 320px); }
.dl-review-list, .dl-review-list .children { list-style: none; margin: 0; padding: 0; }
.dl-review-list > .dl-review-item { background: var(--dl-surface); border-radius: 14px; padding: 14px; margin-block-end: 12px; }
.dl-review-item-body { overflow-wrap: anywhere; }
.dl-review-item-body p { margin-block: 10px; }
.dl-review-list .children { margin-block-start: 14px; margin-inline-start: 5px; padding-inline-start: 12px; border-inline-start: 2px solid var(--dl-line); }
.dl-review-list .children > li + li { margin-block-start: 15px; }
.dl-review-person, .dl-review-person small { display: flex; align-items: center; gap: 8px; }
.dl-review-avatar { display: grid; place-items: center; inline-size: 40px; block-size: 40px; flex: none; border-radius: 50%; background: #215ca3; color: white; font-weight: 700; }
.dl-review-item:nth-child(3n + 2) > article .dl-review-avatar { background: #196951; }
.dl-review-item:nth-child(3n) > article .dl-review-avatar { background: #97500e; }
.dl-review-list .children .dl-review-avatar { inline-size: 32px; block-size: 32px; }
.dl-review-list #respond { margin-block-start: 14px; }
.dl-app-comments :is(.comment-reply-link, #cancel-comment-reply-link) { font-size: 13px; }
@media (max-width: 767px) { #page .dl-app-comments .form-submit input { width: 100%; } }
@media (min-width: 768px) { .dl-review-list > .dl-review-item { padding: 20px 24px; } }

/* Download page */
.dl-download-page .dl-app-shell { max-width: 1280px; }
.dl-download-crumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--dl-muted); font-size: 12px; }
.dl-download-hero { padding: 14px; }
.dl-download-identity { display: flex; align-items: center; gap: 12px; margin-block-end: 12px; }
.dl-download-identity img { width: 52px; height: 52px; border-radius: 14px; }
.dl-download-identity h1 { font-size: 17px; font-weight: 800; margin: 0 0 3px; }
.dl-download-identity small { color: var(--dl-muted); }
.dl-download-ad { margin: 0 auto 12px; text-align: center; }
.dl-download-ad p { font-size: 11px; color: var(--dl-muted); margin: 0; }
.dl-download-ad-slot { width: min(100%, 728px); margin: 0 auto; }
.dl-download-store { text-align: center; }
#page .dl-download-unavailable {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 56px; padding: 8px 16px; border: 0; border-radius: 10px;
    background: var(--dl-bg); color: var(--dl-muted); font-weight: 700;
    opacity: 1; cursor: default;
}
#page .dl-download-store :is(.dl-google-play-badge, .dl-download-unavailable) {
    width: min(100%, 480px);
    min-height: 64px;
    border-radius: 32px;
    margin: 0;
    justify-content: center;
}
#page .dl-app-side-download .dl-google-play-badge { width: 100%; justify-content: center; }
#dl-app-direct-download { flex: 1.3; min-width: 0; scroll-margin-top: 76px; }
.dl-app-hero .dl-app-actions-direct { display: grid; justify-items: center; gap: 8px; }
.dl-app-actions-direct #dl-app-direct-download { width: min(100%, 480px); }
.dl-app-actions-direct .dl-app-shortcuts:empty { display: none; }
.dl-timed-download { width: min(100%, 480px); margin-inline: auto; }
#page .dl-timed-download .dl-file-request { width: 100%; margin: 0; }
.dl-timed-button {
    position: relative; isolation: isolate; overflow: hidden; touch-action: manipulation;
    display: flex; align-items: center; gap: 14px; width: 100%; height: 64px;
    padding-block: 8px; padding-inline: 8px 20px; border: 0; border-radius: 32px;
    background: linear-gradient(90deg, #d4421e, #b93819); color: #fff; text-align: start;
}
.dl-timed-button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #178a5b, #126e48); opacity: 0; transition: opacity 400ms; }
.dl-timed-button[data-state="started"]::before { opacity: 1; }
.dl-timed-button:focus-visible { outline: 2px solid var(--dl-text) !important; outline-offset: 3px; }
.dl-timed-sweep { position: absolute; z-index: -1; inset-block: 0; inset-inline-start: 0; width: 0; background: rgb(0 0 0 / 10%); }
.dl-timed-button[data-state="preparing"] .dl-timed-sweep { width: 100%; transition: width 5s linear; }
.dl-timed-icon { position: relative; flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #d4421e; }
.dl-timed-ring { position: absolute; inset: 0; width: 48px; height: 48px; transform: rotate(-90deg); stroke: rgb(212 66 30 / 18%); visibility: hidden; }
.dl-timed-progress { stroke: currentColor; stroke-dasharray: 135.1; stroke-dashoffset: var(--ring-offset, 135.1); }
.dl-timed-button[data-state] .dl-timed-ring { visibility: visible; }
.dl-timed-button[data-state="preparing"] .dl-timed-progress { transition: stroke-dashoffset 1000ms linear; }
.dl-timed-button[data-state="started"] .dl-timed-progress { stroke-dashoffset: 0; }
.dl-timed-button[data-state="started"] .dl-timed-ring { stroke: rgb(23 138 91 / 18%); }
.dl-timed-button[data-state="started"] .dl-timed-icon { color: #178a5b; animation: dl-download-pop 250ms cubic-bezier(.34,1.56,.64,1); }
.dl-timed-copy { flex: 1; min-width: 0; }
.dl-timed-copy :is(strong,small) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.dl-timed-copy strong { font-size: 19px; line-height: 24px; font-weight: 800; }
.dl-timed-copy small { font-size: 13px; line-height: 18px; font-weight: 600; }
.dl-timed-chevron { flex: 0 0 22px; opacity: .85; }
[dir="rtl"] .dl-timed-chevron { transform: scaleX(-1); }
.dl-timed-button[data-state] .dl-timed-chevron { opacity: .35; }
.dl-timed-button[data-state] .dl-timed-arrow, .dl-timed-digit, .dl-timed-check { display: none; }
.dl-timed-button[data-state="preparing"] .dl-timed-digit { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dl-timed-button[data-state="started"] .dl-timed-check { display: block; stroke-dasharray: 24; animation: dl-download-check 300ms cubic-bezier(.33,1,.68,1); }
@keyframes dl-download-pop { 50% { transform: scale(1.08); } }
@keyframes dl-download-check { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.dl-timed-retry:not([hidden]) { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 10px; font-size: 13px; color: var(--dl-muted); }
#page .dl-timed-retry :is(button,a) { min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; background: transparent; color: var(--dl-link); font-weight: 700; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
    .dl-timed-button::before, .dl-timed-button[data-state] :is(.dl-timed-sweep,.dl-timed-progress,.dl-timed-icon,.dl-timed-check) { transition: none; animation: none; }
}
.dl-download-warning { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-block-start: 12px; padding: 12px; border: 1px solid #d87d2455; border-radius: 12px; background: color-mix(in srgb, var(--dl-surface) 91%, #f89934); font-size: 14px; }
.dl-download-warning > svg { color: #ad5800; }
.dl-download-warning p { margin: 2px 0 0; color: var(--dl-muted); font-size: 13px; }
.dl-download-installer { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; border-radius: 10px; background: var(--dl-surface); padding: 6px 10px; }
.dl-download-installer span { background: #126b75; color: #fff; border-radius: 8px; padding: 5px 10px; font-weight: 800; }
.dl-download-installer img { width: 32px; height: 32px; flex: none; object-fit: cover; border-radius: 8px; }
.dl-download-installer strong { min-width: 0; overflow-wrap: anywhere; }
#page .dl-download-installer a { margin-inline-start: auto; border-radius: 8px; padding: 8px; background: #a75400; color: #fff !important; font-size: 12px; font-weight: 700; }
.dl-download-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dl-download-card-heading a { font-size: 12px; }
.dl-download-info .dl-app-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(14px,4vw,40px); }
.dl-download-info .dl-app-facts > .dl-download-signature { grid-column: 1 / -1; }
.dl-download-security { border: 1px solid var(--dl-line); }
.dl-download-security.is-verified { background: linear-gradient(color-mix(in srgb, var(--dl-surface) 88%, #59b78d), var(--dl-surface)); border-color: #59b78d48; }
.dl-download-security.is-verified h2 { color: light-dark(#146b49,#85e1b7); font-weight: 800; font-size: 20px; }
.dl-download-hash { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--dl-muted); overflow-wrap: anywhere; }
.dl-download-scan-link { display: block; padding-block: 12px 0; margin-block-start: 12px; border-top: 1px solid var(--dl-line); font-size: 13px; }
.dl-download-install {
    --install-accent: light-dark(#c23a18, #ff7a57);
    --install-soft: light-dark(#fdf0eb, #33211b);
    background: light-dark(#fff, #1f2226);
    color: light-dark(#212529, #e9ebee);
    padding: 4px 14px 14px;
    font-family: system-ui, 'Segoe UI', Tahoma, sans-serif;
}
.dl-download-install h2 { display: flex; align-items: center; height: 48px; margin: 0; font-size: 17px; }
.dl-install-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 4px; border-radius: 12px; background: light-dark(#f0f1f5,#16181b); margin-bottom: 14px; }
.dl-install-tabs button { min-width: 0; height: 40px; border: 0; border-radius: 9px; background: transparent; color: light-dark(#5f6772,#a1a8b0); font-size: 14px; font-weight: 700; }
.dl-install-tabs button[aria-selected="true"] { background: light-dark(#fff,#1f2226); color: var(--install-accent); box-shadow: 0 1px 3px rgb(0 0 0 / 12%); }
.dl-install-tabs button:focus-visible { outline: 2px solid var(--install-accent) !important; outline-offset: -2px; }
.dl-install-tabs small { display: none; color: light-dark(#5f6772,#a1a8b0); font-size: 13px; font-weight: 400; margin-inline-start: 8px; }
.dl-install-steps { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.dl-install-steps li { display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 22px; }
.dl-install-steps li > bdi { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--install-soft); color: var(--install-accent); font-size: 15px; font-weight: 800; }
.dl-install-note, .dl-download-install > p { margin: 12px 0 0; color: light-dark(#5f6772,#a1a8b0); font-size: 13px; line-height: 22px; }
.dl-download-install > p { padding-top: 12px; margin-top: 14px; border-top: 1px solid light-dark(#e6e8ec,#2d3136); }
@media (min-width: 761px) {
    .dl-download-install { padding: 8px 24px 20px; }
    .dl-download-install h2 { font-size: 20px; }
    .dl-install-tabs { padding: 5px; border-radius: 14px; margin-bottom: 18px; }
    .dl-install-tabs button { height: 54px; border-radius: 10px; font-size: 16px; font-weight: 800; }
    .dl-install-tabs small { display: inline; }
    .dl-install-steps li > bdi { flex-basis: 34px; height: 34px; }
}
.dl-download-links { padding: 0 14px; }
#page .dl-download-links > :is(a,details) { display: block; border-block-end: 1px solid var(--dl-line); color: var(--dl-text); font-weight: 600; }
#page .dl-download-links > :last-child { border: 0; }
.dl-download-links > a, .dl-download-links summary { padding-block: 15px; min-height: 52px; cursor: pointer; list-style: none; }
.dl-download-links summary::-webkit-details-marker { display: none; }
.dl-download-links :is(a,summary)::after { content: '›'; float: inline-end; color: var(--dl-muted); }
[dir="rtl"] .dl-download-links :is(a,summary)::after { content: '‹'; }
.dl-download-links details a::after { content: none; }
.dl-download-recommended h2 { font-size: 17px; font-weight: 700; }
.dl-download-recommended-items { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
#page .dl-download-recommended-items a { flex: 0 0 104px; min-width: 0; padding: 12px 8px; border-radius: 12px; background: var(--dl-surface); color: var(--dl-text); text-align: center; }
.dl-download-recommended-items img { display: block; margin: 0 auto 8px; width: 60px; height: 60px; border-radius: 15px; }
.dl-download-recommended-items strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.dl-download-recommended-items small { display: block; margin-top: 4px; font-size: 12px; color: var(--dl-muted); }
@media (max-width: 760px) {
    .dl-download-page #secondary { display: none; }
    .dl-download-ad-slot { width: min(100%,320px); }
    .dl-download-info .dl-app-facts > div { display: block; padding-block: 5px; }
    .dl-download-info .dl-app-facts dd { text-align: start; }
    .dl-download-hash { display: grid; }
}

/* App variants */
.dl-app-variants {
    --variant-surface: light-dark(#fff, #1f2226);
    --variant-text: light-dark(#212529, #e9ebee);
    --variant-muted: light-dark(#5f6772, #a1a8b0);
    --variant-border: light-dark(#e6e8ec, #2d3136);
    --variant-ok: light-dark(#1b6e48, #6fd8ae);
    --variant-oksoft: light-dark(#e6f4ec, #15301f);
    --variant-vf: light-dark(#1f5fa8, #7fb0ea);
    --variant-accent-text: light-dark(#c23a18, #ff7a57);
    padding: 4px 14px; background: var(--variant-surface, var(--dl-surface));
    color: var(--variant-text, var(--dl-text)); font-family: system-ui, 'Segoe UI', Tahoma, sans-serif;
}
.dl-app-variants [hidden] { display: none !important; }
.dl-app-variants > header { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; }
.dl-app-variants h2 { font-size: 18px; font-weight: 700; margin: 0; }
#page .dl-app-variants > header a { display: inline-flex; align-items: center; min-height: 44px; color: var(--variant-muted); font-size: 13px; font-weight: 600; }
.dl-variant-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 10px; }
.dl-variant-filters button { flex: none; height: 36px; padding: 0 12px; border: 1px solid var(--variant-border); border-radius: 18px; background: var(--variant-surface); color: var(--variant-text); font-size: 13px; font-weight: 700; }
.dl-variant-filters button[aria-pressed="true"] { border-color: var(--variant-text); background: var(--variant-text); color: var(--variant-surface); }
#page .dl-app-variants :is(a,button):focus-visible { outline: 2px solid var(--variant-vf) !important; outline-offset: -2px; }
.dl-variant-row { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--variant-border); padding: 12px 0; }
.dl-variant-detail { flex: 1; min-width: 0; display: grid; gap: 6px; }
.dl-variant-detail > div { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.dl-variant-arch, .dl-variant-meta, .dl-variant-version > bdi { color: var(--variant-muted); font-size: 13px; }
.dl-variant-arch { font-weight: 600; }
.dl-variant-detail .dl-variant-meta { gap: 4px 12px; }
.dl-variant-meta:empty { display: none; }
.dl-variant-popular { height: 20px; display: inline-flex; align-items: center; padding-inline: 7px; border-radius: 10px; background: var(--variant-oksoft); color: var(--variant-ok); font-size: 11px; font-weight: 700; }
.dl-variant-version strong { font-size: 16px; font-weight: 800; }
.dl-variant-row .dl-variant-request { flex: none; margin: 0; }
.dl-variant-request .dl-variant-download { border: 0; cursor: pointer; }
#page .dl-variant-type { display: inline-flex; align-items: center; height: 22px; padding-inline: 7px; border: 1px solid currentColor; border-radius: 6px; color: var(--variant-muted) !important; font-size: 12px; font-weight: 700; text-decoration: none; }
#page .dl-variant-type[data-format="XAPK"] { color: var(--variant-vf) !important; }
#page .dl-variant-type[data-format="APKS"] { color: var(--variant-accent-text) !important; }
#page .dl-variant-type[data-format="APK"] { color: var(--variant-ok) !important; }
#page .dl-variant-download { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 10px; background: #d4421e; color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.dl-app-variants > p { border-top: 1px solid var(--variant-border); padding: 10px 0 8px; margin: 0; color: var(--variant-muted); font-size: 12px; line-height: 20px; }
.dl-app-variants > p bdi { white-space: nowrap; }
@media (min-width: 761px) {
    .dl-app-variants { padding: 8px 24px; }
    .dl-app-variants h2 { font-size: 20px; }
    #page .dl-variant-download { padding-inline: 18px; }
}

/* File security */
.dl-security {
    --sec-surface: light-dark(#fff, #1f2226);
    --sec-text: light-dark(#212529, #e9ebee);
    --sec-muted: light-dark(#5f6772, #a1a8b0);
    --sec-ok: light-dark(#1b6e48, #6fd8ae);
    --sec-okbg: light-dark(#e7f6ee, #14291d);
    --sec-line: var(--dl-line);
    --sec-vf: light-dark(#1f5fa8, #7fb0ea);
    position: relative; overflow: hidden; display: grid; gap: 14px;
    padding: 18px 16px 16px; border: 1px solid var(--sec-line); border-radius: 14px;
    background: var(--sec-surface); color: var(--sec-text);
    font: 14px/22px system-ui, 'Segoe UI', Tahoma, sans-serif;
}
.dl-security.is-verified {
    --sec-line: light-dark(#cbebd8, #24503a);
    background: linear-gradient(180deg, var(--sec-okbg), var(--sec-surface) 75%);
}
.dl-security > :not(.dl-security-watermark) { position: relative; min-width: 0; }
.dl-security-watermark { position: absolute; left: -22px; bottom: -26px; color: var(--sec-ok); opacity: .1; pointer-events: none; }
.dl-security-heading { display: grid; gap: 14px; }
.dl-security-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; line-height: 26px; font-weight: 800; }
.dl-security.is-verified h2 { color: var(--sec-ok); }
.dl-security-checks { display: flex; flex-wrap: wrap; gap: 8px 14px; font-weight: 700; }
.dl-security-checks span { display: inline-flex; align-items: center; gap: 7px; }
.dl-security-checks svg { width: 20px; height: 20px; color: var(--sec-ok); }
.dl-security-hashes { display: grid; gap: 10px; }
.dl-security-hash { min-width: 0; display: grid; gap: 2px; }
.dl-security-hash > bdi, .dl-security-package bdi { color: var(--sec-muted); overflow-wrap: anywhere; }
.dl-security-hash > bdi { text-align: match-parent; word-break: break-all; }
.dl-security[dir="rtl"] .dl-security-hash > bdi, html[dir="rtl"] .dl-security-hash > bdi { text-align: right; }
.dl-security[data-expanded="false"] .dl-security-sha1 { display: none; }
.dl-security[data-expanded="false"] .dl-security-hash > bdi { max-height: 44px; overflow: hidden; mask-image: linear-gradient(180deg,#000 45%,transparent); }
.dl-security-toggle { display: inline-flex; align-items: center; justify-self: start; gap: 6px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--sec-vf); font: inherit; font-weight: 700; }
.dl-security-toggle[hidden] { display: none; }
.dl-security-toggle:focus-visible { outline: 2px solid var(--sec-vf) !important; outline-offset: -2px; }
.dl-security[data-expanded="true"] .dl-security-toggle svg { transform: rotate(180deg); }
.dl-security-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; border-top: 1px solid var(--sec-line); padding-top: 12px; font-size: 13px; color: var(--sec-muted); }
.dl-security-footer > span > strong { color: var(--sec-text); }
.dl-security-pill { display: inline-flex; height: 30px; overflow: hidden; border: 1.5px solid var(--sec-vf); border-radius: 15px; color: var(--sec-vf); font-weight: 800; }
.dl-security-pill > span { display: grid; place-items: center; padding-inline: 8px; background: var(--sec-vf); color: light-dark(#fff,#16181b); }
.dl-security-pill svg { width: 16px; height: 16px; }
.dl-security-footer .dl-security-pill strong { display: grid; place-items: center; padding-inline: 10px; color: inherit; }
@media (min-width: 761px) {
    .dl-security { grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 16px 24px 12px; }
    .dl-security-watermark { display: none; }
    .dl-security-heading, .dl-security-hashes { grid-column: 1 / -1; }
    .dl-security-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
    .dl-security-checks { gap: 8px 16px; }
    .dl-security-checks svg { width: 18px; height: 18px; }
    .dl-security-hashes { grid-template-columns: minmax(0,240px) minmax(0,1fr); gap: 4px 24px; }
    .dl-security-hash { grid-column: 2; display: flex; gap: 6px; }
    .dl-security-hash strong { flex: none; }
    .dl-security-hash > bdi { min-width: 0; }
    .dl-security[data-expanded="false"] .dl-security-hash > bdi { max-height: none; mask-image: none; white-space: nowrap; text-overflow: ellipsis; }
    .dl-security-footer { grid-column: 1 / -1; grid-row: 3; padding-block: 8px 0; min-height: 52px; padding-inline-end: 110px; }
    .dl-security-toggle { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; z-index: 1; }
}

/* Ratings and threaded comments */
.dl-app-comments { --dl-review-gold: light-dark(#f5b000,#ffc83d); --review-accent: light-dark(#c23a18,#ff7a57); font-family: system-ui,'Segoe UI',Tahoma,sans-serif; }
.dl-review-heading h2 { font-size: 18px; }
.dl-review-summary,.dl-review-form { padding: 16px; margin-bottom: 12px; }
.dl-review-overview { gap: 18px; }
.dl-review-score strong { font-size: 46px; line-height: 1; }
.dl-review-stars { display: inline-flex; gap: 1px; align-items: center; color: var(--dl-review-gold); }
.dl-review-stars svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.dl-review-stars svg path[clip-path] { stroke: none; }
.dl-review-person .dl-review-stars svg { width: 13px; height: 13px; }
.dl-review-distribution > div { grid-template-columns: 10px 1fr 30px; gap: 8px; min-height: 20px; }
.dl-review-bar, .dl-review-bar i { display: block; height: 8px; border-radius: 4px; }
.dl-review-bar { background: var(--dl-bg); }
.dl-review-bar i { background: var(--dl-review-gold); }
.dl-review-choice { display: block; }
.dl-review-choice > div { gap: 2px; }
.dl-review-choice svg { stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linejoin: round; }
.dl-review-choice > div:has(input:checked) svg { fill: currentColor; }
.dl-review-choice label:has(input:checked) ~ label svg { fill: none; }
.dl-review-hint { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--dl-muted); }
.dl-review-hint.has-rating { color: var(--review-accent); }
.dl-app-comments form > label { font-weight: 600; }
.dl-app-comments form input:is([type="text"],[type="email"]) { height: 46px; padding-block: 0; }
.dl-app-comments textarea { font-weight: 400; }
#page .dl-review-form .form-submit input { min-height: 48px; padding-inline: 32px; background: #d4421e; }
.dl-review-sort { overflow-x: auto; scrollbar-width: none; }
.dl-review-sort button { flex: none; height: 40px; }
.dl-review-more { min-height: 48px; font-size: 15px; color: var(--review-accent); }
.dl-review-person { gap: 10px; }
.dl-review-person strong { font-size: 15px; }
.dl-review-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.dl-review-list > li > article .dl-review-byline small { flex-basis: 100%; }
.dl-review-person small { font-size: 12px; }
.dl-review-item-body p { font-size: 14px; line-height: 24px; }
.dl-review-actions { display: flex; align-items: center; gap: 6px; margin-inline: -8px; }
#page .dl-review-actions :is(button,a) { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 8px; background: transparent; border: 0; color: var(--dl-muted); font-size: 13px; font-weight: 600; }
#page .dl-review-actions button[aria-pressed="true"] { color: var(--review-accent); }
.dl-review-team { border-radius: 10px; padding: 0 8px; background: var(--dl-soft); color: var(--review-accent); font-size: 11px; font-weight: 700; line-height: 20px; }
.dl-review-item.dl-review-staff > article .dl-review-avatar { background: #d4421e; }
.dl-review-list .children { margin-inline-start: 18px; padding-inline-start: 14px; }
.dl-review-list .children .children { margin-inline-start: 14px; padding-inline-start: 12px; }
.dl-review-list .children .children .dl-review-avatar { width: 28px; height: 28px; }
.dl-review-thread #respond { padding: 10px; border-radius: 12px; background: var(--dl-bg); }
.dl-review-thread #respond .dl-review-choice, .dl-review-thread .dl-review-message > span { display: none; }
.dl-review-thread #respond h2 { color: var(--dl-muted); font-size: 12px; }
.dl-review-thread #respond textarea { background: var(--dl-surface); }
#page .dl-review-thread .form-submit input { width: auto; min-inline-size: 0; min-height: 40px; background: #d4421e; }
@media (min-width: 761px) {
    .dl-review-summary,.dl-review-form { padding: 20px 24px; }
    .dl-review-heading h2 { font-size: 20px; }
    .dl-review-overview { gap: 40px; }
    .dl-review-list > .dl-review-item { padding: 18px 24px; }
}

/* Category archive */
.dl-category-page { font-family: system-ui,'Segoe UI',Tahoma,sans-serif; }
.dl-category-shell { max-width: 1280px; margin-inline: auto; padding: 0 16px 24px; }
.dl-category-crumb { min-height: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--dl-muted); }
.dl-category-main { min-width: 0; display: grid; gap: 12px; }
.dl-category-layout > .dl-sidebar { display: none; }
.dl-category-hero { border-radius: 14px; padding: 16px; background: linear-gradient(135deg,light-dark(#e5eef9,#1b2735),var(--dl-surface) 70%); }
.dl-category-identity { display: flex; align-items: center; gap: 14px; }
.dl-category-identity h1 { font-size: 24px; line-height: 32px; font-weight: 800; margin: 0; }
.dl-category-identity small { font-size: 13px; color: var(--dl-muted); }
.dl-category-identity .dl-category-icon { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 16px; background: light-dark(var(--icon-light),color-mix(in srgb,var(--icon-light),var(--icon-dark) 25%)); color: #fff; }
.dl-category-identity svg { width: 28px; height: 28px; }
.dl-category-hero p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 24px; margin: 10px 0 0; color: var(--dl-muted); }
.dl-category-chips { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-inline: contain; margin-inline: -16px; padding-inline: 16px; }
#page .dl-category-chips a { flex: none; display: flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 20px; background: var(--dl-surface); color: var(--dl-text); font-size: 13px; font-weight: 700; }
#page .dl-category-chips a[aria-current] { background: var(--dl-text); color: var(--dl-surface) !important; }
.dl-category-main .dl-rail { --cat-rank-outline: var(--dl-bg); padding: 0; background: transparent; }
.dl-category-main .dl-rail .dl-rail-wrap { --dl-arrow-center: 42px; }
.dl-category-main .dl-rail .dl-items { gap: 10px; margin-inline: -16px; padding: 4px 16px; scroll-snap-type: x proximity; }
#page .dl-category-main .dl-rail .dl-card { flex-basis: 74px; align-items: center !important; text-align: center; scroll-snap-align: start; }
#page .dl-category-main .dl-rail .dl-card strong { font-size: 12px; line-height: 16px; white-space: normal; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl-category-main .dl-rail .dl-card small { font-size: 11px; font-weight: 600; }
.dl-category-main .dl-rail .dl-card :is(img,.dl-placeholder) { width: 68px; height: 68px; border-radius: 17px; }
.dl-category-main .dl-rail .dl-rank { position: absolute; inset: 43px auto auto auto; right: -3px; z-index: 1; padding: 0; background: none; line-height: 1; font-size: 34px; font-weight: 800; color: light-dark(#e5512c,#ff6a45); -webkit-text-stroke: 5px var(--cat-rank-outline); paint-order: stroke fill; }
.dl-category-main .dl-rail .dl-arrows { display: none; }
.dl-category-list { scroll-margin-top: 16px; }
.dl-category-main h2 { font-size: 18px; margin: 0; font-weight: 700; }
.dl-category-list-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.dl-category-list-heading small { color: var(--dl-muted); font-size: 12px; }
.dl-category-sort { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 4px; border-radius: 12px; background: var(--dl-surface); margin-bottom: 10px; }
#page .dl-category-sort a { display: grid; place-items: center; text-align: center; min-height: 40px; padding: 0 2px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--dl-text); }
#page .dl-category-sort a[aria-current], #page .dl-category-pagination .current { background: #d4421e; color: #fff !important; }
.dl-category-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
#page .dl-category-card { display: flex; align-items: center; flex-direction: column; justify-content: start; gap: 6px; min-width: 0; padding: 14px 8px 12px; border-radius: 14px; color: var(--dl-text); background: var(--dl-surface); text-align: center; }
.dl-category-card :is(img,.dl-placeholder) { width: 60px; height: 60px; border-radius: 15px; object-fit: cover; }
.dl-category-card strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }
.dl-category-version { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11px; line-height: 20px; font-weight: 700; color: var(--dl-link); background: var(--dl-soft); }
.dl-category-card small { font-size: 12px; color: var(--dl-muted); line-height: 16px; }
.dl-category-card small b { color: var(--dl-text); }
.dl-category-card small span { color: light-dark(#a97200,#ffc83d); }
.dl-category-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-block-start: 16px; }
#page .dl-category-pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 4px; border-radius: 10px; background: var(--dl-surface); color: var(--dl-text); font-weight: 700; }
#page .dl-category-pagination .dots { min-width: 20px; background: transparent; }
.dl-category-others h2 { margin-block-end: 10px; }
.dl-category-others > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
#page .dl-category-others a { display: flex; gap: 10px; align-items: center; padding: 8px 12px; min-height: 56px; border-radius: 12px; background: var(--dl-surface); color: var(--dl-text); font-size: 14px; font-weight: 700; }
.dl-category-others .dl-category-icon { width: 34px; height: 34px; flex: none; }
.dl-category-others svg { width: 17px; height: 17px; }
.dl-category-about { border-radius: 14px; background: var(--dl-surface); }
.dl-category-about summary { padding: 22px 16px; min-height: 72px; display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; font-size: 15px; font-weight: 700; }
.dl-category-about summary::-webkit-details-marker { display: none; }
.dl-category-about summary::after { content: ''; width: 8px; height: 8px; border: solid var(--dl-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dl-category-about[open] summary::after { transform: rotate(225deg); }
.dl-category-about > div { padding: 0 16px 16px; color: var(--dl-muted); }
#page .dl-category-page :is(a,button,summary):focus-visible { outline: 2px solid var(--dl-link) !important; outline-offset: -2px; }
@media (min-width: 1024px) {
    .dl-category-shell { padding: 0 50px 38px; }
    .dl-category-crumb { min-height: 48px; font-size: 13px; }
    .dl-category-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 20px; align-items: start; }
    .dl-category-layout > .dl-sidebar { display: flex; }
    .dl-category-main { gap: 20px; }
    .dl-category-hero { padding: 20px 24px; }
    .dl-category-chips { margin: 0; padding: 0 0 5px; scrollbar-width: thin; scrollbar-color: var(--dl-muted) var(--dl-bg); }
    .dl-category-main .dl-rail { --cat-rank-outline: var(--dl-surface); padding: 12px 20px 18px; background: var(--dl-surface); }
    .dl-category-main .dl-rail .dl-items { margin-inline: -8px; padding-inline: 8px; scroll-snap-type: none; }
    #page .dl-category-main .dl-rail .dl-card { flex-basis: 87px; }
    .dl-category-main .dl-rail .dl-card :is(img,.dl-placeholder) { width: 76px; height: 76px; border-radius: 19px; }
    .dl-category-main .dl-rail .dl-rank { inset-block-start: 48px; font-size: 38px; }
    .dl-category-main .dl-rail .dl-arrows { display: block; }
    .dl-category-main .dl-arrows [data-dl-step="-1"] { inset-inline-start: 12px; }
    .dl-category-main .dl-arrows [data-dl-step="1"] { inset-inline-end: 12px; }
    .dl-category-sort { max-width: 420px; }
    .dl-category-cards { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
    .dl-category-card :is(img,.dl-placeholder) { width: min(72px,100%); height: auto; aspect-ratio: 1; border-radius: 18px; }
    .dl-category-others > div { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .dl-category-about summary { padding-inline: 24px; }
}
