/* =========================================================
 * 诗词站主题
 * 暖纸底色、宋体标题、朱砂强调，覆盖 main.css 中的旧版样式
 * ========================================================= */

:root {
    --poem-paper: #f7f2e8;
    --poem-paper-deep: #efe6d6;
    --poem-card: #fffdf9;
    --poem-ink: #24211d;
    --poem-ink-soft: #555046;
    --poem-muted: #8b8172;
    --poem-line: #e6dccb;
    --poem-line-strong: #d5c7b1;
    --poem-accent: #a33b2b;
    --poem-accent-dark: #812b20;
    --poem-gold: #ad874b;
    --poem-radius: 10px;
    --poem-font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --poem-font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
        "SimSun", serif;
    --poem-font-kai: "Kaiti SC", "STKaiti", "KaiTi", "Noto Serif SC", serif;
}

body.poem-body {
    margin: 0;
    min-height: 100vh;
    color: var(--poem-ink);
    background:
        radial-gradient(circle at 8% -12%, rgba(173, 135, 75, .16), transparent 34rem),
        radial-gradient(circle at 96% 2%, rgba(163, 59, 43, .08), transparent 30rem),
        var(--poem-paper);
    font-family: var(--poem-font-ui);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.poem-body *,
body.poem-body *::before,
body.poem-body *::after {
    box-sizing: border-box;
}

body.poem-body p {
    margin: 0;
    line-height: inherit;
}

body.poem-body h1,
body.poem-body h2,
body.poem-body h3 {
    border-left: 0;
    height: auto;
    padding-left: 0;
}

body.poem-body img {
    max-width: 100%;
    height: auto;
}

body.poem-body a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.poem-wrap {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.poem-skip {
    position: fixed;
    top: -80px;
    left: 18px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 6px;
    background: var(--poem-accent);
    color: #fff !important;
    transition: top .2s ease;
}

.poem-skip:focus {
    top: 12px;
}

.poem-eyebrow {
    margin: 0;
    color: var(--poem-gold);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.5;
    text-transform: uppercase;
}

/* ---------- 顶栏 ---------- */
.poem-header {
    position: sticky;
    z-index: 80;
    top: 0;
    border-bottom: 1px solid rgba(213, 199, 177, .55);
    background: rgba(247, 242, 232, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.poem-header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 72px;
}

.poem-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    min-width: 0;
}

.poem-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 7px;
    object-fit: contain;
    background: var(--poem-paper-deep);
}

.poem-brand-seal {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(145deg, #b84936, #922f22);
    color: #fff8ef !important;
    font-family: var(--poem-font-serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.poem-brand-seal--small {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    font-size: 16px;
}

.poem-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.poem-brand-text strong {
    overflow: hidden;
    font-family: var(--poem-font-serif);
    font-size: 19px;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.poem-brand-text small {
    margin-top: 3px;
    color: var(--poem-muted);
    font-size: 10.5px;
    letter-spacing: .1em;
}

.poem-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    margin-left: auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.poem-nav::-webkit-scrollbar {
    display: none;
}

.poem-nav a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--poem-ink-soft);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
}

.poem-nav a:hover {
    background: rgba(163, 59, 43, .06);
    color: var(--poem-accent);
}

.poem-nav a.is-active {
    background: rgba(163, 59, 43, .09);
    color: var(--poem-accent);
    font-weight: 600;
}

.poem-header-search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid var(--poem-line);
    border-radius: 6px;
    background: rgba(255, 253, 249, .7);
    color: var(--poem-ink-soft);
    font-size: 13px;
    font-weight: 600;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.poem-header-search:hover {
    border-color: var(--poem-line-strong);
    background: var(--poem-card);
    color: var(--poem-accent);
}

/* ---------- 首页大标题 ---------- */
.poem-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 54px;
}

.poem-hero::after {
    content: "詩";
    position: absolute;
    top: 8px;
    right: 4%;
    z-index: 0;
    color: rgba(163, 59, 43, .045);
    font-family: var(--poem-font-serif);
    font-size: clamp(220px, 26vw, 390px);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.poem-hero-inner {
    position: relative;
    z-index: 1;
}

.poem-hero h1 {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: clamp(42px, 5.6vw, 68px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.poem-hero h1 span {
    color: var(--poem-accent);
}

.poem-hero-lead {
    max-width: 640px;
    margin: 22px 0 0;
    color: var(--poem-ink-soft);
    font-size: 16.5px;
    line-height: 1.9;
}

.poem-hero--compact {
    padding: 54px 0 30px;
}

.poem-hero--compact h1 {
    margin-top: 12px;
    font-size: clamp(34px, 4.2vw, 50px);
}

.poem-inline-link {
    color: var(--poem-accent) !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(163, 59, 43, .28);
}

.poem-inline-link:hover {
    border-bottom-color: var(--poem-accent);
}

.poem-search {
    display: flex;
    align-items: stretch;
    max-width: 680px;
    margin-top: 34px;
    padding: 6px;
    border: 1px solid var(--poem-line-strong);
    border-radius: var(--poem-radius);
    background: var(--poem-card);
    box-shadow: 0 14px 36px rgba(96, 73, 38, .08);
}

.poem-search-field {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 9px;
    min-width: 0;
    padding-left: 12px;
}

.poem-search-icon {
    display: inline-flex;
    flex: 0 0 auto;
    color: var(--poem-muted);
}

.poem-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 4px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--poem-ink);
    font: inherit;
    font-size: 15.5px;
}

.poem-search input::placeholder {
    color: var(--poem-muted);
}

.poem-search button {
    flex: 0 0 auto;
    min-width: 112px;
    padding: 0 24px;
    border: 0;
    border-radius: 7px;
    background: var(--poem-accent);
    color: #fff8ef;
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s ease;
}

.poem-search button:hover {
    background: var(--poem-accent-dark);
}

.poem-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
    color: var(--poem-muted);
    font-size: 12.5px;
}

.poem-hero-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}

.poem-hero-stats strong {
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: 17px;
}

/* ---------- 分节与卡片 ---------- */
.poem-section {
    padding: 34px 0;
}

.poem-section--tight {
    padding-top: 4px;
}

.poem-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.poem-section-head h2 {
    margin: 6px 0 0;
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: clamp(25px, 3.2vw, 33px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.poem-section-more {
    flex: 0 0 auto;
    color: var(--poem-accent);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
}

.poem-section-more:hover {
    color: var(--poem-accent-dark);
}

.poem-section-note {
    flex: 0 0 auto;
    margin: 0;
    color: var(--poem-muted);
    font-size: 13px;
}

.poem-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.poem-card {
    display: flex;
    flex-direction: column;
    min-height: 176px;
    padding: 24px;
    border: 1px solid var(--poem-line);
    border-radius: var(--poem-radius);
    background: var(--poem-card);
    color: inherit;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.poem-card:hover {
    border-color: rgba(163, 59, 43, .4);
    box-shadow: 0 12px 30px rgba(96, 73, 38, .08);
    transform: translateY(-2px);
}

.poem-card-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--poem-muted);
    font-size: 11.5px;
}

.poem-card-kicker span {
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--poem-paper-deep);
    letter-spacing: .03em;
}

.poem-card h3 {
    margin: 14px 0 8px;
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.35;
}

.poem-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 18px;
    color: var(--poem-ink-soft);
    font-size: 14px;
    line-height: 1.85;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.poem-card-more {
    margin-top: auto;
    color: var(--poem-accent);
    font-size: 12.5px;
    font-weight: 600;
}

.poem-dynasty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.poem-dynasty-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--poem-line);
    border-radius: 8px;
    background: var(--poem-card);
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: 16px;
    font-weight: 600;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.poem-dynasty-card small {
    color: var(--poem-muted);
    font-family: var(--poem-font-ui);
    font-size: 11.5px;
    font-weight: 500;
}

