/* Crystal Launcher: main stylesheet */

:root {
    color-scheme: dark;
    --bg: #070d14;
    --bg-glow: #12324a;
    --surface: #111a24;
    --surface-2: #182431;
    --border: #26384a;
    --text: #eef4f8;
    --text-muted: #a5b6c4;
    --accent: #36d6e0;
    --accent-strong: #0f8f9a;
    --accent-ink: #03191c;
    --warning-bg: #3a1a14;
    --warning-border: #b4513a;
    --info-bg: #2b1a3e;
    --info-border: #7b4bb5;
    --radius: 14px;
    --radius-sm: 10px;
    --page-width: 960px;
    --gutter: 16px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg) radial-gradient(1000px 500px at 50% -120px, var(--bg-glow), transparent) no-repeat;
    overflow-wrap: break-word;
}

img, video, iframe {
    max-width: 100%;
}

img {
    height: auto;
}

p, dl, dt, dd, ul, ol, h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    color: var(--accent-ink);
    background: var(--accent);
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 12px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 1200px;
    min-height: 64px;
    margin: 0 auto;
    padding: 8px var(--gutter);
}

.site-logo {
    display: block;
    flex: none;
    line-height: 0;
}

.site-logo img {
    display: block;
    width: auto;
    height: 44px;
}

.site-nav {
    flex: 1;
    min-width: 0;
}

#navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0;
    padding: 0;
}

#navigation a {
    display: block;
    padding: 8px 12px;
    font-size: 15px;
    color: var(--text);
    border-radius: var(--radius-sm);
}

#navigation a:hover {
    text-decoration: none;
    background: var(--surface-2);
}

#navigation a.selected {
    color: var(--accent-ink);
    background: var(--accent);
    font-weight: 600;
}

.lang-switch {
    display: flex;
    flex: none;
    align-items: center;
    min-height: 44px;
    padding: 0 6px;
    line-height: 0;
}

.flag {
    display: block;
    width: auto;
    height: 18px;
}

