* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(155, 107, 76, .16), transparent 32rem),
        #f7f3ec;
    color: #211b16;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: #6d2f18;
}

.site-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fffaf1 0%, #f0dfcc 100%);
    border-bottom: 1px solid #e1d6c9;
    box-shadow: 0 8px 24px rgba(74, 39, 24, .06);
}

.brand {
    color: #4a2718;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.container {
    flex: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

.page-layout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
}

.content-column {
    min-width: 0;
}

.breadcrumbs {
    background: linear-gradient(135deg, #fffaf1 0%, #f3e6d6 100%);
    border: 1px solid #e1d6c9;
    border-left: 3px solid #9b6b4c;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(74, 39, 24, .04);
    margin: 0 0 1.15rem;
    padding: .45rem .85rem .45rem .95rem;
}

.breadcrumbs ol {
    align-items: center;
    color: #776b60;
    display: flex;
    flex-wrap: wrap;
    font-size: .88rem;
    gap: .2rem 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    align-items: center;
    display: inline-flex;
    min-width: 0;
}

.breadcrumbs li:not(:last-child)::after {
    color: #b08968;
    content: "›";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1;
    margin: 0 .55rem;
}

.breadcrumbs a {
    border-radius: 999px;
    padding: .2rem .45rem;
    text-decoration: none;
}

.breadcrumbs a:hover {
    background: rgba(155, 107, 76, .12);
    text-decoration: none;
}

.breadcrumbs [aria-current="page"] {
    background: #ead8c7;
    border-radius: 999px;
    color: #4a2718;
    font-weight: 600;
    max-width: min(100%, 22rem);
    overflow: hidden;
    padding: .2rem .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-column {
    position: sticky;
    top: 1rem;
}

.search-form input {
    min-width: 220px;
}

.card,
.poem,
.review,
.form,
.messages {
    background: #fffdf8;
    border: 1px solid #e1d6c9;
    border-radius: 14px;
    margin: 1rem 0;
    padding: 1rem;
}

.card,
.poem {
    box-shadow: 0 12px 30px rgba(74, 39, 24, .05);
}

.poem h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1.3;
    margin: 0 0 .55rem;
}

.poem-heading {
    align-items: start;
    display: grid;
    gap: .7rem 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 0 .55rem;
}

.poem-heading h1 {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.poem-heading .poem-edit {
    grid-column: 2;
    grid-row: 1;
    margin-top: .38rem;
    position: relative;
    z-index: 1;
}

.poem-title-rule {
    align-items: center;
    color: #9b6b4c;
    display: flex;
    gap: .65rem;
    margin: 0 0 1.25rem;
    width: 100%;
}

.poem-title-rule::before,
.poem-title-rule::after {
    content: "";
    flex: 1;
    height: 1px;
}

.poem-title-rule::before {
    background: linear-gradient(90deg, transparent, #9b6b4c);
}

.poem-title-rule::after {
    background: linear-gradient(90deg, #9b6b4c, transparent);
}

.poem-title-rule span {
    border: 1px solid #9b6b4c;
    flex-shrink: 0;
    height: .42rem;
    transform: rotate(45deg);
    width: .42rem;
}

.poem-cover {
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(74, 39, 24, .08);
    display: block;
    height: auto;
    margin: 0 auto 1.15rem;
    max-height: 720px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.poem-body {
    font-size: 1.15rem;
    white-space: normal;
}

.poem-card {
    display: grid;
    gap: .9rem;
    margin-top: .85rem;
    padding: .9rem 1.05rem 1rem;
}

.poem-card-title-row {
    align-items: flex-start;
    display: flex;
    gap: .7rem;
}

.poem-rank {
    color: #9b6b4c;
    flex-shrink: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.18;
    min-width: 1.55rem;
    padding-top: .12rem;
}

.poem-card-title-row h2 {
    flex: 1;
    min-width: 0;
}

.poem-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.62rem;
    font-weight: 600;
    letter-spacing: .015em;
    line-height: 1.18;
    margin: 0;
}

.poem-card h2 a {
    color: #4a2718;
    text-decoration-thickness: 1px;
    text-underline-offset: .16em;
}

.poem-card-head {
    display: grid;
    gap: .52rem;
}

.poem-card-body {
    color: #211b16;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.16rem;
    line-height: 1.58;
    margin: .8rem 0 0;
}

.poem-card-body p {
    margin: 0 0 .32rem;
}

.poem-card-author {
    align-items: center;
    display: flex;
    gap: .58rem;
    margin: 0;
}

.poem-card-avatar-link {
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}

.poem-card-avatar {
    border: 1px solid #e6d9cb;
    border-radius: 50%;
    display: block;
    height: 34px;
    object-fit: cover;
    width: 34px;
}

.poem-card-avatar-placeholder {
    align-items: center;
    background: #efe1d0;
    color: #4a2718;
    display: flex;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .88rem;
    font-weight: 700;
    justify-content: center;
}

.poem-card-author-meta {
    display: flex;
    flex-direction: column;
    gap: .18rem;
    min-width: 0;
}

.poem-card-author-name {
    color: #5b2b18;
    font-weight: 600;
    line-height: 1.2;
    text-decoration-thickness: 1px;
    text-underline-offset: .14em;
}

.poem-card-author-meta .follow-form {
    display: block;
    margin: 0;
}

.poem-card-author-meta button,
.poem-card-author-meta a.button {
    align-self: flex-start;
    font-size: .78rem;
    line-height: 1.2;
    padding: .18rem .65rem;
}

.poem-card-meta {
    color: #857568;
    font-size: .9rem;
    margin: -.08rem 0 0;
}

.poem-card-summary {
    color: #77675b;
    font-style: italic;
    margin: 0;
    padding: 0;
}

.poem-card-summary::before {
    content: "Описание: ";
    color: #9b6b4c;
    font-style: normal;
    font-weight: 600;
}

.poem-card-content {
    border-top: 1px solid rgba(155, 107, 76, .16);
    padding-top: .85rem;
}

.poem-card-preview p:last-child,
.poem-card-rest p:last-child {
    margin-bottom: 0;
}

.poem-card-rest {
    margin-top: .28rem;
}

.poem-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1rem;
    margin: .58rem 0 0;
}

button.poem-read-more {
    background: none;
    border: 0;
    color: #6d2f18;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: .18em;
}

button.poem-read-more:hover,
button.poem-read-more:focus-visible {
    color: #4a2718;
}

.poem-card-foot {
    align-items: center;
    border-top: 1px solid rgba(155, 107, 76, .12);
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    justify-content: space-between;
    padding-top: .72rem;
}

.poem-card-foot .poem-stats {
    margin: 0;
}

.poem-edit {
    align-items: center;
    background: rgba(155, 107, 76, .1);
    border-radius: 999px;
    color: #7a4e32;
    display: inline-flex;
    flex-shrink: 0;
    gap: .38rem;
    line-height: 1;
    margin-top: .12rem;
    padding: .32rem .72rem .32rem .4rem;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.poem-edit:hover,
.poem-edit:focus-visible {
    background: #ead8c7;
    color: #4a2718;
    text-decoration: none;
}

.poem-edit:focus-visible {
    box-shadow: 0 0 0 3px rgba(155, 107, 76, .2);
    outline: none;
}

.poem-edit-icon {
    display: block;
    flex-shrink: 0;
    height: 1.12rem;
    overflow: visible;
    width: 1.12rem;
}

.poem-edit-label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
}

.poem-status {
    border-radius: 999px;
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.2;
    padding: .14rem .55rem;
}

.poem-status-published {
    background: #e5efe0;
    color: #2f5a32;
}

.poem-status-draft,
.poem-status-archived {
    background: #efe1d0;
    color: #6d4a2a;
}

.poem-status-review,
.poem-status-under_review {
    background: #f4ead0;
    color: #7a5a18;
}

.poem-status-hidden {
    background: #ece7e1;
    color: #5c534c;
}

.poem-status-rejected {
    background: #f3ddd6;
    color: #8a2f18;
}

.page-heading {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.15rem;
    justify-content: space-between;
    margin: 0 0 1.15rem;
}

.page-heading h1 {
    margin: 0;
}

.page-heading .muted {
    margin: .35rem 0 0;
}

.page-heading .button {
    flex-shrink: 0;
}

.empty-state {
    padding: 1.45rem 1.2rem 1.3rem;
}

.empty-state p:first-child {
    margin-top: 0;
}

.my-poems-toolbar {
    margin: 0 0 1.15rem;
    padding: 1rem 1.05rem 1.05rem;
}

.my-poems-filters {
    display: grid;
    gap: .9rem;
}

.my-poems-search {
    display: block;
    margin: 0;
}

.my-poems-search input[type="search"] {
    background: #fffaf1;
    border-radius: 999px;
    padding: .55rem 1rem;
}

.my-poems-search input[type="search"]:focus,
.my-poems-search input[type="search"]:focus-visible {
    border-color: #9b6b4c;
    box-shadow: 0 0 0 3px rgba(155, 107, 76, .2);
    outline: none;
}

.my-poems-filter {
    margin: 0;
}

.my-poems-filter-label {
    color: #4a2718;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .95rem;
    margin: 0 0 .45rem;
}

.my-poems-chips {
    margin: 0;
}

.my-poems-chips button.active {
    background: #ead8c7;
    font-weight: 600;
}

.my-poems-count {
    margin: 0;
}

.my-poems-count:empty {
    display: none;
}

.poem-card[hidden] {
    display: none;
}

.related-poems {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1.25rem 0 0;
}

.related-poems-col {
    background: #fffdf8;
    border: 1px solid #e1d6c9;
    border-radius: 14px;
    min-width: 0;
    padding: 1rem 1.15rem;
}

.related-poems h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 .45rem;
}

.related-poems h2 a {
    text-decoration: none;
}

.related-poems h2 a:hover {
    text-decoration: underline;
}

.related-poems ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-poems li {
    margin: .2rem 0;
}

.related-poems li a {
    text-decoration: none;
}

.related-poems li a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .related-poems {
        grid-template-columns: 1fr;
    }
}

.poem-image-field {
    margin: 1rem 0;
}

.poem-image-field > label {
    display: block;
    font-weight: 600;
    margin-bottom: .35rem;
}

.poem-image-current,
.poem-image-new-preview {
    margin: .5rem 0;
}

.poem-image-new-preview[hidden] {
    display: none;
}

.poem-image-preview {
    border: 1px solid #e1d6c9;
    border-radius: 10px;
    display: block;
    max-height: 220px;
    max-width: min(100%, 22rem);
    object-fit: contain;
}

.poem-image-clear {
    align-items: center;
    color: #776b60;
    display: inline-flex;
    font-size: .95rem;
    gap: .4rem;
    margin: .5rem 0 0;
}

.muted {
    color: #776b60;
    font-size: .95rem;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.poem-stats {
    align-items: center;
    color: #5c4e44;
    display: flex;
    flex-wrap: wrap;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
    gap: .35rem .95rem;
    list-style: none;
    margin: .7rem 0 0;
    padding: 0;
}

.poem .poem-stats {
    margin: 1rem 0 .35rem;
}

.poem-byline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1rem;
    justify-content: space-between;
    margin: 0 0 1rem;
}

.poem-byline > .muted {
    margin: 0;
}

.poem-stat {
    align-items: center;
    display: inline-flex;
    gap: .32rem;
    line-height: 1;
}

a.poem-stat-link {
    align-items: center;
    color: inherit;
    display: inline-flex;
    gap: .32rem;
    line-height: 1;
    text-decoration: none;
}

a.poem-stat-link:hover,
a.poem-stat-link:focus-visible {
    color: #6d2f18;
}

a.poem-stat-link:hover .poem-stat-icon,
a.poem-stat-link:focus-visible .poem-stat-icon {
    color: inherit;
}

.poem-stat-icon {
    color: #9b6b4c;
    display: block;
    flex-shrink: 0;
    height: 1.12rem;
    width: 1.12rem;
}

.poem-stat-icon-rating {
    color: #b08968;
}

.poem-like-form {
    display: inline-flex;
    margin: 0;
}

button.poem-like-button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #9b6b4c;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: .32rem;
    line-height: 1;
    margin: 0;
    padding: .22rem .4rem .22rem .22rem;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

button.poem-like-button:hover,
button.poem-like-button:focus-visible {
    background: rgba(155, 107, 76, .14);
    color: #6d2f18;
}

button.poem-like-button.is-liked {
    color: #c45c2a;
}

button.poem-like-button.is-liked:hover,
button.poem-like-button.is-liked:focus-visible {
    background: rgba(196, 92, 42, .14);
    color: #a84820;
}

button.poem-like-button .poem-stat-icon {
    color: inherit;
    overflow: visible;
    transition: filter .15s ease, transform .15s ease;
}

button.poem-like-button:hover .poem-stat-icon,
button.poem-like-button:focus-visible .poem-stat-icon {
    transform: scale(1.08);
}

button.poem-like-button.is-liked .poem-stat-icon {
    filter:
        drop-shadow(0 0 5px rgba(232, 120, 48, .7))
        drop-shadow(0 0 1px rgba(196, 92, 42, .95));
}

.poem-favorite-form {
    display: inline-flex;
    margin: 0;
}

button.poem-favorite-button,
a.poem-favorite-login {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #9b6b4c;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    line-height: 1;
    margin: 0;
    padding: .22rem;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

button.poem-favorite-button:hover,
button.poem-favorite-button:focus-visible,
a.poem-favorite-login:hover,
a.poem-favorite-login:focus-visible {
    background: rgba(155, 107, 76, .14);
    color: #6d2f18;
}

button.poem-favorite-button.is-favorited {
    color: #c45c2a;
}

button.poem-favorite-button.is-favorited:hover,
button.poem-favorite-button.is-favorited:focus-visible {
    background: rgba(196, 92, 42, .14);
    color: #a84820;
}

button.poem-favorite-button .poem-stat-icon,
a.poem-favorite-login .poem-stat-icon {
    color: inherit;
    overflow: visible;
    transition: filter .15s ease, transform .15s ease;
}

button.poem-favorite-button:hover .poem-stat-icon,
button.poem-favorite-button:focus-visible .poem-stat-icon,
a.poem-favorite-login:hover .poem-stat-icon,
a.poem-favorite-login:focus-visible .poem-stat-icon {
    transform: scale(1.08);
}

button.poem-favorite-button.is-favorited .poem-stat-icon {
    filter:
        drop-shadow(0 0 5px rgba(232, 120, 48, .7))
        drop-shadow(0 0 1px rgba(196, 92, 42, .95));
}

.lead {
    font-size: 1.1rem;
    font-weight: 600;
}

.poem-unavailable {
    margin: 1.5rem 0 2rem;
    max-width: 36rem;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1.25rem;
}

.moderation-nav,
.moderation-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1.25rem;
}

.moderation-tab,
.moderation-filter {
    border: 1px solid #e1d6c9;
    border-radius: 8px;
    color: #4a2718;
    padding: .4rem .75rem;
    text-decoration: none;
}

.moderation-tab.is-active,
.moderation-filter.is-active {
    background: #ead8c7;
    font-weight: 600;
}

.moderation-group-title {
    font-size: 1.15rem;
    margin: 0 0 .85rem;
}

.moderation-section + .moderation-section {
    margin-top: 1.75rem;
}

.report-meta {
    display: grid;
    gap: .55rem;
    margin: 0 0 .85rem;
}

.report-meta div {
    display: grid;
    gap: .15rem;
}

.report-meta dt {
    color: #776b60;
    font-size: .9rem;
}

.report-meta dd {
    margin: 0;
}

.report-from {
    margin: 0 0 .85rem;
}

.report-from a {
    color: inherit;
    font-weight: 600;
}

.report-content h4 {
    font-size: 1rem;
    margin: .75rem 0 .35rem;
}

.report-content p {
    margin: 0;
}

.home-tabs {
    border-bottom: 1px solid #e1d6c9;
    padding-bottom: .75rem;
}

.tabs a,
.button,
button {
    border: 1px solid #9b6b4c;
    border-radius: 999px;
    background: #fffaf1;
    color: #4a2718;
    cursor: pointer;
    display: inline-block;
    padding: .45rem .8rem;
    text-decoration: none;
}

.tabs a.active,
button:hover,
.button:hover {
    background: #ead8c7;
}

input,
textarea,
select {
    border: 1px solid #c8b8a9;
    border-radius: 8px;
    font: inherit;
    max-width: 100%;
    padding: .5rem;
    width: 100%;
}

select {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fffaf1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%239b6b4c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='M1.5 1.8 6 6.2 10.5 1.8'/%3E%3C/svg%3E");
    background-position: right .85rem center;
    background-repeat: no-repeat;
    background-size: .75rem;
    color: #4a2718;
    cursor: pointer;
    padding: .55rem 2.4rem .55rem .75rem;
}

select:hover {
    border-color: #9b6b4c;
}

select:focus,
select:focus-visible {
    border-color: #9b6b4c;
    box-shadow: 0 0 0 3px rgba(155, 107, 76, .2);
    outline: none;
}

select:has(option[value=""]:checked) {
    color: #8a5b3d;
}

select option {
    background-color: #fffaf1;
    color: #4a2718;
}

.inline {
    display: inline;
}

.comments {
    margin: 1.75rem 0 1rem;
}

.comments-header {
    margin: 0 0 1.15rem;
}

.comments-header h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: .01em;
    margin: 0 0 .55rem;
}

