:root {
    --font-main: 13px;
    --bg: #050505;
    --bg-soft: #0b0b0b;
    --bg-warm: #061006;
    --panel: rgba(12, 12, 12, 0.94);
    --panel-2: rgba(20, 20, 20, 0.92);
    --panel-3: rgba(96, 218, 37, 0.12);
    --text: #f7f7f7;
    --muted: #b8cbb3;
    --muted-2: #7e9278;
    --line: rgba(96, 218, 37, 0.28);
    --line-soft: rgba(255, 255, 255, 0.11);
    --line-strong: rgba(96, 218, 37, 0.8);
    --accent: #60DA25;
    --accent-2: #7CFF46;
    --accent-soft: rgba(96, 218, 37, 0.14);
    --good: #25d366;
    --warn: #d7ff6a;
    --shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
    --radius: 8px;
}

html[data-theme="light"] {
    --bg: #f4fbf2;
    --bg-soft: #fbfff9;
    --bg-warm: #eefbe9;
    --panel: rgba(255, 255, 255, 0.95);
    --panel-2: rgba(248, 255, 245, 0.95);
    --panel-3: rgba(96, 218, 37, 0.12);
    --text: #111b0f;
    --muted: #50614c;
    --muted-2: #74836f;
    --line: rgba(96, 218, 37, 0.32);
    --line-soft: rgba(20, 16, 12, 0.12);
    --line-strong: rgba(96, 218, 37, 0.8);
    --shadow: 0 12px 28px rgba(15, 43, 9, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--font-main);
    color: var(--text);
    background:
        linear-gradient(rgba(96, 218, 37, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 218, 37, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 82% 28%, rgba(96, 218, 37, 0.13), transparent 25%),
        linear-gradient(120deg, var(--bg) 0%, var(--bg-warm) 50%, var(--bg-soft) 100%);
    background-size: 64px 64px, 64px 64px, auto, auto;
}

body {
    padding: 0;
}

a {
    color: inherit;
}

strong {
    color: var(--text);
    font-weight: 800;
}

code {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px 6px;
    background: var(--panel-3);
    color: var(--text);
    font-size: 0.9em;
}

.site-wrap {
    width: min(1180px, calc(100% - 28px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 12px 0 28px;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--accent);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}

.brand-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: #050505;
    box-shadow: 0 0 0 4px rgba(96, 218, 37, 0.08), 0 0 22px rgba(96, 218, 37, 0.18);
}

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

.brand-title {
    color: var(--text);
    font-size: 18px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-sub {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.nav-link,
.theme-btn,
.primary-btn,
.small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 0 13px;
    background: rgba(12, 12, 12, 0.88);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: 0.16s ease;
}

html[data-theme="light"] .nav-link,
html[data-theme="light"] .theme-btn,
html[data-theme="light"] .primary-btn,
html[data-theme="light"] .small-btn {
    background: rgba(255, 255, 255, 0.88);
}

.nav-link:hover,
.theme-btn:hover,
.small-btn:hover {
    border-color: var(--line-strong);
    color: var(--accent);
}

.primary-btn {
    border-color: transparent;
    background: var(--accent);
    color: #041404;
    box-shadow: 0 10px 20px rgba(96, 218, 37, 0.20);
}

.primary-btn:hover {
    background: var(--accent-2);
    color: #041404;
    transform: translateY(-1px);
}

.primary-btn.muted,
.small-btn.ghost {
    border-color: var(--line-soft);
    background: rgba(12, 12, 12, 0.86);
    color: var(--text);
    box-shadow: none;
}

html[data-theme="light"] .primary-btn.muted,
html[data-theme="light"] .small-btn.ghost {
    background: rgba(255, 255, 255, 0.88);
}

.hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
    background:
        linear-gradient(rgba(96, 218, 37, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 218, 37, 0.045) 1px, transparent 1px),
        linear-gradient(105deg, rgba(10, 10, 10, 0.97) 0%, rgba(7, 20, 6, 0.95) 58%, rgba(7, 7, 7, 0.98) 100%);
    background-size: 60px 60px, 60px 60px, auto;
    box-shadow: var(--shadow);
}

html[data-theme="light"] .hero {
    background:
        linear-gradient(rgba(96, 218, 37, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 218, 37, 0.07) 1px, transparent 1px),
        linear-gradient(105deg, #ffffff 0%, #eefbe9 58%, #ffffff 100%);
    background-size: 60px 60px, 60px 60px, auto;
}

.hero::before {
    content: "";
    position: absolute;
    right: 5%;
    top: 13%;
    width: 210px;
    height: 210px;
    display: block;
    border-radius: 50%;
    background: url("../img/icon.png") center / contain no-repeat;
    opacity: 0.12;
    filter: saturate(1.15);
    pointer-events: none;
}

html[data-theme="light"] .hero::before {
    opacity: 0.10;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero.compact {
    padding: 16px;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 10px;
    padding: 0 11px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    max-width: 760px;
    color: var(--text);
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 900;
    text-transform: uppercase;
}

.intro {
    margin: 12px 0 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(96px, 1fr));
    gap: 9px;
    min-width: 330px;
}

.stats-grid.small {
    min-width: 310px;
}

.stat-card {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(18, 18, 18, 0.84);
}

html[data-theme="light"] .stat-card {
    background: rgba(255, 255, 255, 0.84);
}

.stat-label {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stat-value {
    color: var(--text);
    font-size: 14px;
    font-weight: 850;
    word-break: break-word;
}

.search-row,
.project-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    margin-top: 14px;
}

.search-box {
    position: relative;
}

.search-box span {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 12px;
}

.search-box input {
    width: 100%;
    height: 40px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    outline: none;
    padding: 0 13px 0 38px;
    background: rgba(15, 15, 15, 0.92);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

html[data-theme="light"] .search-box input {
    background: rgba(255, 255, 255, 0.92);
}

.search-box input:focus {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.section {
    margin-top: 16px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.section-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.section-head > span {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 12px;
}

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

.quick-link-card {
    display: grid;
    grid-template-columns: 42px 1fr 18px;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    border: 1px solid var(--line-soft);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 10px;
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: 0.16s ease;
}

.quick-link-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-1px);
}

.quick-link-icon {
    width: 42px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--panel-3);
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.quick-link-card strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.quick-link-card span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.quick-link-arrow {
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
    text-align: right;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}

.project-card {
    border: 1px solid var(--line-soft);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 14px;
    background: var(--panel);
    box-shadow: var(--shadow);
    transition: 0.16s ease;
}

.project-card:hover {
    border-color: var(--line-strong);
}

.project-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.project-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-3);
    color: var(--accent);
    font-size: 17px;
}

.project-status {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 8px;
    background: rgba(96, 218, 37, 0.1);
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.project-status.ok {
    border-color: rgba(37, 211, 102, 0.34);
    background: rgba(37, 211, 102, 0.1);
    color: var(--good);
}

.project-status.plain {
    border-color: rgba(255, 176, 32, 0.34);
    color: var(--warn);
}

.project-card h3 {
    margin: 12px 0 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.18;
    letter-spacing: -0.04em;
    font-weight: 900;
    word-break: break-word;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.project-meta span {
    border: 1px solid var(--line-soft);
    border-radius: 6px;
    padding: 5px 8px;
    background: var(--panel-2);
    color: var(--muted);
    font-size: 11px;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.small-btn {
    min-height: 35px;
}

.file-grid {
    display: grid;
    gap: 9px;
}

.file-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 9px 10px;
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: 0.16s ease;
}

.file-row:hover {
    border-color: var(--line-strong);
    transform: translateY(-1px);
}

.file-row.folder {
    background: rgba(7, 24, 6, 0.94);
}

html[data-theme="light"] .file-row.folder {
    background: rgba(240, 255, 235, 0.95);
}

.file-icon {
    width: 40px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-3);
    color: var(--accent);
    font-size: 17px;
}

.file-info {
    min-width: 0;
}

.file-info strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    line-height: 1.25;
    word-break: break-word;
}

.file-info span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.file-action,
.file-arrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
}

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