.header-actions {
    display: flex;
    flex: none;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    font-weight: 600;
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.nav-toggle:hover {
    text-decoration: none;
}

/* Layout */

.page {
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 20px var(--gutter) 32px;
}

.rndc {
    margin-top: 20px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.page > .rndc:first-child {
    margin-top: 0;
}

.rndc h1, .rndc h2 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
}

.rndc h1 .fa, .rndc h2 .fa {
    margin-right: 6px;
    color: var(--accent);
}

.rndc p + p {
    margin-top: 10px;
}

.rndc p:empty {
    display: none;
}

/* Notices */

.notice {
    background: var(--warning-bg);
    border-color: var(--warning-border);
    font-size: 15px;
}

.notice > b {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.callout {
    margin-top: 16px;
    padding: 12px 16px;
    font-size: 15px;
    text-align: center;
    background: var(--info-bg);
    border: 1px solid var(--info-border);
    border-radius: var(--radius-sm);
}

/* Ad slots: fixed-size units scroll inside the slot instead of widening the page */

.axc, .ad-slot {
    max-width: 100%;
    overflow-x: auto;
    text-align: center;
}

.axc iframe, .ad-slot iframe, .axc img, .ad-slot img {
    max-width: none;
}

.axc {
    min-height: 134px;
    font-size: 13px;
    color: var(--text-muted);
}

.ad-slot {
    font-size: 13px;
    color: var(--text-muted);
}

/* Verification key */

.keycard {
    text-align: center;
}

.keycard__title {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
}

#keycode {
    min-height: 44px;
    padding: 10px 12px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 14px;
    overflow-wrap: anywhere;
    background: #0a1118;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

/* Buttons */

.btnd {
    display: block;
    width: fit-content;
    min-width: min(300px, 100%);
    max-width: 100%;
    min-height: 48px;
    margin: 20px auto 0;
    padding: 12px 24px;
    font: inherit;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    color: var(--accent-ink);
    background: var(--accent);
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color .15s ease;
}

.btnd:hover, .btnd:active {
    color: var(--accent-ink);
    text-decoration: none;
    background: #6ce4ec;
}

.btnd_alt, .btnd_alt2, .btnd_alt3 {
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--accent-strong);
}

.btnd_alt:hover, .btnd_alt2:hover, .btnd_alt3:hover,
.btnd_alt:active, .btnd_alt2:active, .btnd_alt3:active {
    color: var(--text);
    background: #21384a;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    color: var(--accent-ink);
    background: var(--accent);
    border-radius: var(--radius-sm);
}

.btn:hover {
    color: var(--accent-ink);
    text-decoration: none;
    background: #6ce4ec;
}

/* Tables */

.table-scroll {
    max-width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}

.table {
    background: var(--surface);
}

/* Home page */

.media {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.media picture {
    display: block;
    flex: none;
    line-height: 0;
}

.media__image {
    display: block;
    width: 120px;
    max-width: none;
    height: 120px;
}

.media__body {
    min-width: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 4px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 14px 8px;
    text-align: center;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}

.stat .fa {
    font-size: 22px;
    color: var(--accent);
}

.stat__value {
    max-width: 100%;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
}

.stat__label {
    font-size: 13px;
    line-height: 1.3;
    color: var(--text-muted);
}

/* Download page */

.os-support {
    margin-bottom: 4px;
    text-align: center;
}

.os-support p {
    font-weight: 600;
}

.alt-download {
    margin-top: 20px;
    padding: 20px;
    text-align: center;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}

.install-commands {
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.install-commands__title {
    padding: 12px 16px;
    background: var(--surface-2);
}

.install-commands__body {
    padding: 12px 16px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 14px;
    overflow-wrap: anywhere;
    background: #0a1118;
}

.count {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.btnd .count {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    color: inherit;
}

.downloads {
    display: flex;
    flex-direction: column;
}

.downloads > * {
    min-width: 0;
}

.downloads__title {
    order: -4;
    margin-top: 24px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.downloads > .is-recommended {
    order: -1;
    border-color: var(--accent);
}

.os-jump {
    order: -2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.os-jump a {
    flex: 1 1 90px;
    min-height: 44px;
    padding: 10px 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.os-jump a:hover {
    text-decoration: none;
    background: var(--surface-2);
}

.os-jump a.is-recommended {
    border-color: var(--accent);
}

.recommended-badge {
    display: none;
    margin-left: 8px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
    color: var(--accent-ink);
    background: var(--accent);
    border-radius: 100px;
}

.is-recommended .recommended-badge {
    display: inline-block;
}

.mobile-note {
    display: none;
    order: -3;
    margin-top: 20px;
    background: var(--info-bg);
    border-color: var(--info-border);
}

.is-mobile .mobile-note {
    display: block;
}

.command {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.command code {
    flex: 1;
    min-width: 0;
    font: inherit;
}

.copy-button {
    display: inline-flex;
    flex: none;
    align-items: center;
    min-height: 36px;
    padding: 4px 12px;
    font-family: var(--font);
    font-size: 13px;
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
}

.copy-button:hover {
    color: var(--text);
    text-decoration: none;
    background: #21384a;
}

.command-note {
    margin-top: 12px;
    font-family: var(--font);
    color: var(--text-muted);
}

a.baklnk {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

/* Modpacks page */

.pack-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.pack-tools input {
    flex: 2 1 220px;
    min-height: 44px;
}

.pack-tools select {
    flex: 1 1 180px;
    min-width: 0;
    min-height: 44px;
}

#pack-count {
    flex: 1 0 100%;
    font-size: 13px;
    color: var(--text-muted);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.packs {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
    margin-top: 12px;
}

#cats {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 6px;
}

.category_header[hidden], .pack-item[hidden] {
    display: none;
}

.category_title {
    margin: 12px 0 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}

.category_header:first-child .category_title {
    margin-top: 0;
}

.pack-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    font: inherit;
    font-size: 14px;
    text-align: left;
    color: var(--text);
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.pack-item img {
    flex: none;
    width: 24px;
    height: 24px;
}

.pack-item:hover {
    color: var(--text);
    text-decoration: none;
    background: var(--surface-2);
}

.pack-item.is-active:hover {
    color: var(--accent-ink);
    background: var(--accent);
}

.pack-item.is-active {
    color: var(--accent-ink);
    background: var(--accent);
    font-weight: 600;
}

#pack-empty {
    padding: 16px 8px;
    text-align: center;
    color: var(--text-muted);
}

#ccont {
    min-width: 0;
    scroll-margin-top: 88px;
}

.cat_desc {
    display: none;
    font-size: 14px;
}

.rndc .pack-title {
    margin-bottom: 12px;
    font-size: 21px;
}

.not-found {
    text-align: center;
}

.not-found img {
    display: block;
    width: 480px;
    margin: 16px auto 0;
    border-radius: var(--radius-sm);
}

.pack-shot {
    display: block;
    max-width: 100%;
    max-height: 260px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
}

.pack-author {
    margin: 10px 0;
    color: var(--text-muted);
    text-align: center;
}

.pack-desc {
    max-height: 240px;
    overflow: auto;
}

.pack-meta {
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}

.pack-error {
    margin-top: 16px;
    padding: 16px;
    text-align: center;
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-sm);
}

/* Footer */

.site-footer {
    margin-top: 24px;
    padding: 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    background: transparent;
    border-top: 1px solid var(--border);
}

.site-footer p + p {
    margin-top: 6px;
}

/* Consent banner */

.consent {
    position: fixed;
    z-index: 99999;
    right: var(--gutter);
    bottom: var(--gutter);
    width: 420px;
    max-width: calc(100vw - 2 * var(--gutter));
    padding: 16px;
    font-size: 14px;
    background: var(--surface-2);
    border: 1px solid var(--accent-strong);
    border-radius: var(--radius);
}

.consent[hidden] {
    display: none;
}

.consent__actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.consent__button {
    flex: 1;
    min-height: 44px;
    padding: 10px 12px;
    font-weight: 600;
    text-align: center;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--accent-strong);
    border-radius: var(--radius-sm);
}

.consent__button:hover {
    color: var(--text);
    text-decoration: none;
    background: #21384a;
}

/* Styles shared with older pages (server, bans, members) */

.warn {
    margin: 20px 0;
    padding: 20px;
    text-align: center;
    color: var(--accent);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.title, .page-header {
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}

input, textarea, select {
    max-width: 100%;
    padding: 6px 10px;
    font: inherit;
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.mbar, .mbar3 {
    background: var(--surface);
}

.mbar3 {
    margin-top: 20px;
    padding: 8px;
    text-align: center;
    border-radius: var(--radius) var(--radius) 0 0;
}

.mbar {
    padding: 12px;
    border-radius: 0 0 var(--radius) var(--radius);
}

.clear {
    clear: both;
}

/* Blocky theme: original pixel art and bevels, no game assets */

@font-face {
    font-family: "Jersey 15";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/res/fonts/jersey-15-latin-ext-400.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Jersey 15";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/res/fonts/jersey-15-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --radius: 0;
    --radius-sm: 0;
    --font-pixel: "Jersey 15", var(--font);
    --bevel-light: #2d465b;
    --bevel-dark: #05090e;
    --accent-light: #a8f3f7;
    --accent-dark: #0f8f9a;
    --corner: polygon(0 6px, 6px 6px, 6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
}

body {
    background-color: var(--bg);
    background-image: linear-gradient(rgba(18, 50, 74, .55), transparent 420px), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2296%22 height=%2296%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%220%22 y=%228%22 width=%2216%22 height=%228%22 fill=%22%230b141d%22/%3E%3Crect x=%2240%22 y=%220%22 width=%228%22 height=%2216%22 fill=%22%230b141d%22/%3E%3Crect x=%2272%22 y=%2224%22 width=%2216%22 height=%228%22 fill=%22%230b141d%22/%3E%3Crect x=%2216%22 y=%2248%22 width=%228%22 height=%2216%22 fill=%22%230b141d%22/%3E%3Crect x=%2256%22 y=%2264%22 width=%2224%22 height=%228%22 fill=%22%230b141d%22/%3E%3Crect x=%220%22 y=%2280%22 width=%228%22 height=%228%22 fill=%22%230b141d%22/%3E%3Crect x=%2232%22 y=%2232%22 width=%228%22 height=%228%22 fill=%22%230f2a33%22/%3E%3Crect x=%2240%22 y=%2240%22 width=%228%22 height=%228%22 fill=%22%2314414b%22/%3E%3Crect x=%2280%22 y=%2272%22 width=%228%22 height=%228%22 fill=%22%230f2a33%22/%3E%3Crect x=%2288%22 y=%2280%22 width=%228%22 height=%228%22 fill=%22%2314414b%22/%3E%3C/svg%3E");
    background-repeat: no-repeat, repeat;
}

.site-header::after {
    content: "";
    display: block;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2248%22 height=%226%22 shape-rendering=%22crispEdges%22%3E%3Crect width=%2248%22 height=%223%22 fill=%22%230f8f9a%22/%3E%3Crect y=%223%22 width=%226%22 height=%223%22 fill=%22%230a5a63%22/%3E%3Crect x=%2212%22 y=%223%22 width=%2212%22 height=%223%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2230%22 y=%223%22 width=%226%22 height=%223%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2236%22 y=%223%22 width=%226%22 height=%223%22 fill=%22%230a5a63%22/%3E%3C/svg%3E") repeat-x;
}

.site-header {
    border-bottom: 0;
}

/* Headings */

.rndc h1, .rndc h2, .stats-page .stats-title, .downloads .downloads__title, .keycard__title {
    font-family: var(--font-pixel);
    font-weight: 400;
    letter-spacing: .01em;
}

.rndc h1, .rndc h2 {
    font-size: 32px;
    line-height: 1.1;
}

.keycard__title {
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: .03em;
}

/* Panels: stepped corners and a raised bevel */

.rndc:not(.axc):not(.ad-slot), .consent {
    clip-path: var(--corner);
    border: 0;
    box-shadow: inset 3px 3px 0 var(--bevel-light), inset -3px -3px 0 var(--bevel-dark);
}

.rndc.axc, .rndc.ad-slot {
    border: 3px solid var(--bevel-dark);
}

.notice.rndc {
    box-shadow: inset 3px 3px 0 var(--warning-border), inset -3px -3px 0 #1e0c08;
}

.mobile-note.rndc {
    box-shadow: inset 3px 3px 0 var(--info-border), inset -3px -3px 0 #160b22;
}

/* Sunken slots */

.stat, #keycode, .dwn, .alt-download, .pack-meta, .pack-desc, .install-commands__title, .install-commands__body, .callout {
    border: 0;
    box-shadow: inset 3px 3px 0 var(--bevel-dark), inset -3px -3px 0 var(--bevel-light);
}

.install-commands {
    border: 0;
}

.stat__value {
    font-family: var(--font-pixel);
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.callout {
    box-shadow: inset 3px 3px 0 #160b22, inset -3px -3px 0 var(--info-border);
}

.pack-desc {
    padding: 10px 12px;
}

/* Buttons */

.btnd, .btn, #navigation a.selected, .pack-item.is-active {
    box-shadow: inset 3px 3px 0 var(--accent-light), inset -3px -3px 0 var(--accent-dark);
}

.btnd, .btn, .nav-toggle, .consent__button, .os-jump a, .copy-button {
    font-family: var(--font-pixel);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.1;
}

.pack-tools input, .pack-tools select, .stats-date select {
    font-family: var(--font);
    font-weight: 400;
    border: 0;
    box-shadow: inset 3px 3px 0 var(--bevel-dark), inset -3px -3px 0 var(--bevel-light);
}

.btnd {
    font-size: 24px;
    line-height: 24px;
    background: var(--accent);
}

.btnd:hover, .btn:hover {
    background: #6ce4ec;
}

.btnd:active, .btn:active {
    transform: translateY(2px);
    box-shadow: inset 3px 3px 0 var(--accent-dark), inset -3px -3px 0 var(--accent-light);
}

.btnd_alt, .btnd_alt2, .btnd_alt3, .nav-toggle, .consent__button, .os-jump a, .copy-button {
    border: 0;
    background: var(--surface-2);
    box-shadow: inset 3px 3px 0 var(--bevel-light), inset -3px -3px 0 var(--bevel-dark);
}

.btnd_alt:active, .btnd_alt2:active, .btnd_alt3:active, .nav-toggle:active, .consent__button:active, .os-jump a:active, .copy-button:active {
    transform: translateY(2px);
    box-shadow: inset 3px 3px 0 var(--bevel-dark), inset -3px -3px 0 var(--bevel-light);
}

.os-jump a.is-recommended {
    box-shadow: inset 3px 3px 0 var(--accent), inset -3px -3px 0 var(--accent-dark);
}

.downloads > .is-recommended.rndc {
    box-shadow: inset 3px 3px 0 var(--accent), inset -3px -3px 0 var(--accent-dark);
}

.recommended-badge {
    font-family: var(--font-pixel);
    font-size: 17px;
    font-weight: 400;
    border-radius: 0;
}

.count, .btnd .count {
    font-family: var(--font);
    line-height: 1.3;
}

.stats-page .stats-title, .downloads .downloads__title {
    font-size: 38px;
    line-height: 1.1;
}

/* Navigation */

#navigation a {
    font-family: var(--font-pixel);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
}

.site-nav {
    clip-path: none;
}

/* Home page */

/* Lists and small parts */

.chart-tip {
    border: 0;
    border-radius: 0;
    box-shadow: inset 2px 2px 0 var(--bevel-light), inset -2px -2px 0 var(--bevel-dark);
}

.pack-shot, .not-found img {
    border-radius: 0;
}

.site-footer {
    border-top: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2248%22 height=%226%22 shape-rendering=%22crispEdges%22%3E%3Crect width=%2248%22 height=%223%22 fill=%22%230f8f9a%22/%3E%3Crect y=%223%22 width=%226%22 height=%223%22 fill=%22%230a5a63%22/%3E%3Crect x=%2212%22 y=%223%22 width=%2212%22 height=%223%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2230%22 y=%223%22 width=%226%22 height=%223%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2236%22 y=%223%22 width=%226%22 height=%223%22 fill=%22%230a5a63%22/%3E%3C/svg%3E") top repeat-x;
    padding-top: 22px;
}

@media (max-width: 640px) {
    .rndc h1, .rndc h2 {
        font-size: 28px;
    }

    .btnd {
        font-size: 22px;
    }
}

/* Home page hero */

.hero.rndc {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: linear-gradient(rgba(7, 13, 20, .78), rgba(7, 13, 20, .78)), url("/res/parallax.png") center / cover no-repeat;
}

.hero__copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.hero__copy::after {
    content: "";
    height: 72px;
    background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 13%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%226%22 y=%220%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%220%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%226%22 y=%221%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%221%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%228%22 y=%221%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%222%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%228%22 y=%222%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%225%22 y=%223%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%223%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%228%22 y=%223%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2211%22 y=%223%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%222%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2210%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2211%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2212%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%221%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%222%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%223%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%225%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%227%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2210%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2211%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2212%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%221%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%227%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%2210%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2211%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2212%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2213%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%221%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%222%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%225%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%227%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%2210%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2211%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2212%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2213%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2214%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%221%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%222%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%223%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%225%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%227%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%229%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2210%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2211%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2212%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2213%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2214%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%222%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%223%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%224%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%225%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%227%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%228%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%229%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2210%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2211%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2212%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2213%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%222%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%223%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%224%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%225%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%226%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%228%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%229%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2210%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2211%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2212%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2213%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%223%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%224%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%225%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%226%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%228%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%229%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%2210%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2211%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2212%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%222%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%223%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%224%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%225%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%226%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%227%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%228%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%229%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%2210%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%2211%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%2212%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%2213%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3C/svg%3E") left bottom / auto 100% no-repeat, url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 13%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%228%22 y=%220%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%229%22 y=%220%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%221%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%221%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%229%22 y=%221%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%222%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%222%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%229%22 y=%222%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2210%22 y=%222%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%223%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%229%22 y=%223%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2210%22 y=%223%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%224%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%229%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2210%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2213%22 y=%224%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%223%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%224%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%225%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%229%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2210%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2212%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2213%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2214%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%224%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%228%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%229%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2210%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2212%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2213%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2214%22 y=%226%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%221%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%222%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%225%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%227%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%228%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%229%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2210%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2211%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2212%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2213%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2214%22 y=%227%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%221%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%222%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%223%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%225%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%227%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%228%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%229%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2210%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2211%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2212%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2213%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2214%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%222%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%223%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%224%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%225%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%227%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%229%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2210%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2211%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2212%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2213%22 y=%229%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%222%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%223%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%224%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%225%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%226%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%227%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%229%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2210%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2211%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2212%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2213%22 y=%2210%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%223%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%224%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%225%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%226%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230a5a63%22/%3E%3Crect x=%227%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%228%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%229%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%2210%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%230f8f9a%22/%3E%3Crect x=%2211%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%23a8f3f7%22/%3E%3Crect x=%2212%22 y=%2211%22 width=%221%22 height=%221%22 fill=%22%2336d6e0%22/%3E%3Crect x=%222%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%223%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%224%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%225%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%226%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%227%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%228%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%229%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%2210%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%2211%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%2212%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3Crect x=%2213%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%2326384a%22/%3E%3C/svg%3E") right bottom / auto 100% no-repeat;
    image-rendering: pixelated;
}

.rndc .hero__title {
    margin: 0;
    font-family: var(--font-pixel);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.15;
    text-shadow: 2px 2px 0 #000;
}

.hero__title strong {
    font-weight: 400;
    color: var(--accent-light);
}

.hero__copy .btnd {
    width: 100%;
    margin: 0;
}

/* Slider */

.slider {
    min-width: 0;
}

.slider__slide {
    margin: 0;
}

.slider__slide[hidden] {
    display: none;
}

.slider__slide.is-active {
    animation: slider-fade .5s ease;
}

@keyframes slider-fade {
    from { opacity: .5; }
    to { opacity: 1; }
}

.slider__frame {
    position: relative;
    line-height: 0;
    box-shadow: 0 0 0 3px var(--bevel-dark);
}

.slider__frame img {
    display: block;
    width: 100%;
    height: auto;
    background: var(--surface-2);
}

.slider__number {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-family: var(--font-pixel);
    font-size: 17px;
    line-height: 1;
    background: rgba(7, 13, 20, .85);
}

.slider__caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    min-height: 92px;
    padding-top: 8px;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
}

.slider__title {
    font-family: var(--font-pixel);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--accent-light);
}

.slider__zoom {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 5px 8px;
    font-size: 15px;
    line-height: 1;
    color: var(--text);
    background: rgba(7, 13, 20, .85);
}

a.slider__frame {
    display: block;
    color: var(--text);
    cursor: zoom-in;
}

a.slider__frame:hover .slider__zoom,
a.slider__frame:focus-visible .slider__zoom {
    color: var(--accent-ink);
    background: var(--accent);
}

/* Enlarged screenshot */

.has-lightbox,
.has-lightbox body {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: rgba(3, 7, 12, .94);
}

.lightbox[hidden] {
    display: none;
}

.lightbox__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 100%;
    min-width: 0;
}

.lightbox__image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 110px);
    box-shadow: 0 0 0 3px var(--bevel-dark);
}

