@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 300 800;
    font-stretch: 100%;
    font-display: swap;
    src: url("/fonts/open-sans/latin-ext-italic.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 300 800;
    font-stretch: 100%;
    font-display: swap;
    src: url("/fonts/open-sans/latin-italic.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;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300 800;
    font-stretch: 100%;
    font-display: swap;
    src: url("/fonts/open-sans/latin-ext-normal.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300 800;
    font-stretch: 100%;
    font-display: swap;
    src: url("/fonts/open-sans/latin-normal.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 {
    color-scheme: light;
    --ink: #242528;
    --muted: #55595c;
    --line: #e5e5e5;
    --charcoal: #414141;
    font-family: "Open Sans", system-ui, sans-serif;
    color: var(--ink);
    background: white;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: .875rem;
    line-height: 1.45;
}

.wrap {
    width: min(100%, 72rem);
    margin-inline: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: .15em;
}

:focus-visible {
    outline: 2px solid #88572c;
    outline-offset: 3px;
}

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

.skip:focus {
    position: absolute;
    z-index: 2;
    padding: .75rem;
    background: white;
}

.masthead {
    min-height: 10.4rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
}

.brand {
    max-width: 100%;
    color: #222;
    font-size: clamp(1.75rem, 4vw, 2.9rem);
    font-weight: 650;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: min(25rem, 100%);
    max-height: 6.5rem;
}

.masthead p {
    color: var(--muted);
}

.toolbar,
.crumbs,
.foot,
.foot nav,
.pages,
.list-tools,
.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.toolbar {
    border: 1px solid var(--line);
}

.toolbar a {
    display: flex;
    align-items: center;
    min-height: 3.7rem;
    padding: .75rem 1.15rem;
    font-size: 1rem;
}

.forum-tab,
.action,
.submission button {
    background: var(--charcoal);
    color: white;
}

main.wrap {
    flex: 1;
    padding: 0 1.25rem 2rem;
    border-inline: 1px solid var(--line);
}

.crumbs {
    gap: .45rem;
    min-height: 3rem;
    margin-bottom: 1.25rem;
    padding-block: .7rem;
    font-size: .8rem;
    color: var(--muted);
}

.crumbs > * + *::before {
    content: '›';
    margin-right: .45rem;
    color: #747474;
}

.with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 25%);
    align-items: start;
    gap: 1.25rem;
}

h1,
h2,
p,
dl,
dd {
    margin: 0;
}

h1 {
    color: #272727;
    font-size: clamp(1.45rem, 3vw, 1.7rem);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -.035em;
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
}

h2 {
    font-size: .95rem;
    line-height: 1.4;
}

.intro {
    color: var(--muted);
    margin: -.5rem 0 1rem;
}

.directory {
    margin-bottom: 1.5rem;
}

.forum-grid,
.topic-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.5rem minmax(0, 31%);
    gap: 1rem;
}

.band {
    align-items: center;
    min-height: 3.2rem;
    font-size: .82rem;
    font-weight: 650;
}

.band > :nth-child(2),
.count {
    text-align: center;
}

.row,
.recent li,
.post {
    border-bottom: 1px solid var(--line);
}

.row {
    padding: 1.25rem 0;
    overflow-wrap: anywhere;
}

.forum-name {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bubble {
    position: relative;
    flex: none;
    width: 2.25rem;
    height: 1.65rem;
    border: 2px solid #d3d9dc;
    border-radius: 55%;
}

.bubble::before {
    content: '';
    position: absolute;
    top: .48rem;
    left: .58rem;
    width: .85rem;
    height: 2px;
    background: #d3d9dc;
    box-shadow: 0 4px #d3d9dc;
}

.bubble::after {
    content: '';
    position: absolute;
    left: .15rem;
    bottom: -.23rem;
    width: .45rem;
    height: .38rem;
    border-left: 2px solid #d3d9dc;
    border-bottom: 2px solid #d3d9dc;
    transform: skew(-20deg, -22deg);
    background: white;
}

.primary {
    color: #191919;
    font-size: 1rem;
    font-weight: 550;
    line-height: 1.35;
}

.row p,
.post-body {
    font-size: .85rem;
    color: #474747;
}

.subforums {
    margin-top: .45rem;
    font-size: .8rem;
}

.subforums ul,
.subforums li {
    display: inline;
    padding: 0;
    margin: 0;
}

.subforums a::before {
    content: '› ';
    color: var(--muted);
}

.latest,
.count,
small,
time {
    color: var(--muted);
    font-size: .8rem;
}

.latest > a,
.latest time,
small {
    display: block;
}

.latest > a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
}

