/* ── 今日专属运势 卡片 ── */
#tongsheng-card {
  position: relative; z-index: 1;
  max-width: 680px; margin: 80px auto 0;
  background: linear-gradient(175deg, #fdfbf5 0%, #f6f1e7 100%);
  border: 1px solid rgba(184,134,30,0.18);
  border-radius: 10px;
  padding: 22px 20px 18px;
  box-shadow: 0 2px 20px rgba(139,119,90,0.08), inset 0 0 30px rgba(184,134,30,0.02);
}

#tongsheng-card .ts-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(184,134,30,0.12);
}
#tongsheng-card .ts-title {
  font-family: "Noto Serif SC", serif; font-size: 18px; font-weight: 800;
  color: #B8860B; letter-spacing: 2px;
}
#tongsheng-card .ts-date {
  font-size: 12px; color: #8D6E63; letter-spacing: 1px;
}
#tongsheng-card .ts-personal-badge {
  display: inline-block; padding: 4px 12px; margin-bottom: 10px; margin-right: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  color: #B8860B; background: rgba(184,134,30,0.08); border-radius: 12px;
  border: 1px solid rgba(184,134,30,0.15);
}
#tongsheng-card .ts-personal-warn {
  color: #c0392b; background: rgba(192,57,43,0.06); border-color: rgba(192,57,43,0.2);
}

#tongsheng-card .ts-focus {
  margin-bottom: 14px; padding: 12px 16px;
  background: rgba(184,134,30,0.05); border-left: 3px solid #B8860B;
  border-radius: 0 6px 6px 0;
}
#tongsheng-card .ts-focus-label {
  font-size: 12px; font-weight: 700; color: #B8860B; letter-spacing: 2px; margin-bottom: 4px;
}
#tongsheng-card .ts-focus-text {
  font-size: 14px; color: #3e2f1c; line-height: 1.6; letter-spacing: 1px;
}
/* ── 五行配色 ── */
#tongsheng-card .ts-wuxing {
  margin-bottom: 14px; padding: 14px 16px;
  background: linear-gradient(135deg, rgba(250,247,239,0.6), rgba(255,252,245,0.8));
  border: 1px solid rgba(184,134,30,0.12);
  border-radius: 8px;
}
#tongsheng-card .ts-wuxing-label {
  font-size: 12px; font-weight: 700; color: #B8860B; letter-spacing: 2px; margin-bottom: 10px;
}
#tongsheng-card .ts-wuxing-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 5px;
}
#tongsheng-card .ts-wuxing-dot {
  width: 20px; height: 20px; min-width: 20px;
  border-radius: 50%; display: inline-block;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1);
}
#tongsheng-card .ts-wuxing-tag {
  display: inline-block; padding: 1px 8px; font-size: 10px; font-weight: 700;
  border-radius: 10px; letter-spacing: 1px; min-width: 36px; text-align: center;
}
#tongsheng-card .ts-wuxing-main-tag { background: rgba(184,134,30,0.15); color: #B8860B; }
#tongsheng-card .ts-wuxing-sub-tag { background: rgba(139,119,90,0.1); color: #8B775A; }
#tongsheng-card .ts-wuxing-avoid-tag { background: rgba(192,57,43,0.08); color: #a0524a; }
#tongsheng-card .ts-wuxing-color-name {
  font-size: 13px; color: #3e2f1c; letter-spacing: 1px; font-weight: 600;
}
#tongsheng-card .ts-wuxing-element {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(184,134,30,0.1);
}
#tongsheng-card .ts-wuxing-element-label {
  font-size: 11px; font-weight: 700; color: #B8860B; letter-spacing: 1px;
}
#tongsheng-card .ts-wuxing-element-tag {
  display: inline-block; padding: 2px 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: #B8860B; background: rgba(184,134,30,0.1);
  border-radius: 10px;
}
#tongsheng-card .ts-wuxing-element-sub {
  font-size: 10px; color: #8D6E63; letter-spacing: 1px; margin-left: 6px;
}

#tongsheng-card .ts-wuxing-energy {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(184,134,30,0.1);
}
#tongsheng-card .ts-wuxing-energy-label {
  font-size: 11px; font-weight: 700; color: #B8860B; letter-spacing: 1px;
  display: block; margin-bottom: 6px;
}
#tongsheng-card .ts-wuxing-energy-tag {
  display: inline-block; padding: 3px 14px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: #fff; background: linear-gradient(135deg, #B8860B, #DAA520);
  border-radius: 14px;
}
#tongsheng-card .ts-wuxing-energy-desc {
  font-size: 11px; color: #5D4037; letter-spacing: 1px; margin-top: 6px;
  line-height: 1.5;
}
#tongsheng-card .ts-direction {
  margin-bottom: 8px; padding: 8px 12px;
  background: rgba(250,247,239,0.5); border-radius: 6px;
  border: 1px solid rgba(184,134,30,0.08);
}
#tongsheng-card .ts-direction-label {
  font-size: 12px; font-weight: 700; color: #B8860B; letter-spacing: 1px; margin-bottom: 4px;
}
#tongsheng-card .ts-direction-action {
  font-size: 11px; color: #5D4037; letter-spacing: 1px; line-height: 1.5;
}

