/* MONSTER-MCPE responsive redesign layer. Loaded after styles.css. */
:root {
    --mm-bg: #fff;
    --mm-card: #fff;
    --mm-soft: #f3f7f5;
    --mm-text: #101722;
    --mm-muted: #5d6878;
    --mm-line: #dfe8e3;
    --mm-green: #20a83a;
    --mm-green-dark: #11842a;
    --mm-green-soft: #e9f8ed;
    --mm-shadow: 0 14px 34px rgba(16, 24, 40, .08);
    --mm-radius: 8px;
    --mm-font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    font: 14px/1.55 var(--mm-font);
    color: var(--mm-text);
    background: var(--mm-bg);
    background-image: none;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--mm-text); }
a:hover, a:focus { color: var(--mm-green); }
img { height: auto; }

.wrap {
    width: 100%;
    min-width: 320px;
    overflow: hidden;
    background: #fff;
    background-image: none;
    box-shadow: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(223, 232, 227, .85);
    background: #fff;
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: auto;
    height: auto;
    float: none;
    flex: 0 0 auto;
    color: var(--mm-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.logo img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.logo strong {
    color: var(--mm-green-dark);
    font-weight: 800;
}

.logo:hover,
.logo:focus {
    color: var(--mm-text);
}

.top-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 1 1 auto;
}

.top-menu a {
    font-size: 14px;
    font-weight: 700;
}

.top-menu a.active,
.top-menu a:hover {
    color: var(--mm-green);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.search-box {
    float: none;
    width: 220px;
    margin: 0;
    position: relative;
}

.search-box input,
.search-box input:focus {
    height: 38px;
    line-height: 38px;
    padding: 0 42px 0 15px;
    border: 1px solid var(--mm-line);
    border-radius: 999px;
    box-shadow: none;
    color: var(--mm-text);
    background: #f7faf9;
}

.search-box button {
    position: absolute;
    right: 2px;
    top: 50%;
    width: 36px;
    height: 36px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #7d8996 !important;
    transform: translateY(-50%);
}

.search-box button .fa {
    display: block;
    line-height: 1;
}

.btn-menu,
button.btn-menu:not(.color-btn):not([class*=fr]) {
    display: none;
    min-height: 38px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    padding: 0;
    border-radius: 50%;
    background: #13202b;
    color: #fff;
    box-shadow: none;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
}

.home-hero {
    min-height: 488px;
    padding: 42px 0 40px;
    border-bottom: 1px solid var(--mm-line);
}

.home-intro {
    max-width: 760px;
    margin: 0 auto 28px;
    color: var(--mm-muted);
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    align-items: center;
    gap: 72px;
}

.hero-copy h1 {
    max-width: 620px;
    margin: 0 0 16px;
    font-size: 44px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 480px;
    margin: 0 0 28px;
    color: #425064;
    font-size: 18px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.button,
.pagi-load a,
.up-second li a,
.usp-edit a,
.qq-upload-button,
button:not(.color-btn):not([class*=fr]),
html input[type="button"],
input[type="reset"],
input[type="submit"],
.meta-fav a,
.usp-btn a {
    min-height: 42px;
    height: auto;
    line-height: 42px;
    padding: 0 22px;
    border-radius: 6px;
    background: linear-gradient(180deg, #27b947, var(--mm-green));
    color: #fff;
    font-weight: 700;
}

.hero-primary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 48px;
    box-shadow: 0 12px 24px rgba(32, 168, 58, .24);
}

.hero-primary .fa,
.hero-badges .fa,
.latest-version-meta .fa,
.latest-version-download .fa {
    width: 1.1em;
    min-width: 1.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero-secondary {
    min-height: 48px;
    line-height: 48px;
    color: var(--mm-text);
    border: 1px solid var(--mm-line);
    background: #fff;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .06);
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 24px;
    color: #425064;
    font-size: 14px;
    font-weight: 700;
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-badges .fa {
    color: var(--mm-green);
    font-size: 17px;
}

.hero-latest {
    min-height: 316px;
    padding: 22px;
    border: 1px solid var(--mm-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--mm-shadow);
}

.hero-latest-title {
    margin-bottom: 18px;
    color: var(--mm-text);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.hero-latest .latest-version-head {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.hero-latest .latest-version-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
}

.hero-latest .latest-version-name {
    font-size: 20px;
}

.hero-latest .latest-version-name small {
    margin-top: 11px;
    padding: 5px 13px;
    font-size: 13px;
}

.hero-latest .latest-version-meta {
    margin-bottom: 18px;
}

.hero-latest .latest-version-meta > div {
    min-height: 42px;
    font-size: 14px;
}

.hero-latest .latest-version-meta strong {
    font-size: 14px;
    font-weight: 800;
}

.hero-latest .latest-version-download {
    min-height: 50px;
    gap: 10px;
    font-size: 16px;
    box-shadow: 0 10px 22px rgba(32, 168, 58, .2);
}

.hero-media {
    min-height: 350px;
    border-radius: var(--mm-radius);
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.08)),
        url(../images/bg.png) center/cover no-repeat,
        linear-gradient(135deg, #7bc961 0 24%, #5fb65a 25% 34%, #b5dbff 35% 62%, #5a8738 63% 78%, #8d633c 79% 100%);
    box-shadow: var(--mm-shadow);
}

.hero-media:before {
    content: "";
    position: absolute;
    inset: auto 8% 0 6%;
    height: 46%;
    opacity: .88;
    background:
        linear-gradient(90deg, #305923 0 12%, transparent 12% 18%, #305923 18% 26%, transparent 26%),
        linear-gradient(180deg, #86d057 0 36%, #5d9f3f 37% 68%, #7c5234 69%);
    clip-path: polygon(0 35%, 13% 24%, 25% 42%, 38% 18%, 55% 36%, 68% 20%, 84% 30%, 100% 14%, 100% 100%, 0 100%);
}

.hero-media:after {
    content: "MINECRAFT PE";
    position: absolute;
    left: 34px;
    bottom: 30px;
    color: #fff;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1;
    font-weight: 800;
    text-shadow: 0 5px 0 rgba(0,0,0,.35), 0 18px 30px rgba(0,0,0,.42);
}

.page-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    padding: 34px 0 58px;
}

.main {
    width: auto;
    min-width: 0;
    min-height: 600px;
    padding: 0;
}

.side {
    display: grid;
    align-content: start;
    gap: 18px;
    width: auto;
    background: transparent;
    box-shadow: none;
}

.pages,
.full-in,
.full-comms,
.site-desc,
.side-box,
.s2-in,
.s-in,
.category-card,
.why-card {
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius);
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 28px rgba(16, 24, 40, .05);
}

.pages,
.full-in,
.full-comms,
.site-desc {
    max-width: 100%;
    padding: 22px;
}

.speedbar-box {
    margin-bottom: 22px;
    color: var(--mm-muted);
}

.sect {
    margin-bottom: 34px;
}

.sect-t {
    min-height: 42px;
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.sect-t > *:first-child,
.sect-t h2,
.why-section h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.sect-t h2 .fa {
    color: #ff5d22;
    margin-right: 8px;
}

.sect-t a {
    padding: 0;
    line-height: 1.2;
    border-radius: 0;
    background: transparent;
    color: var(--mm-text);
    text-transform: none;
    font-size: 14px;
    font-weight: 700;
}

.floats {
    margin: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.content-grid:after,
.floats:after {
    display: none;
}

.content-grid > .navigation,
.content-grid > .pagi-nav {
    grid-column: 1 / -1;
    width: 100%;
}

.content-grid > .bottom-nav {
    grid-column: 1 / -1;
    width: 100%;
}

.short,
.short2 {
    width: auto;
    float: none;
    padding: 0;
}

.s2-in,
.s-in {
    height: 100%;
    padding: 0;
    text-align: left;
    overflow: hidden;
}

.s2-in {
    display: flex;
    flex-direction: column;
}

.s2-img,
.s-img {
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 8px 8px 0 0;
    background: #dce9e1;
}

.s-img {
    padding-top: 55%;
    position: relative;
}

.s-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.s2-img img,
.img-resp-h img {
    object-fit: cover;
}

.s2-title,
.s-title {
    display: block;
    margin: 15px 15px 8px;
    color: var(--mm-text);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    white-space: normal;
}

.s2-desc,
.s-desc {
    height: auto;
    min-height: 58px;
    margin: 0 15px 16px;
    color: var(--mm-muted);
    font-size: 13px;
    line-height: 1.55;
    opacity: 1;
}

.s2-desc {
    flex: 1 1 auto;
}

.s2-meta {
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: auto 15px 15px;
    color: var(--mm-muted);
    font-size: 12px;
}

.s2-meta time {
    line-height: 1.2;
}

.s2-meta a {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    color: var(--mm-green);
    font-size: 15px;
}

.s2-meta a:hover,
.s2-meta a:focus {
    color: var(--mm-green-dark);
}

.s-rate,
.rate3-short {
    margin: 12px 15px 15px;
}

.s-rate {
    width: auto;
    height: 26px;
    overflow: hidden;
}

.s-rate .rating {
    width: auto;
    height: 26px;
    font-size: 0;
}

.s-rate .unit-rating {
    width: 126px;
    height: 26px;
    display: block;
    position: relative;
    overflow: hidden;
    background: none;
}

.s-rate .unit-rating:before,
.s-rate .unit-rating .current-rating:before {
    content: "★★★★★";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
    line-height: 26px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.s-rate .unit-rating:before {
    color: #d8dee6;
}

.s-rate .unit-rating .current-rating {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 26px;
    overflow: hidden;
    z-index: 1;
    background: none;
    text-indent: -9999px;
}

.s-rate .unit-rating .current-rating:before {
    color: #f5b900;
    text-indent: 0;
}

.s-rate .unit-rating li {
    float: none;
    margin: 0;
    padding: 0;
    text-indent: 0;
}

.s-rate .unit-rating li a {
    position: absolute;
    top: 0;
    height: 26px;
    z-index: 5;
    padding: 0;
    background: transparent !important;
    text-indent: -9999px;
}

.s-rate .unit-rating li a:hover {
    background: transparent !important;
}

.s-rate .unit-rating a.r1-unit { left: 0; width: 25px; }
.s-rate .unit-rating a.r2-unit { left: 25px; width: 25px; }
.s-rate .unit-rating a.r3-unit { left: 50px; width: 25px; }
.s-rate .unit-rating a.r4-unit { left: 75px; width: 25px; }
.s-rate .unit-rating a.r5-unit { left: 100px; width: 26px; }

/* Unified green rating. This overrides the legacy yellow sprite safely. */
.s-rate {
    width: auto;
    min-height: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.s-rate .rating,
.version-rating .rating,
.article-rating .rating {
    width: auto;
    height: 16px;
    display: inline-flex;
    align-items: center;
    font-size: 0;
    background: none !important;
}

.s-rate .unit-rating,
.version-rating .unit-rating,
.article-rating .unit-rating {
    width: 70px;
    height: 16px;
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: none !important;
    list-style: none;
}

.s-rate .unit-rating:before,
.s-rate .unit-rating .current-rating:before,
.version-rating .unit-rating:before,
.version-rating .unit-rating .current-rating:before,
.article-rating .unit-rating:before,
.article-rating .unit-rating .current-rating:before {
    content: "\2605\2605\2605\2605\2605";
    position: absolute;
    left: 0;
    top: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0;
    white-space: nowrap;
}

.s-rate .unit-rating:before,
.version-rating .unit-rating:before,
.article-rating .unit-rating:before {
    color: #cfd9d2;
}

.s-rate .unit-rating .current-rating,
.version-rating .unit-rating .current-rating,
.article-rating .unit-rating .current-rating {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    max-width: 100%;
    height: 16px;
    overflow: hidden;
    z-index: 1;
    background: none !important;
    text-indent: -9999px;
}

.s-rate .unit-rating .current-rating:before,
.version-rating .unit-rating .current-rating:before,
.article-rating .unit-rating .current-rating:before {
    color: var(--mm-green);
    text-indent: 0;
}

.s-rate .unit-rating li,
.version-rating .unit-rating li,
.article-rating .unit-rating li {
    float: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.s-rate .unit-rating li a,
.version-rating .unit-rating li a,
.article-rating .unit-rating li a {
    position: absolute;
    top: 0;
    height: 16px;
    z-index: 5;
    padding: 0;
    background: transparent !important;
    text-indent: -9999px;
}

.s-rate .unit-rating a.r1-unit,
.version-rating .unit-rating a.r1-unit,
.article-rating .unit-rating a.r1-unit { left: 0; width: 14px; }
.s-rate .unit-rating a.r2-unit,
.version-rating .unit-rating a.r2-unit,
.article-rating .unit-rating a.r2-unit { left: 14px; width: 14px; }
.s-rate .unit-rating a.r3-unit,
.version-rating .unit-rating a.r3-unit,
.article-rating .unit-rating a.r3-unit { left: 28px; width: 14px; }
.s-rate .unit-rating a.r4-unit,
.version-rating .unit-rating a.r4-unit,
.article-rating .unit-rating a.r4-unit { left: 42px; width: 14px; }
.s-rate .unit-rating a.r5-unit,
.version-rating .unit-rating a.r5-unit,
.article-rating .unit-rating a.r5-unit { left: 56px; width: 14px; }

.article-rating {
    min-height: 18px;
    display: flex;
    align-items: center;
    margin: 12px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.related-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius);
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 28px rgba(16, 24, 40, .05);
}

.related-img {
    display: block;
    position: relative;
    padding-top: 56%;
    overflow: hidden;
    background: #dce9e1;
}

.related-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-body {
    padding: 15px;
}

.related-body h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
}

.related-body p {
    margin: 0;
    color: var(--mm-muted);
    font-size: 13px;
    line-height: 1.55;
}

.category-panel,
.why-section {
    margin-bottom: 34px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.category-card {
    min-height: 88px;
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-areas: "icon title" "icon text";
    align-items: center;
    column-gap: 18px;
    padding: 18px 22px;
}

.category-card strong {
    grid-area: title;
    font-size: 18px;
    line-height: 1.2;
}

.category-card small {
    grid-area: text;
    color: var(--mm-muted);
    font-size: 13px;
}

.cube-icon {
    grid-area: icon;
    width: 42px;
    height: 42px;
    display: block;
    background: url("../images/categories/mods.png") center / contain no-repeat;
}

.cube-icon.map { background: url("../images/categories/maps.png") center / contain no-repeat; }
.cube-icon.shader { background: url("../images/categories/shaders.png") center / contain no-repeat; }
.cube-icon.skin { background: url("../images/categories/skins.png") center / contain no-repeat; }
.cube-icon.seed { background: url("../images/categories/seeds.png") center / contain no-repeat; }
.cube-icon.server { background: url("../images/categories/servers.png") center / contain no-repeat; }

.why-section h2 {
    margin-bottom: 18px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-card {
    padding: 22px;
}

.why-card .fa {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: var(--mm-green);
    border-radius: 50%;
    background: var(--mm-green-soft);
    font-size: 18px;
}

.why-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

.why-card p {
    margin: 0;
    color: var(--mm-muted);
    font-size: 13px;
}

.side-box {
    overflow: hidden;
}

.side-bt {
    padding: 18px 20px 10px;
    color: var(--mm-text);
    background: transparent;
    font-size: 20px;
    font-weight: 800;
}

.side-bt .fa {
    width: auto;
    margin: 0 10px 0 0;
    color: var(--mm-green);
    font-size: 18px;
    transform: none;
}

.side-bc {
    padding: 10px 20px 18px;
}

.side-nav {
    color: var(--mm-text);
    background: rgba(255,255,255,.94);
}

.mobile-menu-header,
.mobile-menu-search,
.mobile-menu-home {
    display: none;
}

.nav-icon {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 22px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.nav-download { background-image: url("../images/logo-cube.png"); }
.nav-mods { background-image: url("../images/categories/mods.png"); }
.nav-maps { background-image: url("../images/categories/maps.png"); }
.nav-textures { background-image: url("../images/categories/shaders.png"); }
.nav-seeds { background-image: url("../images/categories/seeds.png"); }
.nav-skins { background-image: url("../images/categories/skins.png"); }
.nav-servers { background-image: url("../images/categories/servers.png"); }
.nav-news { background-image: url("../images/categories/news.png"); }
.nav-java { background-image: url("../images/categories/java.png"); }

.side-nav .side-bt {
    background: transparent;
}

.side-nav .side-bc {
    display: grid;
    gap: 4px;
    padding: 4px 14px 16px;
}

.side-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    border: 0;
    box-shadow: none;
    color: var(--mm-text);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.side-nav a .fa {
    width: 18px;
    color: var(--mm-green);
    font-size: 15px;
    text-align: center;
}

.side-nav li:hover,
.side-nav a.active,
.side-nav a:hover {
    color: var(--mm-green-dark);
    background: var(--mm-green-soft);
}

.side-nav a:hover .fa,
.side-nav a.active .fa {
    color: var(--mm-green-dark);
}

.side-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-areas: "image title" "image date";
    gap: 3px 12px;
    min-height: 56px;
    margin-bottom: 12px;
    padding: 0;
}

.latest-box .side-bt {
    padding: 18px 18px 8px;
    font-size: 16px;
}

.latest-box .side-bc {
    padding: 10px 18px 16px;
}

.latest-version-head {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.latest-version-img {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 8px;
    background: #dce9e1;
}

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

.latest-version-name {
    min-width: 0;
    color: var(--mm-text);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.latest-version-name small {
    display: table;
    margin-top: 9px;
    padding: 4px 10px;
    border: 1px solid #8ad19a;
    border-radius: 7px;
    color: var(--mm-green-dark);
    background: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
}

.latest-version-meta {
    margin-bottom: 14px;
}

.latest-version-meta > div {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--mm-line);
    color: var(--mm-muted);
    font-size: 12px;
}

.latest-version-meta strong {
    color: var(--mm-text);
    font-weight: 600;
    text-align: right;
}

.latest-version-meta .fa {
    width: 14px;
    color: var(--mm-green-dark);
    text-align: center;
}

.latest-version-download {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    background: #08751f;
    box-shadow: 0 8px 18px rgba(32, 168, 58, .2);
    font-size: 14px;
    font-weight: 700;
}

.latest-version-download:hover,
.latest-version-download:focus {
    color: #fff;
    background: #075f1b;
}

.side-img {
    grid-area: image;
    position: static;
    width: 56px;
    height: 56px;
    border-radius: 7px;
    background: #dce9e1;
}

.side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-title {
    grid-area: title;
    margin: 0;
    align-self: end;
    color: var(--mm-text);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
}

.side-date {
    grid-area: date;
    color: var(--mm-muted);
    font-size: 12px;
    opacity: 1;
}

.full-in h1 {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    box-shadow: none;
    color: var(--mm-text);
    background: transparent;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 800;
}

.full-text {
    max-width: 100%;
    overflow-wrap: break-word;
    color: #374151;
    font-size: 16px;
    line-height: 1.58;
}

.full-text h2,
.full-text h3,
.full-text h4,
.full-text h5,
.version-story-copy h2,
.version-story-copy h3,
.article-story-copy h2,
.article-story-copy h3 {
    margin: 16px 0 4px;
    color: var(--mm-text);
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.full-text h2:first-child,
.full-text h3:first-child,
.version-story-copy h2:first-child,
.version-story-copy h3:first-child,
.article-story-copy h2:first-child,
.article-story-copy h3:first-child {
    margin-top: 0;
}

.full-text h3,
.version-story-copy h3,
.article-story-copy h3 {
    font-size: 18px;
    margin-top: 14px;
}

.full-text p {
    margin: 0 0 8px;
}

.version-story-copy p,
.article-story-copy p {
    margin-top: 0;
}

.version-story-copy p:empty,
.article-story-copy p:empty,
.full-text p:empty,
.version-story-copy p:has(> br:only-child),
.article-story-copy p:has(> br:only-child),
.full-text p:has(> br:only-child) {
    display: none;
}

.version-story-copy h2 + p,
.version-story-copy h3 + p,
.article-story-copy h2 + p,
.article-story-copy h3 + p {
    margin-top: 0;
}

.full-text a {
    color: var(--mm-green-dark);
}

.version-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.version-title-row h1 {
    margin-bottom: 8px;
}

.version-latest {
    margin-bottom: 8px;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--mm-green-dark);
    background: var(--mm-green-soft);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.version-lead {
    max-width: 760px;
    margin: 0 0 16px;
    color: var(--mm-muted);
    font-size: 14px;
}

.version-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 22px;
    color: var(--mm-muted);
    font-size: 12px;
}

.version-meta-row > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.version-meta-row .fa {
    color: var(--mm-green-dark);
}

.version-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-rating .unit-rating {
    margin: 0;
}

.version-cover {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    border-radius: 8px;
    background: #dce9e1;
}

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

.version-facts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 28px;
}

.version-facts > div {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--mm-line);
    border-radius: 7px;
    background: #fbfdfc;
}

.version-facts .fa {
    color: var(--mm-green-dark);
    font-size: 16px;
}

.version-facts span {
    min-width: 0;
    color: var(--mm-muted);
    font-size: 10px;
    line-height: 1.25;
}

.version-facts strong {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 4px;
    color: var(--mm-text);
    font-size: 12px;
}

.version-content-section {
    margin-top: 30px;
}

.version-content-section h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.screenshots-box {
    max-width: 100%;
    overflow: hidden;
    margin-top: 30px;
    padding: 18px;
    border: 1px solid var(--mm-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .04);
}

.screenshots-box h2 {
    margin: 0 0 14px;
    color: var(--mm-text);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.screenshots-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 30px) / 4);
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding: 0 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--mm-green) #edf3ef;
}

.screenshots-scroll::-webkit-scrollbar {
    height: 8px;
}

.screenshots-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #edf3ef;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--mm-green);
}

.screenshot-item {
    min-width: 0;
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
    border-radius: 7px;
    background: #dce9e1;
    scroll-snap-align: start;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .18s ease;
}

.screenshot-item:hover img,
.screenshot-item:focus img {
    transform: scale(1.03);
}

.screenshot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 19, 27, .78);
}

.screenshot-lightbox.active {
    display: flex;
}

.screenshot-lightbox img {
    max-width: min(100%, 1100px);
    max-height: min(86vh, 760px);
    display: block;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.screenshot-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    cursor: pointer;
    font-size: 18px;
}

.screenshot-lightbox-close:hover,
.screenshot-lightbox-close:focus {
    background: rgba(255, 255, 255, .24);
}

.version-highlights {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #ccebd4;
    border-radius: 7px;
    background: #f0fbf3;
}

.version-highlights > strong,
.requirements-grid h3 {
    color: var(--mm-green-dark);
}

.version-highlights ul,
.requirements-grid ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.version-highlights li {
    position: relative;
    margin-top: 7px;
    padding-left: 20px;
}

.version-highlights li:before {
    content: "\f058";
    position: absolute;
    left: 0;
    color: var(--mm-green-dark);
    font-family: FontAwesome;
}

.version-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.version-features > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    align-items: start;
}

.version-features .fa {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--mm-green-dark);
    background: var(--mm-green-soft);
}

.version-features span {
    color: var(--mm-muted);
    font-size: 11px;
    line-height: 1.35;
}

.version-features strong {
    display: block;
    margin-bottom: 3px;
    color: var(--mm-text);
    font-size: 12px;
}

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

.requirements-grid > div {
    padding: 18px;
    border: 1px solid var(--mm-line);
    border-radius: 7px;
    background: #fbfdfc;
}

.requirements-grid h3 {
    margin: 0;
    font-size: 14px;
}

.requirements-grid li {
    position: relative;
    margin-top: 8px;
    padding-left: 16px;
    font-size: 12px;
}

.requirements-grid li:before {
    content: "";
    position: absolute;
    top: .7em;
    left: 1px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--mm-green-dark);
}

