:root {
    --paper: #e8e6e1;
    --ink: #242622;
    --fade: #6f746c;
    --line: rgba(36, 38, 34, 0.14);
    --seal: #8d3d3a;
    --link: #2f3d4f;
    --serif: "Noto Serif SC", "Songti SC", Literata, "Iowan Old Style", serif;
    --display: Literata, "Noto Serif SC", serif;
    --brush: "Zhi Mang Xing", "Kaiti SC", cursive;
    --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
    --measure: 40rem;
    --margin: 8.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(1200px 480px at 50% -120px, rgba(255, 255, 255, 0.55), transparent 70%),
        var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.9;
    font-weight: 400;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--seal); }
img { max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--seal); outline-offset: 3px; }
.ff-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.ff-skip {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--paper);
    padding: 0.3rem 0.6rem;
}
.ff-skip:focus { top: 0.6rem; }

.ff-intro {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: #fff;
}
html.ff-intro-seen .ff-intro { display: none; }
.ff-intro-card { width: min(26rem, 100%); background: transparent; }
.ff-intro-kicker {
    margin: 0;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: lowercase;
    color: var(--fade);
}
.ff-intro-card h2 {
    margin: 0.4rem 0 0;
    font-family: var(--brush);
    font-size: 3.4rem;
    font-weight: 400;
    line-height: 1;
}
.ff-intro-also { margin: 0.2rem 0 1.2rem; color: var(--fade); font-size: 0.95rem; }
.ff-intro-card p { margin: 0 0 0.7rem; }
.ff-intro-count {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0 0 0.15rem;
    border-bottom: 1px solid var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    letter-spacing: 0.18em;
}
.ff-intro-count:empty { display: none; }
body.ff-intro-open { overflow: hidden; }

.ff-top { padding: 1.6rem 0 0.4rem; }
.ff-bar {
    width: min(52rem, calc(100% - 2.4rem));
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 1.1rem;
}
.ff-brand {
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: lowercase;
    text-decoration: none;
    color: var(--ink);
    margin-right: 0.4rem;
}
.ff-bar nav { display: flex; flex-wrap: wrap; gap: 0.15rem 0.95rem; }
.ff-bar nav a {
    color: var(--fade);
    text-decoration: none;
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.08em;
}
.ff-bar nav a:hover { color: var(--ink); }
.ff-search { margin-left: auto; }
.ff-search input {
    width: 7.5rem;
    padding: 0.15rem 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 13px;
}
.ff-search input:focus { outline: none; border-bottom-color: var(--ink); }

.ff-page {
    width: min(52rem, calc(100% - 2.4rem));
    margin: 1.6rem auto 4rem;
}
.ff-section { margin: 0 0 3.4rem; }
.ff-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--line);
}
.ff-section-head h1,
.ff-section-head h2,
.ff-single-head h1,
.ff-site-group h2,
.ff-catalog h2,
.ff-shelf h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: 620;
    letter-spacing: 0.02em;
}
.ff-section-head h1 { font-size: 1.65rem; }
.ff-section-head h2,
.ff-site-group h2,
.ff-catalog h2 { font-size: 1.15rem; }
.ff-section-head a {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-decoration: none;
    color: var(--fade);
}
.ff-deck { margin: 0 0 1.2rem; max-width: var(--measure); color: var(--fade); font-size: 0.95rem; }
.ff-kicker, .ff-meta, .ff-by, .ff-empty {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--fade);
}
.ff-empty { margin: 0.4rem 0 0; }

