.anthology-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .4rem;
    align-items: end;
}

.anthology-filter [type="reset"] {
    justify-self: start;
    margin-top: .25rem;
}

.anthology-filter select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #71866f;
    border-radius: .55rem;
    padding: .55rem .7rem;
    background: #fff;
    color: #233c2e;
    font: inherit;
}

.anthology-filter [hidden],
.anthology-filter[hidden],
.anthology-group[hidden],
.anthology-poem[hidden] {
    display: none;
}

.anthology-group {
    scroll-margin-top: 1rem;
}

.anthology-poem {
    border-top: 1px solid #d5ded0;
    scroll-margin-top: 1rem;
    overflow-wrap: anywhere;
}

.anthology-link {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr) auto;
    align-items: baseline;
    color: inherit;
    text-decoration: none;
    gap: .4rem;
    padding: .75rem .5rem;
}

.anthology-link::after {
    content: "";
    width: .45rem;
    height: .45rem;
    margin-right: .35rem;
    border-right: 2px solid #526c56;
    border-bottom: 2px solid #526c56;
    transform: rotate(-45deg);
}

.anthology-link:hover {
    background: #edf1e7;
}

.anthology-link:focus-visible,
.anthology-poem:target .anthology-link {
    outline: 2px solid #627c64;
    outline-offset: -2px;
}

.anthology-number {
    font-size: .83rem;
    color: #47594c;
}

.anthology-author {
    display: inline-block;
    margin-left: .4rem;
    font-size: .88rem;
    color: #47594c;
}

.anthology-english,
.anthology-preview {
    display: block;
    font-family: inherit;
    font-weight: 650;
}

.anthology-preview {
    margin-top: .2rem;
    color: #47594c;
    font-size: .88rem;
    font-weight: 400;
}

.anthology-content {
    padding: .3rem .65rem 1rem;
}

.anthology-content blockquote {
    border-left: .22rem solid #aebfad;
    margin: .8rem 0;
    padding: .25rem 0 .25rem .85rem;
}

.anthology-content blockquote p {
    margin: .35rem 0;
    font-family: var(--lex-serif, Georgia, serif);
    font-size: clamp(1.24rem, 3.4vw, 1.75rem);
    line-height: 1.75;
}

.anthology-reader-nav {
    padding: .75rem 0;
}

.anthology-line-guide {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .75rem;
}

.anthology-line-guide li {
    padding: .5rem 0;
    border-bottom: 1px solid #d5ded0;
}

.anthology-line-guide p {
    margin: .25rem 0;
}

.anthology-line-guide [lang="zh-Hant"],
.anthology-glossary dt {
    font-weight: 650;
}

.anthology-line-guide [lang="zh-Latn-pinyin"] {
    color: #47594c;
}

.anthology-glossary dd {
    margin: .15rem 0 .75rem;
}

@media (min-width: 720px) {
    .anthology-filter {
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: .75rem;
    }
}