.install-steps {
    margin: 0;
    padding: 0;
    list-style: none !important;
    list-style-type: none !important;
    counter-reset: install-step;
}

.install-steps li::marker {
    content: "";
    font-size: 0;
}

.install-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    min-height: 24px;
    margin-bottom: 10px;
    padding-left: 0;
    counter-increment: install-step;
    font-size: 12px;
    line-height: 1.45;
}

.install-steps li:before {
    content: counter(install-step);
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 50%;
    color: #fff;
    background: var(--mm-green);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.install-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px solid #f3d78d;
    border-radius: 7px;
    color: #8a5a00;
    background: #fff9e8;
    font-size: 12px;
}

.install-warning .fa {
    color: #f0a400;
}

.image-wrap img,
.full-text img:not(.emoji) {
    border-radius: var(--mm-radius) !important;
}

.f-dl-btm {
    max-width: 100%;
    overflow: hidden;
    margin-top: 24px;
    padding: 28px;
    border: 1px solid #cfe9d7;
    border-radius: var(--mm-radius);
    background:
        radial-gradient(circle at 97% 10%, rgba(32, 168, 58, .12), transparent 170px),
        linear-gradient(100deg, #fff 0 58%, #edfff2 100%);
    box-shadow: 0 16px 36px rgba(16, 24, 40, .06);
}

.dl-panel {
    display: block;
}

.dl-content {
    min-width: 0;
}

.dl-head {
    display: none;
}

.dl-head-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid #bfe8c7;
    border-radius: 8px;
    color: var(--mm-green);
    background: #f4fff7;
    font-size: 27px;
}

