/* Old Maid centre: the fan you take from, the last pair and the reveal. Existing tokens only. */
.om-table{display:flex;flex-direction:column;align-items:center;gap:var(--space-2);width:100%}
.om-status{margin:0;font-family:var(--display);font-weight:700;color:var(--paper);text-align:center;min-height:24px}
/* Backs overlap so the whole fan fits one row; each keeps at least a 24 px strip to tap. */
.om-fan{--n:2;display:flex;justify-content:center;width:100%;padding:var(--space-3) 0 var(--space-4)}
.game .om-fan .om-back{margin:0 0 0 min(-8px,calc((100% - var(--card-width)) / (var(--n) - 1) - var(--card-width)));box-shadow:0 3px 0 #0003;transition:translate .15s}
.game .om-fan .om-back:first-child{margin-left:0}
.game .om-fan button.om-back{cursor:pointer}
.game .om-fan button.om-back:hover,.game .om-fan button.om-back:focus-visible{translate:0 -12px;z-index:2}
.om-key{position:absolute;bottom:6px;left:6px;padding:0 var(--space-1);border-radius:4px;background:var(--ink);font-size:12px;font-weight:700;color:var(--paper)}
.om-fan.om-watch{padding:var(--space-1) 0}
.game .om-fan.om-watch .om-back{width:36px;height:50px;margin-left:-22px;border-radius:4px;box-shadow:none}
.game .om-fan.om-watch .om-back:first-child{margin-left:0}
.om-last{display:flex;justify-content:center;align-items:flex-start;gap:var(--space-4);min-height:24px}
.om-reveal{display:flex;flex-direction:column;align-items:center;margin:0}
.om-reveal .table-label{margin-top:var(--space-1);text-align:center}
.om-maid .card{outline:3px solid var(--lime);outline-offset:2px}
/* No points in Old Maid: the result row in the scorecard says who is safe; seat notes count pairs. */
#game .player-score,#game #you-score,#game #you-score+.muted,#scorecard tfoot{display:none}
#players.seat-ring .player-detail small{white-space:normal}
#game .table-top{gap:var(--space-2)}
.table-top #round-label{white-space:nowrap;flex:none}
.table-top #target-label{text-align:right}
@media(max-width:767px){
 .om-fan{flex-wrap:wrap;gap:var(--space-1)}
 .game .om-fan .om-back,.game .om-fan .om-back:first-child{width:40px;height:56px;margin:0;border-radius:4px}
 .game .om-fan.om-watch .om-back{width:24px;height:34px;margin:0}
 .om-status{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.game .om-fan .om-back{transition:none}}