.poem-dynasty-card:hover {
    border-color: rgba(163, 59, 43, .4);
    background: rgba(163, 59, 43, .04);
    color: var(--poem-accent);
}

.poem-empty {
    padding: 38px 28px;
    border: 1px dashed var(--poem-line-strong);
    border-radius: var(--poem-radius);
    background: rgba(255, 253, 249, .55);
    text-align: center;
}

.poem-empty strong {
    display: block;
    font-family: var(--poem-font-serif);
    font-size: 20px;
}

.poem-empty p {
    margin-top: 6px;
    color: var(--poem-muted);
    font-size: 13.5px;
}

/* ---------- 诗词详情 ---------- */
.poem-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 32px;
    padding: 40px 0 70px;
}

.poem-post-main {
    min-width: 0;
}

.poem-article {
    overflow: hidden;
    border: 1px solid var(--poem-line);
    border-radius: var(--poem-radius);
    background: var(--poem-card);
}

.poem-article-head {
    padding: 46px 48px 34px;
    border-bottom: 1px solid var(--poem-line);
    background: linear-gradient(180deg, rgba(173, 135, 75, .07), transparent);
    text-align: center;
}

.poem-article-kicker {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--poem-muted);
    font-size: 12px;
}

.poem-article-kicker span {
    padding: 3px 9px;
    border-radius: 4px;
    background: var(--poem-paper-deep);
    letter-spacing: .04em;
}