.dl-capt {
    margin: 0;
    padding: 0;
    color: var(--mm-text);
    background: transparent;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.dl-subtitle {
    margin: 7px 0 0;
    color: var(--mm-muted);
    font-size: 14px;
    line-height: 1.45;
}

.f-dl-in,
.f-dl-inn {
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.dl-item {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 13px 18px;
    border: 1px solid #e5efe8;
    border-radius: 8px;
    color: var(--mm-text);
    background: #fff;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .05);
    font-weight: 800;
    line-height: 1.35;
}

.dl-item:before {
    content: "\f019";
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--mm-green);
    background: var(--mm-green-soft);
    font-family: FontAwesome;
    font-size: 19px;
}

.dl-item:after {
    content: "FREE";
    margin-left: auto;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--mm-green-dark);
    background: var(--mm-green-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.dl-gp {
    min-height: 64px;
    color: #fff;
    border-color: transparent;
    background: linear-gradient(180deg, #25bd47, var(--mm-green));
    box-shadow: 0 12px 26px rgba(32, 168, 58, .24);
}

.dl-gp,
.dl-gp *,
.dl-gp .dl-title,
.dl-gp a {
    color: #fff !important;
}

.dl-gp:before {
    content: "\f04b";
    color: #fff;
    background: rgba(255, 255, 255, .18);
}

.dl-gp:after {
    content: "OFFICIAL";
    color: #fff;
    background: rgba(255, 255, 255, .18);
}

.dl-item:hover {
    color: #fff;
    background: var(--mm-green-dark);
}

.dl-item:hover:before,
.dl-item:hover:after {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.dl-title,
.dl-title a,
.f-dl-btm a {
    max-width: 100%;
}

.f-dl-btm .dl-gp {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 14px;
    padding: 0 20px;
    border-radius: 7px;
    font-size: 15px;
    line-height: 1.2;
}

.f-dl-btm .dl-gp:before {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 7px;
    font-size: 20px;
}

.f-dl-btm .dl-gp:after {
    margin-left: auto;
}

.f-dl-btm .attach {
    margin: 0;
}

.f-dl-btm .attach + .attach {
    margin-top: 12px;
}

.f-dl-btm .attach .dl-item {
    min-height: 68px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    align-items: center;
    margin: 0;
    padding: 13px 18px;
    color: var(--mm-text) !important;
    background: #fff !important;
}

.f-dl-btm .attach .dl-item:before {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    border-radius: 7px;
    color: var(--mm-green);
    background: var(--mm-green-soft);
}

.f-dl-btm .attach .dl-title {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--mm-text) !important;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.f-dl-btm .attach .dl-title .fa {
    display: none;
}

.f-dl-btm .attach .dl-item > div:not(.dl-title) {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    color: var(--mm-muted);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
}

.f-dl-btm .attach .dl-item > div:not(.dl-title) span {
    margin: 0 8px 0 0;
}

.f-dl-btm .attach .dl-item > div:not(.dl-title) span + span:before {
    content: "•";
    margin-right: 8px;
    color: #9aa6b2;
}

.f-dl-btm .attach .dl-item:after {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    margin-left: 10px;
}

.f-dl-btm .attach .dl-item:hover {
    color: var(--mm-text) !important;
    background: #fff !important;
}

.f-dl-btm .attach .dl-item:hover:before,
.f-dl-btm .attach .dl-item:hover:after {
    color: var(--mm-green-dark);
    background: var(--mm-green-soft);
}

.dl-scene {
    display: none;
}

.dl-scene:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(32, 168, 58, .06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(32, 168, 58, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .8;
}

.dl-cloud,
.dl-cloud:before,
.dl-cloud:after {
    position: absolute;
    display: block;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 18px rgba(16, 24, 40, .06);
}

.dl-cloud {
    width: 72px;
    height: 24px;
    transform: skewY(-26deg);
}

.dl-cloud:before,
.dl-cloud:after {
    content: "";
    width: 28px;
    height: 24px;
}

.dl-cloud:before {
    left: -24px;
    top: 12px;
}

.dl-cloud:after {
    right: -20px;
    top: -12px;
}

.dl-cloud-one {
    top: 30px;
    left: 36px;
}

.dl-cloud-two {
    top: 34px;
    right: 22px;
    width: 42px;
    height: 18px;
}

.dl-island {
    position: absolute;
    right: 22px;
    bottom: 18px;
    width: 164px;
    height: 96px;
    transform: skewY(-22deg) rotate(-2deg);
    border-radius: 6px;
    background:
        linear-gradient(180deg, #7bd04d 0 39%, #5aa13b 40% 48%, #825735 49% 100%);
    box-shadow: 18px 22px 0 rgba(83, 139, 49, .55), -28px 14px 0 rgba(124, 208, 77, .55);
}

.dl-tree {
    position: absolute;
    right: 94px;
    bottom: 96px;
    width: 30px;
    height: 64px;
    z-index: 2;
    background: linear-gradient(90deg, #775032, #9a693c);
}

.dl-tree:before,
.dl-tree:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #51b73b;
}

.dl-tree:before {
    top: -54px;
    width: 86px;
    height: 72px;
    box-shadow: inset -18px -12px 0 rgba(0, 0, 0, .08);
}

.dl-tree:after {
    top: -76px;
    width: 50px;
    height: 42px;
    background: #63c84a;
}

.dl-cube {
    position: absolute;
    z-index: 3;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #75ca49 0 45%, #8b5a35 46%);
    box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .16);
}

.dl-cube-one {
    right: 72px;
    bottom: 74px;
}

.dl-cube-two {
    right: 42px;
    bottom: 62px;
    background: linear-gradient(135deg, #ad7140 0 50%, #704727 51%);
}

.ui-widget-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    background: rgba(7, 19, 27, .54) !important;
    backdrop-filter: blur(2px);
}

.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 10001 !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
    transform: translate(-50%, -50%) !important;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid var(--mm-line) !important;
    border-radius: 10px !important;
    color: var(--mm-text);
    background: #fff !important;
    box-shadow: 0 28px 80px rgba(7, 19, 27, .28) !important;
    font-family: var(--mm-font);
}

.ui-dialog .ui-dialog-titlebar {
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 16px 56px 14px 20px !important;
    border: 0;
    border-bottom: 1px solid var(--mm-line);
    color: var(--mm-text);
    background: #fff;
}

.ui-dialog .ui-dialog-title {
    float: none;
    margin: 0;
    color: var(--mm-text);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.ui-dialog .ui-dialog-titlebar-close,
.ui-dialog button.ui-dialog-titlebar-close:not(.color-btn):not([class*=fr]) {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    width: 36px !important;
    min-height: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: var(--mm-muted) !important;
    background: var(--mm-soft) !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 36px !important;
}

.ui-dialog .ui-dialog-titlebar-close:before {
    content: "\f00d";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: FontAwesome;
    font-size: 14px;
    line-height: 1;
}

.ui-dialog .ui-dialog-titlebar-close .ui-button-text,
.ui-dialog .ui-dialog-titlebar-close .ui-icon {
    display: none !important;
}

.ui-dialog .ui-dialog-content {
    width: auto !important;
    min-height: 0 !important;
    padding: 18px 20px 8px !important;
    color: #425064;
    background: #fff;
    font-size: 14px;
    line-height: 1.55;
}

.ui-dialog .ui-dialog-buttonpane {
    margin: 0 !important;
    padding: 12px 20px 20px !important;
    border: 0 !important;
    background: #fff;
    text-align: right;
}

.ui-dialog .ui-dialog-buttonset {
    float: none !important;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ui-dialog .ui-dialog-buttonpane button,
.ui-dialog .ui-dialog-buttonpane .ui-button,
.ui-dialog .ui-dialog-buttonpane button:not(.color-btn):not([class*=fr]) {
    width: auto !important;
    min-width: 92px;
    min-height: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 7px !important;
    color: #fff !important;
    background: linear-gradient(180deg, #27b947, var(--mm-green)) !important;
    box-shadow: 0 10px 22px rgba(32, 168, 58, .2) !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800;
}

.ui-dialog .ui-dialog-buttonpane button:hover,
.ui-dialog .ui-dialog-buttonpane .ui-button:hover {
    background: var(--mm-green-dark) !important;
}

.navigation a,
.navigation span,
.pnext a,
.pprev a,
.pprev > span,
.pnext > span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    line-height: 36px;
    margin: 0;
    border-color: var(--mm-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    color: var(--mm-text);
    font-size: 15px;
    font-weight: 600;
}

.bottom-nav,
.navigation,
.pagi-nav {
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 26px 0 0;
    line-height: 1;
    text-align: center;
}

.pagi-nav > span {
    display: contents;
}

.navigation a,
.navigation span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navigation span,
.pagi-nav a:hover {
    background: var(--mm-green);
    border-color: var(--mm-green);
    color: #fff;
}

.footer {
    padding: 0;
    color: #d8e1e6;
    line-height: 1.6;
    background: linear-gradient(135deg, #07131b, #102532);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 46px;
    padding: 34px 0 28px;
}

.footer .logo {
    display: inline-flex;
    margin-bottom: 12px;
    color: #fff;
}

.footer .logo:hover,
.footer .logo:focus {
    color: #fff;
}

.footer p,
.footer a {
    display: block;
    color: #c4d0d7;
    font-size: 14px;
}

.footer a:hover {
    color: #fff;
}

.footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #b7c5cc;
    font-size: 13px;
}

.footer-bottom a {
    display: inline-block;
    margin-left: 22px;
}

.side-panel {
    width: min(320px, 88vw);
    left: 0;
    padding: 0;
    background: #fff;
    box-shadow: none;
    transform: translateX(-100%);
    transition: transform .25s ease;
}

.side-panel.active {
    left: 0;
    box-shadow: 18px 0 48px rgba(16, 24, 40, .18);
    transform: translateX(0);
}

.side-panel .side-nav {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.side-panel .mobile-menu-header {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--mm-line);
}

.mobile-menu-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mm-text);
    font-size: 14px;
    font-weight: 800;
}

.mobile-menu-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.mobile-menu-brand strong {
    color: var(--mm-green-dark);
}

.side-panel .mobile-menu-close,
.side-panel button.mobile-menu-close:not(.color-btn):not([class*=fr]) {
    width: 36px;
    min-height: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--mm-text);
    background: var(--mm-soft);
    box-shadow: none;
    font-size: 16px;
}

.side-panel .side-bt {
    display: none;
}

.side-panel .side-bc {
    display: grid;
    gap: 3px;
    padding: 12px 12px 18px;
}

.side-panel .mobile-menu-home {
    display: list-item;
}

.side-panel .side-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border-radius: 7px;
    color: var(--mm-text);
    font-size: 14px;
    font-weight: 700;
}

.side-panel .side-nav a .nav-icon {
    width: 22px;
    color: var(--mm-green-dark);
    font-size: 16px;
    text-align: center;
}

.side-panel .side-nav a.active,
.side-panel .side-nav a:hover {
    color: var(--mm-green-dark);
    background: var(--mm-green-soft);
}

.side-panel .mobile-menu-brand,
.side-panel .mobile-menu-brand:hover {
    min-height: auto;
    padding: 0;
    color: var(--mm-text);
    background: transparent;
}

.side-panel .mobile-menu-search {
    position: relative;
    display: block;
    margin: auto 16px 18px;
}

.side-panel .mobile-menu-search input[type="text"] {
    width: 100%;
    height: 42px;
    padding: 0 42px 0 13px;
    border: 1px solid var(--mm-line);
    border-radius: 7px;
    color: var(--mm-text);
    background: #fff;
}

.side-panel .mobile-menu-search button {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 40px;
    min-height: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    color: var(--mm-muted);
    background: transparent;
    box-shadow: none;
}

body.menu-open {
    overflow: hidden;
}

#gotop {
    border-radius: 50%;
    background: #13202b;
}

@media screen and (max-width: 1100px) {
    .top-menu {
        gap: 18px;
    }
    .content-grid,
    .why-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 950px) {
    .top-menu {
        display: none;
    }
    .btn-menu,
    button.btn-menu:not(.color-btn):not([class*=fr]) {
        display: block;
        float: none;
    }
    .hero-grid,
    .page-shell {
        grid-template-columns: 1fr;
    }
    .hero-grid {
        gap: 28px;
    }
    .side {
        display: none;
    }
    .main {
        width: 100%;
    }
}

@media screen and (max-width: 760px) {
    html,
    body,
    .wrap,
    .center,
    .cont,
    .line,
    .cols,
    .main,
    .content-grid,
    .page-shell,
    .home-hero {
        background: #fff !important;
        background-image: none !important;
        box-shadow: none !important;
        filter: none !important;
        text-shadow: none !important;
    }
    html:before,
    html:after,
    body:before,
    body:after,
    .wrap:before,
    .wrap:after,
    .center:before,
    .center:after,
    .cont:before,
    .cont:after,
    .line:before,
    .line:after {
        content: none !important;
        display: none !important;
        background: none !important;
        box-shadow: none !important;
    }
    .site-header {
        background: #fff;
        background-image: none;
        backdrop-filter: none;
        box-shadow: none;
    }
    .home-hero,
    .hero-latest,
    .pages,
    .full-in,
    .full-comms,
    .site-desc,
    .side-box,
    .s2-in,
    .s-in,
    .category-card,
    .why-card {
        box-shadow: none !important;
    }
    .container {
        width: min(100% - 24px, 1180px);
    }
    .nav {
        min-height: 64px;
    }
    .logo img {
        width: 34px;
        height: 34px;
    }
    .search-box {
        width: 180px;
    }
    .home-hero {
        min-height: 760px;
        padding: 28px 0 30px;
    }
    .hero-copy h1 {
        font-size: 34px;
    }
    .hero-media {
        min-height: 250px;
    }
    .hero-latest {
        padding: 20px;
    }
    .hero-latest-title {
        margin-bottom: 18px;
        font-size: 20px;
    }
    .hero-latest .latest-version-head {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 18px;
    }
    .hero-latest .latest-version-img {
        width: 66px;
        height: 66px;
    }
    .hero-latest .latest-version-name {
        font-size: 20px;
    }
    .hero-latest .latest-version-meta > div {
        min-height: 42px;
        font-size: 14px;
    }
    .hero-latest .latest-version-download {
        min-height: 48px;
        font-size: 16px;
    }
    .hero-badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .category-grid {
        grid-template-columns: 1fr;
    }
    .footer {
        background: #07131b;
    }
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 22px;
        padding: 26px 0 22px;
        text-align: left;
    }
    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer .logo {
        justify-content: flex-start;
        margin-bottom: 8px;
    }
    .footer p {
        max-width: 310px;
        margin: 0;
        color: #d9e3e8;
        font-size: 15px;
        line-height: 1.55;
    }
    .footer-social {
        justify-content: flex-start;
        margin-top: 14px;
    }
    .footer-social a {
        width: 44px;
        height: 44px;
        color: #fff;
        background: rgba(255, 255, 255, .1);
    }
    .footer-grid > div:not(.footer-brand) {
        min-width: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .footer h3 {
        margin-bottom: 7px;
        font-size: 16px;
    }
    .footer-grid > div:not(.footer-brand) a {
        min-height: 30px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-top: 0;
        color: #cfdbe2;
        font-size: 15px;
        line-height: 1.25;
    }
    .footer-grid > div:not(.footer-brand) a:hover {
        color: #fff;
    }
    .footer-bottom {
        width: min(100% - 24px, 1180px);
        align-items: flex-start;
        text-align: left;
    }
    .footer-bottom span:last-child {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .footer-bottom a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        margin-left: 0;
    }
    .pages,
    .full-in,
    .full-comms,
    .site-desc {
        padding: 16px;
        overflow: hidden;
    }
    .version-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .version-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dl-panel {
        display: block;
    }
    .dl-scene {
        display: none;
    }
    .dl-capt {
        font-size: 21px;
    }
    .screenshots-scroll {
        grid-auto-columns: calc((100% - 10px) / 2);
    }
}

@media screen and (max-width: 590px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    .container,
    .page-shell {
        width: calc(100% - 18px);
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
    }
    .wrap,
    .main,
    .full,
    .full-in,
    .article-article-head,
    .version-content-section,
    .screenshots-box,
    .f-dl-btm,
    .full-comms {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .sect {
        margin-left: 0;
        margin-right: 0;
    }
    .content-grid {
        gap: 14px;
    }
    .short,
    .short2 {
        width: 100%;
        padding: 0;
    }
    .full-in,
    .pages,
    .full-comms,
    .site-desc {
        padding-left: 14px;
        padding-right: 14px;
    }
    .version-meta-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: start;
    }
    .version-rating {
        max-width: 100%;
        overflow: hidden;
    }
    .version-cover {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 11;
    }
    .version-cover img,
    .full-text img:not(.emoji) {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .article-story-copy,
    .article-story-copy p,
    .full-text,
    .full-text p {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .full-text,
    .article-story-copy {
        line-height: 1.55;
    }
    .full-text p,
    .article-story-copy p {
        margin-bottom: 8px;
    }
    .full-text h2,
    .version-story-copy h2,
    .article-story-copy h2 {
        margin: 14px 0 4px;
        font-size: 20px;
        line-height: 1.25;
    }
    .full-text h3,
    .version-story-copy h3,
    .article-story-copy h3 {
        margin: 12px 0 4px;
        font-size: 17px;
        line-height: 1.3;
    }
    .f-dl-in,
    .f-dl-inn,
    .dl-title,
    .dl-title a,
    .f-dl-btm a {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .f-dl-btm {
        padding: 14px;
    }
    .dl-panel {
        display: block;
    }
    .dl-head {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 14px;
    }
    .dl-head-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    .dl-capt {
        font-size: 19px;
    }
    .dl-subtitle {
        font-size: 13px;
    }
    .dl-item,
    .dl-gp {
        min-height: 58px;
        padding: 12px;
        gap: 10px;
    }
    .dl-item:after,
    .dl-gp:after {
        padding: 4px 8px;
        font-size: 10px;
    }
    .dl-scene {
        display: none;
    }
    .logo {
        gap: 7px;
        font-size: 14px;
    }
    .header-tools {
        gap: 8px;
    }
    .search-box {
        display: none;
    }
    .version-title-row h1 {
        font-size: 27px;
    }
    .version-cover {
        aspect-ratio: 16 / 10;
    }
    .version-facts,
    .version-features,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    .version-facts > div {
        min-height: 58px;
    }
    .screenshots-box {
        padding: 14px;
    }
    .screenshots-scroll {
        display: flex;
        gap: 10px;
        margin: 0 -2px;
        padding: 0 2px 12px;
    }
    .screenshot-item {
        width: min(74vw, 280px);
        min-width: min(74vw, 280px);
        flex: 0 0 min(74vw, 280px);
    }
    .hero-copy h1 {
        font-size: 28px;
    }
    .hero-latest {
        padding: 18px;
    }
    .hero-latest .latest-version-head {
        grid-template-columns: 64px minmax(0, 1fr);
    }
    .hero-latest .latest-version-img {
        width: 64px;
        height: 64px;
    }
    .hero-latest .latest-version-name {
        font-size: 18px;
    }
    .hero-latest .latest-version-name small {
        margin-top: 10px;
        padding: 5px 12px;
        font-size: 13px;
    }
    .hero-latest .latest-version-meta > div {
        font-size: 13px;
    }
    .hero-actions .button {
        width: 100%;
        text-align: center;
    }
    .content-grid,
    .why-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    .sect-t {
        align-items: flex-start;
        gap: 10px;
    }
    .sect-t > *:first-child {
        width: auto;
        margin: 0;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .footer-bottom a {
        margin: 0;
    }
}