.ff-piece,
.ff-quote,
.ff-note,
.ff-read,
.ff-book-row {
    display: grid;
    grid-template-columns: minmax(0, var(--measure)) var(--margin);
    column-gap: 1.6rem;
    align-items: start;
}
.ff-piece,
.ff-note { padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.ff-piece h3,
.ff-note a,
.ff-quote a {
    font-family: var(--display);
    font-weight: 620;
    font-size: 1.2rem;
    line-height: 1.45;
    color: var(--ink);
    text-decoration: none;
}
.ff-piece h3 { margin: 0; }
.ff-piece h3 a:hover,
.ff-note a:hover,
.ff-quote a:hover { color: var(--seal); }
.ff-excerpt { margin: 0.35rem 0 0; color: var(--fade); font-size: 0.95rem; }
.ff-thumb { display: block; margin-bottom: 0.7rem; }
.ff-thumb img, .ff-cover { display: block; width: min(100%, 28rem); height: auto; }
.ff-note a {
    font-family: var(--brush);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.55;
}
.ff-note-text { font-family: var(--brush); font-size: 1.85rem; line-height: 1.7; }
.ff-quote { margin: 0; padding: 0.85rem 0 0.85rem 1.1rem; border-left: 1px solid var(--line); }
.ff-quote a { font-family: var(--brush); font-size: 1.45rem; font-weight: 400; line-height: 1.6; }
.ff-quote footer { margin-top: 0.35rem; font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; color: var(--fade); }
.ff-quote-single { border: 0; padding-left: 0; }
.ff-quote-single div { font-family: var(--brush); font-size: 1.7rem; line-height: 1.7; }

.ff-counts {
    display: grid;
    gap: 0.15rem;
    padding-top: 0.25rem;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--fade);
    line-height: 1.6;
}
.ff-read .ff-counts { position: sticky; top: 1.2rem; }
.ff-counts a,
.ff-quote .ff-counts a,
.ff-note .ff-counts a {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.6;
    color: inherit;
    text-decoration: none;
}
.ff-counts a:hover, .ff-like:hover { color: var(--ink); }
.ff-like {
    justify-self: start;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    letter-spacing: inherit;
}
.ff-like b { font-weight: 500; }
.ff-like.is-on, .ff-like.is-on b { color: var(--seal); }

.ff-books { list-style: none; margin: 0; padding: 0; }
.ff-book-row { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.ff-book {
    display: grid;
    grid-template-columns: 7px minmax(0, 1fr);
    gap: 0.85rem;
    color: inherit;
    text-decoration: none;
}
.ff-book.has-cover { grid-template-columns: 7px 52px minmax(0, 1fr); }
.ff-spine { display: block; min-height: 3.2rem; border-radius: 1px; }
.ff-book-face { width: 52px; height: 72px; object-fit: cover; }
.ff-book-main { display: grid; align-content: start; }
.ff-book-main strong { font-family: var(--display); font-weight: 620; font-size: 1.05rem; }
.ff-book-main em, .ff-book-main span { font-style: normal; color: var(--fade); font-size: 0.86rem; }
.ff-shelf { margin-bottom: 1.6rem; }
.ff-shelf h3 { margin-bottom: 0.4rem; font-size: 1rem; }

.ff-read { margin-bottom: 2rem; }
.ff-single-head h1 { font-size: 1.85rem; line-height: 1.35; margin: 0.2rem 0; }
.ff-prose { max-width: var(--measure); }
.ff-prose p { margin: 0 0 1rem; }
.ff-prose h2, .ff-prose h3 { font-family: var(--display); font-weight: 620; line-height: 1.4; }
.ff-prose blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 1px solid var(--line); color: var(--fade); }
.ff-near {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 13px;
    color: var(--fade);
}
.ff-files { margin: 1rem 0 0; padding: 0; list-style: none; font-size: 0.92rem; }
.ff-files img { display: block; margin: 0.6rem 0; }

