*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif;background:#f5f6fa;color:#222;line-height:1.75;font-size:15px;-webkit-font-smoothing:antialiased}
a{color:#2932e1;text-decoration:none}
a:hover{color:#4e6ef2}

.bj-wrap{max-width:720px;margin:0 auto;padding:0 16px}
.bj-page{padding:0 0 28px}

/* Header */
.bj-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #ebebeb;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.bj-header-inner{display:flex;align-items:center;gap:12px;padding:10px 0;min-height:48px}
.bj-logo{font-size:17px;font-weight:700;color:#2932e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}
.bj-logo:hover{color:#4e6ef2;text-decoration:none}
.bj-search{margin-left:auto;display:flex;align-items:center;gap:0;border:1px solid #e0e0e0;border-radius:20px;overflow:hidden;background:#f8f9fc;flex:1;max-width:280px}
.bj-search-input{border:none;padding:7px 14px;font-size:14px;outline:none;color:#222;background:transparent;flex:1;min-width:0}
.bj-search-btn{border:none;background:#2932e1;color:#fff;padding:7px 16px;cursor:pointer;font-size:13px;font-weight:600;white-space:nowrap}
.bj-search-btn:hover{background:#4e6ef2}

/* Intro */
.bj-intro{background:#fff;border-radius:8px;padding:14px 16px;margin:14px 0 0;font-size:14px;color:#999;line-height:1.7;box-shadow:0 1px 6px rgba(0,0,0,.05)}

/* Tabs */
.bj-tabs{display:flex;gap:0;margin:14px 0 0;background:#fff;border-radius:8px 8px 0 0;padding:0 16px;border-bottom:1px solid #f0f0f0;box-shadow:0 1px 6px rgba(0,0,0,.05)}
.bj-tab{display:inline-block;padding:12px 20px;font-size:15px;color:#999;cursor:default;position:relative}
.bj-tab-active{color:#222;font-weight:600}
.bj-tab-active::after{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:24px;height:3px;background:#2932e1;border-radius:2px}

/* Feed */
.bj-feed{background:#fff;border-radius:0 0 8px 8px;padding:4px 0 8px;margin-bottom:14px;box-shadow:0 1px 6px rgba(0,0,0,.05)}
.bj-feed-list{list-style:none}
.bj-feed-card{border-bottom:1px solid #f5f5f5}
.bj-feed-card:last-child{border-bottom:none}
.bj-feed-link{display:flex;gap:12px;padding:14px 16px;align-items:flex-start;transition:background .15s}
.bj-feed-link:hover{text-decoration:none;background:#fafbff}
.bj-feed-thumb{flex-shrink:0;width:96px;height:72px;border-radius:6px;background:linear-gradient(135deg,#e8ecff 0%,#c5cff9 50%,#a8b4f5 100%);position:relative;overflow:hidden}
.bj-feed-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(45deg,transparent 40%,rgba(255,255,255,.3) 50%,transparent 60%)}
.bj-feed-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.bj-feed-title{font-size:16px;font-weight:700;color:#222;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bj-feed-link:hover .bj-feed-title{color:#2932e1}
.bj-feed-meta{font-size:13px;color:#999;line-height:1.5}
.bj-feed-read{align-self:flex-start;font-size:12px;color:#2932e1;font-weight:600;margin-top:2px}
.bj-feed-read::after{content:" ›";font-size:14px}

/* Section */
.bj-section{background:#fff;border-radius:8px;padding:16px;margin-bottom:14px;box-shadow:0 1px 6px rgba(0,0,0,.05)}
.bj-section-compact{padding:14px 16px}
.bj-section-head{margin-bottom:12px}
.bj-section-title{font-size:16px;font-weight:700;color:#222;padding-left:10px;border-left:3px solid #2932e1;line-height:1.3}

/* Tags */
.bj-tags{display:flex;flex-wrap:wrap;gap:8px}
.bj-tags a{padding:5px 14px;background:#f5f6ff;border:1px solid #e0e4ff;border-radius:16px;font-size:14px;color:#555;transition:all .15s}
.bj-tags a:hover{background:#e8ecff;border-color:#c5cff9;color:#2932e1;text-decoration:none}

/* Article */
.bj-article{background:#fff;border-radius:8px;padding:18px 16px 20px;margin-top:14px;box-shadow:0 1px 6px rgba(0,0,0,.05)}
.bj-author-bar{display:flex;align-items:center;gap:10px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #f0f0f0}
.bj-author-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#2932e1,#4e6ef2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0}
.bj-author-info{flex:1;min-width:0;display:flex;align-items:center;gap:6px}
.bj-author-name{font-size:14px;font-weight:600;color:#222}
.bj-author-label{font-size:11px;color:#999;background:#f5f5f5;padding:1px 6px;border-radius:3px}
.bj-publish-time{font-size:12px;color:#999;white-space:nowrap}
.bj-article-title{font-size:24px;font-weight:700;color:#222;line-height:1.4;margin-bottom:10px;letter-spacing:.01em}
.bj-article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px;color:#999;padding-bottom:16px;border-bottom:1px solid #f5f5f5}
.bj-meta-dot{color:#ddd}
.bj-article-body{padding-top:16px}
.bj-article-body h2{font-size:17px;font-weight:700;color:#222;margin:22px 0 10px;line-height:1.4}
.bj-article-body h2:first-child{margin-top:0}
.bj-article-body p{text-indent:2em;color:#333;margin-bottom:12px;line-height:1.85;font-size:15px}
.bj-rich{color:#333;line-height:1.85;font-size:15px}
.bj-rich p{text-indent:2em;margin-bottom:.6em}
.bj-info-list{list-style:none;background:#f8f9fc;padding:12px 16px;border-radius:6px;margin-bottom:8px}
.bj-info-list li{padding:6px 0;font-size:14px;color:#555;border-bottom:1px dashed #eee}
.bj-info-list li:last-child{border-bottom:none}
.bj-info-list b{display:inline-block;min-width:88px;color:#999;font-weight:500;font-size:13px}
.bj-note{font-size:13px;color:#999;text-indent:0!important;margin-bottom:12px}

/* Inline feed in char page */
.bj-feed-list-inline .bj-feed-link{padding:12px 0}
.bj-feed-list-inline .bj-feed-thumb{width:80px;height:60px}

/* Footer */
.bj-footer{padding:20px 0 32px;border-top:1px solid #ebebeb;margin-top:8px}
.bj-friends{font-size:12px;color:#999;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin-bottom:10px}
.bj-friends span{color:#666;font-weight:500}
.bj-friends a{color:#999}
.bj-friends a:hover{color:#2932e1;text-decoration:none}
.bj-copyright{text-align:center;font-size:12px;color:#999;line-height:1.6}
.bj-copyright a{color:#999}

@media(max-width:480px){
.bj-header-inner{flex-wrap:wrap}
.bj-search{max-width:none;width:100%;order:3;margin-left:0}
.bj-article-title{font-size:20px}
.bj-feed-thumb{width:80px;height:60px}
.bj-feed-title{font-size:15px}
.bj-article-body p,.bj-rich{font-size:14px}
}
