:root {
    --bg: #ffffff;
    --bg-elev: #ffffff;
    --ink: #1c211f;
    --muted: #66706b;
    --line: #e5ebe7;
    --header: #10211c;
    --accent: #157a4b;
    --accent-dark: #0f643c;
    --gold: #f0c14d;
    --soft: #e7f5ee;
    --warn: #fff6e4;
    --warn-ink: #6a4b12;
    --danger: #8f2d2d;
    --shadow: 0 1px 2px rgba(22, 32, 27, 0.05);
    --serif: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(28, 33, 31, 0.22); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(28, 33, 31, 0.4); }
::-webkit-scrollbar-corner { background: transparent; }
.sidenav, .rail { scrollbar-width: thin; scrollbar-color: transparent transparent; }
.sidenav:hover, .rail:hover { scrollbar-color: rgba(28, 33, 31, 0.28) transparent; }
.sidenav::-webkit-scrollbar, .rail::-webkit-scrollbar { width: 4px; }
.sidenav::-webkit-scrollbar-thumb, .rail::-webkit-scrollbar-thumb { background: transparent; }
.sidenav:hover::-webkit-scrollbar-thumb, .rail:hover::-webkit-scrollbar-thumb { background: rgba(28, 33, 31, 0.28); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; }
h1 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.03em; font-size: 1.85rem; margin: 0 0 0.3rem; }
h2 { font-size: 1.05rem; margin: 0 0 0.5rem; }
p { margin: 0 0 0.8rem; }
button, input, select { font: inherit; color: inherit; }
.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: #fff;
    padding: 8px 12px;
    z-index: 50;
}
.skip:focus { top: 8px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }


.comment-top > .thread-panel > .comment-body {
    font-weight: 500;
}


.top-stack { position: sticky; top: 0; z-index: 30; }
.disclosure {
    margin: 0;
    background: #f7f8f7;
    color: #6d6454;
    text-align: center;
    padding: 6px 16px;
    font-size: 0.78rem;
    border-bottom: 1px solid var(--line);
}
.topbar { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    max-width: none;
    margin: 0;
    padding: 0 16px;
    min-height: 52px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; flex: 0 0 auto; }
