:root {
    --dn-bg: #f3f6f4;
    --dn-surface: #ffffff;
    --dn-surface-soft: #eef4f0;
    --dn-ink: #17211c;
    --dn-muted: #68766e;
    --dn-line: #dce5df;
    --dn-green: #20a663;
    --dn-green-dark: #147345;
    --dn-header: #153b2e;
    --dn-coral: #e97955;
    --dn-yellow: #f1c75b;
}

* { letter-spacing: 0; }

html { background: var(--dn-bg); }

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

body {
    background: var(--dn-bg);
    color: var(--dn-ink);
    font-size: 15px;
}

a { color: var(--dn-ink); }
a:hover { color: var(--dn-green-dark); }

.wrap { background: transparent; }
.wrap-center { max-width: 1320px; }

.header {
    position: sticky;
    top: 0;
    z-index: 120;
    height: 76px;
    background: var(--dn-header) !important;
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 24px rgba(20,55,42,.14);
}

.header-in { height: 76px; padding: 0 22px; }

.dn-logo {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    min-width: 190px;
    text-decoration: none !important;
}

.dn-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--dn-green);
    color: #fff;
    font-size: 23px;
}

.dn-logo-name {
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}

.dn-logo-name span { color: #73db9f; }

.search-wrap { max-width: 590px; margin: 0 auto; padding: 0 28px; }

.search-box {
    height: 44px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    overflow: hidden;
}

.search-box input,
.search-box input:focus {
    height: 44px;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff;
    padding: 0 18px;
}

.search-box input::placeholder { color: rgba(255,255,255,.62) !important; }
.search-box button { width: 52px; height: 44px; background: var(--dn-green) !important; }

.btn-login,
.btn-fav,
.btn-search,
.btn-menu { color: #fff !important; }

.wrap-main { padding: 0 20px; }

.tmenu {
    min-height: 58px;
    margin: 18px 0 0;
    padding: 0 20px;
    background: var(--dn-surface) !important;
    border: 1px solid var(--dn-line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(26,55,42,.06) !important;
}

.tmenu > li { margin-right: 28px; }
.tmenu > li > a { height: 58px; line-height: 58px; color: var(--dn-ink); }
.tmenu .fa { color: var(--dn-green) !important; }
.tmenu > li > a:hover { color: var(--dn-green-dark); }
.tmenu .share-box,
.footer > .share { display: none !important; }

.cols { margin: 24px 0 34px; align-items: flex-start; }
.col-left, .col-right { width: 192px; flex: 0 0 192px; }
.content { min-width: 0; padding: 0 22px; }

.side-box {
    margin-bottom: 18px;
    padding: 0;
    background: var(--dn-surface);
    border: 1px solid var(--dn-line);
    border-radius: 8px;
    overflow: hidden;
}

.side-bt {
    min-height: 48px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--dn-line);
    color: var(--dn-ink);
    font-size: 15px;
    font-weight: 800;
}

.side-bt .fa { color: var(--dn-green) !important; }
.side-bc { padding: 10px 14px 14px; }
.smenu a { padding: 9px 2px 9px 17px; border-bottom-color: var(--dn-line); color: #445149; font-size: 13px; }
.smenu a:before { left: 1px; color: var(--dn-green) !important; font-size: 6px; }

.sect + .sect,
.sect + #dle-content { margin-top: 28px; }

.sect-header {
    min-height: 48px;
    margin-bottom: 14px;
    padding: 0;
    border-bottom: 1px solid var(--dn-line);
}

.sect-title { color: var(--dn-ink); font-size: 23px; font-weight: 800; }
.sect-link {
    min-height: 36px;
    padding: 0 15px;
    border: 1px solid #b9ddc8;
    border-radius: 7px;
    background: #e9f7ef !important;
    color: var(--dn-green-dark) !important;
    line-height: 34px;
    font-size: 12px;
    font-weight: 800;
}

.short-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.short-item { float: none; width: auto; min-width: 0; margin: 0; padding: 0; }

.short-in {
    height: 100%;
    padding: 12px;
    background: var(--dn-surface) !important;
    border: 1px solid var(--dn-line);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(26,55,42,.06) !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.short-in:hover {
    transform: translateY(-3px);
    border-color: #add8bf;
    box-shadow: 0 12px 28px rgba(26,55,42,.11) !important;
}

.short-img-holder { margin: 0; padding: 0; border-radius: 7px; background: var(--dn-surface-soft); }
.short-img-holder:before,
.short-img-holder:after { display: none; }
.short-img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 7px; overflow: hidden; }
.short-img img { width: 100%; height: 100%; object-fit: cover; }
.short-title { margin-top: 12px; color: var(--dn-ink); font-size: 14px; font-weight: 800; }
.short-desc { min-height: 58px; margin-top: 7px; color: var(--dn-muted); font-size: 12px; line-height: 1.55; }
.short-bottom { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--dn-line); }
.short-label { background: var(--dn-coral) !important; }

.pages,
.filter-sect,
.sect-wide,
.add-comm-form,
.comm-right,
.sres-wrap,
.us-prof {
    background: var(--dn-surface) !important;
    border: 1px solid var(--dn-line);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(26,55,42,.05) !important;
}

.full-text { color: #34423a; font-size: 16px; line-height: 1.78; }
.full-text h2 { margin: 34px 0 14px; color: var(--dn-ink); font-size: 24px; line-height: 1.25; }
.full-text h3 { margin: 26px 0 12px; color: var(--dn-ink); font-size: 19px; line-height: 1.3; }
.full-text a { color: var(--dn-green-dark); }

.footer {
    margin-top: 34px;
    padding: 38px 28px;
    background: var(--dn-header) !important;
    border-top: 0;
    border-radius: 8px 8px 0 0;
    color: rgba(255,255,255,.7);
}

.footer:before,
.footer:after { display: none; }
.footer .dn-logo { justify-content: center; margin: 0 auto 18px; }
.ft-copyr, .ft-menu { color: rgba(255,255,255,.68); }
.ft-copyr a, .ft-menu a { color: #86e2ac; }

/* Full story */
.is-full-page .col-left,
.is-full-page .col-right { display: none; }
.is-full-page .content { width: 100%; padding: 0; }
.is-full-page .cols { display: block; }

.dn-app { color: var(--dn-ink); }

.dn-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--dn-muted);
    font-size: 13px;
}
.dn-breadcrumbs a { color: var(--dn-green-dark); }

.dn-app-hero {
    display: grid;
    grid-template-columns: 172px minmax(0,1fr) 230px;
    gap: 26px;
    align-items: center;
    padding: 26px;
    background: var(--dn-surface);
    border: 1px solid var(--dn-line);
    border-left: 6px solid var(--dn-green);
    border-radius: 8px;
}

.dn-app-icon { width: 172px; height: 172px; border-radius: 8px; overflow: hidden; background: var(--dn-surface-soft); }
.dn-app-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dn-app-category { margin-bottom: 10px; color: var(--dn-green-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.dn-app-title h1 { margin: 0; color: var(--dn-ink); font-size: 38px; line-height: 1.1; font-weight: 850; }
.dn-app-subtitle { max-width: 680px; margin: 13px 0 0; color: var(--dn-muted); font-size: 15px; line-height: 1.55; }
.dn-app-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.dn-app-tags span { padding: 7px 10px; border-radius: 6px; background: var(--dn-surface-soft); color: #405047; font-size: 12px; font-weight: 700; }

.dn-app-actions { padding-left: 24px; border-left: 1px solid var(--dn-line); text-align: center; }
.dn-rating { margin-bottom: 14px; }
.dn-rating .mrating { margin: 0 auto; }
.dn-rating-count { margin-top: 6px; color: var(--dn-muted); font-size: 12px; }
.dn-primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 7px;
    background: var(--dn-green);
    color: #fff !important;
    font-size: 15px;
    font-weight: 850;
    text-decoration: none !important;
}
.dn-primary-button:hover { background: var(--dn-green-dark); }
.dn-favorite { margin-top: 12px; color: var(--dn-muted); font-size: 12px; }
.dn-favorite .fa { margin-right: 6px; color: var(--dn-coral); }

.dn-facts {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    margin: 16px 0 0;
    padding: 0;
    background: var(--dn-surface);
    border: 1px solid var(--dn-line);
    border-radius: 8px;
    list-style: none;
}
.dn-facts li { min-width: 0; padding: 17px 18px; border-right: 1px solid var(--dn-line); }
.dn-facts li:nth-child(5n) { border-right: 0; }
.dn-facts small { display: block; margin-bottom: 6px; color: var(--dn-muted); font-size: 11px; text-transform: uppercase; }
.dn-facts strong { display: block; overflow-wrap: anywhere; color: var(--dn-ink); font-size: 14px; }
.dn-facts a { color: var(--dn-green-dark); }

.dn-story-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 28px; margin-top: 28px; }
.dn-story-main { min-width: 0; }
.dn-section { margin-bottom: 34px; }
.dn-section-heading { margin-bottom: 16px; }
.dn-kicker { margin: 0 0 5px; color: var(--dn-green-dark); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.dn-section-heading h2 { margin: 0; color: var(--dn-ink); font-size: 26px; line-height: 1.2; }
.dn-movie-slot { min-height: 1px; margin-bottom: 18px; }

.dn-trust-panel {
    position: sticky;
    top: 96px;
    padding: 20px;
    background: var(--dn-header);
    border-radius: 8px;
    color: #fff;
}
.dn-trust-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 8px; background: var(--dn-green); font-size: 21px; }
.dn-trust-panel h2 { margin: 0 0 10px; color: #fff; font-size: 20px; }
.dn-trust-panel > p { margin: 0 0 18px; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.55; }
.dn-file-list { margin: 0; }
.dn-file-list div { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.12); }
.dn-file-list dt { margin-bottom: 4px; color: rgba(255,255,255,.58); font-size: 11px; }
.dn-file-list dd { margin: 0; overflow-wrap: anywhere; color: #fff; font-size: 13px; font-weight: 750; }

.dn-gallery { margin-top: 36px; }
.dn-gallery-track { display: flex; gap: 14px; overflow-x: auto; padding: 3px 2px 14px; scroll-snap-type: x mandatory; scrollbar-color: var(--dn-green) var(--dn-surface-soft); }
.dn-gallery-track > .xfieldimagegallery {
    display: flex !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 14px;
    list-style: none;
}
.dn-gallery-track > .xfieldimagegallery > li {
    float: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-snap-align: start;
}
.dn-gallery-track img { width: auto !important; height: 420px !important; max-width: none !important; margin: 0 !important; border-radius: 8px; scroll-snap-align: start; object-fit: cover; }
.dn-gallery-track a { flex: 0 0 auto; }

.dn-install {
    display: grid;
    grid-template-columns: 230px minmax(0,1fr);
    gap: 24px;
    margin-top: 34px;
    padding: 24px;
    background: #fff7e1;
    border: 1px solid #ead89e;
    border-radius: 8px;
}
.dn-install h2 { margin: 0; color: var(--dn-ink); font-size: 23px; }
.dn-install ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 22px; margin: 0; padding: 0; list-style: none; counter-reset: install; }
.dn-install li { position: relative; min-height: 42px; padding-left: 44px; color: #4f554d; font-size: 13px; line-height: 1.5; counter-increment: install; }
.dn-install li:before { content: counter(install); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--dn-yellow); color: #443b20; font-weight: 850; }

.dn-faq { margin-top: 34px; }
.dn-faq details { border-top: 1px solid var(--dn-line); background: var(--dn-surface); }
.dn-faq details:last-child { border-bottom: 1px solid var(--dn-line); }
.dn-faq summary { position: relative; padding: 17px 42px 17px 0; color: var(--dn-ink); font-weight: 800; cursor: pointer; list-style: none; }
.dn-faq summary:after { content: "+"; position: absolute; right: 8px; top: 13px; color: var(--dn-green); font-size: 24px; }
.dn-faq details[open] summary:after { content: "−"; }
.dn-faq details p { margin: -4px 0 18px; color: var(--dn-muted); line-height: 1.65; }

.dn-download-band {
    display: grid;
    grid-template-columns: minmax(0,1fr) 270px;
    gap: 24px;
    align-items: center;
    margin-top: 34px;
    padding: 24px;
    background: var(--dn-surface);
    border: 2px solid #a9d9bd;
    border-radius: 8px;
}
.dn-download-band h2 { margin: 0 0 7px; color: var(--dn-ink); font-size: 25px; }
.dn-download-band p { margin: 0; color: var(--dn-muted); }

.bunnyvpn-banner { border-radius: 8px !important; }
.bunnyvpn-banner__link { border-radius: 7px !important; background: var(--dn-header) !important; animation: none !important; }

.sect-rels { margin-top: 36px; }
.sect-rels .sect-content { padding: 0; }
.sect-comms .sect-content { padding: 20px; background: var(--dn-surface); border: 1px solid var(--dn-line); border-radius: 8px; }

.download-popup__dialog { border-radius: 8px !important; background: var(--dn-header) !important; }
.download-popup__action { border-radius: 7px !important; background: #229ed9 !important; animation: none !important; }
.download-popup__close { border-radius: 7px !important; }

@media (max-width: 1220px) {
    .wrap-center { max-width: 1000px; }
    .content { width: 100%; min-width: 100%; flex: 0 0 100%; padding: 0; }
    .col-left, .col-right { width: calc(50% - 8px); flex-basis: calc(50% - 8px); margin-top: 28px; }
    .cols { flex-wrap: wrap; justify-content: space-between; }
    .is-full-page .cols { display: block; }
    .dn-app-hero { grid-template-columns: 150px minmax(0,1fr) 210px; }
    .dn-app-icon { width: 150px; height: 150px; }
}

@media (max-width: 900px) {
    .short-items { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .dn-app-hero { grid-template-columns: 130px minmax(0,1fr); }
    .dn-app-icon { width: 130px; height: 130px; }
    .dn-app-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 220px; align-items: center; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--dn-line); }
    .dn-rating { margin: 0; }
    .dn-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .dn-facts li, .dn-facts li:nth-child(5n) { border-right: 1px solid var(--dn-line); border-bottom: 1px solid var(--dn-line); }
    .dn-facts li:nth-child(3n) { border-right: 0; }
    .dn-story-layout { grid-template-columns: 1fr; }
    .dn-trust-panel { position: static; }
    .dn-install { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .header, .header-in { height: 66px; }
    .wrap-main { padding: 0 12px; }
    .dn-logo { min-width: 0; }
    .dn-logo-mark { width: 34px; height: 34px; font-size: 20px; }
    .dn-logo-name { font-size: 20px; }
    .tmenu { margin-top: 12px; }
    .short-items { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .short-in { padding: 9px; }
    .short-desc { display: none; }
    .sect-title { font-size: 20px; }
    .sect-link { display: none; }
    .col-left, .col-right { width: 100%; flex-basis: 100%; }
    .dn-app-hero { grid-template-columns: 92px minmax(0,1fr); gap: 15px; padding: 18px; }
    .dn-app-icon { width: 92px; height: 92px; }
    .dn-app-title h1 { font-size: 27px; }
    .dn-app-subtitle { display: none; }
    .dn-app-tags { margin-top: 10px; }
    .dn-app-actions { display: block; }
    .dn-rating { margin-bottom: 14px; }
    .dn-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dn-facts li:nth-child(3n) { border-right: 1px solid var(--dn-line); }
    .dn-facts li:nth-child(2n) { border-right: 0; }
    .dn-story-layout { margin-top: 22px; }
    .dn-section-heading h2 { font-size: 23px; }
    .dn-gallery-track img { height: 320px !important; }
    .dn-install { padding: 18px; }
    .dn-install ol { grid-template-columns: 1fr; }
    .dn-download-band { grid-template-columns: 1fr; padding: 18px; }
    .dn-download-band h2 { font-size: 22px; }
    .footer { margin-left: -12px; margin-right: -12px; border-radius: 0; }
}