.breadcrumb a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.empty {
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 22px;
    background: var(--panel);
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

.empty h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 17px;
}

.empty p {
    margin: 0 0 13px;
}

.small-empty {
    padding: 14px;
}

.hide {
    display: none !important;
}

.code-panel,
.preview-panel {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--panel);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.code-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--line-soft);
    padding: 11px 13px;
    background: var(--panel-2);
    color: var(--muted);
    font-size: 12px;
}

pre {
    margin: 0;
    max-height: 70vh;
    overflow: auto;
    padding: 13px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.6;
    tab-size: 4;
}

pre code {
    display: block;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.image-preview {
    padding: 14px;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 72vh;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--panel-2);
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(310px, 1.15fr) minmax(130px, 0.55fr) minmax(310px, 1.15fr);
    align-items: center;
    gap: 22px;
    margin-top: 72px;
    padding: 22px 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
        radial-gradient(circle at 8% 15%, rgba(96, 218, 37, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(13, 24, 12, 0.86), rgba(7, 10, 7, 0.96));
    color: var(--muted);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(96, 218, 37, 0.08);
    font-size: 13px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.footer-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 142px;
    min-height: 54px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    overflow: visible;
}

.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(96, 218, 37, 0.22));
}

.footer-identity {
    min-width: 0;
}