.ff-comments { max-width: var(--measure); margin-top: 1rem; }
.ff-comments h2 { font-family: var(--display); font-size: 1.15rem; font-weight: 620; }
.ff-comment-list, .ff-comment-children { list-style: none; margin: 0; padding: 0; }
.ff-comment {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
}
.ff-comment.is-child { margin-left: 1.2rem; }
.ff-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ff-comment header { display: flex; flex-wrap: wrap; gap: 0.35rem 0.7rem; align-items: baseline; font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; }
.ff-comment cite { font-style: normal; }
.ff-comment time, .ff-pending { color: var(--fade); }
.ff-comment-text { font-size: 0.98rem; }
.ff-comment-text p { margin: 0.25rem 0; }
.ff-reply a { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-decoration: none; }
.ff-respond { margin-top: 1.4rem; }
.ff-respond textarea, .ff-respond input {
    width: 100%;
    padding: 0.45rem 0.55rem;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid var(--line);
}
.ff-respond label { display: block; margin: 0.7rem 0 0.2rem; font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; color: var(--fade); }
.ff-respond button, .ff-pager a {
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.08em;
}
.ff-respond button {
    margin-top: 0.8rem;
    padding: 0.35rem 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--ink);
    cursor: pointer;
}
.ff-pager { margin-top: 1.2rem; font-family: var(--sans); font-size: 13px; }
.ff-pager .current { color: var(--seal); }

.ff-sites, .ff-years, .ff-cats { list-style: none; margin: 0; padding: 0; }
.ff-site-group { margin: 0 0 1.8rem; max-width: var(--measure); }
.ff-sites li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.15rem 0.8rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
}
.ff-sites small { grid-column: 1; color: var(--fade); font-size: 0.86rem; }
.ff-proxy {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--fade);
}
.ff-proxy.is-need { color: var(--seal); }
.ff-catalog { display: grid; gap: 1.8rem; max-width: var(--measure); }
.ff-years { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; }
.ff-years a { display: inline-flex; gap: 0.45rem; align-items: baseline; text-decoration: none; color: var(--ink); }
.ff-years em { font-style: normal; color: var(--fade); font-family: var(--sans); font-size: 12px; }
.ff-cats li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.ff-count { font-family: var(--sans); font-size: 12px; color: var(--fade); }
.ff-tags { display: flex; flex-wrap: wrap; gap: 0.45rem 0.8rem; }
.ff-tags a { font-size: 0.92rem; text-decoration: none; }

.ff-map-wrap { margin: 0.4rem 0 1.4rem; max-width: var(--measure); }
.ff-map { display: block; width: 100%; height: auto; }
.ff-land { fill: #d7d4cc; stroke: #242622; stroke-width: 0.7; stroke-linejoin: round; }
.ff-track {
    fill: none;
    stroke: var(--seal);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-dasharray: 2.2 3.4;
}
.ff-pin { fill: var(--ink); }
.ff-pin.is-end { fill: var(--seal); }
.ff-map text { font-size: 12px; fill: var(--ink); font-family: var(--sans); }
.ff-map-wrap figcaption { margin-top: 0.4rem; color: var(--fade); font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; }
.ff-routes { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.ff-route-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}
.ff-route-card img { width: 88px; height: 64px; object-fit: cover; }
.ff-route-card time, .ff-leg { color: var(--fade); font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; }
.ff-route-card p { margin: 0; }
.ff-route-card strong { display: block; margin-top: 0.15rem; font-family: var(--display); font-weight: 620; }
.ff-route-card:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }

.ff-bottom {
    width: min(52rem, calc(100% - 2.4rem));
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--fade);
}
.ff-bottom p { margin: 0; }
.ff-bottom a { color: inherit; text-decoration: none; }

@media (max-width: 760px) {
    body { font-size: 17px; }
    .ff-piece, .ff-quote, .ff-note, .ff-read, .ff-book-row, .ff-route-card {
        grid-template-columns: 1fr;
        row-gap: 0.35rem;
    }
    .ff-read .ff-counts { position: static; display: flex; flex-wrap: wrap; gap: 0.2rem 0.9rem; }
    .ff-search { margin-left: 0; }
    .ff-intro-card h2 { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ff-intro { transition: none; }
}
