.side-tools button b{font-weight:normal}
.hand .card.rank-start{margin-left:-39px}
.hand.stacked-cards{height:222px;min-width:0;width:min(90vw,940px);padding-left:0;align-items:flex-end;justify-content:center;gap:2px}
.hand.stacked-cards .card-group{width:64px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;flex:1 1 64px;max-width:68px;min-width:42px;transition:transform .12s}
.hand.stacked-cards .card{width:76px;height:110px;margin:0;flex:none}
.hand.stacked-cards .card .rank{left:6px;top:3px;font-size:22px;line-height:22px}
.hand.stacked-cards .card .suit{left:24px;top:3px;font-size:19px;line-height:22px}
.hand.stacked-cards .card[data-rank="10"] .suit{left:35px}
.hand .card.red-suit{color:#d82926}
.hand.stacked-cards .card-group .card:not(:first-child){margin-top:-86px}
.hand.stacked-cards .card-group.count-6 .card:not(:first-child){margin-top:-90px}
.hand.stacked-cards .card-group.count-7 .card:not(:first-child){margin-top:-93px}
.hand.stacked-cards .card-group.count-8 .card:not(:first-child){margin-top:-95px}
.hand.stacked-cards .card-group.count-6 .card .rank,.hand.stacked-cards .card-group.count-7 .card .rank,.hand.stacked-cards .card-group.count-8 .card .rank{font-size:18px;line-height:18px}
.hand.stacked-cards .card-group.count-6 .card .suit,.hand.stacked-cards .card-group.count-7 .card .suit,.hand.stacked-cards .card-group.count-8 .card .suit{left:20px;font-size:15px;line-height:18px}
.hand.stacked-cards .card-group.count-6 .card[data-rank="10"] .suit,.hand.stacked-cards .card-group.count-7 .card[data-rank="10"] .suit,.hand.stacked-cards .card-group.count-8 .card[data-rank="10"] .suit{left:28px}
.hand.stacked-cards .card.selected{transform:translateY(-4px);box-shadow:0 3px 7px #0009,0 0 0 2px #ffd567}
.hand.stacked-cards .card-group:hover{transform:translateY(-2px)}
.hand .card.dragging{opacity:.58;filter:saturate(.65)}
.hand .card.drop-target{box-shadow:0 0 0 3px #61dfff,0 4px 12px #000b}
.table.stacked-hand .actions{bottom:228px}
.table.stacked-hand .timer{bottom:234px}
@media(max-width:900px){
  .hand.stacked-cards{width:92vw}
  .hand.stacked-cards .card-group{width:54px;flex-basis:54px}
  .hand.stacked-cards .card{width:68px}
}
@media(max-width:650px){
  .hand .card.rank-start{margin-left:-29px}
  .hand.stacked-cards{height:175px;width:96vw}
  .hand.stacked-cards .card-group{width:39px;min-width:27px;flex-basis:39px;gap:0}
  .hand.stacked-cards .card{width:53px;height:92px}
  .hand.stacked-cards .card-group .card:not(:first-child){margin-top:-80px}
  .table.stacked-hand .actions{bottom:182px}
  .table.stacked-hand .timer{bottom:187px}
}
