/* ===== 塔罗牌优化 ===== */
.tarot-spread-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px;justify-content:center;}
.tarot-spread-tab{
  padding:6px 14px;border-radius:20px;border:1px solid var(--border-color);
  background:var(--bg-input);color:var(--text-secondary);cursor:pointer;font-size:13px;
  transition:all .15s;min-height:34px;
}
.tarot-spread-tab.active{background:var(--primary);color:#fff;border-color:var(--primary);}
.tarot-cards-area{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin:20px 0;}
.tarot-card{
  width:110px;height:180px;cursor:pointer;position:relative;
  transform-style:preserve-3d;transition:transform .6s;
}
.tarot-card.flipped{transform:rotateY(180deg);}
.tarot-card .tc-face{
  position:absolute;inset:0;border-radius:12px;backface-visibility:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  box-shadow:0 6px 16px rgba(0,0,0,0.15);overflow:hidden;
}
.tarot-card .tc-back{
  background:linear-gradient(135deg,var(--primary),#4c1d95);
  color:rgba(255,255,255,0.6);font-size:36px;
  border:2px solid rgba(255,255,255,0.2);
}
.tarot-card .tc-back::before{
  content:'';position:absolute;inset:8px;border:1px solid rgba(255,255,255,0.2);border-radius:8px;
}
.tarot-card .tc-front{transform:rotateY(180deg);
  background:linear-gradient(180deg,#fefce8,#fef9c3);
  color:#713f12;padding:10px 8px;text-align:center;
  border:2px solid #ca8a04;
}
.tarot-card.reversed .tc-front{transform:rotateY(180deg) rotate(180deg);}
.tarot-card .tc-num{font-size:11px;color:#a16207;font-weight:600;}
.tarot-card .tc-icon{font-size:36px;margin:6px 0;line-height:1;}
.tarot-card .tc-name{font-size:13px;font-weight:bold;line-height:1.3;}
.tarot-card .tc-orient{font-size:10px;margin-top:4px;color:#a16207;font-weight:600;}
.tarot-card .tc-pos-label{
  position:absolute;bottom:-22px;left:0;right:0;text-align:center;
  font-size:11px;color:var(--text-secondary);font-weight:500;
}
.tarot-reading{
  margin:24px 0 16px;padding:18px;border-radius:var(--radius-lg);
  background:var(--bg-input);border:1px solid var(--border-color);
}
.tarot-reading .tr-card-title{font-size:15px;font-weight:600;color:var(--primary);margin-bottom:6px;}
.tarot-reading .tr-keywords{font-size:12px;color:var(--text-secondary);margin-bottom:8px;}
.tarot-reading .tr-meaning{font-size:13px;line-height:1.7;color:var(--text-main);}
.tarot-reading .tr-section{margin-top:12px;padding-top:12px;border-top:1px dashed var(--border-color);}
.tarot-reading .tr-section-label{font-size:12px;font-weight:600;color:var(--text-secondary);margin-bottom:4px;}
.tarot-daily-note{text-align:center;font-size:12px;color:var(--text-placeholder);margin-top:8px;}

