/* ===== 精选评论插件样式 v2.0（适配 Lin's Blog） ===== */
.cf-wrap{margin:-32px 0 0;padding:0;background:transparent;border:none;border-radius:0;width:100%;box-sizing:border-box;font-family:'LXGW Bright Medium','KaiTi','STKaiti',serif}
/* ---- 信笺 Hero 头部 ---- */
.cf-hero{position:relative;overflow:hidden;border-radius:14px;padding:14px 16px 12px;margin-bottom:14px;background:linear-gradient(135deg,#fffdf8 0%,#fdf3e7 55%,#fbeadf 100%);border:1px solid #f0e4d4;box-shadow:0 2px 14px rgba(160,110,60,.08)}
.cf-hero-watermark{position:absolute;right:-10px;top:-16px;width:92px;height:92px;color:#c0564a;opacity:.06;transform:rotate(12deg);pointer-events:none}
.cf-hero-row{position:relative;display:flex;align-items:center;gap:8px}
.cf-hero-heart{color:#c0564a;flex-shrink:0;display:flex;align-items:center}
.cf-hero-heart svg{width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important;display:block!important}
.cf-hero-title{font-size:19px;font-weight:700;color:#3E3934;letter-spacing:1px;line-height:1.2}
.cf-hero-en{font-size:9px;font-weight:600;color:#c9b8a4;letter-spacing:3px;font-family:Georgia,'Times New Roman',serif;transform:translateY(1px);white-space:nowrap}
.cf-hero-big{margin-left:auto;display:flex;align-items:baseline;gap:5px;flex-shrink:0}
.cf-hero-big b{font-size:24px;font-weight:700;color:#3E3934;line-height:1;font-family:Georgia,'LXGW Bright','KaiTi',serif;font-variant-numeric:tabular-nums}
.cf-hero-big i{font-style:normal;font-size:11px;font-weight:600;color:#a3937f;letter-spacing:1px}
.cf-hero-welcome{position:relative;font-size:12.5px;font-weight:600;color:#8a7f70;line-height:1.7;margin:7px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cf-hero-foot{position:relative;display:flex;align-items:center;gap:8px;margin-top:9px;padding-top:9px;border-top:1px dashed #e8d9c6}
.cf-avs{display:flex;align-items:center;flex-shrink:0}
.cf-avs .cf-a{width:24px;height:24px;max-width:24px;max-height:24px;border-radius:50%;border:2px solid #fffbf4;margin-left:-8px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#fff;font-family:-apple-system,'PingFang SC',sans-serif;overflow:hidden;box-sizing:border-box}
.cf-avs .cf-a:first-child{margin-left:0}
.cf-avs .cf-a img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;display:block!important;margin:0!important;padding:0!important}
.cf-avs .cf-a.cf-more{background:#e9dcc9;color:#8a7f70}
.cf-hero-sub{font-size:12px;font-weight:600;color:#a3937f;letter-spacing:.3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf-hero-sub b{color:#c0564a;font-weight:700}
/* ---- 字标彩头像（无有效头像时） ---- */
.cf-av-mono{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-weight:700;border-radius:50%;user-select:none}
/* ---- 音乐卡（闪念同款外观） ---- */
.cf-music{display:flex;align-items:stretch;margin:6px 0 8px;border-radius:8px;overflow:hidden;position:relative;background:#4a5568;cursor:pointer;min-height:80px;max-width:440px;user-select:none}
.cf-music-cover{width:80px;height:80px;max-width:80px;flex-shrink:0;position:relative;background:rgba(0,0,0,.25)}
.cf-music-cover img{width:80px!important;height:80px!important;max-width:80px!important;max-height:80px!important;object-fit:cover!important;display:block!important;margin:0!important;padding:0!important}
.cf-music audio{display:none!important}
.cf-music-cover .cf-music-play{position:absolute;inset:0;margin:auto;width:38px;height:38px;border:0;border-radius:50%;background:rgba(18,22,30,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.cf-music-cover .cf-music-play svg{pointer-events:none;fill:#fff;margin-left:2px;width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important}
.cf-music.playing .cf-music-cover .cf-music-play svg{display:none!important}
.cf-music.playing .cf-music-cover .cf-music-play::before,.cf-music.playing .cf-music-cover .cf-music-play::after{content:'';width:4.5px;height:14px;border-radius:1.5px;background:#fff;margin:0}
.cf-music.playing .cf-music-cover .cf-music-play::before{margin-right:4px}
.cf-music-info{position:relative;z-index:1;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:10px 14px;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.4))}
.cf-music-title{font-size:14px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cf-music-artist{font-size:12px;font-weight:600;color:rgba(255,255,255,.85);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cf-music-fail .cf-music-artist{color:#ffb3ad}
/* 含音乐卡的评论卡：正文与音乐上下排布 */
.cf-has-music{display:block!important}
.cf-quote-row{display:flex;gap:8px;align-items:flex-start}
/* ---- 评论卡（原设计） ---- */
.cf-item{background:#fff;border:1px solid #E7E1D8;border-radius:12px;padding:14px 16px 9px;margin-bottom:10px;box-shadow:0 2px 12px rgba(0,0,0,.04);transition:all .2s ease;overflow:hidden;box-sizing:border-box}
.cf-item:last-child{margin-bottom:0}
.cf-item:hover{transform:translateY(-2px);box-shadow:0 4px 20px rgba(0,0,0,.08)}
html.dark .cf-item,.dark .cf-item{background:#1e1e24!important;border-color:rgba(255,255,255,.08)!important;box-shadow:0 2px 12px rgba(0,0,0,.2)!important}
html.dark .cf-item:hover,.dark .cf-item:hover{box-shadow:0 4px 20px rgba(0,0,0,.35)!important}
.cf-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;width:100%}
.cf-avatar-box{width:40px;height:40px;max-width:40px;max-height:40px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#f3f4f6;display:flex;align-items:center;justify-content:center}
html.dark .cf-avatar-box,.dark .cf-avatar-box{background:#27272a!important}
.cf-avatar-box img{width:40px;height:40px;max-width:40px;max-height:40px;object-fit:cover;display:block;margin:0;padding:0}
.cf-user{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.cf-user-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cf-name{font-size:15px;font-weight:700;color:#3E3934;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:0;line-height:1.3}
html.dark .cf-name,.dark .cf-name{color:#f1f5f9!important}
.cf-time{font-size:12px;font-weight:600;color:#999;flex-shrink:0;letter-spacing:0.5px;line-height:1.3}
html.dark .cf-time,.dark .cf-time{color:#64748b!important}
.cf-body{display:flex;gap:8px;margin-bottom:10px;width:100%;align-items:flex-start}
.cf-quote-mark{font-size:26px;font-weight:700;color:#E7E1D8;line-height:1;font-family:Georgia,"Times New Roman",serif;flex-shrink:0;margin-top:-3px;user-select:none}
html.dark .cf-quote-mark,.dark .cf-quote-mark{color:rgba(255,255,255,.12)!important}
.cf-text{flex:1;min-width:0;font-size:14px;font-weight:600;color:#6B6560;line-height:1.8;word-break:break-word;margin:0}
.cf-text p{margin:0 0 8px}
.cf-text p:last-child{margin-bottom:0}
html.dark .cf-text,.dark .cf-text{color:#a0a0a0!important}
.cf-source{display:flex;align-items:center;gap:6px;border-top:1px solid #E7E1D8;padding-top:8px;width:100%}
html.dark .cf-source,.dark .cf-source{border-top-color:rgba(255,255,255,.08)!important}
.cf-from{font-size:13px;font-weight:600;color:#999;flex-shrink:0}
html.dark .cf-from,.dark .cf-from{color:#64748b!important}
.cf-post-link{font-size:13px;font-weight:600;color:#6B6560;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .2s ease;flex:1;min-width:0}
.cf-post-link:hover{color:#3E3934}
html.dark .cf-post-link,.dark .cf-post-link{color:#a0a0a0!important}
html.dark .cf-post-link:hover,.dark .cf-post-link:hover{color:#f1f5f9!important}
.cf-arrow{font-size:13px;font-weight:600;color:#999;flex-shrink:0}
html.dark .cf-arrow,.dark .cf-arrow{color:#64748b!important}
.cf-empty{text-align:center;padding:48px 20px;color:#999;font-size:14px;font-weight:600;letter-spacing:0.5px}
html.dark .cf-empty,.dark .cf-empty{color:#64748b!important}
/* ---- 暗色：Hero ---- */
html.dark .cf-hero,.dark .cf-hero{background:linear-gradient(135deg,#26211b 0%,#221d1e 60%,#1f1a20 100%);border-color:rgba(255,255,255,.07);box-shadow:0 2px 16px rgba(0,0,0,.3)}
html.dark .cf-hero-watermark,.dark .cf-hero-watermark{color:#e07a6d;opacity:.08}
html.dark .cf-hero-title,.dark .cf-hero-title{color:#f1f5f9!important}
html.dark .cf-hero-heart,.dark .cf-hero-heart{color:#e07a6d!important}
html.dark .cf-hero-en,.dark .cf-hero-en{color:#5c5348!important}
html.dark .cf-hero-big b,.dark .cf-hero-big b{color:#f1f5f9!important}
html.dark .cf-hero-big i,.dark .cf-hero-big i{color:#9a8f7f!important}
html.dark .cf-hero-welcome,.dark .cf-hero-welcome{color:#9a8f7f!important}
html.dark .cf-hero-foot,.dark .cf-hero-foot{border-top-color:rgba(255,255,255,.09)!important}
html.dark .cf-avs .cf-a,.dark .cf-avs .cf-a{border-color:#2a241f!important}
html.dark .cf-avs .cf-a.cf-more,.dark .cf-avs .cf-a.cf-more{background:#3a332c!important;color:#9a8f7f!important}
html.dark .cf-hero-sub,.dark .cf-hero-sub{color:#8a7f6f!important}
html.dark .cf-hero-sub b,.dark .cf-hero-sub b{color:#e07a6d!important}
@media (max-width:767px){
.cf-wrap{margin-top:-20px!important}
.cf-hero{padding:12px 14px 10px!important;border-radius:12px!important}
.cf-hero-title{font-size:17px!important}
.cf-hero-big b{font-size:20px!important}
.cf-item{padding:12px 14px 8px!important;margin-bottom:10px!important}
.cf-avatar-box{width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important}
.cf-avatar-box img{width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important}
.cf-name{font-size:14px!important}
.cf-text{font-size:13px!important}
.cf-quote-mark{font-size:22px!important}
.cf-music{max-width:100%!important}
}