#tongsheng-card .ts-wuxing-style {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(184,134,30,0.1);
}
#tongsheng-card .ts-wuxing-style-label {
  font-size: 11px; font-weight: 700; color: #B8860B; letter-spacing: 1px;
  display: block; margin-bottom: 4px;
}
#tongsheng-card .ts-wuxing-style-name {
  font-size: 14px; font-weight: 700; color: #3e2f1c; letter-spacing: 1px;
}
#tongsheng-card .ts-wuxing-style-advice {
  font-size: 11px; color: #8D6E63; letter-spacing: 1px; margin-top: 2px;
}
#tongsheng-card .ts-wuxing-accessories {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed rgba(184,134,30,0.1);
}
#tongsheng-card .ts-wuxing-acc-label {
  font-size: 11px; font-weight: 700; color: #B8860B; letter-spacing: 1px; margin-right: 4px;
}
#tongsheng-card .ts-wuxing-acc-item {
  display: inline-block; padding: 3px 10px;
  font-size: 11px; letter-spacing: 1px; color: #5D4037;
  border: 1px solid rgba(184,134,30,0.15); border-radius: 12px;
  background: rgba(255,252,245,0.7);
}
#tongsheng-card .ts-wuxing-reason {
  font-size: 11px; color: #8D6E63; letter-spacing: 1px;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(184,134,30,0.1);
}

#tongsheng-card .ts-section {
  margin-bottom: 12px;
}
#tongsheng-card .ts-section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; margin-bottom: 6px;
}
#tongsheng-card .ts-section-label.yi { color: #27ae60; }
#tongsheng-card .ts-section-label.ji { color: #c0392b; }
#tongsheng-card .ts-items {
  display: flex; flex-wrap: wrap; gap: 6px;
}
#tongsheng-card .ts-item {
  display: inline-block; padding: 5px 12px;
  font-size: 12px; letter-spacing: 1px;
  border: 1px solid rgba(139,119,90,0.18); border-radius: 14px;
  background: rgba(250,247,239,0.7);
}
#tongsheng-card .ts-item.yi { color: #27ae60; border-color: rgba(39,174,96,0.2); background: rgba(39,174,96,0.04); }
#tongsheng-card .ts-item.ji { color: #c0392b; border-color: rgba(192,57,43,0.15); background: rgba(192,57,43,0.03); }
#tongsheng-card .ts-meta-row {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  font-size: 12px; color: #5D4037; letter-spacing: 1px;
  padding: 8px 0; margin-bottom: 6px;
  border-top: 1px dashed rgba(184,134,30,0.1);
  border-bottom: 1px dashed rgba(184,134,30,0.1);
}
#tongsheng-card .ts-meta-item { display: flex; align-items: center; gap: 4px; }
#tongsheng-card .ts-meta-item .ts-meta-icon { font-size: 14px; }
#tongsheng-card .ts-tomorrow {
  margin-bottom: 12px; padding: 10px 14px;
  background: linear-gradient(135deg, rgba(184,134,30,0.04), rgba(218,165,32,0.06));
  border: 1px solid rgba(184,134,30,0.1); border-radius: 8px;
}
#tongsheng-card .ts-tomorrow-label {
  font-size: 11px; font-weight: 700; color: #B8860B; letter-spacing: 2px; margin-bottom: 4px;
}
#tongsheng-card .ts-tomorrow-text {
  font-size: 13px; color: #5D4037; line-height: 1.5; letter-spacing: 1px;
}
#tongsheng-card .ts-levels {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 14px;
}
#tongsheng-card .ts-level-card {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 6px; background: rgba(250,247,239,0.5); border-radius: 8px;
  border: 1px solid rgba(184,134,30,0.08); text-align: center;
}
#tongsheng-card .ts-level-icon { font-size: 18px; }
#tongsheng-card .ts-level-label { font-size: 10px; letter-spacing: 1px; color: #8D6E63; }
#tongsheng-card .ts-level-val { font-size: 12px; font-weight: 600; color: #B8860B; letter-spacing: 1px; }