.comments-header h2 [data-poem-comments-count] {
    font-variant-numeric: tabular-nums;
}

.comments-header .poem-title-rule {
    margin: 0;
}

.comments-signin {
    margin: 0 0 1rem;
}

.comment-composer {
    align-items: flex-start;
    background: #fffdf8;
    border: 1px solid #e1d6c9;
    border-radius: 16px;
    display: flex;
    gap: .75rem;
    margin: 0 0 1.25rem;
    padding: .9rem 1rem;
}

.comment-composer-fields {
    display: grid;
    flex: 1;
    gap: .65rem;
    min-width: 0;
}

.comment-composer-input {
    background: #fffaf1;
    min-height: 4.6rem;
    resize: vertical;
}

.comment-composer-actions {
    display: flex;
    justify-content: flex-end;
}

button.comment-submit {
    align-items: center;
    background: linear-gradient(180deg, #8a4a2a 0%, #6d2f18 100%);
    border: 1px solid #5c2714;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(74, 39, 24, .16);
    color: #fffaf1;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 600;
    gap: .4rem;
    letter-spacing: .02em;
    line-height: 1;
    padding: .55rem 1.15rem;
    transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}

button.comment-submit:hover,
button.comment-submit:focus-visible {
    background: linear-gradient(180deg, #9b5633 0%, #7a361c 100%);
    box-shadow: 0 10px 22px rgba(74, 39, 24, .2);
    color: #fffaf1;
}

button.comment-submit:active {
    transform: translateY(1px);
}

.comment-submit-icon {
    display: block;
    height: 1rem;
    width: 1rem;
}

.comments-list {
    display: grid;
    gap: .15rem;
}

.comments-empty {
    background: #fffdf8;
    border: 1px dashed #e1d6c9;
    border-radius: 14px;
    color: #776b60;
    margin: 0;
    padding: 1.1rem 1rem;
}

.comment {
    display: grid;
    gap: .55rem .7rem;
    grid-template-columns: 2rem minmax(0, 1fr);
    margin: 0;
    padding: .85rem .15rem .95rem;
}

.comment + .comment {
    border-top: 1px solid #efe4d8;
}

.comment-vote,
.comment-vote-form {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: .05rem;
}

.comment-vote-form {
    margin: 0;
}

.comment-vote-icon-wrap {
    align-items: center;
    color: #c8b8a9;
    display: flex;
    height: 1.7rem;
    justify-content: center;
    width: 1.7rem;
}

.comment-vote-icon {
    display: block;
    height: 1.15rem;
    width: 1.15rem;
}

button.comment-vote-button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #b08968;
    cursor: pointer;
    display: inline-flex;
    height: 1.7rem;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    transition: background .15s ease, color .15s ease, transform .15s ease;
    width: 1.7rem;
}

button.comment-vote-button:hover,
button.comment-vote-button:focus-visible {
    background: rgba(155, 107, 76, .14);
    color: #6d2f18;
}

button.comment-vote-button:active {
    transform: translateY(-1px);
}

button.comment-vote-button[data-vote="-1"]:active {
    transform: translateY(1px);
}

button.comment-vote-button.is-active {
    color: #c45c2a;
}

button.comment-vote-button[data-vote="-1"].is-active {
    color: #5c5270;
}

button.comment-vote-button.is-active:hover,
button.comment-vote-button.is-active:focus-visible {
    background: rgba(196, 92, 42, .14);
}

button.comment-vote-button[data-vote="-1"].is-active:hover,
button.comment-vote-button[data-vote="-1"].is-active:focus-visible {
    background: rgba(92, 82, 112, .14);
}

.comment-score {
    color: #4a2718;
    font-size: .92rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    line-height: 1.2;
    min-width: 1.4rem;
    text-align: center;
}

.comment-vote.is-upvoted .comment-score {
    color: #c45c2a;
}

.comment-vote.is-downvoted .comment-score {
    color: #5c5270;
}

.comment-main {
    min-width: 0;
}

.comment-header {
    align-items: center;
    display: grid;
    gap: .45rem .65rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin-bottom: .45rem;
}

.comment-avatar-link {
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}

.comment-avatar {
    border: 1px solid #e1d6c9;
    border-radius: 50%;
    display: block;
    height: 36px;
    object-fit: cover;
    width: 36px;
}

.comment.reply .comment-avatar {
    height: 30px;
    width: 30px;
}

.comment-avatar-placeholder {
    align-items: center;
    background: #ead8c7;
    color: #4a2718;
    display: flex;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .95rem;
    font-weight: 700;
    justify-content: center;
}

.comment-meta {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: .2rem .5rem;
    min-width: 0;
}

.comment-author {
    color: #4a2718;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.comment-author:hover {
    text-decoration: underline;
}

.comment-meta .muted {
    font-size: .82rem;
}

.comment-body {
    color: #2b241e;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.comment-body p {
    margin: 0 0 .45rem;
}

.comment-body p:last-child {
    margin-bottom: 0;
}

.comment-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .75rem;
    margin-top: .55rem;
}

