@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("assets/manrope-medium.woff2") format("woff2");
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/manrope-semibold.woff2") format("woff2");
}
:root {
    color-scheme: light;
    --ink: #000;
    --muted: #5d5d5d;
    --accent: #ff4949;
    --accent-text: #ac2c2c;
    --line: #dedede;
    --surface: #f5f5f5;
    font: 500 100%/1.5 "Manrope", Arial, sans-serif;
    background: #fff;
    color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent-text); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.wrap { width: min(calc(100% - 3rem), 60rem); margin-inline: auto; }
.mast { background: #fff; border-bottom: 1px solid var(--line); }
.mast-inner {
    min-height: 4.25rem;
    padding-block: .4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand { display: inline-flex; flex: none; align-items: center; gap: 3px; min-width: 44px; min-height: 44px; }
.brand svg { display: block; }
.news-nav { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .25rem; }
.news-caption { color: var(--muted); font-size: .9375rem; margin-right: .6rem; }
.news-nav a, .pager a, .pager [aria-current] {
    display: inline-grid;
    place-items: center;
    min-width: 2.4rem;
    min-height: 2.4rem;
    padding: .25rem .65rem;
    border-radius: 2rem;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}
.news-nav a:hover, .pager a:hover { background: var(--surface); }
.news-nav a[aria-current] { background: var(--accent); }
.pager [aria-current] { background: var(--ink); color: #fff; }
main.wrap { padding-top: clamp(2rem, 5vw, 4.5rem); padding-bottom: 3.5rem; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.04em; }
h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: clamp(1.8rem, 4vw, 3.25rem);
}
.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .25rem 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}
h2 { font-size: clamp(1.4rem, 2.7vw, 2.1rem); line-height: 1.2; }
.sort-note, .pager { font-size: .875rem; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: .15rem; align-items: center; margin: .75rem 0 1rem; }
.pager .pager-word { padding-inline: .75rem; }
.ellipsis { padding-inline: .2rem; }
.thread-list { margin-top: 1rem; }
.thread { min-width: 0; }
.thread-list > .thread + .thread { margin-top: 1.2rem; }
.card {
    background: var(--surface);
    border: 1px solid transparent;
    border-radius: 1rem;
    padding: clamp(1rem, 2.4vw, 1.5rem);
    overflow-wrap: anywhere;
    content-visibility: auto;
    contain-intrinsic-size: auto 8.6rem;
}
.byline { display: flex; align-items: center; gap: .7rem; }
.avatar {
    flex: 0 0 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .85rem;
    font-weight: 600;
    background: #ffdddd;
    color: #882c2c;
}
.tint-1, .tint-4 { background: #e6e6e6; color: #393939; }
.tint-2, .tint-5 { background: #f3e5e3; color: #78443b; }
.who { min-width: 0; display: grid; line-height: 1.35; gap: .15rem; }
.who strong { font-size: 1rem; font-weight: 600; }
time { font-size: .8125rem; color: var(--muted); }
.message { max-width: 76ch; margin-top: .8rem; line-height: 1.55; white-space: pre-wrap; }
.branch {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .15rem;
    margin: .55rem 0 -.2rem;
    border: 0;
    border-radius: .25rem;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
}
.branch:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: .15em; }
.branch:disabled { opacity: .72; cursor: progress; }
.disclosure {
    width: .48rem;
    height: .48rem;
    border: solid var(--accent-text);
    border-width: 0 .11rem .11rem 0;
    transform: rotate(-45deg);
}
.branch[aria-expanded="true"] .disclosure { transform: translateY(-.09rem) rotate(45deg); }
.children:not([hidden]) { display: grid; gap: .5rem; margin-top: .5rem; }
@supports (width: 1cqi) {
    .discussion { container-type: inline-size; }
    .children:not([hidden]) {
        /* Indent each level until the remaining column reaches its minimum reading width. */
        padding-inline-start: clamp(0px, calc(100% - min(28rem, 78cqi)), clamp(.4rem, 2cqi, 1.5rem));
        box-shadow: inset 1px 0 var(--line);
    }
}
@supports not (width: 1cqi) {
    .thread-list > .thread > .children,
    .thread-list > .thread > .children > .thread > .children,
    .thread-list > .thread > .children > .thread > .children > .thread > .children {
        margin-left: clamp(.35rem, 2.3vw, 1.5rem);
        padding-left: clamp(.35rem, 1.6vw, 1rem);
        border-left: 1px solid var(--line);
    }
}
.children .card { background: #fff; border-color: var(--line); padding: .95rem 1.15rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 34rem) {
    .wrap { width: calc(100% - 2rem); }
    .mast-inner { min-height: 3.25rem; padding-block: .25rem; gap: .5rem; }
    .brand .brand-wordmark, .news-caption { display: none; }
    .news-nav { gap: .125rem; }
    .news-nav a { min-width: 2.25rem; min-height: 2.25rem; }
    .children .card { padding: .85rem; }
}