.lightbox__caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
}

.lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
}

.slider__controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.slider__controls[hidden] {
    display: none;
}

.slider__arrow {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text);
    background: var(--surface-2);
    box-shadow: inset 3px 3px 0 var(--bevel-light), inset -3px -3px 0 var(--bevel-dark);
}

.slider__arrow:hover {
    color: var(--text);
    text-decoration: none;
    background: #21384a;
}

.slider__arrow:active {
    transform: translateY(2px);
    box-shadow: inset 3px 3px 0 var(--bevel-dark), inset -3px -3px 0 var(--bevel-light);
}

.slider__dots {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
}

.slider__dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 40px;
}

.slider__dot::before {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--border);
}

.slider__dot:hover::before {
    background: var(--text-muted);
}

.slider__dot.is-active::before {
    background: var(--accent);
}

/* Home page features */

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

.feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background: var(--surface-2);
    box-shadow: inset 3px 3px 0 var(--bevel-light), inset -3px -3px 0 var(--bevel-dark);
}

.feature__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 21px;
    color: var(--accent);
    background: #0a1118;
    box-shadow: inset 3px 3px 0 var(--bevel-dark), inset -3px -3px 0 var(--bevel-light);
}

.feature__body {
    min-width: 0;
}

.feature__title {
    margin-bottom: 4px;
    font-family: var(--font-pixel);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
}