.footer-copy {
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-tagline {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.25;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.footer-sitemap-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 2px 11px;
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-sitemap-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
    transform: translateX(-50%);
    box-shadow: 0 0 14px rgba(96, 218, 37, 0.35);
}

.footer-sitemap-link:hover {
    color: var(--accent);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 0;
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(96, 218, 37, 0.08);
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-version {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
}

.footer-version strong {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 900;
}

.link-list {
    display: grid;
    gap: 9px;
}

@media (max-width: 900px) {
    .hero-main {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .stats-grid.small {
        min-width: 0;
    }

    .quick-link-grid {
        grid-template-columns: 1fr;
    }

    .hero::before {
        right: -90px;
        opacity: 0.55;
    }
}

@media (max-width: 680px) {
    :root {
        --font-main: 12px;
    }

    .site-wrap {
        width: min(100% - 20px, 1180px);
        padding-bottom: 20px;
    }

    .top-nav {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 9px 0 10px;
        margin-bottom: 12px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .brand-title {
        font-size: 17px;
    }

    .brand-sub {
        margin-top: 3px;
        font-size: 11px;
    }

    .nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .nav-link,
    .theme-btn,
    .primary-btn,
    .small-btn {
        min-height: 34px;
        padding: 0 10px;
        font-size: 11px;
    }

    .hero,
    .hero.compact {
        padding: 13px;
        margin-bottom: 13px;
    }

    .hero::before {
        display: none;
    }

    .eyebrow {
        min-height: 20px;
        margin-bottom: 8px;
        padding: 0 9px;
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    h1 {
        font-size: 25px;
        line-height: 1.04;
    }

    .intro {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.45;
    }

    .stats-grid,
    .stats-grid.small {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .stat-card {
        padding: 8px;
    }

    .stat-label {
        margin-bottom: 5px;
        font-size: 8px;
        letter-spacing: 0.08em;
    }

    .stat-value {
        font-size: 11px;
    }

    .search-row,
    .project-toolbar {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 10px;
    }

    .search-box input {
        height: 36px;
        padding-left: 34px;
        font-size: 12px;
    }

    .search-box span {
        left: 12px;
        font-size: 12px;
    }

    .quick-link-card {
        grid-template-columns: 38px 1fr 16px;
        min-height: 56px;
        padding: 9px;
        gap: 9px;
    }

    .quick-link-icon {
        width: 38px;
        height: 32px;
        font-size: 9px;
    }

    .quick-link-card strong {
        font-size: 13px;
    }

    .quick-link-card span {
        font-size: 11px;
    }

    .section {
        margin-top: 13px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 8px;
    }

    .section-head h2 {
        font-size: 16px;
    }

    .section-head p,
    .section-head > span {
        font-size: 11px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 11px;
    }

    .project-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .project-status,
    .project-meta span {
        font-size: 10px;
        padding: 5px 7px;
    }

    .project-card h3 {
        margin-top: 10px;
        font-size: 15px;
    }

    .project-meta,
    .project-actions {
        margin-top: 10px;
    }

    .file-row {
        min-height: 54px;
        grid-template-columns: 36px 1fr;
        padding: 8px;
    }

    .file-icon {
        width: 36px;
        height: 34px;
        font-size: 15px;
    }

    .file-action,
    .file-arrow {
        display: none;
    }

    .file-info strong {
        font-size: 13px;
    }

    .file-info span,
    .breadcrumb,
    .code-head,
    .site-footer {
        font-size: 11px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 18px;
        margin-top: 44px;
        padding: 18px;
    }

    .footer-left {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .footer-logo {
        width: 126px;
        min-height: 48px;
    }

    .footer-copy {
        white-space: normal;
    }

    .footer-right {
        align-items: center;
    }

    .footer-socials,
    .footer-version {
        justify-content: center;
    }

    .empty {
        padding: 16px;
        font-size: 12px;
    }

    .empty h3 {
        font-size: 15px;
    }

    pre {
        padding: 10px;
        font-size: 11px;
        line-height: 1.55;
    }
}

@media (max-width: 420px) {
    .site-wrap {
        width: min(100% - 16px, 1180px);
    }

    h1 {
        font-size: 22px;
    }

    .intro {
        font-size: 11px;
    }

    .stats-grid,
    .stats-grid.small {
        grid-template-columns: 1fr;
    }

    .toolbar-actions,
    .project-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}