.latest a time {
    display: inline;
}

.mobile-total,
.count small {
    display: none;
}

.blog-sidebar,
.submission {
    padding: 1.25rem;
    border: 1px solid var(--line);
}

.blog-sidebar ul,
.recent {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar ul {
    display: grid;
    gap: .65rem;
    margin-top: 1rem;
}

.blog-sidebar a {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .85rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.blog-sidebar img {
    width: 4rem;
    height: 4rem;
    flex: none;
    object-fit: cover;
}

.overview {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(12rem, 1fr);
    gap: 1.5rem;
}

.overview h2 {
    border-bottom: 1px solid var(--line);
    padding-block: .75rem;
}

.recent li,
.stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-block: .65rem;
    overflow-wrap: anywhere;
}

.stats div {
    border-bottom: 1px solid var(--line);
}

.stats dd,
.count {
    font-variant-numeric: tabular-nums;
}

.empty {
    color: var(--muted);
    padding-block: 1.2rem;
}

.list-tools,
.pages {
    gap: .75rem;
    margin-block: 1rem;
}

.list-tools > span {
    margin-left: auto;
    color: var(--muted);
}

.action,
.pages a,
.submission button {
    display: inline-block;
    padding: .65rem .9rem;
    font: inherit;
}

.action {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pages a {
    border: 1px solid var(--line);
}

.post {
    padding: 1.3rem 0;
    scroll-margin: 1rem;
}

.post:target {
    border-color: #777;
}

.post-body,
.post-signature {
    overflow-wrap: anywhere;
}

.post-body a,
.post-signature a {
    text-decoration: underline;
}

.post-body img,
.post-signature img {
    max-width: 100%;
    height: auto;
}

.post-body pre,
.post-signature pre {
    overflow-x: auto;
}

.post-body blockquote {
    margin-inline: 0;
    padding: .6rem 1rem;
    border-left: 3px solid #c8c8c8;
    background: #f7f7f7;
}

.nap {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    font-style: normal;
}

.nap img {
    max-width: min(100%, 16rem);
}

.post-signature {
    margin-top: 1rem;
    padding-top: .5rem;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: .85rem;
}

.post-meta {
    gap: .5rem;
    margin-top: 1rem;
    color: var(--muted);
    font-size: .8rem;
    overflow-wrap: anywhere;
}

.submission {
    margin-top: 1.5rem;
}

.submission form,
.submission label:not([hidden]) {
    display: grid;
    gap: .4rem;
}

.submission form {
    gap: 1rem;
    max-width: 44rem;
    margin-top: 1rem;
}

.submission input,
.submission textarea {
    width: 100%;
    padding: .65rem;
    border: 1px solid #aaa;
    font: inherit;
}

.submission button {
    justify-self: start;
    border: 0;
    cursor: pointer;
}

.foot {
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: .8rem;
}

.foot nav {
    gap: 1rem;
}

@media (max-width: 74rem) {
    .masthead {
        padding-inline: 1.25rem;
    }
}

@media (max-width: 54rem) {
    .with-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 40rem) {
    .masthead {
        flex-direction: column;
        justify-content: center;
        gap: .5rem;
        text-align: center;
    }

    .brand-logo {
        max-width: min(21rem, 100%);
    }

    .toolbar a {
        padding-inline: .85rem;
    }

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

    .forum-grid,
    .topic-grid {
        display: block;
    }

    .band {
        align-content: center;
        text-align: center;
    }

    .band span,
    .row .latest,
    .row .count {
        display: none;
    }

    .topic-grid .count {
        display: block;
        padding-left: 3.25rem;
        text-align: left;
    }

    .count small {
        display: inline;
    }

    .mobile-total {
        display: block;
        margin-top: .35rem;
    }

    .recent li {
        flex-wrap: wrap;
    }
}
