:root {
    --sg-bg: #edf2f6;
    --sg-paper: #ffffff;
    --sg-ink: #101214;
    --sg-muted: #66717a;
    --sg-line: #d6dfe5;
    --sg-blue: #246bfd;
    --sg-blue-dark: #1649bd;
    --sg-yellow: #ffd84d;
    --sg-coral: #ff5d5d;
    --sg-mint: #38c98b;
    --sg-mint-soft: #e2f8ee;
}

* { letter-spacing: 0; }
html { background: var(--sg-bg); }
body, input, textarea, select, button { font-family: Arial, "Helvetica Neue", sans-serif; }
body { background: var(--sg-bg); color: var(--sg-ink); font-size: 15px; }
a { color: var(--sg-ink); }
a:hover { color: var(--sg-blue); }
.wrap { background: transparent; }
.wrap-center { max-width: 1340px; }

/* Header and navigation */
.header { position: relative; z-index: 120; height: 82px; background: #101214 !important; border: 0; box-shadow: none; }
.header-in { height: 82px; padding: 0 22px; }
.dn-logo { display: inline-flex !important; align-items: center; gap: 10px; min-width: 205px; text-decoration: none !important; }
.dn-logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; border-radius: 8px; background: var(--sg-yellow); color: var(--sg-ink); font-size: 24px; }
.dn-logo-name { color: #fff; font-size: 24px; line-height: 1; font-weight: 900; }
.dn-logo-name span { color: var(--sg-yellow); }
.search-wrap { max-width: 620px; margin: 0 auto; padding: 0 28px; }
.search-box { height: 46px; border: 1px solid #3c4247; border-radius: 8px; background: #24282b; overflow: hidden; }
.search-box input, .search-box input:focus { height: 46px; padding: 0 17px; background: transparent !important; box-shadow: none !important; color: #fff; }
.search-box input::placeholder { color: #929aa0 !important; }
.search-box button { width: 54px; height: 46px; background: var(--sg-blue) !important; color: #fff; }
.btn-login, .btn-fav, .btn-search, .btn-menu { color: #fff !important; }

.wrap-main { padding: 0 20px; }
.tmenu { min-height: 54px; margin: 0 -20px; padding: 0 max(20px, calc((100vw - 1340px) / 2 + 20px)); background: var(--sg-yellow) !important; border: 0; border-radius: 0; box-shadow: none !important; }
.tmenu > li { margin-right: 2px; }
.tmenu > li > a { height: 54px; padding: 0 18px; line-height: 54px; color: var(--sg-ink); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.tmenu .fa { margin-right: 8px; color: var(--sg-ink) !important; }
.tmenu > li > a:hover { background: #fff; color: var(--sg-blue-dark); }
.tmenu .share-box, .footer > .share { display: none !important; }

/* Categories become horizontal bands */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 26px 0 40px; align-items: start; }
.content { grid-column: 1 / -1; grid-row: 2; min-width: 0; padding: 0; }
.col-left { grid-column: 1; grid-row: 1; }
.col-right { grid-column: 2; grid-row: 1; }
.col-left, .col-right { width: auto; min-width: 0; }
.col-left .side-box:not(.side-nav), .col-right .side-box:not(.side-nav) { display: none; }
.side-box { margin: 0; padding: 0; background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: 8px; overflow: hidden; }
.side-bt { min-height: 46px; padding: 14px 17px 12px; background: var(--sg-blue); border: 0; color: #fff; font-size: 14px; font-weight: 900; text-transform: uppercase; }
.col-right .side-bt { background: var(--sg-coral); }
.side-bt .fa { color: var(--sg-yellow) !important; }
.side-bc { padding: 12px; }
.smenu { display: flex; flex-wrap: wrap; gap: 7px; }
.smenu li { display: block; }
.smenu a { display: block; padding: 7px 10px; border: 1px solid var(--sg-line); border-radius: 6px; background: #f7f9fa; color: #3c454c; font-size: 11px; font-weight: 800; }
.smenu a:before { display: none; }
.smenu a:hover { border-color: var(--sg-blue); background: #eef3ff; color: var(--sg-blue-dark); }

/* Section rhythm */
.sect + .sect, .sect + #dle-content { margin-top: 38px; }
.sect-header { min-height: 58px; margin-bottom: 16px; padding: 0 18px; background: var(--sg-paper); border: 1px solid var(--sg-line); border-left: 8px solid var(--sg-blue); border-radius: 8px; }
.sect:nth-child(even) .sect-header { border-left-color: var(--sg-coral); }
.sect-title { color: var(--sg-ink); font-size: 24px; font-weight: 900; }
.sect-link { min-height: 34px; padding: 0 13px; border: 0; border-radius: 6px; background: var(--sg-yellow) !important; color: var(--sg-ink) !important; line-height: 34px; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.sect-link:hover { background: var(--sg-blue) !important; color: #fff !important; }

/* Large app tiles */
.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 { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 13px; background: var(--sg-paper) !important; border: 1px solid var(--sg-line); border-top: 6px solid var(--sg-blue); border-radius: 8px; box-shadow: none !important; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.short-item:nth-child(4n+2) .short-in { border-top-color: var(--sg-coral); }
.short-item:nth-child(4n+3) .short-in { border-top-color: var(--sg-mint); }
.short-item:nth-child(4n+4) .short-in { border-top-color: var(--sg-yellow); }
.short-in:hover { transform: translateY(-4px); box-shadow: 0 12px 25px rgba(28,48,61,.12) !important; }
.short-link { display: block; }
.short-img-holder { margin: 0; padding: 0; background: #f0f4f6; border-radius: 6px; overflow: hidden; }
.short-img-holder:before, .short-img-holder:after { display: none; }
.short-img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; }
.short-img img { width: 100%; height: 100%; object-fit: cover; }
.short-title { min-width: 0; height: auto; margin: 12px 0 0; overflow: hidden; color: var(--sg-ink); font-size: 15px; line-height: 1.25; font-weight: 900; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.short-version { align-self: flex-start; margin-top: 7px; padding: 4px 7px; background: var(--sg-yellow); color: var(--sg-ink); border-radius: 4px; font-size: 10px; font-weight: 900; }
.short-desc { min-height: 57px; margin-top: 9px; color: var(--sg-muted); font-size: 11px; line-height: 1.5; text-align: left; }
.short-bottom { margin-top: auto; padding-top: 10px; border-top: 1px solid #e5eaed; text-align: left; }
.short-label { background: var(--sg-coral) !important; }

.pages, .filter-sect, .sect-wide, .add-comm-form, .comm-right, .sres-wrap, .us-prof { background: var(--sg-paper) !important; border: 1px solid var(--sg-line); border-radius: 8px; box-shadow: none !important; }
.site-desc-wr { margin-top: 48px; }
.site-desc { padding: 28px; background: var(--sg-paper) !important; border: 1px solid var(--sg-line); border-top: 8px solid var(--sg-mint); border-radius: 8px; color: #4e5961 !important; font-size: 13px; line-height: 1.78; }
.site-desc h1, .site-desc h2 { color: var(--sg-ink) !important; font-size: 25px; line-height: 1.25; }
.site-desc a { color: var(--sg-blue) !important; }
.full-text { color: #333c43; font-size: 16px; line-height: 1.78; }
.full-text h2 { margin: 35px 0 14px; color: var(--sg-ink); font-size: 25px; line-height: 1.2; }
.full-text h3 { margin: 27px 0 11px; color: var(--sg-ink); font-size: 19px; }
.full-text a { color: var(--sg-blue); }

/* Footer */
.footer { margin: 50px -20px 0; padding: 42px 28px; background: var(--sg-ink) !important; border-top: 8px solid var(--sg-yellow); border-radius: 0; color: #adb6bc; }
.footer:before, .footer:after { display: none; }
.footer .dn-logo { justify-content: center; margin: 0 auto 18px; }
.footer .dn-logo-name { color: #fff; }
.ft-copyr, .ft-menu { color: #adb6bc; }
.ft-copyr a, .ft-menu a { color: var(--sg-yellow); }

/* Product page */
.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 { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; color: var(--sg-ink); }
.dn-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; color: var(--sg-muted); font-size: 12px; }
.dn-breadcrumbs a { color: var(--sg-blue); font-weight: 900; }

.dn-app-hero { display: grid; grid-template-columns: 188px minmax(0,1fr) 250px; gap: 30px; align-items: center; min-width: 0; max-width: 100%; padding: 30px; overflow: hidden; background: var(--sg-blue); border: 0; border-radius: 8px 8px 0 0; }
.dn-app-icon { width: 188px; height: 188px; border: 7px solid #fff; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 12px 12px 0 var(--sg-yellow); }
.dn-app-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dn-app-title { min-width: 0; }
.dn-app-category { margin-bottom: 11px; overflow: hidden; color: var(--sg-yellow); font-size: 12px; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.dn-app-category a { color: var(--sg-yellow); }
.dn-app-title h1 { margin: 0; overflow-wrap: anywhere; color: #fff; font-size: 46px; line-height: 1.04; font-weight: 900; }
.dn-app-subtitle { max-width: 660px; margin: 14px 0 0; color: #dce6ff; font-size: 15px; line-height: 1.55; }
.dn-app-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.dn-app-tags span { padding: 7px 10px; border-radius: 5px; background: #fff; color: var(--sg-blue-dark); font-size: 11px; font-weight: 900; }
.dn-app-actions { padding-left: 27px; border-left: 1px solid rgba(255,255,255,.35); text-align: center; }
.dn-rating { margin-bottom: 15px; }
.dn-rating .mrating { margin: 0 auto; }
.dn-rating-count { margin-top: 6px; color: #dce6ff; font-size: 11px; }
.dn-primary-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 18px; border-radius: 7px; background: var(--sg-yellow); color: var(--sg-ink) !important; font-size: 14px; font-weight: 900; text-decoration: none !important; text-transform: uppercase; }
.dn-primary-button:hover { background: #fff; color: var(--sg-blue-dark) !important; }
.dn-favorite { margin-top: 13px; color: #dce6ff; font-size: 11px; }
.dn-favorite a { color: #fff; }
.dn-favorite .fa { margin-right: 6px; color: var(--sg-yellow); }

.dn-facts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 0; padding: 0; background: var(--sg-paper); border: 1px solid var(--sg-line); border-top: 8px solid var(--sg-yellow); border-radius: 0 0 8px 8px; list-style: none; overflow: hidden; }
.dn-facts li { min-width: 0; padding: 18px 20px; border-right: 1px solid var(--sg-line); border-bottom: 1px solid var(--sg-line); }
.dn-facts li:nth-child(5n) { border-right: 0; }
.dn-facts small { display: block; margin-bottom: 5px; color: var(--sg-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.dn-facts strong { display: block; overflow-wrap: anywhere; color: var(--sg-ink); font-size: 14px; }
.dn-facts a { color: var(--sg-blue); }

.dn-story-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 34px; margin-top: 38px; }
.dn-story-main, .dn-section { min-width: 0; }
.dn-section { margin-bottom: 38px; }
.dn-section-heading { margin-bottom: 18px; padding: 16px 18px; background: var(--sg-yellow); border-radius: 8px; }
.dn-kicker { margin: 0 0 5px; color: var(--sg-blue-dark); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.dn-section-heading h2 { margin: 0; color: var(--sg-ink); font-size: 28px; line-height: 1.15; }
.dn-movie-slot { min-height: 1px; margin-bottom: 18px; }
.dn-trust-panel { position: sticky; top: 20px; padding: 23px; background: var(--sg-yellow); border-radius: 8px; color: var(--sg-ink); }
.dn-trust-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 17px; border-radius: 8px; background: var(--sg-blue); color: #fff; font-size: 22px; }
.dn-trust-panel h2 { margin: 0 0 10px; color: var(--sg-ink); font-size: 21px; }
.dn-trust-panel > p { margin: 0 0 18px; color: #594e1f; font-size: 13px; line-height: 1.55; }
.dn-file-list { margin: 0; }
.dn-file-list div { padding: 11px 0; border-top: 1px solid rgba(16,18,20,.18); }
.dn-file-list dt { margin-bottom: 4px; color: #6a5a1e; font-size: 10px; text-transform: uppercase; }
.dn-file-list dd { margin: 0; overflow-wrap: anywhere; color: var(--sg-ink); font-size: 13px; font-weight: 900; }

.dn-gallery { margin-top: 42px; }
.dn-gallery-track { display: flex; gap: 12px; overflow-x: auto; padding: 3px 2px 14px; scroll-snap-type: x mandatory; scrollbar-color: var(--sg-blue) #dfe6ea; }
.dn-gallery-track > .xfieldimagegallery { display: flex !important; width: max-content !important; max-width: none !important; margin: 0 !important; padding: 0 !important; gap: 12px; 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: 430px !important; max-width: none !important; margin: 0 !important; border: 5px solid #fff; border-radius: 8px; scroll-snap-align: start; object-fit: cover; }

.dn-install { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 28px; margin-top: 38px; padding: 27px; background: var(--sg-mint-soft); border: 1px solid #9cdec1; border-left: 8px solid var(--sg-mint); border-radius: 8px; }
.dn-install h2 { margin: 0; color: var(--sg-ink); font-size: 24px; }
.dn-install ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 24px; margin: 0; padding: 0; list-style: none; counter-reset: install; }
.dn-install li { position: relative; min-height: 40px; padding-left: 45px; color: #315b49; 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: 8px; background: var(--sg-mint); color: #fff; font-weight: 900; }
.dn-faq { margin-top: 40px; }
.dn-faq details { border-top: 1px solid var(--sg-line); background: var(--sg-paper); }
.dn-faq details:last-child { border-bottom: 1px solid var(--sg-line); }
.dn-faq summary { position: relative; padding: 18px 48px 18px 15px; color: var(--sg-ink); font-weight: 900; cursor: pointer; list-style: none; }
.dn-faq summary:after { content: "+"; position: absolute; right: 14px; top: 10px; color: var(--sg-blue); font-size: 28px; }
.dn-faq details[open] summary:after { content: "−"; }
.dn-faq details p { margin: -4px 15px 19px; color: var(--sg-muted); line-height: 1.65; }
.dn-download-band { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 26px; align-items: center; margin-top: 40px; padding: 28px; background: var(--sg-coral); border-radius: 8px; }
.dn-download-band .dn-kicker { color: #fff; }
.dn-download-band h2 { margin: 0 0 7px; color: #fff; font-size: 27px; }
.dn-download-band p { margin: 0; color: #fff; }
.dn-download-band .dn-primary-button { background: var(--sg-yellow); }
.bunnyvpn-banner { border-radius: 8px !important; }
.bunnyvpn-banner__link { border-radius: 7px !important; background: var(--sg-blue) !important; animation: none !important; }
.sect-rels { margin-top: 42px; }
.sect-rels .sect-content { padding: 0; }
.sect-comms .sect-content { padding: 22px; background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: 8px; }
.download-popup__dialog { border-radius: 8px !important; background: var(--sg-ink) !important; }
.download-popup__action { border-radius: 7px !important; background: #229ed9 !important; animation: none !important; }
.download-popup__close { border-radius: 7px !important; }

@media (max-width: 1100px) {
    .short-items { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .dn-app-hero { grid-template-columns: 155px minmax(0,1fr) 220px; }
    .dn-app-icon { width: 155px; height: 155px; box-shadow: 8px 8px 0 var(--sg-yellow); }
}

@media (max-width: 820px) {
    .wrap { padding-top: 0; }
    .cols { grid-template-columns: 1fr; }
    .col-left, .col-right, .content { grid-column: 1; }
    .col-left { grid-row: 1; }
    .col-right { grid-row: 2; }
    .content { grid-row: 3; width: 100%; min-width: 100%; }
    .short-items { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dn-app-hero { grid-template-columns: 130px minmax(0,1fr); }
    .dn-app-icon { width: 130px; height: 130px; }
    .dn-app-title h1 { font-size: 36px; }
    .dn-app-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 230px; align-items: center; padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
    .dn-rating { margin: 0; }
    .dn-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .dn-facts li:nth-child(5n) { border-right: 1px solid var(--sg-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: 560px) {
    .header, .header-in { height: 68px; }
    .wrap-main { padding: 0 12px; }
    .dn-logo { min-width: 0; }
    .dn-logo-mark { width: 36px; height: 36px; font-size: 20px; }
    .dn-logo-name { font-size: 19px; }
    .tmenu { margin: 0 -12px; }
    .cols { gap: 12px; margin-top: 16px; }
    .side-bt { min-height: 42px; padding: 12px 14px; }
    .side-bc { padding: 9px; }
    .smenu { gap: 5px; }
    .smenu a { padding: 6px 8px; font-size: 10px; }
    .sect-header { min-height: 50px; padding: 0 13px; }
    .sect-title { font-size: 19px; }
    .sect-link { display: none; }
    .short-items { gap: 10px; }
    .short-in { padding: 9px; border-top-width: 5px; }
    .short-title { font-size: 13px; }
    .short-desc { display: none; }
    .short-bottom { margin-top: 9px; }
    .site-desc { padding: 20px; }
    .site-desc h1 { font-size: 21px; }
    .is-full-page .dn-app { width: calc(100vw - 44px); max-width: calc(100vw - 44px); }
    .dn-app-hero { grid-template-columns: 92px minmax(0,1fr); gap: 16px; padding: 19px; border-radius: 8px 8px 0 0; }
    .dn-app-icon { width: 92px; height: 92px; border-width: 4px; box-shadow: 5px 5px 0 var(--sg-yellow); }
    .dn-app-title h1 { font-size: 27px; }
    .dn-app-subtitle { display: none; }
    .dn-app-tags { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; margin-top: 11px; }
    .dn-app-tags span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dn-app-actions { display: block; }
    .dn-rating { margin-bottom: 15px; }
    .dn-facts { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dn-facts li, .dn-facts li:nth-child(3n) { min-width: 0; border-right: 1px solid var(--sg-line); }
    .dn-facts li:nth-child(2n) { border-right: 0; }
    .dn-story-layout, .dn-gallery, .dn-install, .dn-faq, .dn-download-band, .dn-app .sect-rels { width: 100%; max-width: 100%; }
    .dn-section-heading { padding: 14px; }
    .dn-section-heading h2 { font-size: 22px; }
    .dn-gallery-track img { height: 320px !important; }
    .dn-install { padding: 19px; }
    .dn-install ol { grid-template-columns: 1fr; }
    .dn-download-band { grid-template-columns: 1fr; padding: 21px; }
    .dn-download-band h2 { font-size: 22px; }
    .footer { margin-left: -12px; margin-right: -12px; }
}
