/* 1.2.33 · 侧栏小工具：单列紧凑列表（缩略图 + 标题 + 价格），不受主列表网格影响 */
body.xhc-cosmos .sidebar .widget-ajaxpager,body.xhc-cosmos .sidebar .xhc-quote-grid,body.xhc-cosmos .xhc-side-list{display:flex!important;flex-direction:column;gap:10px!important;grid-template-columns:none!important;padding:0!important;margin:0!important}
body.xhc-cosmos .sidebar .posts-item.card{display:grid!important;grid-template-columns:104px minmax(0,1fr);gap:0 12px;align-items:start;width:100%!important;max-width:100%;height:auto!important;margin:0!important;padding:8px!important;border-radius:12px!important;grid-column:auto!important;grid-row:auto!important}
body.xhc-cosmos .sidebar .posts-item.card::before{display:none!important}
body.xhc-cosmos .sidebar .posts-item.card .item-thumbnail{grid-row:1/span 2;width:104px!important;height:0!important;min-height:0!important;padding-bottom:58.5%!important;margin:0!important;border-radius:8px!important;overflow:hidden;position:relative;flex:none!important}
body.xhc-cosmos .sidebar .posts-item.card .item-thumbnail img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover;border-radius:8px!important}
body.xhc-cosmos .sidebar .posts-item.card .item-thumbnail::after,body.xhc-cosmos .sidebar .posts-item.card .item-thumbnail>:not(a,img){display:none!important}
body.xhc-cosmos .sidebar .posts-item.card .item-body{display:block!important;min-width:0;padding:0!important;margin:0!important}
body.xhc-cosmos .sidebar .posts-item.card .item-heading{font-size:13px!important;line-height:1.45!important;min-height:0!important;height:auto!important;max-height:2.9em!important;margin:0 0 4px!important;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word;white-space:normal}
body.xhc-cosmos .sidebar .posts-item.card :is(.item-tags,.item-meta,.item-excerpt){display:none!important}
body.xhc-cosmos .sidebar .xhc-course-quotes{margin:0!important;padding:0!important;display:flex!important;flex-wrap:wrap;align-items:baseline;gap:4px 8px;background:none!important;border:0!important;box-shadow:none!important}
body.xhc-cosmos .sidebar .xhc-course-quotes>*{margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;min-width:0;width:auto!important;display:flex!important;flex-wrap:wrap;gap:4px 8px;align-items:baseline}
body.xhc-cosmos .sidebar .xhc-course-quotes .xhc-quote-tier{padding:1px 6px!important;border-radius:999px!important;font-size:11px;background:rgba(127,127,160,.12)!important;display:inline-flex!important;gap:3px;align-items:baseline}
body.xhc-cosmos .sidebar .xhc-course-quotes :is(.xhc-quote-note,.xhc-quote-label,.xhc-quote-tier-name svg,.xhc-quote-tier-name i,.xhc-quote-tier-name img){display:none!important}
body.xhc-cosmos .sidebar .xhc-course-quotes .xhc-quote-amount b{font-size:15px!important;line-height:1.1}
body.xhc-cosmos .sidebar .xhc-course-quotes .xhc-quote-tier .xhc-quote-amount b,body.xhc-cosmos .sidebar .xhc-course-quotes .xhc-quote-restricted{font-size:12px!important}
body.xhc-cosmos .sidebar .xhc-course-quotes .xhc-quote-tier-name{font-size:11px;white-space:nowrap}
body.xhc-cosmos .sidebar .widget-ajaxpager>:is(.pagenav,.post_ajax_loader,.ajax-pag){width:100%}
body.xhc-cosmos .sidebar .posts-item.card .xhc-course-quotes .xhc-quote-members{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:4px!important;width:100%!important}
body.xhc-cosmos .sidebar .posts-item.card .xhc-course-quotes .xhc-quote-tier{flex-direction:row!important;width:auto!important;max-width:100%;justify-content:flex-start;padding:2px 7px!important;gap:4px!important;border-radius:999px!important}
body.xhc-cosmos .sidebar .posts-item.card .xhc-course-quotes .xhc-quote-tier .xhc-quote-amount{display:inline-flex;align-items:baseline;gap:2px;font-size:10px}
body.xhc-cosmos .sidebar .posts-item.card{box-sizing:border-box;overflow:hidden}
body.xhc-cosmos .sidebar .posts-item.card .xhc-course-quotes .xhc-quote-tier :is(b,strong,.xhc-quote-amount b,.xhc-quote-free){font-size:12px!important;letter-spacing:0!important;white-space:nowrap}
body.xhc-cosmos .sidebar .posts-item.card .xhc-course-quotes .xhc-quote-tier-name{font-size:10.5px!important;max-width:9em;overflow:hidden;text-overflow:ellipsis}
body.xhc-cosmos .sidebar .widget-tab-post .tab-content>.tab-pane{margin-left:0!important;margin-right:0!important}
body.xhc-cosmos .sidebar .xhc-side-list>.posts-item.card.xhc-side-card .xhc-course-quotes .xhc-quote-tier .xhc-quote-amount b{font-size:12px!important;line-height:1.3!important}
body.xhc-cosmos .sidebar .xhc-side-list>.posts-item.card.xhc-side-card .xhc-course-quotes .xhc-quote-main .xhc-quote-amount b{font-size:15px!important}
/* 1.2.33 · 窄卡（手机两列 / 中英混排）：会员价行不溢出卡片 */
@media (max-width:767px){
  body.xhc-cosmos .posts-item.card .xhc-course-quotes .xhc-quote-tier{flex-wrap:wrap!important;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden}
  body.xhc-cosmos .posts-item.card .xhc-course-quotes .xhc-quote-tier .xhc-quote-tier-name{flex:1 1 0;min-width:0}
  body.xhc-cosmos .posts-item.card .xhc-course-quotes .xhc-quote-tier .xhc-quote-amount{flex:0 1 auto;min-width:0;max-width:100%}
  body.xhc-cosmos .posts-item.card .xhc-course-quotes .xhc-quote-tier.xhc-tier-free .xhc-quote-amount b{font-size:12px!important;white-space:normal;line-height:1.25}
}
@media (max-width:767px){
  body.xhc-cosmos.xhc-i18n .posts-item.card .xhc-course-quotes .xhc-quote-tier.xhc-tier-free{flex-direction:column!important;align-items:flex-start!important;gap:2px!important}
  body.xhc-cosmos.xhc-i18n .posts-item.card .xhc-course-quotes .xhc-quote-tier .xhc-quote-amount b{font-size:12px!important}
}