.poem-article-head h1 {
    margin: 16px 0 14px;
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.poem-article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: var(--poem-muted);
    font-size: 13px;
}

.poem-article-meta a {
    color: var(--poem-accent);
    font-weight: 600;
    border-bottom: 1px solid rgba(163, 59, 43, .25);
}

.poem-article-meta a:hover {
    border-bottom-color: var(--poem-accent);
}

.poem-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 22px;
}

.poem-tags a {
    padding: 5px 11px;
    border: 1px solid var(--poem-line);
    border-radius: 999px;
    color: var(--poem-ink-soft);
    font-size: 12px;
    transition: border-color .18s ease, color .18s ease;
}

.poem-tags a:hover {
    border-color: rgba(163, 59, 43, .4);
    color: var(--poem-accent);
}

.poem-original {
    padding: 46px 48px 40px;
    color: var(--poem-ink);
    font-family: var(--poem-font-kai);
    font-size: clamp(21px, 2.4vw, 28px);
    letter-spacing: .12em;
    line-height: 2.25;
    text-align: center;
}

.poem-original br {
    line-height: 2.25;
}

.poem-notes {
    padding: 0 48px 40px;
}

.poem-note {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--poem-line);
}

.poem-note h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.poem-note h2::before {
    content: "";
    flex: 0 0 auto;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--poem-accent);
}

.poem-richtext {
    color: var(--poem-ink-soft);
    font-size: 15.5px;
    line-height: 1.95;
}

.poem-richtext::after {
    display: block;
    clear: both;
    content: "";
}

.poem-richtext p {
    margin: 0 0 14px;
}

.poem-richtext h2,
.poem-richtext h3 {
    margin: 24px 0 10px;
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    line-height: 1.35;
}

.poem-richtext h2 {
    font-size: 21px;
}

.poem-richtext h3 {
    font-size: 18px;
}

.poem-richtext a {
    color: var(--poem-accent);
    border-bottom: 1px solid rgba(163, 59, 43, .25);
}

.poem-richtext img {
    float: left;
    max-width: min(230px, 42%);
    height: auto;
    margin: 5px 18px 12px 0;
    border-radius: 6px;
}

.poem-author-box {
    margin: 0 48px 46px;
    padding: 24px;
    border: 1px solid var(--poem-line);
    border-radius: 8px;
    background: var(--poem-paper);
}

.poem-author-box-head,
.poem-profile-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.poem-author-box-head h2,
.poem-profile-head h2 {
    margin: 3px 0 0;
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: 21px;
    line-height: 1.2;
}

.poem-post-aside {
    min-width: 0;
}

.poem-side-card {
    position: sticky;
    top: 92px;
    padding: 24px;
    border: 1px solid var(--poem-line);
    border-radius: var(--poem-radius);
    background: var(--poem-card);
}

.poem-side-card h2 {
    margin: 7px 0 18px;
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: 22px;
    line-height: 1.3;
}

.poem-side-list {
    display: flex;
    flex-direction: column;
}

.poem-side-list a {
    display: block;
    padding: 13px 0;
    border-top: 1px solid var(--poem-line);
}

.poem-side-list a:first-child {
    border-top: 0;
}

.poem-side-list strong {
    display: block;
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: 15.5px;
    line-height: 1.4;
}

.poem-side-list span {
    display: block;
    margin-top: 4px;
    color: var(--poem-muted);
    font-size: 12px;
    line-height: 1.6;
}

.poem-side-list a:hover strong {
    color: var(--poem-accent);
}

.poem-side-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--poem-accent);
    font-size: 12.5px;
    font-weight: 600;
}

.poem-side-empty {
    color: var(--poem-muted);
    font-size: 13px;
}

.poem-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.poem-strip a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px;
    border: 1px solid var(--poem-line);
    border-radius: 8px;
    background: var(--poem-card);
    transition: border-color .18s ease, transform .18s ease;
}

.poem-strip a:hover {
    border-color: rgba(163, 59, 43, .4);
    transform: translateY(-1px);
}

.poem-strip span {
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: 16px;
    font-weight: 600;
}

.poem-strip small {
    color: var(--poem-muted);
    font-size: 11.5px;
    line-height: 1.55;
}

/* ---------- 诗人、朝代、分类列表 ---------- */
.poem-page-body {
    padding-bottom: 60px;
}

.poem-profile-card {
    margin-top: 14px;
    padding: 28px;
    border: 1px solid var(--poem-line);
    border-radius: var(--poem-radius);
    background: var(--poem-card);
}

