/* ============================================================
   个人中心 / 会员中心 —— tianji123.cn
   配色与站内一致：纸底 #FBF7EE / 边线 #E0D8C8 / 主色 #8C5A3C / 金 #A8863F
   ============================================================ */
.tj-center {
  max-width: 860px; margin: 0 auto; padding: 4px 0 40px;
  font-family: "楷体", "KaiTi", "STKaiti", "Kaiti SC", "LXGW WenKai", "Songti SC", serif; color: #3a2f1c;
}
.tj-center .tc-title {
  font-family: "楷体", "KaiTi", "STKaiti", serif; font-size: 30px; font-weight: 700;
  color: #2F3E2E; letter-spacing: 4px; text-align: center; margin: 6px 0 22px;
}
.tc-card {
  background: #FDF9F1; border: 1px solid #E0D8C8; border-radius: 12px;
  box-shadow: 0 1px 4px rgba(90,67,34,.06); padding: 18px 20px; margin-bottom: 14px;
}
.tc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tc-label { font-size: 15px; color: #8d8574; letter-spacing: .06em; margin-bottom: 6px; }
.tc-value { font-size: 30px; font-weight: 700; color: #8C5A3C; letter-spacing: 1px; line-height: 1.3; }
.tc-sub { font-size: 13px; color: #9a917e; margin-top: 6px; line-height: 1.7; }
.tc-sub b { color: #5a4322; }
.tc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-bottom: 14px; }
.tc-num { font-size: 26px; font-weight: 700; color: #2F3E2E; line-height: 1.3; }
.tc-num b { font-size: 34px; color: #8C5A3C; }
.tc-num i { font-style: normal; font-size: 14px; color: #9a917e; }

.tc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit; font-size: 15px; color: #fff; background: #8C5A3C;
  border: 1px solid #8C5A3C; border-radius: 9px; padding: 9px 20px; cursor: pointer;
  text-decoration: none !important; transition: background .16s, color .16s, border-color .16s, box-shadow .16s;
}
.tc-btn:hover, .tc-btn:focus { background: #7a4c31; border-color: #7a4c31; color: #fff; }
.tc-btn-ghost { color: #8C5A3C; background: #FBF7EE; border-color: #E0D8C8; }
.tc-btn-ghost:hover, .tc-btn-ghost:focus { color: #fff; background: #8C5A3C; border-color: #8C5A3C; }
.tc-btn-add { white-space: nowrap; }
.tc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 22px; }

.tc-disc { background: #F7F3E9; border: 1px dashed #E0D8C8; border-radius: 12px; padding: 16px 20px; }
.tc-disc h3 { font-size: 15px; color: #8C5A3C; margin: 0 0 10px; letter-spacing: .1em; font-family: "楷体","KaiTi",serif; }
.tc-disc p { font-size: 13.5px; line-height: 1.9; color: #6b6353; margin: 0 0 9px; }
.tc-disc p:last-child { margin-bottom: 0; }
.tc-disc b { color: #8C5A3C; }
.tc-login { text-align: center; padding: 40px 20px; }

/* ---------------- 激活码弹窗 ---------------- */
.tc-modal { position: fixed; inset: 0; z-index: 100010; display: flex; align-items: center; justify-content: center; }
.tc-modal[hidden] { display: none; }
.tc-modal-mask { position: absolute; inset: 0; background: rgba(40,30,15,.55); }
.tc-modal-box {
  position: relative; width: min(92vw, 420px); background: #FFFDF5; border: 2px solid #D9C8A6;
  border-radius: 12px; padding: 22px 24px 20px; box-shadow: 0 18px 40px rgba(60,40,10,.28);
  font-family: "楷体", "KaiTi", "STKaiti", "Kaiti SC", "LXGW WenKai", serif;
}
.tc-modal-box h3 { margin: 0 0 8px; font-size: 19px; color: #5a4322; letter-spacing: .08em; font-family: "楷体","KaiTi",serif; }
.tc-modal-tip { font-size: 13.5px; color: #8d8574; line-height: 1.8; margin: 0 0 14px; }
.tc-modal-tip b { color: #8C5A3C; }
.tc-input {
  width: 100%; box-sizing: border-box; font-family: inherit; font-size: 17px; letter-spacing: 1px;
  color: #5a4322; background: #fff; border: 1px solid #E0D8C8; border-radius: 9px;
  padding: 11px 13px; outline: none; text-transform: uppercase;
}
.tc-input:focus { border-color: #C2A26B; box-shadow: 0 0 0 2px rgba(140,90,60,.10); }
.tc-msg { min-height: 22px; font-size: 13.5px; color: #c0392b; margin: 8px 0 4px; line-height: 1.6; }
.tc-msg.ok { color: #2e7d32; }
.tc-modal-btns { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------------- 主页悬浮「个人中心」按钮（只有四个字） ---------------- */
.tj-fab {
  position: fixed; right: 22px; bottom: 76px; z-index: 100001;   /* 抬高，避开右下角「退出当前账号」 */
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 20px; border-radius: 22px;
  background: #FDF9F1; border: 1px solid #E0D8C8; color: #8C5A3C !important;
  box-shadow: 0 6px 18px rgba(90,67,34,.22); text-decoration: none !important;
  font-family: "楷体", "KaiTi", "STKaiti", "Kaiti SC", "LXGW WenKai", serif;
  font-size: 15px; font-weight: 700; letter-spacing: .14em; line-height: 1; white-space: nowrap;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s, border-color .16s;
}
.tj-fab:hover, .tj-fab:focus { transform: translateY(-3px); background: #8C5A3C; color: #fff !important; border-color: #8C5A3C; box-shadow: 0 10px 24px rgba(140,90,60,.3); }

/* ---------------- 个人中心：反馈 / 客服 入口卡 ---------------- */
.tc-entry {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  cursor: pointer; font-family: inherit; width: 100%;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.tc-entry:hover, .tc-entry:focus { transform: translateY(-3px); border-color: #C9B48A; box-shadow: 0 8px 18px rgba(120,100,70,.16); background: #fffdf7; }
.tc-entry-h { display: flex; align-items: center; gap: 8px; }
.tc-entry-h b { font-size: 16px; color: #5a4322; letter-spacing: .06em; font-family: "楷体","KaiTi",serif; }
.tc-entry-ico {
  font-style: normal; font-size: 11.5px; color: #fff; background: #8C5A3C;
  border-radius: 5px; padding: 2px 7px; letter-spacing: .06em;
}
.tc-entry[data-kind="service"] .tc-entry-ico { background: #a8863f; }
.tc-badge {
  min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 9px;
  background: #d63638; color: #fff; font-size: 11px; font-weight: 700; text-align: center;
}

/* ---------------- 聊天弹窗（BUG 反馈 / 联系客服） ---------------- */
.tc-chat { position: fixed; inset: 0; z-index: 100020; display: flex; align-items: center; justify-content: center; }
.tc-chat[hidden] { display: none; }
.tc-chat-mask { position: absolute; inset: 0; background: rgba(40,30,15,.55); }
.tc-chat-box {
  position: relative; display: flex; flex-direction: column;
  width: min(94vw, 560px); height: min(82vh, 620px);
  background: #FFFDF5; border: 2px solid #D9C8A6; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(60,40,10,.3); overflow: hidden;
  font-family: "楷体", "KaiTi", "STKaiti", "Kaiti SC", "LXGW WenKai", serif;
}
.tc-chat-head {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; background: linear-gradient(180deg,#fbf6ea,#f6efe0);
  border-bottom: 1px solid #E0D8C8;
}
.tc-chat-head b { font-size: 17px; color: #5a4322; letter-spacing: .08em; font-family: "楷体","KaiTi",serif; }
.tc-chat-status { font-size: 12px; color: #9a917e; }
.tc-chat-x {
  margin-left: auto; width: 30px; height: 30px; border-radius: 8px; cursor: pointer;
  background: #fffdf8; border: 1px solid #E0D8C8; color: #8C5A3C; font-size: 15px; line-height: 1;
}
.tc-chat-x:hover { background: #8C5A3C; color: #fff; border-color: #8C5A3C; }
.tc-chat-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 14px; background: #fdf9f1; }
.tc-chat-empty { text-align: center; color: #9a917e; font-size: 14px; padding: 40px 10px; margin: 0; line-height: 1.9; }
.tc-bw { margin: 0 0 12px; }
.tc-bw.me { text-align: right; }
.tc-bub {
  display: inline-block; max-width: 78%; padding: 9px 13px; border-radius: 12px;
  font-size: 15px; line-height: 1.75; text-align: left; word-break: break-word;
  background: #fff; border: 1px solid #ecdfc4; color: #3a2f1c;
}
.tc-bw.me .tc-bub { background: #8C5A3C; border-color: #8C5A3C; color: #fff; }
.tc-bub-t { font-size: 11px; color: #a09883; margin-top: 4px; }
.tc-chat-foot { flex: 0 0 auto; display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; background: #fbf7ee; border-top: 1px solid #E0D8C8; }
.tc-chat-foot textarea {
  flex: 1; min-height: 42px; max-height: 120px; resize: vertical; box-sizing: border-box;
  font-family: inherit; font-size: 15px; line-height: 1.6; color: #5a4322;
  background: #fff; border: 1px solid #E0D8C8; border-radius: 9px; padding: 9px 11px; outline: none;
}
.tc-chat-foot textarea:focus { border-color: #C2A26B; box-shadow: 0 0 0 2px rgba(140,90,60,.10); }
.tc-chat-msg { flex: 0 0 auto; min-height: 18px; padding: 0 14px 8px; font-size: 13px; color: #c0392b; background: #fbf7ee; }

@media (max-width: 820px) {
  .tc-grid { grid-template-columns: 1fr; }
  .tc-value { font-size: 26px; }
  .tj-center .tc-title { font-size: 24px; }
  .tj-fab { right: 12px; bottom: 74px; padding: 8px 15px; font-size: 14px; }
  .tc-chat-box { width: 94vw; height: 80vh; }
}

