:root { font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: #eaf1ff; background: #070d23; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 15% 10%, rgba(0, 193, 255, .1), transparent 32%), #070d23; }
a { color: inherit; }
.article-nav { position: sticky; top: 0; z-index: 10; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100% - 1120px) / 2)); border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(5,10,29,.9); backdrop-filter: blur(18px); }
.article-brand { display: flex; align-items: center; gap: 11px; color: #fff; font-size: 19px; font-weight: 700; text-decoration: none; }
.article-brand img { width: 37px; height: 37px; object-fit: contain; }
.article-nav-links { display: flex; align-items: center; gap: 28px; }
.article-nav-links a { color: #aeb9ce; font-size: 14px; text-decoration: none; }
.article-nav-links a:hover { color: #2bdcff; }
.article-consult { padding: 9px 17px; border-radius: 999px; color: #06112b !important; background: linear-gradient(90deg, #18d7f5, #6873ff); font-weight: 700; }
.article-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.article-hero { padding: 78px 0 52px; text-align: center; }
.article-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; color: #37e2ff; background: rgba(0, 210, 255, .1); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.article-hero h1 { margin: 18px 0 14px; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.045em; }
.article-hero p { max-width: 720px; margin: 0 auto; color: #aeb9ce; line-height: 1.85; }
.article-filter { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.article-filter input, .article-filter select { height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #eaf1ff; background: rgba(255,255,255,.045); font: inherit; }
.article-filter input { min-width: 0; flex: 1; }
.article-filter select { min-width: 160px; }
.article-filter option { color: #172033; background: #fff; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 42px; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(255,255,255,.035); transition: transform .25s ease, border-color .25s ease; }
.article-card:hover { transform: translateY(-5px); border-color: rgba(43,220,255,.35); }
.article-cover { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; background: linear-gradient(135deg, rgba(0,218,255,.2), rgba(107,99,255,.22)); }
.article-cover-placeholder { display: grid; place-items: center; color: rgba(255,255,255,.62); font-size: 13px; letter-spacing: .12em; }
.article-card-body { padding: 22px; }
.article-meta { display: flex; justify-content: space-between; gap: 12px; color: #7f8ca5; font-size: 12px; }
.article-category { color: #38dfff; font-weight: 700; }
.article-card h2 { margin: 13px 0 10px; font-size: 19px; line-height: 1.45; }
.article-card p { min-height: 72px; margin: 0; color: #aeb9ce; font-size: 14px; line-height: 1.75; }
.article-read { display: inline-block; margin-top: 18px; color: #56e4ff; font-size: 13px; font-weight: 700; text-decoration: none; }
.article-empty, .article-loading { grid-column: 1 / -1; padding: 58px 20px; border: 1px dashed rgba(255,255,255,.14); border-radius: 16px; color: #95a1b7; text-align: center; }
.article-pagination { display: flex; justify-content: center; gap: 10px; padding-bottom: 72px; }
.article-pagination button { min-width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; color: #bdc7d9; background: rgba(255,255,255,.04); cursor: pointer; }
.article-pagination button:disabled { opacity: .35; cursor: not-allowed; }
.article-footer { padding: 30px 20px; border-top: 1px solid rgba(255,255,255,.08); color: #77839a; font-size: 12px; text-align: center; }

/* 详情页正文限制阅读宽度，保证长文章在桌面端和移动端都有稳定阅读节奏。 */
.detail-shell { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.detail-header { padding: 72px 0 36px; border-bottom: 1px solid rgba(255,255,255,.09); }
.detail-header h1 { margin: 16px 0 18px; font-size: clamp(32px, 5vw, 50px); line-height: 1.22; letter-spacing: -.04em; }
.detail-summary { color: #b9c4d7; font-size: 17px; line-height: 1.85; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 22px; color: #7f8ba2; font-size: 13px; }
.detail-cover { width: 100%; max-height: 480px; margin: 34px 0 0; border-radius: 18px; object-fit: cover; }
.detail-content { padding: 42px 0 30px; color: #d3dbea; font-size: 16px; line-height: 2; }
.detail-content p { margin: 0 0 24px; white-space: pre-wrap; }
.detail-content h2 { margin: 42px 0 16px; color: #fff; font-size: 25px; line-height: 1.45; }
.detail-content h3 { margin: 32px 0 14px; color: #edf4ff; font-size: 20px; }
.detail-content ul { margin: 0 0 24px; padding-left: 22px; }
.detail-content ol { margin: 0 0 24px; padding-left: 24px; }
.detail-content blockquote { margin: 24px 0; padding: 14px 18px; border-left: 3px solid #37e2ff; color: #c3cee0; background: rgba(55,226,255,.07); }
.detail-content a { color: #56e4ff; text-underline-offset: 3px; }
.related-articles { padding: 14px 0 24px; }
.related-articles h2 { margin: 0 0 18px; font-size: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-grid a { min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.035); text-decoration: none; }
.related-grid strong { display: block; margin-bottom: 8px; color: #eef5ff; font-size: 14px; line-height: 1.5; }
.related-grid span { display: -webkit-box; overflow: hidden; color: #8f9bb1; font-size: 12px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.detail-cta { margin: 24px 0 72px; padding: 28px; border: 1px solid rgba(0,220,255,.18); border-radius: 18px; background: linear-gradient(135deg, rgba(0,220,255,.08), rgba(108,99,255,.08)); }
.detail-cta h2 { margin: 0 0 8px; font-size: 22px; }
.detail-cta p { margin: 0 0 18px; color: #aab6ca; line-height: 1.75; }
.detail-cta a { display: inline-flex; margin-right: 10px; padding: 10px 17px; border-radius: 999px; color: #06112b; background: #27ddf8; font-weight: 700; text-decoration: none; }
.detail-error { padding: 100px 20px; color: #aeb9ce; text-align: center; }

/* 爱番番在线咨询入口与官网保持统一的安全边距、尺寸和视觉强调。 */
#aff-im-root .embed-icon { top: 68% !important; right: max(14px, env(safe-area-inset-right)) !important; transform: translateY(-50%) !important; }
#aff-im-root .embed-icon-default { width: 64px !important; height: 142px !important; background-size: contain !important; filter: drop-shadow(0 10px 22px rgba(0,229,255,.34)); animation: consultationAttention 3.2s ease-in-out infinite; }
#aff-im-root .embed-hot-issue { right: 4px !important; }
@keyframes consultationAttention { 0%, 100% { filter: drop-shadow(0 10px 22px rgba(0,229,255,.28)); } 50% { filter: drop-shadow(0 12px 30px rgba(104,115,255,.58)); } }

@media (max-width: 820px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { #aff-im-root .embed-icon { top: 72% !important; right: max(8px, env(safe-area-inset-right)) !important; } #aff-im-root .embed-icon-default { width: 60px !important; height: 134px !important; } .article-nav { padding: 0 16px; } .article-nav-links a:not(.article-consult) { display: none; } .article-hero { padding-top: 54px; } .article-filter { align-items: stretch; flex-direction: column; } .article-filter select { width: 100%; } .article-grid, .related-grid { grid-template-columns: 1fr; } .detail-header { padding-top: 52px; } .detail-cta a { margin-bottom: 10px; } }
@media (prefers-reduced-motion: reduce) { #aff-im-root .embed-icon-default { animation: none; } }