.comment-reply-box {
    max-width: none;
}

.comment-reply-box[open] {
    flex: 1 1 100%;
}

.comment-reply-box summary {
    color: #776b60;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 600;
    list-style: none;
}

.comment-reply-box summary::-webkit-details-marker {
    display: none;
}

.comment-reply-box summary::marker {
    content: "";
}

.comment-reply-box summary:hover {
    color: #6d2f18;
}

.comment-reply-form {
    display: grid;
    gap: .55rem;
    justify-items: start;
    margin-top: .6rem;
    max-width: 36rem;
    width: 100%;
}

.comment-reply-form textarea {
    width: 100%;
}

.comment-replies.has-replies {
    border-left: 2px solid #ead8c7;
    margin: .7rem 0 0;
    padding-left: .7rem;
}

.comment-replies {
    display: grid;
    gap: .1rem;
}

.comment.reply {
    padding: .7rem 0 .55rem;
}

.comment-replies > .comment + .comment {
    border-top: 1px solid #efe4d8;
}

.comment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin-top: .5rem;
}

.report-control {
    display: inline-flex;
    flex-shrink: 0;
}

.report-control.is-pending {
    align-items: center;
    color: #c48a80;
    justify-content: center;
}

button.report-trigger {
    align-items: center;
    background: rgba(168, 48, 32, .08);
    border: 1px solid rgba(168, 48, 32, .28);
    border-radius: 999px;
    box-shadow: none;
    color: #a83020;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: .84rem;
    font-weight: 700;
    gap: .35rem;
    letter-spacing: .01em;
    line-height: 1;
    margin: 0;
    padding: .32rem .7rem .32rem .5rem;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

button.report-trigger.is-icon {
    border-radius: 8px;
    padding: .28rem;
}

button.report-trigger:hover,
button.report-trigger:focus-visible {
    background: rgba(168, 48, 32, .16);
    border-color: #a83020;
    color: #8a2418;
}

.report-trigger-icon {
    display: block;
    flex-shrink: 0;
    height: 1rem;
    width: 1rem;
}

.poem-byline .report-pending {
    font-size: .85rem;
    max-width: 16rem;
}

.comment-header .report-control {
    grid-column: 3;
    grid-row: 1;
    position: relative;
    z-index: 1;
}

.report-pending {
    margin: 0;
    font-size: .9rem;
}

.report-dialog {
    background: transparent;
    border: 0;
    max-width: none;
    padding: 0;
}

.report-dialog[open] {
    display: grid;
    height: 100%;
    inset: 0;
    max-height: none;
    max-width: none;
    place-items: center;
    width: 100%;
}

.report-dialog::backdrop {
    background: rgba(33, 27, 22, .48);
}

.report-dialog-card {
    background: #fffdf8;
    border: 1px solid #e1d6c9;
    border-radius: 18px;
    box-shadow: 0 22px 48px rgba(74, 39, 24, .22);
    padding: 1.15rem 1.2rem 1.2rem;
    width: min(26.5rem, calc(100vw - 1.5rem));
}

.report-dialog-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 0 .65rem;
}

