
/* ============================================================
   观察：手机版 + PC 右栏（.pane-arts）
   ============================================================ */
.ar-wrap { padding: 16px 14px 90px; max-width: 720px; margin: 0 auto; }

.ar-hd { margin-bottom: 14px; }
.ar-title { font-size: 21px; font-weight: 700; margin: 0; letter-spacing: -.3px; }
.ar-sub { margin: 6px 0 0; font-size: 12px; color: #8E8E93; }

.ar-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 12px; }
.ar-tabs::-webkit-scrollbar { height: 0; }
.ar-tab {
  flex: none; padding: 7px 14px; border-radius: 999px; background: #fff;
  font-size: 12.5px; color: #5A5F66; text-decoration: none; border: 1px solid #ECEAEB;
}
.ar-tab.on { background: #C41E3A; border-color: #C41E3A; color: #fff; font-weight: 600; }

.ar-list { display: flex; flex-direction: column; gap: 12px; }
a.ar-card{display:block;text-decoration:none;color:inherit}
a.ar-card:hover{box-shadow:0 2px 10px rgba(17,24,39,.10)}
.ar-card { background: #fff; border: 1px solid #EFF0F3; border-radius: 16px; padding: 16px 18px; box-shadow: 0 1px 3px rgba(17,24,39,.05); }

.ar-top { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.ar-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; background: #F1F2F4; }
.ar-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-av i { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center;
           font-style: normal; font-size: 13px; color: #8E8E93; }
.ar-who { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ar-who b { font-size: 12.5px; font-weight: 600; }
.ar-badge { font-size: 10px; padding: 1px 5px; border-radius: 4px; background: #F4F5F7; color: #6B7280; }
.ar-time { margin-left: auto; font-size: 11.5px; color: #A8ADB5; flex: none; }

.ar-h { font-size: 16.5px; line-height: 1.5; font-weight: 600; margin: 0 0 8px; letter-spacing: -.2px; }
.ar-body { font-size: 13.5px; line-height: 1.8; color: #4B5058; }
.ar-body b, .ar-body strong { font-weight: 600; color: #16181B; }

.ar-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 11.5px; color: #A8ADB5; }
.ar-foot .mi { font-size: 14px; margin-right: 3px; }
.ar-more { margin-left: auto; color: #C41E3A; font-weight: 600; }

.ar-empty { padding: 46px 0; text-align: center; color: #A8ADB5; font-size: 13px; }

/* ---------- PC 右栏 ---------- */
body.pane-arts { background: #FFFFFF; }
body.pane-arts .dt-bar { display: none; }
body.pane-arts .ar-wrap { max-width: 880px; padding: 24px clamp(24px, 3vw, 48px) 56px; }
body.pane-arts .ar-title { font-size: 24px; }
body.pane-arts .ar-tabs { position: sticky; top: 0; background: #FFFFFF; padding-top: 6px; z-index: 2; }
body.pane-arts .ar-card { padding: 20px 24px; }
body.pane-arts .ar-h { font-size: 18px; }
body.pane-arts .ar-body { font-size: 14.5px; line-height: 1.85; }
body.pane-arts .tabbar { display: none !important; }
body.pane-arts .dt-end {
  margin-top: 22px; padding: 16px 0 4px; text-align: center; font-size: 12px; color: #A8ADB5;
}
body.pane-arts .dt-end::before {
  content: ''; display: block; width: 40px; height: 3px; border-radius: 2px;
  background: #E2E0E2; margin: 0 auto 12px;
}

/* 宽屏：两列卡片，别让一列占满 1040 */
@media (min-width: 1500px) {
  body.pane-arts .ar-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
}

/* ar-card 现在是链接（原来点不动），去掉下划线、保持原样式 */
a.ar-card{display:block;text-decoration:none;color:inherit}


/* ============================================================
   按 App 观察页（articles_page / article_page）对齐
   · 标题 22 / 800 / 字距 -.4
   · 副标题 12 / #8E8E93
   · 分类标签：胶囊，选中黑底白字（App 是黑，不是红）
   ============================================================ */
.ar-hd { margin-bottom: 16px; }
.ar-title { font-size: 22px !important; font-weight: 800 !important; letter-spacing: -.4px !important; }
.ar-sub { margin-top: 5px !important; font-size: 12px !important; color: #8E8E93 !important; }

.ar-tabs { gap: 8px !important; padding-bottom: 12px !important; margin-bottom: 14px !important; }
.ar-tab {
  padding: 8px 16px !important; border-radius: 20px !important;
  background: #fff !important; border: 1px solid #ECEDF0 !important;
  font-size: 13px !important; font-weight: 600 !important; color: #6B7079 !important;
}
.ar-tab.on {
  background: #16181B !important; border-color: #16181B !important;
  color: #fff !important; font-weight: 700 !important;
}

/* 卡片：白底 + 1px 描边 + 轻阴影，内边距 18/16 */
.ar-card {
  border: 1px solid #EFF0F3 !important;
  border-radius: 16px !important;
  padding: 16px 18px 6px !important;
  box-shadow: 0 1px 3px rgba(17,24,39,.05), 0 6px 16px rgba(17,24,39,.04) !important;
  margin-bottom: 12px;
}
.ar-list { gap: 0 !important; }


/* 卡片内部：按 App articles_page 的排版参数
   头像 32 · 昵称 13.5/700 · 职位 chip 9.5 · 时间 11.5
   标题 17.5/800/1.45 · 摘要 13.5/1.75 #5A616B · 底部图标行 12 号 */
.ar-top { display: flex; align-items: center; gap: 9px; }
.ar-av { width: 32px !important; height: 32px !important; border-radius: 50%;
         overflow: hidden; flex: none; background: #F7F8FA; }
.ar-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-av i { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center;
           font-style: normal; font-size: 13px; font-weight: 700; color: #9A7078; }

.ar-who { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ar-who b { font-size: 13.5px !important; font-weight: 700 !important; color: #1A1A1E !important; }
.ar-badge {
  padding: 2px 6px !important; border-radius: 4px !important;
  background: #FFF7E6 !important; color: #8A6100 !important;
  border: 1px solid #F2DFB4 !important;
  font-size: 9.5px !important; font-weight: 700 !important;
}
.ar-time { margin-left: auto; font-size: 11.5px !important; color: #B0B4BB !important; }

.ar-h {
  margin: 12px 0 0 !important;
  font-size: 17.5px !important; font-weight: 800 !important;
  line-height: 1.45 !important; letter-spacing: -.3px !important; color: #16181B !important;
}
.ar-body {
  margin-top: 9px !important;
  font-size: 13.5px !important; line-height: 1.75 !important; color: #5A616B !important;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 底部：一条分隔线 + 图标行（跟 App 一致） */
.ar-foot {
  margin: 14px 0 0 !important; padding: 11px 0 !important;
  border-top: 1px solid #F1F2F4 !important;
  display: flex; align-items: center; gap: 18px !important;
  font-size: 12px !important; color: #9AA0AA !important;
}
.ar-foot span { display: flex; align-items: center; gap: 5px; }
.ar-foot svg { width: 15px; height: 15px; }
.ar-more { margin-left: auto; color: #C41E3A !important; font-weight: 700 !important; }

/* 卡片最后一行离底边留 16 */
.ar-card > :last-child { margin-bottom: 4px; }


/* 卡片底部：四个图标均分（跟 App 一致，没有「看全文」） */
.ar-card .ar-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin: 14px 0 0 !important; padding: 12px 0 6px !important;
  border-top: 1px solid #F1F2F4 !important;
}
.ar-fbtn {
  display: inline-flex; align-items: center; gap: 5px;
  border: 0; background: none; padding: 0; text-decoration: none;
  font: inherit; font-size: 12px; color: #9AA0AA; cursor: pointer;
}
.ar-fbtn svg { width: 17px; height: 17px; }
.ar-fbtn.on { color: #C41E3A; }
.ar-fbtn.on svg { stroke: #C41E3A; }
.ar-fbtn:active { opacity: .6; }

/* 卡片底部别再多留白 */
.ar-card > :last-child { margin-bottom: 6px !important; }


/* 卡片容器是 div，正文是内部 a：底栏按钮才不会被浏览器挤出卡片 */
.ar-card { display: block; }
.ar-link { display: block; text-decoration: none; color: inherit; }
.ar-card .ar-foot { margin-top: 12px !important; }


/* 卡片里的图片预览：最多 2 张并排（跟 App 一致） */
.ar-pics { display: flex; gap: 8px; margin-top: 12px; }
.ar-pic {
  flex: 1; height: 118px; border-radius: 10px; background-size: cover;
  background-position: center; background-color: #F2F3F5; min-width: 0;
}
.ar-pics.one .ar-pic { flex: none; width: 62%; }

/* 神评条 */
.ar-hotc {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 0 0; padding: 10px 12px;
  background: #F8F9FB; border-radius: 10px;
  font-size: 12.5px; color: #5A616B;
}
.ar-hotc-tag {
  flex: none; font-size: 11px; font-weight: 800; color: #C41E3A;
  background: #FFF0F3; border-radius: 5px; padding: 2px 7px;
}
.ar-hotc-tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-hotc-like {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: #9AA0AA;
}
.ar-hotc-like svg { width: 14px; height: 14px; }
