/* =====================================================================
 * 探极社区 tjsq — PC 样式（PRD v2.1：PC 三栏布局）
 * 编码 UTF-8 · 类前缀 tjsq_ · 2026-10-14
 * ===================================================================== */
.tjsq_wrap { max-width: 1240px; margin: 16px auto; padding: 0 12px; display: grid; grid-template-columns: 224px 1fr 272px; gap: 14px; align-items: start; }
.tjsq_main { min-width: 0; }
.tjsq_side_l, .tjsq_side_r { position: sticky; top: 12px; }

/* ---- 个人条 ---- */
.tjsq_mebar { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tjsq_mebar .av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #eef2f7; }
.tjsq_mebar .hh { font-weight: 600; font-size: 15px; color: #1f2733; }
.tjsq_mebar .hh a { color: #1677ff; text-decoration: none; }
.tjsq_mebar .sub { font-size: 12px; color: #8a94a6; margin-top: 2px; }
.tjsq_mebar .sp { flex: 1; }

/* ---- 快捷入口 ---- */
.tjsq_quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.tjsq_quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border-radius: 10px; padding: 12px 4px; font-size: 13px; color: #3c4657; text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: .15s; }
.tjsq_quick a:hover { color: #1677ff; transform: translateY(-1px); }
.tjsq_quick .ic { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; background: #eef4ff; }

/* ---- Tab ---- */
.tjsq_tabs { display: flex; gap: 6px; overflow-x: auto; background: #fff; border-radius: 10px; padding: 8px 10px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); scrollbar-width: none; }
.tjsq_tabs::-webkit-scrollbar { display: none; }
.tjsq_tab { flex: 0 0 auto; padding: 6px 14px; border-radius: 16px; font-size: 13px; color: #5a6577; text-decoration: none; white-space: nowrap; }
.tjsq_tab:hover { background: #f2f5fa; color: #1677ff; }
.tjsq_tab.on { background: #1677ff; color: #fff; }
.tjsq_tab.more { color: #8a94a6; }

/* ---- Feed 卡片 ---- */
.tjsq_card { background: #fff; border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tjsq_card .au { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5a6577; }
.tjsq_card .au img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.tjsq_card .au .hh { font-weight: 600; color: #1f2733; }
.tjsq_card .au .hh a { color: #1f2733; text-decoration: none; }
.tjsq_badge { display: inline-block; font-size: 11px; line-height: 1; padding: 3px 6px; border-radius: 4px; margin-left: 4px; vertical-align: 1px; }
.tjsq_badge.cert { background: #fff7e6; color: #d46b08; border: 1px solid #ffd591; }
.tjsq_badge.karma { background: #f6ffed; color: #389e0d; border: 1px solid #b7eb8f; }
.tjsq_badge.lv { background: #e6f4ff; color: #0958d9; border: 1px solid #91caff; }
.tjsq_badge.expert { background: #f9f0ff; color: #722ed1; border: 1px solid #d3adf7; }
.tjsq_card h3 { margin: 10px 0 6px; font-size: 16px; line-height: 1.5; }
.tjsq_card h3 a { color: #1f2733; text-decoration: none; }
.tjsq_card h3 a:hover { color: #1677ff; }
.tjsq_card .sm { font-size: 13px; color: #8a94a6; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tjsq_card .cv { margin-top: 10px; border-radius: 8px; overflow: hidden; max-height: 260px; }
.tjsq_card .cv img { width: 100%; object-fit: cover; display: block; }
.tjsq_chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tjsq_chip { font-size: 12px; background: #f2f5fa; color: #5a6577; border-radius: 4px; padding: 3px 8px; }
.tjsq_chip.band { background: #e6f4ff; color: #0958d9; }
.tjsq_chip.tag { background: #f6ffed; color: #389e0d; cursor: pointer; }
.tjsq_qso { margin-top: 10px; border: 1px solid #e3e9f2; border-radius: 8px; padding: 10px 12px; background: #fafbfd; font-size: 13px; }
.tjsq_qso .tt { font-weight: 600; color: #1f2733; margin-bottom: 6px; }
.tjsq_qso .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 4px 12px; color: #5a6577; }
.tjsq_qso .mt { color: #389e0d; font-size: 12px; }
.tjsq_acts { display: flex; gap: 18px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f0f2f5; font-size: 13px; color: #8a94a6; }
.tjsq_acts span { cursor: pointer; user-select: none; }
.tjsq_acts span:hover { color: #1677ff; }
.tjsq_acts span.on { color: #1677ff; font-weight: 600; }
.tjsq_follow { margin-left: auto; border: 1px solid #1677ff; color: #1677ff; border-radius: 14px; padding: 3px 12px; font-size: 12px; cursor: pointer; background: #fff; }
.tjsq_follow.on { background: #f2f5fa; border-color: #d0d7e2; color: #8a94a6; }

/* ---- 侧栏盒子 ---- */
.tjsq_box { background: #fff; border-radius: 10px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tjsq_box .bt { font-size: 14px; font-weight: 600; color: #1f2733; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.tjsq_box .bt a { font-size: 12px; color: #8a94a6; text-decoration: none; font-weight: 400; }
.tjsq_box ul { list-style: none; margin: 0; padding: 0; }
.tjsq_box li { font-size: 13px; color: #5a6577; padding: 6px 0; border-bottom: 1px dashed #f0f2f5; display: flex; justify-content: space-between; gap: 8px; }
.tjsq_box li:last-child { border-bottom: 0; }
.tjsq_box li a { color: #5a6577; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tjsq_box li a:hover { color: #1677ff; }
.tjsq_box li .n { color: #b6bfcc; font-size: 12px; flex: 0 0 auto; }
.tjsq_box .rank_no { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 4px; background: #f2f5fa; color: #8a94a6; font-size: 12px; margin-right: 6px; }
.tjsq_box .rank_no.top { background: #fff2e8; color: #d4380d; }

/* ---- 分类树（左栏） ---- */
.tjsq_tree { background: #fff; border-radius: 10px; padding: 8px 0; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tjsq_tree .fq { padding: 8px 14px; font-size: 14px; font-weight: 600; color: #1f2733; }
.tjsq_tree .fq a { color: #1f2733; text-decoration: none; }
.tjsq_tree a.bk { display: block; padding: 6px 14px 6px 24px; font-size: 13px; color: #5a6577; text-decoration: none; }
.tjsq_tree a.bk:hover, .tjsq_tree a.bk.on { background: #f2f7ff; color: #1677ff; }

/* ---- 详情页 ---- */
.tjsq_post { background: #fff; border-radius: 10px; padding: 20px 24px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tjsq_post h1 { font-size: 20px; line-height: 1.5; margin: 12px 0; color: #1f2733; }
.tjsq_post .meta { font-size: 13px; color: #8a94a6; display: flex; gap: 14px; flex-wrap: wrap; }
.tjsq_post .ct { font-size: 14.5px; line-height: 1.85; color: #2a3342; margin: 16px 0; word-break: break-word; }
.tjsq_post .ct img { max-width: 100%; border-radius: 8px; }
.tjsq_post .ct pre { background: #f6f8fa; border-radius: 8px; padding: 12px; overflow: auto; font-size: 13px; }
.tjsq_post .ct code { background: #f2f5fa; border-radius: 4px; padding: 1px 5px; font-size: 13px; }
.tjsq_post .ct pre code { background: none; padding: 0; }
.tjsq_medias { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 12px 0; }
.tjsq_medias img, .tjsq_medias video { width: 100%; border-radius: 8px; display: block; }
.tjsq_replies { background: #fff; border-radius: 10px; padding: 20px 24px; margin-top: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tjsq_replies .rt { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.tjsq_reply { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #f0f2f5; }
.tjsq_reply img.av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.tjsq_reply .rb { flex: 1; min-width: 0; }
.tjsq_reply .rh { font-size: 13px; color: #8a94a6; }
.tjsq_reply .rh .hh { color: #3c4657; font-weight: 600; margin-right: 6px; }
.tjsq_reply .rc { font-size: 14px; line-height: 1.7; color: #2a3342; margin: 4px 0; word-break: break-word; }
.tjsq_reply .rf { font-size: 12px; color: #b6bfcc; display: flex; gap: 14px; }
.tjsq_reply .rf span { cursor: pointer; }
.tjsq_reply .rf span:hover { color: #1677ff; }
.tjsq_reply .adopt_tag { background: #f6ffed; color: #389e0d; border: 1px solid #b7eb8f; font-size: 11px; border-radius: 4px; padding: 2px 6px; margin-left: 6px; }
.tjsq_children { margin-left: 42px; }
.tjsq_children .tjsq_reply { border-bottom: 0; padding: 8px 0; }
.tjsq_adopt_btn { border: 1px solid #52c41a; color: #389e0d; background: #fff; border-radius: 12px; font-size: 12px; padding: 2px 10px; cursor: pointer; }

/* ---- 表单（发帖页） ---- */
.tjsq_form { background: #fff; border-radius: 10px; padding: 22px 24px; box-shadow: 0 1px 4px rgba(0,0,0,.05); max-width: 860px; }
.tjsq_form .row { margin-bottom: 16px; }
.tjsq_form label { display: block; font-size: 13px; color: #3c4657; margin-bottom: 6px; font-weight: 600; }
.tjsq_form input[type=text], .tjsq_form select, .tjsq_form textarea { width: 100%; border: 1px solid #d0d7e2; border-radius: 8px; padding: 9px 12px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.tjsq_form input:focus, .tjsq_form select:focus, .tjsq_form textarea:focus { outline: none; border-color: #1677ff; }
.tjsq_form textarea { min-height: 220px; resize: vertical; line-height: 1.7; }
.tjsq_form .tip { font-size: 12px; color: #b6bfcc; margin-top: 4px; }
.tjsq_btn { display: inline-block; background: #1677ff; color: #fff; border: 0; border-radius: 8px; padding: 9px 26px; font-size: 14px; cursor: pointer; text-decoration: none; }
.tjsq_btn:hover { background: #4096ff; }
.tjsq_btn.ghost { background: #fff; color: #5a6577; border: 1px solid #d0d7e2; }
.tjsq_btn.green { background: #52c41a; }
.tjsq_btn.green:hover { background: #73d13d; }

/* ---- 列表页（版块/问答/搜索） ---- */
.tjsq_listhead { background: #fff; border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tjsq_listhead h1 { font-size: 18px; margin: 0 0 6px; color: #1f2733; }
.tjsq_listhead .ms { font-size: 13px; color: #8a94a6; }
.tjsq_listhead .gate { font-size: 12px; color: #d46b08; margin-top: 6px; }
.tjsq_empty { background: #fff; border-radius: 10px; padding: 48px 20px; text-align: center; color: #8a94a6; font-size: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tjsq_empty a { color: #1677ff; text-decoration: none; }

/* ---- 搜索 ---- */
.tjsq_searchbox { display: flex; gap: 8px; margin-bottom: 12px; }
.tjsq_searchbox input { flex: 1; border: 1px solid #d0d7e2; border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.tjsq_searchbox input:focus { outline: none; border-color: #1677ff; }
.tjsq_hotkw { font-size: 12px; color: #8a94a6; margin-bottom: 12px; }
.tjsq_hotkw a { display: inline-block; background: #fff; border-radius: 12px; padding: 3px 10px; margin-right: 6px; color: #5a6577; text-decoration: none; }

/* ---- 个人中心 ---- */
.tjsq_profile { background: #fff; border-radius: 10px; padding: 22px 24px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); display: flex; gap: 18px; align-items: center; }
.tjsq_profile img.av { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.tjsq_profile .hh { font-size: 20px; font-weight: 700; color: #1f2733; }
.tjsq_profile .st { font-size: 13px; color: #8a94a6; margin-top: 6px; display: flex; gap: 16px; flex-wrap: wrap; }
.tjsq_profile .st b { color: #1f2733; }
.tjsq_titles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tjsq_mynav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tjsq_mynav a { background: #fff; border-radius: 8px; padding: 7px 14px; font-size: 13px; color: #5a6577; text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tjsq_mynav a:hover { color: #1677ff; }

/* ---- 用户列表（关注/粉丝） ---- */
.tjsq_users { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tjsq_users .u { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f5f6f8; }
.tjsq_users .u:last-child { border-bottom: 0; }
.tjsq_users .u img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.tjsq_users .u .hh { font-weight: 600; color: #1f2733; }
.tjsq_users .u .hh a { color: #1f2733; text-decoration: none; }
.tjsq_users .u .sub { font-size: 12px; color: #8a94a6; }

/* ---- 公告 ---- */
.tjsq_gg { background: #fff; border-radius: 10px; padding: 24px 28px; box-shadow: 0 1px 4px rgba(0,0,0,.05); max-width: 860px; }
.tjsq_gg h1 { font-size: 19px; margin: 0 0 8px; }
.tjsq_gg .dt { font-size: 12px; color: #b6bfcc; margin-bottom: 16px; }
.tjsq_gg .ct { font-size: 14.5px; line-height: 1.9; color: #2a3342; white-space: pre-wrap; }

/* ---- 响应式：<1080px 收右栏，<880px 收左栏 ---- */
@media (max-width: 1080px) { .tjsq_wrap { grid-template-columns: 200px 1fr; } .tjsq_side_r { display: none; } }
@media (max-width: 880px) { .tjsq_wrap { grid-template-columns: 1fr; } .tjsq_side_l { display: none; } .tjsq_quick { grid-template-columns: repeat(4, 1fr); } }

/* ---- 实时通联 Presence（首页「实时通联」框） ---- */
.tjsq_pre_item { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px dashed #eef1f6; font-size: 13px; }
.tjsq_pre_item:first-child { border-top: 0; padding-top: 2px; }
.tjsq_pre_mod { flex: 0 0 40px; text-align: center; font-size: 11px; font-weight: 600; color: #1677ff; background: #eef4ff; border-radius: 4px; padding: 2px 0; }
.tjsq_pre_name { flex: 1; min-width: 0; color: #2a3342; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tjsq_pre_call { flex: 0 0 auto; color: #8a94a6; font-size: 12px; }
.tjsq_pre_speak { margin-left: 6px; color: #fa8c16; font-size: 12px; }
.tjsq_pre_on { flex: 0 0 auto; color: #52c41a; font-weight: 600; }
.tjsq_pre_on.zero { color: #b6bfcc; font-weight: 400; }