.report-dialog-kicker {
    color: #a83020;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 0 0 .2rem;
    text-transform: uppercase;
}

.report-dialog-head h2 {
    color: #6d2f18;
    font-size: 1.25rem;
    margin: 0;
}

button.report-dialog-close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #776b60;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.35rem;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    margin: -.25rem -.35rem 0 0;
    padding: 0;
    width: 2rem;
}

button.report-dialog-close:hover,
button.report-dialog-close:focus-visible {
    background: rgba(155, 107, 76, .14);
    color: #4a2718;
}

.report-dialog-lead {
    margin: 0 0 1rem;
}

.report-dialog-form {
    display: grid;
    gap: .75rem;
}

.report-dialog-field {
    display: grid;
    gap: .35rem;
}

.report-dialog-field > span {
    color: #4a2718;
    font-size: .9rem;
    font-weight: 600;
}

.report-dialog-error {
    background: #f8e4de;
    border-radius: 8px;
    color: #8a2418;
    font-size: .9rem;
    margin: 0;
    padding: .45rem .65rem;
}

.report-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: flex-end;
    margin-top: .25rem;
}

button.report-dialog-cancel {
    background: #fffaf1;
    border: 1px solid #d7c4b4;
    border-radius: 999px;
    color: #4a2718;
    cursor: pointer;
    font: inherit;
    padding: .5rem 1rem;
}

