/* Teen Patti calculator (2.6.20) */
.tp .cc-panel + .cc-panel { margin-top: 16px; }
.tp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 14px; }
.tp-card { display: grid; gap: 6px; padding: 10px 8px; border-radius: 12px; border: 2px solid var(--c-line); background: #f8fafc; }
.tp-card select { width: 100%; min-height: 44px; font-size: 20px; font-weight: 700; text-align: center; background: #fff; color: #111827; border: 1px solid #cbd5e1; border-radius: 8px; }
.tp-card.is-red select { color: #dc2626; }
.tp-card.is-dup { border-color: #f87171; }
.tp-name { margin: 0 0 12px; }
.tp-name b { color: var(--c-accent); }
/* 1.0.1 (ds2 A+B): cards stay white like real cards; their pickers are plain, not dark wells */
.ccc.ccc[data-ds="2"] .is-ab .tp-card { border: 0; box-shadow: 0 6px 16px -8px rgba(0,0,0,.7); }
.ccc.ccc[data-ds="2"] .is-ab .tp-card select { background-color: #fff !important; color: #111827 !important; border: 1px solid #e2e8f0 !important; box-shadow: none !important; border-radius: 8px !important; }
.ccc.ccc[data-ds="2"] .is-ab .tp-card.is-red select { color: #dc2626 !important; }
