/* Voluntary show: the choice that takes the place of the betting buttons for a
   few seconds after a hand is won without a showdown. */
.game-room .show-cards-offer{position:relative;display:grid;gap:8px;padding:10px 12px 14px;border:1px solid #6d5a2e;border-radius:12px;background:linear-gradient(180deg,#262a22,#1b1f1a);overflow:hidden}
.game-room .show-cards-copy{margin:0;font:600 13px/1.3 'DM Sans',sans-serif;color:var(--cream);text-align:center}
.game-room .show-cards-buttons{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
.game-room .show-card-button{height:50px;min-height:50px;padding:6px 8px;border:1px solid #63816a;border-radius:10px;background:linear-gradient(180deg,#3b6048,#2b4936);color:#e1eadb;font:600 16px/1.15 Outfit,sans-serif;cursor:pointer;white-space:nowrap}
.game-room .show-card-button b{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:5px;background:#f4f1e6;color:#1b1f1a;font-weight:700}
.game-room .show-card-button b.red{color:#c0392b}
.game-room .show-card-button.show-card-all{border-color:#b8934a;background:linear-gradient(180deg,#e7ba65,#c99a45);color:#1b1608}
.game-room .show-card-button:disabled{opacity:.55;cursor:default}
.game-room .show-card-button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.game-room .show-cards-timer{position:absolute;left:0;right:0;bottom:0;height:4px;background:#0006}
.game-room .show-cards-timer i{display:block;height:100%;background:var(--gold);transform-origin:left center;animation:show-cards-timer linear forwards}
@keyframes show-cards-timer{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media (hover:hover){.game-room .show-card-button:hover:not(:disabled){filter:brightness(1.08)}}
/* Phones: the action area is a short fixed slot, so the choice is one row of buttons. */
@media (max-width:640px){
 .game-room .show-cards-offer{padding:4px 6px 8px;gap:0;border-radius:10px}
 .game-room .show-cards-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .game-room .show-cards-buttons{gap:6px}
 .game-room .show-card-button{height:44px;min-height:44px;font-size:14px;padding:4px}
 .game-room .show-card-button b{margin-left:2px;padding:1px 4px}
}
@media (prefers-reduced-motion:reduce){.game-room .show-cards-timer i{animation:none;transform:scaleX(1)}}
/* Hand history: a card the winner kept hidden, next to the ones they showed. */
.game-room .game-hand-reveal .card.card-back{overflow:hidden;opacity:.8}
.game-room .game-hand-reveal .card.card-back>span{position:static;width:auto;height:auto;margin:0;transform:none;font-size:12px;line-height:1}