button.report-dialog-cancel:hover,
button.report-dialog-cancel:focus-visible {
    background: #ead8c7;
}

.unread {
    border-color: #9b6b4c;
}

.notification-card .notification-title {
    font-size: 1.1rem;
    margin: 0 0 .5rem;
}

.notification-card .notification-title a {
    color: #776b60;
    font-weight: 400;
    text-decoration: none;
}

.notification-card.unread .notification-title a {
    color: #211b16;
    font-weight: 700;
}

.notification-card.unread .notification-title a:hover {
    color: #6d2f18;
}

.social-login {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.ad-banner {
    background:
        linear-gradient(135deg, rgba(255, 250, 241, .96), rgba(234, 216, 199, .72)),
        repeating-linear-gradient(45deg, transparent 0 12px, rgba(155, 107, 76, .06) 12px 13px);
    border: 1px dashed #b88a6a;
    border-radius: 16px;
    color: #4a2718;
    display: grid;
    gap: .25rem;
    margin: 1rem 0;
    min-height: 120px;
    padding: 1rem;
    place-content: center;
    text-align: center;
}

.ad-banner strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
}

.ad-banner span {
    color: #776b60;
}

.ad-banner a {
    font-weight: 700;
    margin-top: .25rem;
}

.ad-kicker {
    color: #9b6b4c;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0;
    text-transform: uppercase;
}