@media (max-width: 480px) {
  #tongsheng-card .ts-levels { grid-template-columns: repeat(2, 1fr); }
}
#tongsheng-card .ts-reason {
  font-size: 11px; color: #8D6E63; letter-spacing: 1px; text-align: center;
  padding: 8px 0 0; border-top: 1px solid rgba(184,134,30,0.06);
}
#tongsheng-card .ts-reason span { color: #B8860B; font-weight: 600; }
#tongsheng-card .ts-loading {
  text-align: center; padding: 20px; color: #8D6E63; font-size: 13px; letter-spacing: 2px;
}
#tongsheng-card .ts-login-cta {
  text-align: center; padding: 24px; color: #8D6E63; font-size: 13px; letter-spacing: 2px;
}
#tongsheng-card .ts-login-cta a {
  color: #B8860B; text-decoration: underline; cursor: pointer;
}
/* ── Profile form ── */
#tongsheng-card .ts-profile-hint {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; margin-bottom: 12px;
  background: #fffdf5; border: 1px dashed #B8860B; border-radius: 8px;
  font-size: 12px; color: #8D6E63; letter-spacing: 1px;
}
#tongsheng-card .ts-profile-btn, #tongsheng-card .ts-profile-btn-edit {
  background: none; border: 1px solid #B8860B; color: #B8860B;
  padding: 4px 12px; border-radius: 14px; font-size: 11px;
  cursor: pointer; letter-spacing: 1px; white-space: nowrap;
}
#tongsheng-card .ts-profile-done {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 14px; margin-bottom: 12px;
  font-size: 12px; color: #8D6E63; letter-spacing: 1px;
}
#tongsheng-card .ts-profile-form {
  margin-bottom: 14px; padding: 14px;
  background: #fdfcf7; border: 1px solid rgba(184,134,30,0.15);
  border-radius: 8px;
}
#tongsheng-card .ts-form-row {
  display: flex; align-items: center; margin-bottom: 10px; gap: 10px;
}
#tongsheng-card .ts-form-row label {
  min-width: 40px; font-size: 12px; color: #5D4037; letter-spacing: 1px;
}
#tongsheng-card .ts-form-row input,
#tongsheng-card .ts-form-row select {
  flex: 1; padding: 6px 10px; font-size: 13px; letter-spacing: 1px;
  border: 1px solid rgba(139,119,90,0.25); border-radius: 6px;
  background: #fff; color: #3e2f1c;
}
#tongsheng-card .ts-form-actions {
  display: flex; gap: 8px; margin-top: 12px;
}
#tongsheng-card .ts-save-btn {
  background: #B8860B; color: #fff; border: none;
  padding: 7px 20px; border-radius: 16px; font-size: 12px;
  cursor: pointer; letter-spacing: 1px;
}
#tongsheng-card .ts-cancel-btn {
  background: none; border: 1px solid rgba(139,119,90,0.3); color: #8D6E63;
  padding: 7px 16px; border-radius: 16px; font-size: 12px;
  cursor: pointer; letter-spacing: 1px;
}
#tongsheng-card .ts-form-msg { margin-top: 8px; font-size: 12px; letter-spacing: 1px; }
#tongsheng-card .ts-msg-err { color: #c0392b; }
#tongsheng-card .ts-msg-ok  { color: #27ae60; }

@media (max-width: 480px) {
  #tongsheng-card { margin-top: 72px; padding: 16px 14px; }
  #tongsheng-card .ts-title { font-size: 16px; }
  #tongsheng-card .ts-levels { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* AI 表达文本样式 */
#tongsheng-card .ts-wuxing-energy-text {
  font-size: 13px; color: #3e2f1c; letter-spacing: 1px; line-height: 1.6;
}
#tongsheng-card .ts-wuxing-acc-text {
  font-size: 11px; color: #5D4037; letter-spacing: 1px; line-height: 1.5;
}

/* 配色逻辑卡片 */
#tongsheng-card .ts-color-logic {
  margin-top: 10px; padding: 10px 12px;
  background: rgba(184,134,30,0.04); border-radius: 6px;
  border: 1px solid rgba(184,134,30,0.08);
}
#tongsheng-card .ts-color-logic-label {
  font-size: 11px; font-weight: 700; color: #B8860B; letter-spacing: 1px;
  display: block; margin-bottom: 4px;
}
#tongsheng-card .ts-color-logic-text {
  font-size: 11px; color: #5D4037; letter-spacing: 1px; line-height: 1.6;
}

/* 四维卡片提示 */
#tongsheng-card .ts-level-tip {
  font-size: 10px; color: #8D6E63; letter-spacing: 1px; margin-top: 2px;
}
