/* message-board-poem.css — 2G-05H 素雅卡片 for 念两句诗 (/link/ only; .poem-card scope).
   干净近白卡片(与评论卡一致) · 宋体墨字 · 标题「———念两句诗———」两侧淡出细线(无顶部边缘线) · 诗句一行不换 · 右下小朱印. */
.poem-wrap.poem-card {
    position: relative; box-sizing: border-box;
    width: 720px; max-width: 90%; margin: 36px auto 40px;
    padding: 24px 44px 26px; text-align: center;
    background: #fffdf8;
    border: 1px solid rgba(0,0,0,.06); border-radius: 16px;
    box-shadow: 0 8px 24px -14px rgba(30,30,45,.22);
    font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif;
}
/* 标题:———念两句诗———,两侧细线向外淡出 */
.poem-card h1 {
    position: relative; display:inline-block; margin:0 0 16px; padding:0 22px;
    font-family: inherit; font-size:15px; font-weight:600; letter-spacing:5px; text-indent:5px; color:#9a8f7c;
}
.poem-card h1::before, .poem-card h1::after {
    content:""; position:absolute; top:50%; width:48px; height:1px; transform:translateY(-50%);
}
.poem-card h1::before { right:100%; background:linear-gradient(90deg, transparent, rgba(0,0,0,.22)); }
.poem-card h1::after  { left:100%;  background:linear-gradient(90deg, rgba(0,0,0,.22), transparent); }
/* 诗句:墨色宋体;上下联在「，」处可断(见 .poem-clause + <wbr>),宽屏一行、窄屏两行 */
.poem-card p#poem {
    white-space: normal; overflow-wrap: anywhere; margin: 0;
    font-size: clamp(18px, 2.1vw, 25px); line-height: 1.6; letter-spacing: 3px; color: #46433c;
}
/* 2G-05J: 每个分句内部不换行,仅在分句之间(<wbr>)断行 -> 宽屏一行、窄屏折成上下联两行,任意长度不溢出 */
.poem-card p#poem .poem-clause { white-space: nowrap; }
.poem-card p#info { white-space:nowrap; font-size:12.5px; margin: 11px 0 0; letter-spacing:1.5px; color:#aaa294; }
/* 右下角小朱印(签名感,淡) */
.poem-card .poem-seal {
    position:absolute; right:15px; bottom:11px; width:32px; height:32px;
    background-size:contain; background-repeat:no-repeat; background-position:center;
    mix-blend-mode:multiply; opacity:.82; transform:rotate(-4deg); pointer-events:none;
}
@media (max-width:560px){
    .poem-card { padding:22px 16px 22px; }
    .poem-card h1::before, .poem-card h1::after { width:30px; }
    /* 手机端:字号回到舒适区(长联由 <wbr> 折成两行,不再靠缩字号硬塞) */
    .poem-card p#poem { font-size: clamp(17px, 4.8vw, 22px); letter-spacing: 2px; }
    .poem-card .poem-seal { width:28px; height:28px; }
}

/* 2G-05I: 五线谱+音符 分割线(诗 <-> 友链),两端淡出;墨灰为主一颗朱红呼应印章 */
.poem-music-sep { max-width: 620px; width: 88%; margin: 24px auto 30px; line-height: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.poem-music-sep svg { display: block; width: 100%; height: auto; }
@media (max-width:560px){ .poem-music-sep { width: 94%; margin: 18px auto 24px; } }