.feature__text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-muted);
}

.features__more {
    margin-top: 14px;
    font-family: var(--font-pixel);
    font-size: 22px;
    text-align: center;
    color: var(--accent);
}

/* Tablets and phones */

@media (max-width: 860px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero.rndc {
        grid-template-columns: minmax(0, 1fr);
    }

    html {
        scroll-padding-top: 16px;
    }

    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    /* The menu sits at the bottom of the screen: a pop-under ad layer
       covers the top of the viewport on phones and intercepts taps there. */
    .site-header {
        position: static;
    }

    .header-actions {
        position: fixed;
        z-index: 100;
        left: 0;
        right: 0;
        bottom: 0;
        justify-content: space-between;
        padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
        background: var(--bg);
        border-top: 1px solid var(--border);
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: fixed;
        z-index: 100000;
        left: var(--gutter);
        right: var(--gutter);
        bottom: calc(68px + env(safe-area-inset-bottom));
        max-height: max(180px, calc(100vh - 300px));
        padding: 8px;
        overflow-y: auto;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
    }

    .site-nav.is-open {
        display: block;
    }

    #navigation {
        flex-direction: column;
    }

    #navigation a {
        padding: 12px;
    }

    #ccont {
        scroll-margin-top: 16px;
    }

    .consent {
        left: var(--gutter);
        right: var(--gutter);
        bottom: calc(68px + env(safe-area-inset-bottom));
        width: auto;
    }

    .packs {
        grid-template-columns: minmax(0, 1fr);
    }

    #cats {
        max-height: 320px;
    }
}

@media (max-width: 640px) {
    .features {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero.rndc {
        padding: 16px;
    }

    .rndc .hero__title {
        font-size: 26px;
    }

    .hero__copy::after {
        height: 40px;
    }

    .lightbox {
        grid-template-columns: 1fr 1fr;
        align-content: center;
        padding: 8px;
    }

    .lightbox__body {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .lightbox__prev {
        justify-self: end;
    }

    .slider__controls {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .slider__dots {
        flex: 0 0 100%;
        order: -1;
    }

    .slider__arrow {
        flex: 1;
    }

    .page {
        padding-top: 16px;
    }

    .rndc {
        margin-top: 16px;
        padding: 16px;
    }

    .rndc h1 {
        font-size: 21px;
    }

    .downloads__title {
        font-size: 24px;
    }

    .media {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat__value {
        font-size: 20px;
    }

    .btnd {
        width: 100%;
    }

    .command {
        flex-wrap: wrap;
    }

    .command code {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