.poem-title-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.poem-title-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--poem-line);
    border-radius: 8px;
    background: var(--poem-card);
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.poem-title-card span {
    overflow: hidden;
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: 16.5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.poem-title-card small {
    flex: 0 0 auto;
    color: var(--poem-muted);
    font-size: 11.5px;
}

.poem-title-card:hover {
    border-color: rgba(163, 59, 43, .4);
    transform: translateY(-1px);
}

.poem-title-card:hover span,
.poem-title-card:hover small {
    color: var(--poem-accent);
}

.poem-author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.poem-author-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--poem-line);
    border-radius: 8px;
    background: var(--poem-card);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.poem-author-card:hover {
    border-color: rgba(163, 59, 43, .4);
    box-shadow: 0 10px 24px rgba(96, 73, 38, .07);
    transform: translateY(-2px);
}

.poem-author-initial {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--poem-paper-deep);
    color: var(--poem-accent);
    font-family: var(--poem-font-serif);
    font-size: 18px;
    font-weight: 700;
}

.poem-author-card strong {
    color: var(--poem-ink);
    font-family: var(--poem-font-serif);
    font-size: 18px;
    line-height: 1.35;
}

.poem-author-card small {
    margin-top: 4px;
    color: var(--poem-muted);
    font-size: 11.5px;
}

/* ---------- 页脚 ---------- */
.poem-footer {
    margin-top: 48px;
    border-top: 1px solid var(--poem-line);
    background: rgba(239, 230, 214, .45);
}

.poem-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 22px 48px;
    padding: 44px 0 34px;
}

.poem-footer-brand a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.poem-footer-brand strong {
    font-family: var(--poem-font-serif);
    font-size: 19px;
    letter-spacing: .04em;
}

.poem-footer-brand p {
    max-width: 420px;
    margin-top: 14px;
    color: var(--poem-muted);
    font-size: 13px;
    line-height: 1.8;
}

.poem-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-end;
    gap: 6px 18px;
    padding-top: 8px;
}

.poem-footer-nav a {
    color: var(--poem-ink-soft);
    font-size: 13px;
}

.poem-footer-nav a:hover {
    color: var(--poem-accent);
}

.poem-footer-bottom {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    padding-top: 22px;
    border-top: 1px solid var(--poem-line);
    color: var(--poem-muted);
    font-size: 12px;
}

.poem-footer-bottom a {
    color: var(--poem-muted);
}

.poem-footer-bottom a:hover {
    color: var(--poem-accent);
}

.poem-footer-friends {
    flex: 1 1 100%;
    color: var(--poem-muted);
    font-size: 12px;
    line-height: 1.8;
}

.poem-footer-friends a {
    color: var(--poem-ink-soft);
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
    .poem-post-layout {
        grid-template-columns: 1fr;
    }

    .poem-side-card {
        position: static;
    }

    .poem-title-grid,
    .poem-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .poem-header-inner {
        flex-wrap: wrap;
        gap: 10px 16px;
        padding: 11px 0;
    }

    .poem-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        padding-bottom: 2px;
    }

    .poem-header-search {
        margin-left: auto;
    }

    .poem-header-search span {
        display: none;
    }

    .poem-hero {
        padding: 46px 0 34px;
    }

    .poem-hero::after {
        top: 40px;
        right: -18px;
        font-size: 220px;
    }

    .poem-hero h1 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .poem-hero-lead {
        font-size: 15px;
        line-height: 1.8;
    }

    .poem-search {
        flex-wrap: wrap;
        padding: 6px;
    }

    .poem-search-field {
        flex-basis: 100%;
        padding: 0 8px;
    }

    .poem-search input {
        height: 42px;
    }

    .poem-search button {
        width: 100%;
        min-height: 42px;
        margin-top: 4px;
    }

    .poem-section {
        padding: 24px 0;
    }

    .poem-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .poem-grid,
    .poem-title-grid,
    .poem-strip {
        grid-template-columns: 1fr;
    }

    .poem-card {
        min-height: 0;
        padding: 20px;
    }

    .poem-article-head {
        padding: 30px 22px 24px;
    }

    .poem-original {
        padding: 32px 22px 28px;
        letter-spacing: .08em;
    }

    .poem-notes {
        padding: 0 22px 30px;
    }

    .poem-author-box {
        margin: 0 22px 30px;
        padding: 18px;
    }

    .poem-footer-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 32px 0 28px;
    }

    .poem-footer-nav {
        justify-content: flex-start;
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .poem-wrap {
        width: calc(100% - 36px);
    }

    .poem-brand-text small {
        display: none;
    }

    .poem-article-meta {
        gap: 6px 14px;
    }

    .poem-richtext img {
        float: none;
        max-width: 100%;
        margin: 8px 0 14px;
    }
}
