/* 独立分享页沿用原分组分享的建筑背景、白色面板、蓝链接和绿色收藏按钮。 */
body.board-share-page { background:#444 url('/res/img/1.jpg') center/cover fixed no-repeat; color:#333; font:14px/1.5 Arial,'Microsoft YaHei',sans-serif; padding:30px 18px; }
.board-share-page .share-frame { max-width:1170px; margin:0 auto; padding:22px; background:#fff; border:1px solid #ddd; border-radius:4px; box-shadow:0 2px 12px rgba(0,0,0,.12); }
.board-share-page [hidden] { display:none!important; }
.share-brand-row { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; border-bottom:1px solid #eee; padding-bottom:16px; }
.share-author { display:flex; align-items:center; gap:8px; color:#777; font-size:12px; }
.share-author img { border-radius:4px; object-fit:cover; }
.share-hero { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-top:20px; }
.share-hero h1 { margin:0 0 8px; font-size:25px; font-weight:400; }
.share-hero h1 small { font-size:12px; color:#888; background:#f5f5f5; padding:3px 7px; margin-left:10px; border-radius:3px; vertical-align:middle; }
.share-hero p { margin:7px 0; font-size:13px; }
.share-meta { color:#888; font-size:12px!important; }
.share-search { width:240px; max-width:100%; margin:0; font-weight:400; }
.share-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; background:#f5f5f5; border-radius:4px; padding:10px 12px; margin:20px 0 18px; }
.share-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.share-check { display:inline-flex; align-items:center; gap:7px; font-weight:400; margin:0; }
.share-check input,.share-url-check { accent-color:#337ab7; margin:0!important; width:14px; height:14px; flex-shrink:0; }
.share-columns { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; align-items:start; }
.share-column { display:flex; flex-direction:column; gap:16px; min-width:0; }
/* 分组边框和标题颜色直接复用主页的 panel-* 配色，避免分享样式覆盖来源颜色。 */
.share-group { margin:0; border-radius:4px; overflow:hidden; min-width:0; background:#fff; box-shadow:none; }
.share-group-header { display:flex; align-items:center; gap:9px; padding:10px 12px; }
.share-group-header .share-check { flex:1; min-width:0; overflow-wrap:anywhere; color:inherit; }
.share-fold { background:transparent; border:0; color:inherit; padding:2px; font-size:11px; }
.share-url { display:flex; align-items:center; gap:8px; min-height:42px; padding:10px 12px; border-bottom:1px solid #eee; }
.share-url:last-child { border-bottom:0; }
/* 与主页使用相同的网址文字标签，长标签为网址标题保留显示空间。 */
.share-url > .label { flex-shrink:0; max-width:40%; overflow:hidden; text-overflow:ellipsis; }
.share-url:hover { background:#fafcfd; }
.share-url a { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#337ab7; }
.share-qr { flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; padding:3px; border:0; background:transparent; color:#999; font-size:14px; line-height:1; }
.share-qr:hover { color:#337ab7; }
#qrShowModal_url { overflow-wrap:anywhere; }
.share-bottom { border-top:1px solid #eee; margin-top:22px; padding-top:17px; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.share-bottom>.text-muted { font-size:12px; }
.share-empty-group,.share-no-result { padding:16px 12px; margin:0; }
.share-no-result { text-align:center; }
.share-audience { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:18px; color:#888; font-size:12px; }
.share-avatar-list { display:flex; flex-wrap:wrap; gap:5px; }
.share-avatar-list img { border-radius:50%; object-fit:cover; }
.share-copyright { color:#bbb; text-align:center; margin:20px 0; font-size:12px; }
.share-message { margin:12px 0 0; }
.board-share-page .modal-title { font-size:18px; }
.share-field-label { margin-top:16px; }
.share-modal-message { margin-top:12px; }
/* 设置项独立分行，说明与开关保留间距，沿用站内绿色开启样式。 */
#share-settings .modal-body { padding:6px 22px 20px; }
.share-setting-row { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 0; }
.share-setting-row + .share-setting-row { border-top:1px solid #eee; }
.share-setting-copy { flex:1; min-width:0; }
.share-setting-copy label { margin:0 0 6px; font-size:14px; cursor:pointer; }
.share-setting-copy p { margin:0; color:#777; font-size:13px; line-height:1.7; }
.share-setting-copy .share-setting-blocked { color:#8a6d3b; margin-top:6px; }
.share-setting-row > .bootstrap-switch { flex-shrink:0; }
.share-settings-note { display:flex; align-items:baseline; gap:8px; margin:0; padding:12px; border-radius:4px; background:#f5f5f5; color:#777; font-size:12px; line-height:1.7; }
#share-settings .share-modal-message:empty { display:none; }

/* 默认浏览不占用复选框空间，进入选择后才显示收藏控件。 */
#board-share:not(.is-selecting) .share-select-only,#board-share:not(.is-selecting) .share-url-check,#board-share:not(.is-selecting) .share-group-check { display:none; }
#board-share.is-selecting .share-browse-only { display:none; }
.subscription-home { padding-top:80px!important; }
.subscription-tabs,.board-subscriptions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.subscription-tabs { padding-bottom:15px; border-bottom:1px solid #eee; }
.subscription-tabs a[aria-current=page] { color:#555; background:#f0f4f7; border-radius:3px; padding:4px 7px; }
.board-subscriptions { margin:0 0 14px; padding:8px; background:#f5f5f5; border-radius:4px; font-size:13px; }
/* 主页订阅摘要不加面板，居中头像与人数作为轻量页尾信息。 */
.board-subscribers { margin:18px 0 20px; text-align:center; }
.board-subscribers .share-audience { flex-direction:column; flex-wrap:nowrap; gap:6px; margin:0; }
.board-subscribers .share-avatar-list { justify-content:center; gap:0; padding-left:7px; }
.board-subscribers .share-avatar-list img { width:28px; height:28px; margin-left:-7px; border:2px solid #fff; }
/* 两处分享入口复用三点连线图形，颜色跟随按钮或分组主题。 */
.share-icon { display:inline-block; width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; vertical-align:-2px; pointer-events:none; }
.group-share-button { display:inline-block; line-height:1; }
.subscription-setting-message { margin-top:8px; }
@media(max-width:991px) { .share-columns { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:599px) {
    body.board-share-page { padding:20px 12px; }
    .board-share-page .share-frame { padding:16px; }
    .share-columns { grid-template-columns:minmax(0,1fr); }
    .share-hero { gap:14px; }
    .share-hero h1 { font-size:23px; }
    .share-search { width:100%; }
    .share-bottom>.share-actions { width:100%; justify-content:flex-end; }
    .share-author { font-size:11px; }
    #share-settings .modal-body { padding-right:16px; padding-left:16px; }
    .share-setting-row { flex-wrap:wrap; gap:12px; }
    .share-setting-copy { flex-basis:100%; }
}
@media(pointer:coarse) { .share-qr { min-width:32px; min-height:32px; } .share-fold { min-width:32px; min-height:32px; } .share-url,.share-actions>.btn { min-height:44px; } .share-search input { font-size:16px; } }

/* 订阅使用主页内容区，只用轻量来源说明与底部取消入口。 */
.subscription-context { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 14px; color:#888; font-size:12px; }
.subscription-context a { margin-left:auto; }
.board-subscriptions a[aria-current=page] { padding:3px 6px; border-radius:3px; background:#e5eaf0; color:#555; }
.subscription-actions { margin-bottom:20px; text-align:center; }
.subscription-actions [role=status]:empty { display:none; }