.logo-mark { width: 28px; height: 28px; display: block; }
.logo-word { font-family: var(--sans); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; }
.top-search {
    display: flex;
    flex: 1 1 220px;
    min-width: 0;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    background: #f2f4f3;
    border: 1px solid transparent;
    border-radius: 999px;
    overflow: hidden;
    align-items: center;
}
.top-search:focus-within { background: #fff; border-color: #d5dbd8; box-shadow: 0 0 0 3px rgba(21, 122, 75, 0.12); }
.top-search input {
    flex: 1;
    border: 0;
    padding: 9px 14px 9px 4px;
    min-width: 0;
    background: transparent;
    color: var(--ink);
}
.top-search input::placeholder { color: #8b948f; }
.search-go {
    border: 0;
    background: transparent;
    color: #7b857f;
    padding: 0 4px 0 14px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.search-go .ico { width: 18px; height: 18px; }
.top-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-link { font-size: 0.95rem; font-weight: 600; padding: 6px 8px; border-radius: 8px; }
.top-link:hover { background: #f3f5f4; color: var(--ink); }
.icon-btn, .avatar-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3d4742;
}
.icon-btn:hover { background: #f3f5f4; color: var(--ink); }
.icon-btn .ico { width: 18px; height: 18px; }
.avatar-btn { background: #1c2421; color: #fff; font-weight: 700; font-size: 0.85rem; }
.avatar-btn:hover { color: #fff; background: #2a3330; }
.nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
}

.shell { padding: 8px 12px 16px; }
.content { min-width: 0; }
.sidenav {
    display: none;
    background: transparent;
    border: 0;
    padding: 4px 4px 12px;
    margin-bottom: 14px;
}
.sidenav.is-open { display: block; }
.nav-list, .nav-places { list-style: none; margin: 0; padding: 0; }
.nav-list a, .nav-places a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2c3330;
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}
.nav-list a:hover, .nav-places a:hover { background: #eef2f0; color: var(--ink); }
.nav-list a.is-current, .nav-places a.is-current { background: var(--soft); color: var(--accent-dark); }
.nav-ico { display: inline-flex; color: #5d6762; }
.nav-ico .ico { width: 18px; height: 18px; }
a.is-current .nav-ico { color: var(--accent-dark); }
.nav-label-row { display: flex; align-items: center; justify-content: space-between; margin: 18px 10px 6px; }
.nav-label {
    margin: 18px 10px 6px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b948f;
    font-weight: 700;
}
.nav-label-row .nav-label { margin: 0; }
.nav-add {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5d6762;
    text-decoration: none;
}
.nav-add:hover { background: #e7eeea; color: var(--ink); }
.nav-add .ico { width: 16px; height: 16px; }
.nav-places li:nth-child(n+6) { opacity: 0.62; }
.nav-places li:nth-child(n+6):hover { opacity: 1; }
.nav-empty, .muted { color: var(--muted); }
.nav-foot { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.nav-cats a { font-weight: 500; color: #3c4540; }

.rail { margin-top: 18px; }
.widget, .panel, .post-card, .place-card, .empty, .rules-block, .comment, .accepted-callout {
    background: var(--bg-elev);
    border: 1px solid #e8ebe9;
    border-radius: 8px;
    box-shadow: none;
}
.widget { padding: 14px 14px 10px; margin-bottom: 12px; }
.widget h2 { font-size: 0.98rem; font-weight: 700; }
.widget-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.widget-head h2 { margin: 0; }
.widget-head a { color: var(--accent); font-size: 0.84rem; font-weight: 650; text-decoration: none; }
.widget-head a:hover { color: var(--accent-dark); }
.with-ico { display: flex; align-items: center; gap: 6px; }
.flame-ico { color: #ef8b2c; display: inline-flex; }
.flame-ico .ico { width: 16px; height: 16px; }
.widget-meta, .fine { color: var(--muted); font-size: 0.82rem; }
.place-rows { list-style: none; margin: 0; padding: 0; }
.place-rows a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
    padding: 7px 4px;
    border-radius: 10px;
    font-weight: 650;
}
.place-rows a:hover { background: #f6f8f7; color: var(--ink); }
.place-row-copy { display: flex; flex-direction: column; min-width: 0; }
.place-row-name {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-weight: 700;
}
.place-row-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.place-tld {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: baseline;
    font-family: Consolas, "Courier New", monospace;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    color: #0d5c38;
    background: linear-gradient(165deg, #f8fdf9 0%, #dff3e8 100%);
    border: 1px solid #b7dfc8;
    border-radius: 6px;
    padding: 3px 6px 2px 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 1px rgba(15, 80, 48, 0.06);
}
.place-tld-dot { color: #ef8b2c; font-weight: 800; }
.place-row-meta { color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.row-chev { color: #c0c7c3; display: inline-flex; }
.row-chev .ico { width: 16px; height: 16px; }
.trend-list { list-style: none; margin: 0; padding: 0; }
.trend-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.trend-list li:first-child { border-top: 0; padding-top: 4px; }
.trend-list a { color: var(--accent-dark); font-weight: 650; text-decoration: none; display: block; }
.trend-list a:hover { text-decoration: underline; }
.discover-card {
    position: relative;
    background: #eef8f3;
    border: 1px solid #d5eadc;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
    min-height: 196px;
}
.discover-copy { position: relative; z-index: 1; max-width: 68%; padding: 16px 16px 18px; }
.discover-copy h2 { display: flex; align-items: center; gap: 6px; font-size: 1.05rem; margin: 0 0 8px; }
.discover-copy p { color: #3d4a44; font-size: 0.88rem; margin: 0 0 4px; line-height: 1.4; }
.discover-pin { color: #ef8b2c; display: inline-flex; }
.discover-pin .ico { width: 18px; height: 18px; stroke: #ef8b2c; }
.discover-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    background: #146b45;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.88rem;
}
.discover-cta:hover { background: #0f5637; color: #fff; }
.discover-art {
    position: absolute;
    right: 0;
    top: 0;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.link-list, .stacked-links, .file-list { list-style: none; margin: 0; padding: 0; }
.link-list li, .stacked-links li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.stacked-links li { flex-direction: column; align-items: flex-start; }
.link-list li:first-child, .stacked-links li:first-child { border-top: 0; }
.link-list span { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.rule-list { margin: 0; padding-left: 1.1rem; }
.rule-list li { margin: 0 0 0.45rem; }

.feed-head { margin-bottom: 14px; }
.lede { color: var(--muted); font-size: 0.98rem; margin-top: 2px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.tabs a {
    text-decoration: none;
    color: #2c3330;
    background: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    border: 1px solid #e1e6e3;
    font-weight: 650;
    font-size: 0.9rem;
}
.tabs a:hover { border-color: #cfd6d2; color: var(--ink); }
.tabs a[aria-current="page"] { background: #1c2421; color: #fff; border-color: #1c2421; }
.tabs-sub { margin-top: 0; }

.post-card { display: flex; gap: 8px; padding: 14px 16px 10px; margin-bottom: 12px; }
.vote {
    flex: 0 0 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    color: #8b948f;
    padding-top: 2px;
}
.vote b { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 0.95rem; line-height: 1.1; }
.vote-chevron { display: inline-flex; line-height: 0; }
.vote-chevron .ico { width: 18px; height: 18px; }
.score {
    flex: 0 0 58px;
    text-align: center;
    background: #f6f7f6;
    border-radius: 12px;
    padding: 8px 4px;
    height: fit-content;
}
.score b { display: block; color: var(--accent); font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.score span { font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; color: #8a847a; }
.post-main { min-width: 0; flex: 1; }
.post-meta, .byline, .card-foot, .comment-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; color: var(--muted); font-size: 0.84rem; }
.post-meta { margin-bottom: 4px; }
.meta-dot { color: #b7bfba; }
.user-link { color: var(--muted); text-decoration: none; font-weight: 600; }
.user-link:hover { color: var(--ink); }
.post-card h2 { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; margin: 2px 0 6px; }
.post-card h2 a, .post-article h1 { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--ink); }
.post-article h1 { font-size: 1.85rem; margin-bottom: 8px; }
.preview {
    color: #4d5752;
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-foot { margin-top: 4px; gap: 4px 2px; }
.card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #66706b;
    background: transparent;
    border: 0;
    border-radius: 8px;
    padding: 5px 8px;
    font: inherit;
    font-weight: 650;
    font-size: 0.84rem;
    text-decoration: none;
    cursor: pointer;
}
.card-action .ico { width: 16px; height: 16px; }
.card-action:hover { background: #f3f5f4; color: var(--ink); }
.card-action:disabled { opacity: 0.85; cursor: default; }
.card-action:disabled:hover { background: transparent; color: #66706b; }
.feature-line { margin: 6px 0 0; }
.card-media img, .post-figure img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    background: #f6f3ee;
    border-radius: 10px;
}
.outbound a { font-weight: 600; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 8px 0 0; }
.tag-row li, .example-tag, .type-pill, .accepted-badge {
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.75rem;
}
.tag-row li { background: #f1f3f2; color: #5c6661; font-weight: 600; }
.example-tag { background: #f6e3a4; color: #7a5b12; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; font-size: 0.68rem; }
.type-pill { background: #eeeae4; color: var(--ink); }
.type-question { background: #e7f0fb; color: #1d4e89; }
.type-discussion { background: #f8efe2; color: #8a5a12; }
.type-link { background: #f3e8f8; color: #6b3fa0; }
.type-image { background: #e5f6ea; color: #1f6f3a; }
.type-text { background: #eceff3; }
.type-featured { background: var(--gold); color: #1c1b18; }
.place-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
}
.mini-icon, .hero-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--accent-dark); }
.mini-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--soft);
    flex: 0 0 auto;
}
.mini-icon .ico { width: 15px; height: 15px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.letter { font-size: 0.75rem; font-weight: 700; }

.place-hero { color: #f7f4ee; border-radius: 16px; padding: 18px 16px; margin-bottom: 14px; }
.place-hero a { color: #f7f4ee; }
.hero-kicker { margin: 0 0 6px; font-size: 0.85rem; }
.hero-title { display: flex; align-items: center; gap: 8px; }
.hero-title h1 { margin: 0; }
.hero-icon .ico { width: 28px; height: 28px; stroke: #f7f4ee; }
.hero-short { margin: 8px 0 0; max-width: 62ch; }
.hero-meta { margin: 8px 0 0; font-size: 0.88rem; opacity: 0.9; }
.advisory {
    background: var(--warn);
    color: var(--warn-ink);
    border-radius: 12px;
    padding: 10px 12px;
    margin: 0 0 12px;
}
.place-description, .about-copy, .guide-render { max-width: 68ch; }
.rules-block, .panel, .empty { padding: 14px 16px; margin-bottom: 14px; }
.rules-block ol { margin: 0; padding-left: 1.2rem; }
.mod-line { color: var(--muted); }
.post-article { margin-bottom: 18px; }
.post-body { font-size: 14px; line-height: 1.65; max-width: 68ch; }
.post-body p, .comment-body p, .prose p { margin: 0 0 0.9rem; }
.score-inline { font-variant-numeric: tabular-nums; }
.thread h2 { margin-bottom: 4px; }
.comments, .comments.replies { list-style: none; margin: 0; padding: 0; }
.comments.replies { margin-left: 12px; padding-left: 10px; border-left: 2px solid var(--line); }
.comment { padding: 12px; margin: 10px 0; }
.comment.is-accepted { border-color: #b7d7cb; background: #f3faf7; }
.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}
.avatar-lg { width: 64px; height: 64px; font-size: 1.2rem; }
.comment-user { font-weight: 700; text-decoration: none; color: var(--ink); }
.comment-score { font-variant-numeric: tabular-nums; }
.accepted-badge { background: var(--soft); color: var(--accent-dark); }
.accepted-callout { padding: 12px 14px; margin: 10px 0 14px; border-color: #b7d7cb; }
.comment-body { margin-top: 8px; overflow-wrap: anywhere; }
.profile-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.profile-columns { display: grid; gap: 16px; }
.place-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.place-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
    padding: 16px;
    border-radius: 14px;
    border-color: var(--line);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.place-card:hover {
    color: inherit;
    border-color: #d3dbd6;
    box-shadow: 0 8px 20px rgba(22, 32, 27, 0.06);
}
.place-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding-right: 76px;
}
.place-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: color-mix(in srgb, var(--place-accent, var(--accent)) 14%, #fff);
    color: var(--place-accent, var(--accent-dark));
}
.place-card-icon .ico { width: 22px; height: 22px; stroke: currentColor; }
.place-card-icon .letter { font-size: 1rem; }
.place-card-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 1px; }
.place-card-name {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.place-card-kicker {
    color: #8b948f;
    font-size: 0.68rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.place-card .preview { margin: 0; }
.place-card .fine { margin-top: -4px; }
.filter-bar, .inline-form, .stack-form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter-bar input, .filter-bar select, .stack-form input, .stack-form select, .inline-form select, .source-block, .error-pre {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff;
}
.filter-bar input { flex: 1 1 180px; }
.stack-form { flex-direction: column; align-items: stretch; max-width: 460px; }
.stack-form label, .check { font-size: 0.92rem; }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; }
.button, .filter-bar button, .stack-form button, .inline-form button {
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.button:hover, .filter-bar button:hover { background: var(--accent-dark); }
.button-quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.pager { display: flex; gap: 12px; align-items: center; margin: 8px 0 20px; }
.pager-gap { color: #b0aaa2; }
.site-foot { border-top: 1px solid var(--line); margin-top: 20px; }
.site-foot-inner { max-width: none; margin: 0; padding: 18px 10px 28px; color: var(--muted); font-size: 0.9rem; }
.admin-bar .button-quiet { color: #f6f3ec; border-color: rgba(255,255,255,0.28); }
.empty h1, .empty h2 { font-family: var(--serif); }
.choice-set { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0; }
.choice { display: block; margin: 6px 0; }
.form-error { color: var(--danger); background: #fdecec; padding: 8px 10px; border-radius: 8px; }
.form-ok { color: var(--accent-dark); background: var(--soft); padding: 8px 10px; border-radius: 8px; }
.error-list, .warn-list { margin: 0 0 8px; padding-left: 1.1rem; }
.warn-list { color: var(--warn-ink); }
.error-pre, .source-block {
    white-space: pre-wrap;
    overflow: auto;
    max-height: 360px;
    font-size: 0.82rem;
}
.order-list { margin: 0 0 14px; padding-left: 1.2rem; }
.stat-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0 0 16px; }
.stat-grid li { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.stat-grid b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.stat-grid span { color: var(--muted); font-size: 0.85rem; }
.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data th, .data td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data tr.is-thin { background: #fff8e8; }
.admin-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    background: var(--header);
    color: #f6f3ec;
    padding: 10px 16px;
}
.admin-bar a { color: #f6f3ec; text-decoration: none; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 10px 14px; flex: 1; }
.admin-mark { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.admin-main { max-width: 1100px; margin: 0 auto; padding: 18px 14px 40px; }
.page-simple { min-height: 100vh; }
.simple-wrap { max-width: 460px; margin: 48px auto; padding: 0 16px; }
.simple-wrap .logo { color: var(--ink); margin-bottom: 16px; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.guide-render { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px; padding: 8px 16px 16px; margin-top: 16px; }
.guide-render pre, .post-body code, .comment-body code { font-family: Consolas, "Courier New", monospace; font-size: 0.92em; }
.back-link { margin-top: 8px; }
fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 0; padding: 8px 12px; }
legend { padding: 0 6px; }

@media (min-width: 880px) {
    .nav-toggle { display: none; }
    .topbar-inner {
        display: grid;
        grid-template-columns: auto minmax(220px, 560px) auto;
        justify-content: space-between;
        padding: 0 16px;
    }
    .top-tools { margin-left: 0; justify-self: end; }
    .sidenav {
        display: block;
        position: sticky;
        top: 84px;
        height: calc(100vh - 84px);
        max-height: calc(100vh - 84px);
        overflow: auto;
        padding: 12px 14px 24px 12px;
        border-right: 1px solid #e4e9e6;
    }
    .shell {
        max-width: none;
        margin: 0;
        display: grid;
        grid-template-columns: 248px minmax(0, 1fr);
        gap: 0;
        align-items: start;
        padding: 0;
    }
    .stage { min-width: 0; padding: 16px 20px 28px; }
    .rail { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
    .widget-popular, .discover-card { grid-column: 1 / -1; }
    .profile-columns { grid-template-columns: 1fr 1fr; }
    .place-grid { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1120px) {
    .shell { grid-template-columns: 256px minmax(0, 1fr); }
    .stage {
        display: grid;
        grid-template-columns: minmax(0, 760px) 316px;
        justify-content: center;
        align-items: start;
        gap: 24px;
        padding: 16px 28px 32px;
    }
    .page-places .stage, .page-category .stage {
        grid-template-columns: minmax(0, 1fr) 316px;
        width: min(1180px, 100%);
        margin: 0 auto;
    }
    .content { width: auto; justify-self: stretch; }
    .rail {
        display: block;
        margin-top: 0;
        position: sticky;
        top: 84px;
        max-height: calc(100vh - 96px);
        overflow: auto;
    }
    .discover-card { grid-column: auto; }
}
@media (max-width: 720px) {
    .discover-copy { max-width: 100%; padding-bottom: 128px; }
    .discover-art { width: 100%; height: 120px; top: auto; bottom: 0; }
}
@media (max-width: 640px) {
    .vote { flex-direction: row; flex: none; gap: 4px; }
    h1, .post-article h1 { font-size: 20px; }
    .top-search { order: 3; flex-basis: 100%; max-width: none; }
    .topbar-inner { padding: 8px 10px; }
}
button.top-link, button.icon-btn, button.nav-add, button.vote-chevron, button.vote-mini {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: inherit;
    padding: 0;
}
button.top-link { padding: 6px 8px; }
.feed-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.feed-head-row .btn { flex: none; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-small { padding: 6px 12px; font-size: 0.86rem; }
.btn-quiet { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-quiet:hover { background: #f3f5f4; color: var(--ink); }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f4f7f5; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.75); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.hero-actions, .widget-actions, .profile-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-actions { margin-top: 12px; }
.widget-actions, .profile-actions { margin: 8px 0 10px; }
.composer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 8px;
    padding: 12px;
    margin: 0 0 14px;
}
.composer-main { flex: 1; min-width: 0; }
.avatar-ghost { background: #d7deda; color: #3d4742; }
.composer-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #f7f8f7;
    color: var(--ink);
    resize: none;
    cursor: pointer;
}
.composer-input::placeholder { color: #8b948f; }
.composer-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-top: 8px; }
.composer-tools .btn { margin-left: auto; }
button.vote-chevron:hover, button.vote-mini:hover { color: var(--accent-dark); }
.vote-mini { display: inline-flex; line-height: 0; }
.vote-mini .ico { width: 16px; height: 16px; }
.comment-actions, .post-actions { margin-top: 8px; }
.place-tile { position: relative; }
.join-chip {
    position: absolute;
    top: 18px;
    right: 14px;
    z-index: 2;
}
.auth-dialog[hidden] { display: none; }
.auth-dialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.auth-backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(16, 24, 20, 0.48); }
.auth-panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px 18px;
    box-shadow: 0 18px 44px rgba(16, 24, 20, 0.2);
}
.auth-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5d6762;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.auth-close:hover { background: #f3f5f4; color: var(--ink); }
.auth-close .ico { transform: rotate(45deg); }
.auth-reason { margin-bottom: 8px; }
.auth-note, .auth-unavailable {
    background: #f6f7f6;
    color: #4d5752;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.88rem;
}
.auth-unavailable { background: var(--warn); color: var(--warn-ink); }
.auth-tabs { display: flex; gap: 6px; margin: 12px 0; }
.auth-tab {
    flex: 1;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 7px 10px;
    font-weight: 700;
    cursor: pointer;
}
.auth-tab.is-on { background: #1c2421; color: #fff; border-color: #1c2421; }
.auth-form label { display: block; font-size: 0.86rem; font-weight: 650; margin: 8px 0 4px; }
.auth-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 10px;
    background: #fff;
}
.auth-form .btn { margin-top: 14px; }
body.auth-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

.page-post .post-article {
    background: #f4f7f5;
    border: 1px solid #e1ebe6;
    border-radius: 18px;
    padding: 28px 28px 18px;
    margin-bottom: 0;
}
.page-post .post-article h1 {
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin: 12px 0 14px;
    color: #14201c;
}
.page-post .post-body {
    font-size: 17px;
    line-height: 1.65;
    max-width: 68ch;
    color: #1c2420;
}
.page-post .post-body p:last-child { margin-bottom: 0; }
.page-post .byline { margin: 0 0 16px; font-size: 13px; }
.page-post .byline .avatar { width: 28px; height: 28px; }
.page-post .tag-row { margin-top: 14px; }
.page-post .tag-row li { font-size: 12px; font-weight: 650; background: rgba(255, 255, 255, 0.7); }
.page-post .post-actions,
.page-post .comment-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 12px;
    min-height: 36px;
}
.page-post .comment-actions { margin-top: 4px; }
.vote-compact {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin-right: 4px;
}
.vote-compact .vote-mini {
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #5c6862;
}
.vote-compact .comment-score {
    min-width: 1.6em;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #24302b;
}
.page-post .thread {
    margin-top: 8px;
}
.thread-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0 10px;
    padding-top: 18px;
    border-top: 1px solid #e3ebe6;
}
.page-post .thread h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.02em;
}
.thread-sort-label {
    font-weight: 600;
    color: var(--muted);
    font-size: 13px;
}
.thread-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}
.thread-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 3px 10px;
    border: 1px solid #e1e8e4;
    border-radius: 999px;
    background: #fff;
    color: #3d4843;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}
.thread-pill:hover { background: #f4f7f5; color: var(--ink); }
.thread-pill.is-on {
    background: var(--soft);
    border-color: #c5e4d4;
    color: var(--accent-dark);
}
.thread-filter-note {
    margin: 0 0 12px;
    color: #52605a;
    font-size: 13px;
}
.page-post .composer { margin-top: 4px; }
.page-post .comment {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.page-post .thread-item.is-root {
    padding: 16px 2px 8px;
}
.page-post .thread-item.is-root + .thread-item.is-root {
    margin-top: 6px;
    border-top: 1px solid #e6eeea;
}
.page-post .comment-head {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.page-post .comment-idline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    min-width: 0;
    flex: 1;
    padding-top: 4px;
}
.page-post .comment-user {
    font-size: 14px;
    font-weight: 650;
    color: var(--ink);
    text-decoration: none;
}
.page-post .comment-user:hover { color: var(--accent-dark); }
.page-post .comment-head time {
    color: var(--muted);
    font-size: 12px;
}
.page-post .comment-points {
    flex: none;
    margin-left: auto;
    padding-top: 5px;
    font-size: 13px;
    font-weight: 650;
    color: #2c3934;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.page-post .comment-nested .comment-points {
    font-size: 12px;
    font-weight: 600;
    color: #5c6862;
}
.page-post .comment-top .avatar {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
}
.page-post .avatar-sm,
.page-post .comment-nested .avatar {
    width: 22px;
    height: 22px;
    font-size: 0.62rem;
}
.rank-badge,
.op-badge,
.page-post .accepted-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}
.rank-badge {
    background: #eef2f0;
    color: #5c6862;
}
.op-badge {
    background: var(--soft);
    color: var(--accent-dark);
}
.page-post .accepted-badge {
    background: #e7f5ee;
    color: var(--accent-dark);
}

.advisory{
    display: none;
}
.page-post .comment.is-op {
    background: rgba(21, 122, 75, 0.045);
    border-radius: 12px;
    padding: 8px 8px 6px;
}
.page-post .comment-top .thread-panel { padding-left: 40px; }
.page-post .comment-nested .thread-panel { padding-left: 30px; }
.page-post .comment-body {
    margin-top: 2px;
    color: #1c2420;
    overflow-wrap: anywhere;
}
.page-post .comment-top .comment-body {
    font-size: 15px;
    line-height: 1.6;
}
.page-post .comment-nested .comment-body {
    font-size: 13.5px;
    line-height: 1.55;
}
.page-post .comment-body p:last-child { margin-bottom: 0; }
.page-post .thread-item.is-nested { position: relative; padding: 7px 0 2px; }
.thread-children {
    position: relative;
    margin: 4px 0 0 10px;
    padding-left: 14px;
    opacity: 0.85;
}
.thread-children:hover { opacity: 1; }
.thread-children:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 12px;
    width: 1.5px;
    background: #d5e2db;
}
.thread-children ol:empty { display: none; }
.page-post .thread-item.is-nested:before,
.thread-continuation:before {
    content: "";
    position: absolute;
    left: -14px;
    top: 0;
    width: 12px;
    height: 15px;
    border-left: 1.5px solid #d5e2db;
    border-bottom: 1.5px solid #d5e2db;
    border-bottom-left-radius: 8px;
}
.thread-continuation {
    position: relative;
    padding: 2px 0 8px;
}
.thread-item.depth-3 > article .thread-children { margin-left: 0; }
.thread-collapse {
    width: 28px;
    height: 28px;
    margin-top: 2px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #66736d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: none;
}
.thread-collapse:hover { background: rgba(20, 32, 28, 0.05); color: var(--ink); }
.thread-collapse .ico { width: 16px; height: 16px; }
.thread-item.is-collapsed .thread-collapse .ico { transform: rotate(-90deg); }
.thread-summary { display: none; }
.thread-item.is-collapsed {
    background: #f6f8f7;
    border: 1px solid #e6eeea;
    border-radius: 12px;
    padding: 10px 12px 12px;
    margin-bottom: 10px;
}
.thread-item.is-collapsed + .thread-item.is-root { border-top-color: transparent; }
.thread-item.is-collapsed .thread-panel { display: none; }
.thread-item.is-collapsed .thread-summary { display: block; margin: 6px 0 0 36px; }
.thread-summary-meta {
    margin: 0 0 4px;
    color: #52605a;
    font-size: 12px;
    font-weight: 650;
}
.thread-fade-preview {
    position: relative;
    margin: 0 0 4px;
    max-height: 2.8em;
    overflow: hidden;
    color: #3a4641;
    font-size: 14px;
    line-height: 1.45;
}
.thread-fade-preview:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.3em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--fade-to, #fff));
    pointer-events: none;
}
.thread-continuation { --fade-to: #fff; }
.thread-item.is-collapsed { --fade-to: #f6f8f7; }
.thread-item.is-collapsed .thread-fade-preview:after {
    background: linear-gradient(to bottom, rgba(246, 248, 247, 0), #f6f8f7);
}
@supports ((-webkit-mask-image: linear-gradient(#000, transparent)) or (mask-image: linear-gradient(#000, transparent))) {
    .thread-fade-preview {
        -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
    }
    .thread-fade-preview:after { display: none; }
}
.thread-more {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 2px 2px;
    border: 0;
    background: transparent;
    color: var(--accent);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
.thread-more:hover { color: var(--accent-dark); }
.thread-load-wrap {
    display: flex;
    justify-content: center;
    margin: 18px 0 8px;
}
.thread-load-wrap[hidden] { display: none; }
.more-menu { position: relative; margin-left: auto; }
.more-trigger {
    width: 36px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #66736d;
    letter-spacing: 1px;
    font-weight: 700;
    cursor: pointer;
}
.more-trigger:hover,
.more-menu.is-open .more-trigger { background: #f3f6f4; color: var(--ink); }
.more-pop {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 6;
    min-width: 148px;
    padding: 4px;
    background: #fff;
    border: 1px solid #e3ebe6;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(22, 32, 27, 0.08);
}
.more-pop[hidden] { display: none; }
.more-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #24302b;
    text-align: left;
    padding: 8px 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}
.more-item:hover { background: #f4f7f5; }
.more-item .ico { width: 15px; height: 15px; }
.page-post .comment.is-accepted .accepted-badge { box-shadow: none; }
@media (max-width: 720px) {
    .page-post .post-article {
        padding: 16px 14px 12px;
        border-radius: 14px;
    }
    .page-post .post-article h1 { font-size: 22px; margin: 10px 0 12px; }
    .page-post .post-body { font-size: 16px; }
    .page-post .comment-top .thread-panel,
    .page-post .comment-nested .thread-panel { padding-left: 0; }
    .page-post .comment-top .comment-body { font-size: 15px; }
    .page-post .comment-nested .comment-body { font-size: 14.5px; }
    .thread-children { margin-left: 2px; padding-left: 10px; }
    .page-post .thread-item.is-nested:before,
    .thread-continuation:before { left: -10px; width: 8px; }
    .thread-item.depth-2 > article .thread-children,
    .thread-item.depth-3 > article .thread-children { margin-left: 0; }
    .thread-item.is-collapsed .thread-summary { margin-left: 0; }
    .page-post .thread h2 { font-size: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
    .thread-item.is-fresh { animation: thread-in 160ms ease; }
}
@keyframes thread-in {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .thread-item.is-fresh { animation: none; }
    .thread-collapse .ico { transition: none; }
}

.post-op-badge,
.thread-sort-pop,
.thread-preview-hit,
.thread-mobile-bar,
.more-menu-head,
.comment-read-more,
.post-reveal {
    display: none;
}
.post-reveal[hidden] { display: none; }
@media (min-width: 768px) {
    .post-body-wrap.is-clamped .post-body,
    .post-body-wrap.is-clamped.is-open .post-body {
        display: block;
        max-height: none;
        overflow: visible;
        -webkit-line-clamp: unset;
    }
}
@media (max-width: 767px) {
    .page-post .post-article {
        display: flex;
        flex-direction: column;
        padding: 14px 14px 10px;
        border-radius: 16px;
    }
    .page-post .post-meta { order: 1; }
    .page-post .byline { order: 2; margin-bottom: 8px; font-size: 12px; }
    .page-post .post-article h1 {
        order: 3;
        font-size: 23px;
        line-height: 1.25;
        margin: 0 0 8px;
    }
    .page-post .tag-row { order: 4; margin: 0 0 8px; }
    .page-post .advisory { order: 5; }
    .page-post .post-figure { order: 6; }
    .page-post .post-body-wrap { order: 7; }
    .page-post .outbound { order: 8; }
    .page-post .post-actions { order: 9; margin-top: 8px; }
    .page-post .post-body {
        font-size: 15px;
        line-height: 1.5;
    }
    .post-body-wrap.is-clamped:not(.is-open) .post-body {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        max-height: 4.6em;
    }
    .post-reveal:not([hidden]) {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
        padding: 4px 0;
        border: 0;
        background: transparent;
        color: var(--accent);
        font: inherit;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }
    .post-reveal .ico { width: 14px; height: 14px; }
    .post-body-wrap.is-open .post-reveal .ico { transform: rotate(180deg); }
    .page-post .thread { display: flex; flex-direction: column; }
    .page-post .thread-head { order: 1; }
    .page-post .thread-controls { order: 2; }
    .page-post .thread-filter-note { order: 3; }
    .page-post #thread-roots,
    .page-post .thread .empty { order: 4; }
    .page-post .thread-load-wrap { order: 5; }
    .page-post .thread .composer { order: 6; }
    .post-op-badge { display: inline-flex; }
    .page-post .thread h2 { font-size: 16px; }
    .thread-sort-label { display: none; }
    .thread-head { margin-top: 16px; padding-top: 14px; }
    .thread-sort-pop { display: block; position: relative; flex: none; }
    .thread-sort-pop summary {
        list-style: none;
        cursor: pointer;
        font-size: 14px;
        font-weight: 700;
        color: #17211d;
    }
    .thread-sort-pop summary::-webkit-details-marker { display: none; }
    .thread-sort-pop summary:after {
        content: "";
        display: inline-block;
        margin-left: 5px;
        border-width: 4px 4px 0;
        border-style: solid;
        border-color: currentColor transparent transparent;
        vertical-align: 2px;
    }
    .thread-sort-list {
        position: absolute;
        right: 0;
        top: calc(100% + 6px);
        z-index: 6;
        min-width: 132px;
        padding: 4px;
        background: #fff;
        border: 1px solid #e3ebe6;
        border-radius: 10px;
        box-shadow: 0 8px 22px rgba(22, 32, 27, 0.08);
    }
    .thread-sort-list a {
        display: block;
        padding: 8px 10px;
        border-radius: 8px;
        color: #24302b;
        font-size: 14px;
        font-weight: 650;
        text-decoration: none;
    }
    .thread-sort-list a[aria-current="true"] { background: var(--soft); color: var(--accent-dark); }
    .thread-controls {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-bottom: 10px;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }
    .thread-pill { flex: none; }
    .page-post .composer { padding: 8px; margin-bottom: 8px; }
    .page-post .composer-input { min-height: 38px; padding: 8px 10px; }
    .page-post .thread-item.is-root {
        padding: 10px 0 8px;
    }
    .page-post .thread-item.is-collapsed + .thread-item.is-root {
        border-top-color: #e6eeea;
    }
    .page-post .thread-item.is-collapsed {
        background: transparent;
        border: 0;
        border-radius: 0;
        margin: 0;
        padding: 10px 0 8px;
        --fade-to: #fff;
    }
    .page-post .thread-item.is-root.is-collapsed .comment-head .thread-collapse,
    .page-post .thread-item.is-root.is-collapsed .comment-points,
    .page-post .thread-item.is-collapsed .thread-summary-meta,
    .page-post .thread-item.is-collapsed .thread-fade-preview,
    .page-post .thread-item.is-collapsed .thread-summary > .thread-more {
        display: none;
    }
    .page-post .thread-item.is-root.is-collapsed .more-menu-head { display: block; }
    .page-post .comment-top .comment-points { display: none; }
    .page-post .thread-item.is-collapsed .thread-summary { margin: 2px 0 0 36px; }
    .page-post .thread-item.is-collapsed .thread-preview-hit {
        display: block;
        width: 100%;
        margin: 0;
        padding: 2px 0 0;
        border: 0;
        background: transparent;
        color: #1c2420;
        text-align: left;
        font: inherit;
        cursor: pointer;
    }
    .thread-clamp {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        max-height: 2.95em;
        font-size: 16px;
        line-height: 1.45;
        color: #1c2420;
    }
    .page-post .thread-item.is-collapsed .thread-mobile-bar {
        display: flex;
        align-items: center;
        gap: 6px;
        min-height: 32px;
        margin-top: 2px;
    }
    .top-tools {
        margin-left: 0; 
        width: 100%;
    }
    button[data-auth-mode="login"] {
        margin-left: auto;
    }
    button[data-auth-mode="signup"] {
       display: none;
    }


    .thread-branch-count {
        color: #52605a;
        font-size: 13px;
        font-weight: 650;
    }
    .thread-mobile-bar .thread-collapse { margin-left: auto; }
    .page-post .thread-item.is-root .comment-head .thread-collapse .ico { transform: rotate(180deg); }
    .page-post .thread-item.is-root.is-collapsed .thread-collapse-bar .ico { transform: none; }
    .page-post .comment-top .avatar { width: 28px; height: 28px; }
    .page-post .comment-top .comment-body { 
        font-size: 15.5px;
        font-weight: 400;
     }
    .page-post .comment-nested .comment-body { font-size: 13.5px; color: #1c2420; }
    .page-post .comment-user { font-size: 13.5px; }
    .page-post .comment-head time,
    .rank-badge,
    .op-badge { font-size: 11px; }

    .comment-top > .thread-panel > .thread-children {
        opacity: 0.8;
        margin-left: 38px;
    }

    .comment-top > .thread-panel > .thread-children .avatar {
        opacity: 0.4;

    }


    _..comment-top > .thread-panel > .comment-body, .thread-clamp {
        background-color: #e9f9ff;
        padding: 6px;
        border-radius: 5px;
    }




    .thread-continuation .thread-fade-preview { display: none; }
    .comment-body.can-read-more:not(.is-open) .comment-body-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
        max-height: 6.4em;
    }
    .comment-read-more {
        display: inline-flex;
        margin-top: 2px;
        padding: 2px 0;
        border: 0;
        background: transparent;
        color: var(--accent);
        font: inherit;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }
    .page-post .thread-load-wrap { margin: 12px 0 4px; }
    .page-post .thread-load-wrap .thread-more {
        width: 100%;
        justify-content: center;
        min-height: 40px;
        border: 1px solid #d5e0da;
        border-radius: 999px;
        background: #fff;
        color: #24302b;
    }
    .page-post .thread-load-wrap .thread-more:after {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 6px;
        border-width: 4px 4px 0;
        border-style: solid;
        border-color: currentColor transparent transparent;
    }
}