.ad-banner-top,
.ad-banner-footer {
    min-height: 96px;
}

.ad-banner-sidebar {
    min-height: 260px;
}

.sidebar-widget {
    background: #fffdf8;
    border: 1px solid #e1d6c9;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(74, 39, 24, .05);
    margin: 0 0 1rem;
    padding: 1rem;
}

.sidebar-widget-head {
    align-items: baseline;
    border-bottom: 1px solid #ead8c7;
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    margin-bottom: .75rem;
    padding-bottom: .5rem;
}

.sidebar-widget-head h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    margin: 0;
}

.category-links {
    font-size: .92rem;
    line-height: 1.7;
}

.category-links a {
    text-decoration: none;
}

.category-links a:hover,
.category-links a.active {
    font-weight: 700;
    text-decoration: underline;
}

.category-sep {
    color: #b88a6a;
    margin: 0 .15rem;
}

.category-more {
    border-top: 1px solid #ead8c7;
    margin: .75rem 0 0;
    padding-top: .65rem;
}

.category-more a {
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.25rem 0;
}

.category-cloud a {
    background: #fffdf8;
    border: 1px solid #e1d6c9;
    border-radius: 999px;
    padding: .45rem .85rem;
    text-decoration: none;
}

.category-cloud a.active,
.category-cloud a:hover {
    background: #ead8c7;
    border-color: #9b6b4c;
}

.site-footer {
    background: #211b16;
    border-top: 4px solid #9b6b4c;
    color: #fffaf1;
    margin-top: 2rem;
    padding: 1.25rem;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1rem 0;
}

.profile-section {
    border-top: 1px solid #e1d6c9;
    margin-top: 1.25rem;
    padding-top: 1rem;
}

.profile-section h2 {
    font-size: 1.15rem;
    margin: 0 0 .75rem;
}

.profile-form label {
    display: block;
    font-weight: 600;
    margin-bottom: .35rem;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="file"],
.profile-form select,
.profile-form textarea {
    max-width: 100%;
    width: min(100%, 28rem);
}

.help-text,
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.register-form .cf-turnstile {
    margin: 0.75rem 0 1rem;
}

.form-errors {
    color: #776b60;
    display: block;
    font-size: .9rem;
    margin-top: .25rem;
}

.form-errors[hidden] {
    display: none;
}

.checkbox-group ul,
.checkbox-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkbox-group li,
.checkbox-group > div > div,
.checkbox-list li {
    margin: .35rem 0;
}

.notification-settings h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 .5rem;
}

.notification-settings h3:first-child {
    margin-top: 0;
}

.info-page section {
    margin-top: 2rem;
}

.info-page section:first-of-type {
    margin-top: 1.25rem;
}

.info-page section[id] {
    scroll-margin-top: 1rem;
}

.info-page h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 .75rem;
}

.faq-toc {
    background: #faf6ef;
    border: 1px solid #e1d6c9;
    border-radius: 12px;
    margin: 1.25rem 0 0;
    padding: 1rem 1.25rem;
}

