.feed-card, .purchase-card { width: 100%; min-width: 0; overflow: hidden; }
.feed-info, .purchase-info { min-width: 0; overflow: hidden; }
.feed-info h3 { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; line-height: 1.45; word-break: break-word; }
.feed-cover { overflow: hidden; }
.feed-cover .feed-cover-image { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.article-card-stats { display: flex; gap: 10px; margin-top: 5px; color: #92909a; font-size: 10px; }
.article-loading { padding: 56px 20px; color: var(--muted); text-align: center; font-size: 13px; }
.article-meta-line { display: flex; align-items: center; gap: 7px; min-width: 0; flex-wrap: wrap; }
.article-meta-line .feed-date { flex-basis: 100%; margin-left: 0; }
.feed-date-row { display: block; width: 100%; margin-top: 5px; color: #aaa8b0; font-size: 10px; }
.article-author-line { display: flex !important; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
.article-author-line strong { flex: none; color: #494653; }
.article-author-line .article-subtitle { max-width: 62%; }
.article-subtitle { display: inline-block; max-width: 48%; overflow: hidden; padding: 2px 6px; border-radius: 8px; background: #f3f1ff; color: #6656d4; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.detail-subtitle { max-width: none; margin: -2px 0 10px; padding: 0; background: none; color: var(--muted); font-size: 14px; white-space: normal; }
.author-update { display: inline-block; margin-top: 5px; padding: 3px 6px; border-radius: 9px; background: #fff0f4; color: var(--accent); font-size: 9px; font-weight: 800; }
.article-heat { color: #e56a55; font-weight: 700; }
.article-reads { color: #92909a; }
.original-price { margin-left: 8px; color: #aaa; font-size: 10px; }
.original-price::before { content: '原价 '; }
.detail-avatar { width: 84px; height: 84px; }
.article-page .article-author-avatar { width: 56px; height: 56px; }
.article-page h1 { font-size: clamp(24px, 6vw, 34px); line-height: 1.35; word-break: break-word; margin: 14px 0 8px; }
.article-page .byline { display:flex; flex-wrap:wrap; gap:8px; padding:10px 0 14px; border-bottom:1px solid var(--line); }
.article-free-content, .article-paid-content { padding:16px; border-radius:14px; background:#fff; box-shadow:0 4px 14px rgba(44,42,63,.05); }
.article-paid-content { position:relative; overflow:hidden; }
.article-paid-content:not(:has(.article-rich-text)) { min-height:90px; }
@media(max-width:600px){.article-page{padding:0 2px}.article-page .article-author-card{margin-bottom:8px}.article-page .article-body{font-size:15px;line-height:1.9}.detail-subtitle{font-size:13px;line-height:1.6}}

/* Keep every article card inside the viewport on narrow screens. */
.feed-card,
.purchase-card { align-items: flex-start; width: 100%; min-width: 0; overflow: hidden; }
.feed-info,
.purchase-info { min-width: 0; flex: 1 1 auto; overflow: hidden; }
.feed-info h3,
.purchase-info h3 { max-width: 100%; word-break: break-word; }
.feed-cover { overflow: hidden; }
.feed-cover-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-author-line { min-width: 0; max-width: 100%; overflow: hidden; }
.article-author-line .article-subtitle { flex: 0 1 auto; max-width: 65%; }
.article-meta-line { width: 100%; row-gap: 4px; }
.article-meta-line .feed-date { flex-basis: 100%; margin-left: 0; }
.purchase-info > small.article-author-line { display: flex; }
.article-free-content, .article-paid-content { margin-top: 18px; }
.content-label { display: inline-block; margin-bottom: 8px; padding: 4px 9px; border-radius: 10px; background: #f3f1ff; color: #6656d4; font-size: 11px; font-weight: 700; }
.article-paid-content .content-label { background: #fff0f4; color: var(--accent); }
.article-paid-content.locked { background: linear-gradient(135deg,#fff7fa,#f8f6ff); border:1px solid #f1dce5; }
.paid-content-mask { min-height:110px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:#8c7480; text-align:center; background:repeating-linear-gradient(-45deg,rgba(255,255,255,.45),rgba(255,255,255,.45) 8px,rgba(245,235,241,.45) 8px,rgba(245,235,241,.45) 16px); border-radius:10px; }
.paid-content-mask span { font-size:24px; }
.paid-content-mask .paid-hint { margin:0; color:var(--muted); font-size:12px; }
.paid-content-mask .balance-tip { display:block; margin-top:2px; color:var(--accent); font-size:12px; font-weight:700; }
.paid-content-mask .primary-btn { min-width:170px; margin-top:4px; }

/* Compatibility for pages rendered by an older cached bundle.  Purchase
   controls now live inside .paid-content-mask; the old standalone panel must
   never reappear below the paid-content section. */
.article-page .paywall,
.article-page .unlock-note { display: none !important; }