.faq-toc ul {
    columns: 2;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-toc li {
    break-inside: avoid;
    margin: .35rem 0;
}

.info-status {
    background: #faf6ef;
    border: 1px solid #e1d6c9;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.steps-list {
    padding-left: 1.25rem;
}

.steps-list li {
    margin: .75rem 0;
}

.info-table {
    border-collapse: collapse;
    margin: 1rem 0;
    width: 100%;
}

.info-table th,
.info-table td {
    border: 1px solid #e1d6c9;
    padding: .6rem .75rem;
    text-align: left;
}

.info-table th {
    background: #faf6ef;
}

.faq-list dt {
    font-weight: 600;
    margin-top: 1rem;
}

.faq-list dd {
    color: #5c5248;
    margin: .35rem 0 0;
}

.profile-form .checkbox-group label,
.profile-form .checkbox-list label {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    font-weight: 400;
    gap: .5rem;
    margin-bottom: 0;
}

.profile-form .checkbox-group input[type="checkbox"],
.profile-form .checkbox-list input[type="checkbox"] {
    flex-shrink: 0;
    height: 1rem;
    margin: 0;
    width: 1rem;
}

.avatar-field {
    margin: 1rem 0;
}

.avatar-current {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    margin: .5rem 0;
}

.profile-form .avatar-clear {
    color: #776b60;
    display: inline-flex;
    font-size: .95rem;
    font-weight: 400;
    gap: .4rem;
    margin: 0;
}

.avatar-new-preview[hidden] {
    display: none;
}

.avatar-new-preview-label {
    color: #776b60;
    font-size: .9rem;
    margin: .5rem 0 .25rem;
}

.profile-avatar,
.profile-avatar-preview {
    border: 2px solid #e1d6c9;
    border-radius: 50%;
    display: block;
    height: 96px;
    margin: .5rem 0;
    object-fit: cover;
    width: 96px;
}

.profile-avatar-placeholder {
    align-items: center;
    background: #ead8c7;
    color: #4a2718;
    display: flex;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 700;
    justify-content: center;
}

.profile-header-main {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.profile-header-main .profile-avatar {
    flex-shrink: 0;
    margin: 0;
}

.profile-header-identity {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    height: 96px;
    justify-content: center;
    min-width: 0;
}

.profile-header-identity h1 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-header-identity .muted {
    line-height: 1.2;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-header-identity .follow-form {
    margin: 0;
}

.profile-header-identity button,
.profile-header-identity a.button {
    padding: .2rem .7rem;
}

.profile-header-actions {
    align-items: center;
    display: flex;
    gap: .55rem;
    min-width: 0;
}

.profile-header-actions a:not(.button) {
    color: #8a5b3d;
    font-size: .85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: underline;
    text-underline-offset: .15em;
    white-space: nowrap;
}

.profile-header-actions a:not(.button):hover,
.profile-header-actions a:not(.button):focus-visible {
    color: #4a2718;
}

.profile-badge {
    color: #6d2f18;
    font-weight: 600;
    margin: .85rem 0 0;
}

.profile-dates {
    margin: .45rem 0 0;
}

.profile-details {
    padding-top: .7rem;
}

.profile-details h2 {
    margin: 0 0 .5rem;
}

.profile-bio {
    background: #f7efe6;
    border-left: 3px solid #9b6b4c;
    border-radius: 10px;
    margin: 1.15rem 0 0;
    padding: .7rem .95rem .8rem;
}

.profile-bio h2 {
    color: #776b60;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 0 0 .4rem;
    text-transform: uppercase;
}

.profile-bio-text {
    font-size: 1.02rem;
    line-height: 1.45;
}

.profile-bio-text p {
    margin: 0 0 .4rem;
}

.profile-bio-text p:last-child {
    margin-bottom: 0;
}

.profile-stats {
    display: grid;
    font-variant-numeric: tabular-nums;
    gap: .55rem .35rem;
    grid-template-columns: repeat(auto-fit, minmax(4.4rem, 1fr));
    list-style: none;
    margin: 1rem 0 0;
    overflow: visible;
    padding: .15rem 0 .2rem;
}

.profile-stat,
.profile-stat-link {
    align-items: center;
    color: inherit;
    cursor: help;
    display: inline-flex;
    font-size: .98rem;
    font-weight: 700;
    gap: .28rem;
    line-height: 1;
    min-width: 0;
    text-decoration: none;
}

.profile-stat-link {
    cursor: pointer;
}

.profile-stat-link:hover,
.profile-stat-link:focus-visible {
    color: #6d2f18;
}

.profile-stat-icon-wrap {
    display: inline-flex;
    flex-shrink: 0;
    height: 1.35rem;
    overflow: visible;
    position: relative;
    width: 1.4rem;
}

.profile-stat-icon-wrap .poem-stat-icon {
    height: 1.12rem;
    width: 1.12rem;
}

.profile-stat-dir {
    background: #fffdf8;
    border-radius: 50%;
    bottom: 0;
    color: #6d2f18;
    height: .72rem;
    padding: .05rem;
    position: absolute;
    right: 0;
    width: .72rem;
}

.pagination {
    align-items: center;
    display: flex;
    gap: .85rem;
    margin: 1.25rem 0 0;
}

.profile-avatar-sm {
    height: 56px;
    width: 56px;
    font-size: 1.35rem;
}

.author-card {
    align-items: center;
    display: flex;
    gap: 1rem;
    min-height: 56px;
    padding: .75rem 1rem;
}

.author-card-main {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: .85rem;
    min-width: 18.5rem;
}

.author-card-avatar-link {
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}

.author-card-main .profile-avatar {
    flex-shrink: 0;
    margin: 0;
}

.author-card-identity {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 14.5rem;
}

.author-card h2 {
    font-size: 1.05rem;
    line-height: 1.2;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.author-card-identity .muted {
    line-height: 1.2;
    margin: 0;
}

.author-card-date {
    overflow: visible;
    white-space: nowrap;
}

.author-card .profile-stats-compact {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 0;
    grid-template-columns: none;
    justify-content: space-evenly;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
}

.author-card .profile-stats-compact .profile-stat,
.author-card .profile-stats-compact .profile-stat-link {
    font-size: .82rem;
}

.author-card .profile-stats-compact .profile-stat-icon-wrap {
    height: 1.05rem;
    width: 1.15rem;
}

.author-card .profile-stats-compact .profile-stat-icon-wrap .poem-stat-icon {
    height: 1rem;
    width: 1rem;
}

.author-card .profile-stats-compact .profile-stat-dir {
    height: .58rem;
    padding: 0;
    width: .58rem;
}

.author-card .follow-form {
    margin: 0;
}

.author-card-identity button,
.author-card-identity a.button {
    align-self: flex-start;
    font-size: .82rem;
    line-height: 1.2;
    padding: .22rem .75rem;
}

.follow-form {
    margin-top: .75rem;
}

.profile-about {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-about li {
    margin: .5rem 0;
}

.tag {
    background: #ead8c7;
    border-radius: 999px;
    color: inherit;
    display: inline-block;
    margin: .15rem .25rem .15rem 0;
    padding: .15rem .55rem;
}

.poem-tags {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .38rem;
}

.poem-tag {
    align-items: center;
    background: rgba(155, 107, 76, .08);
    border: 1px solid rgba(155, 107, 76, .12);
    border-radius: 999px;
    color: #6a3d26;
    display: inline-flex;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .015em;
    line-height: 1.2;
    padding: .22rem .68rem .22rem .58rem;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.poem-tag-mark {
    color: #9b6b4c;
    font-weight: 700;
    margin-right: .12em;
}

.poem-tag:hover,
.poem-tag:focus-visible {
    background: rgba(155, 107, 76, .16);
    border-color: rgba(155, 107, 76, .32);
    color: #4a2718;
}

.poem-tag:hover .poem-tag-mark,
.poem-tag:focus-visible .poem-tag-mark {
    color: #6d2f18;
}

.poem .poem-tags {
    margin: .9rem 0 0;
}

.poem .poem-tag {
    font-size: .86rem;
    padding: .28rem .78rem .28rem .68rem;
}

.poem .poem-tags + .poem-stats {
    margin-top: .7rem;
}

.poem-card .poem-tags {
    margin: -.42rem 0 -.2rem;
}

.poem-tags-input {
    max-width: 100%;
    width: min(100%, 36rem);
}

.tag-editor {
    margin: 1rem 0;
    position: relative;
}

.tag-editor > label {
    display: block;
    font-weight: 600;
    margin-bottom: .35rem;
}

.tag-editor.is-enhanced [data-tag-field] {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.tag-editor-box {
    align-items: center;
    background: #fff;
    border: 1px solid #c8b8a9;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    min-height: 2.7rem;
    padding: .35rem .5rem;
}

.tag-editor-box:focus-within {
    border-color: #9b6b4c;
    box-shadow: 0 0 0 3px rgba(155, 107, 76, .16);
}

.tag-editor-list {
    display: contents;
}

.tag-editor-chip {
    align-items: center;
    background: #ead8c7;
    border-radius: 999px;
    display: inline-flex;
    gap: .1rem;
    padding: .12rem .2rem .12rem .6rem;
}

.tag-editor-chip-name {
    font-size: .92rem;
}

.tag-editor-remove {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #6d2f18;
    font-size: 1.05rem;
    line-height: 1;
    min-width: 0;
    padding: .05rem .4rem;
}

.tag-editor-remove:hover,
.tag-editor-remove:focus-visible {
    background: #ddc4a8;
}

.tag-editor-grow {
    align-items: center;
    display: flex;
    flex: 1;
    gap: .05rem;
    min-width: 8rem;
}

.tag-editor-hash {
    color: #9b6b4c;
    font-weight: 700;
}

.tag-editor-grow input,
.tag-editor.is-full .tag-editor-grow {
    min-width: 6rem;
}

.tag-editor-grow input {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: .2rem 0;
    width: auto;
    flex: 1;
}

.tag-editor-grow input:focus {
    outline: none;
}

.tag-editor.is-full .tag-editor-grow {
    display: none;
}

.tag-editor-suggest {
    background: #fffdf8;
    border: 1px solid #e1d6c9;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(74, 39, 24, .08);
    left: 0;
    list-style: none;
    margin: .3rem 0 0;
    padding: .25rem;
    position: absolute;
    right: 0;
    z-index: 6;
}

.tag-editor-suggest button {
    background: transparent;
    border: 0;
    border-radius: 8px;
    display: block;
    padding: .4rem .7rem;
    text-align: left;
    width: 100%;
}

.tag-editor-suggest button.is-active,
.tag-editor-suggest button:hover,
.tag-editor-suggest button:focus-visible {
    background: #ead8c7;
}

.email-verification-banner {
    background: #fff3d9;
    border-bottom: 1px solid #e8c887;
    color: #5c3d12;
    padding: .75rem 2rem;
    text-align: center;
}

.email-verification-banner p {
    margin: 0;
}

.nav-emphasis {
    color: #8a3b00;
    font-weight: 700;
}

@media (max-width: 860px) {
    .site-header,
    .page-layout {
        display: block;
    }

    .site-header nav {
        margin-top: 1rem;
    }

    .search-form {
        margin: 1rem 0;
    }

    .sidebar-column {
        position: static;
    }

    .faq-toc ul {
        columns: 1;
    }

    .author-card {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: .65rem;
    }

    .author-card-main {
        flex: 1 1 100%;
        min-width: 0;
    }

    .author-card-identity {
        min-width: 0;
    }

    .author-card .profile-stats-compact {
        flex-wrap: wrap;
        gap: .45rem .5rem;
        justify-content: space-between;
        overflow: visible;
        padding-left: calc(56px + .85rem);
    }

    .page-heading .button {
        width: 100%;
        text-align: center;
    }

    .poem-edit-label {
        display: none;
    }

    .poem-edit {
        justify-content: center;
        min-height: 2.25rem;
        min-width: 2.25rem;
        padding: .4rem;
    }

    .poem-heading .poem-edit {
        margin-top: .18rem;
    }

    .poem-byline > .muted {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .28rem;
    }

    .poem-byline-sep {
        display: none;
    }

    button.report-trigger.is-icon {
        min-height: 2.5rem;
        min-width: 2.5rem;
        padding: .5rem;
    }

    .comment-header .report-trigger-icon,
    .comment-actions .report-trigger-icon,
    .comment-header .report-control.is-pending .report-trigger-icon {
        height: 1.2rem;
        width: 1.2rem;
    }
}
