:root {
  color-scheme: dark;
  --bg: #102e29;
  --felt: #194c40;
  --paper: #f4eedc;
  --gold: #dfbf77;
  --muted: #9db9a8;
  --line: #acbaa522;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 0, #42664f42, transparent 60%), var(--bg);
  color: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
main {
  max-width: 1080px;
  margin: auto;
  padding: 0 34px 28px;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 77px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
}
.brand i {
  font-style: normal;
  margin: 0 11px;
  color: var(--gold);
}
.quiet {
  background: none;
  border: 0;
  color: #b5c5b4;
  font-size: 12px;
  padding: 12px 0 12px 16px;
}
.quiet span {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-left: 8px;
  border: 1px solid #c1c6a74d;
  border-radius: 50%;
}
.introduction {
  padding: 28px 1px 26px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.eyebrow {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.19em;
  font-weight: 700;
  margin: 0 0 7px;
}
h1 {
  font:
    normal 83px/0.95 Georgia,
    serif;
  letter-spacing: -0.06em;
  margin: 0;
}
h1 span {
  color: var(--gold);
}
.tagline {
  font:
    22px/1.4 Georgia,
    serif;
  color: #d9decb;
  margin: 0 3px 4px 20px;
}
.game {
  background: #0e2a25;
  border: 1px solid #9da78342;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 55px #061b1870;
}
.round-bar {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 13px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #9db59e;
}
.round-bar span:first-child {
  color: var(--gold);
}
.round-bar span:nth-child(2) {
  margin: auto;
}
.round-bar button {
  border: 1px solid #b2bf9442;
  border-radius: 6px;
  background: #3e5c471e;
  color: #dce3c9;
  font-size: 11px;
  padding: 8px 14px;
  min-height: 34px;
}
.scoreboard {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
  padding: 19px 20px 18px;
  text-align: center;
  background: #183e331f;
  gap: 10px;
}
.score > span,
.contract > span {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #b6c8ac;
}
.score strong {
  font:
    36px/1.2 Georgia,
    serif;
  color: var(--gold);
  display: block;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 0;
}
.score small {
  color: #8da88f;
  font-size: 7px;
  letter-spacing: 0.11em;
}
.theirs strong {
  color: #d3d9c4;
}
.contract {
  border-right: 1px solid #adb59d25;
  border-left: 1px solid #adb59d25;
  padding: 4px 8px;
}
.contract > span {
  color: var(--gold);
  font-size: 8px;
}
.contract strong {
  display: block;
  font:
    21px/1.4 Georgia,
    serif;
  margin: 4px 0;
}
.contract small {
  display: block;
  font-size: 9px;
  color: #a7bca2;
  min-height: 15px;
}
.felt {
  position: relative;
  margin: 0 22px;
  min-height: 369px;
  background:
    radial-gradient(ellipse at 50% 30%, #2e655235, transparent 80%), var(--felt);
  border: 1px solid #b2b78643;
  border-radius: 37% / 16%;
  box-shadow:
    inset 0 0 0 6px #153d32,
    inset 0 0 0 7px #c6bd8033,
    inset 0 0 25px #062e2170;
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  grid-template-rows: 70px 260px 39px;
  align-items: center;
  padding: 0 30px;
}
.seat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e3e5ce;
  font-size: 11px;
  z-index: 1;
}
.seat b {
  font-weight: 600;
  font-size: 12px;
}
.seat small {
  display: block;
  color: #94b59c;
  letter-spacing: 0.1em;
  font-size: 7px;
  margin-top: 2px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #b4c99b55;
  color: #e8dbb1;
  background: #184035;
  font:
    18px Georgia,
    serif;
  box-shadow: 0 3px 9px #092c2370;
}
.north {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  padding-top: 12px;
}
.north .avatar {
  background: #dfcea7;
  color: #244a3c;
}
.north .card-count {
  margin-left: 7px;
}
.west {
  grid-column: 1;
  grid-row: 2;
  flex-direction: column;
  gap: 7px;
  justify-self: center;
  margin-bottom: 27px;
}
.east {
  grid-column: 3;
  grid-row: 2;
  flex-direction: column;
  gap: 7px;
  justify-self: center;
  margin-bottom: 27px;
}
.card-count {
  width: 24px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 11px;
  background:
    repeating-linear-gradient(45deg, transparent 0 3px, #ddc69013 3px 4px),
    #173d34;
  color: #e0d5b4;
  border: 1px solid #c5b88c80;
  border-radius: 3px;
  box-shadow:
    2px 2px 0 #0e3026,
    3px 3px 0 #b7b08350;
  font-variant-numeric: tabular-nums;
}
.seat.active .avatar {
  box-shadow:
    0 0 0 3px #163c31,
    0 0 0 4px var(--gold),
    0 0 20px #d7c27522;
}
.seat-message {
  font-size: 9px;
  color: #c4d3b4;
  min-height: 12px;
  white-space: nowrap;
}
.north .seat-message {
  position: absolute;
  left: calc(50% + 96px);
  top: 35px;
}
.trick-area {
  position: relative;
  width: 280px;
  height: 256px;
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
}
.trick-slot {
  position: absolute;
  width: 66px;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b3c99d22;
  border-radius: 6px;
  background: #153f351c;
  color: #a0bfa027;
  font:
    28px Georgia,
    serif;
}
.trick-slot[data-seat="2"] {
  left: 107px;
  top: 0;
}
.trick-slot[data-seat="1"] {
  left: 25px;
  top: 66px;
  transform: rotate(-7deg);
}
.trick-slot[data-seat="3"] {
  right: 25px;
  top: 66px;
  transform: rotate(7deg);
}
.trick-slot[data-seat="0"] {
  left: 107px;
  top: 143px;
}
.trick-slot .card {
  width: 66px;
  height: 94px;
}
.trick-slot.winner {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.trick-owner {
  position: absolute;
  bottom: -15px;
  font:
    8px "Avenir Next",
    Avenir,
    sans-serif;
  letter-spacing: 0.06em;
  color: #b6cfb2;
  white-space: nowrap;
}
.trick-caption {
  grid-column: 1/-1;
  grid-row: 3;
  text-align: center;
  font-size: 10px;
  color: #d1dabc;
  padding-bottom: 13px;
  letter-spacing: 0.03em;
}
.table-intro {
  position: absolute;
  inset: 5px -10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.table-intro .watermark {
  font:
    88px/0.95 Georgia,
    serif;
  letter-spacing: -0.08em;
  color: #b7c99120;
}
.table-intro h2 {
  font:
    24px/1.3 Georgia,
    serif;
  margin: 10px 0 7px;
  color: #e9dfbd;
}
.table-intro p {
  max-width: 210px;
  color: #b1c8ac;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}
.table-intro .bid-leader {
  display: inline-block;
  margin-top: 14px;
  border: 1px solid #c5c1863d;
  border-radius: 30px;
  padding: 5px 11px;
  font-size: 9px;
  color: #d3d9b7;
}
.card {
  display: block;
  width: 78px;
  height: 111px;
  box-shadow: 0 5px 9px #06271f55;
  border-radius: 6px;
}
.card svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}
.play-controls {
  margin: 19px 25px 0;
  min-height: 86px;
}
.play-controls > p {
  margin: 0 0 12px;
  min-height: 20px;
  font-size: 13px;
  color: #d5e0c9;
  text-align: center;
}
.auction-controls {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
}
.bid-picker {
  display: flex;
  align-items: center;
  border: 1px solid #a9b08c47;
  border-radius: 7px;
  overflow: hidden;
}
.bid-picker button {
  background: #304e381f;
  border: 0;
  color: #e5ddbc;
  width: 35px;
  font-size: 20px;
  min-height: 43px;
}
.bid-picker input {
  color: #e8dfc7;
  background: #38503b2b;
  border: 0;
  text-align: center;
  width: 44px;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
  -moz-appearance: textfield;
}
.bid-picker input::-webkit-inner-spin-button,
.bid-picker input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.primary {
  background: var(--gold);
  border: 0;
  border-radius: 7px;
  color: #234536;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 22px;
  min-width: 155px;
  box-shadow: 0 3px 0 #8f7d4d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 45px;
}
.primary:disabled {
  background: #567158;
  color: #aec0a4;
  box-shadow: none;
}
.secondary {
  border: 1px solid #aaa98250;
  border-radius: 7px;
  background: #6172420d;
  color: #d6dac3;
  font-size: 12px;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 45px;
}
.primary:not(:disabled):hover {
  background: #edcb84;
}
.secondary:not(:disabled):hover {
  background: #71805826;
}
kbd {
  font:
    9px "Avenir Next",
    Avenir,
    sans-serif;
  border: 1px solid currentColor;
  opacity: 0.6;
  border-radius: 3px;
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
}
.card-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
.card-controls > span {
  font-size: 11px;
  color: #a4bb9f;
}
.trump-controls {
  display: flex;
  gap: 9px;
  justify-content: center;
}
.trump-controls button {
  background: #f3e7c7;
  color: #1b4034;
  border: 0;
  border-radius: 7px;
  padding: 9px 17px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 45px;
}
.trump-controls button b {
  font-size: 25px;
  line-height: 1;
}
.trump-controls button[data-suit="h"],
.trump-controls button[data-suit="d"] {
  color: #9e453a;
}
.next-trick {
  margin: 0 auto;
  justify-content: center;
  min-width: 250px;
}
.hand-zone {
  margin: 19px 25px 0;
  border-top: 1px solid var(--line);
  padding: 17px 0 16px;
}
.hand-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--gold);
}
#rank-note {
  font-size: 8px;
  color: #95b098;
  letter-spacing: 0.08em;
}
.hand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 25px;
  min-height: 137px;
}
.hand-card {
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
  flex: 0 0 78px;
  width: 78px;
  height: 111px;
  border-radius: 6px;
  margin-left: 5px;
  transition:
    transform 0.18s,
    opacity 0.18s;
}
.hand-card:first-child {
  margin-left: 0;
}
.hand-card:enabled:hover {
  transform: translateY(-5px);
}
.hand-card.selected {
  transform: translateY(-12px) !important;
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  z-index: auto;
}
.hand-card:disabled {
  opacity: 1;
  filter: brightness(0.65) saturate(0.65);
}
.hand-card.preview:disabled {
  opacity: 1;
  filter: none;
}
.hand-card .card-number {
  position: absolute;
  bottom: -17px;
  left: 0;
  right: 0;
  color: #9cb699;
  font-size: 9px;
}
#hand-tip {
  text-align: center;
  font-size: 10px;
  color: #97af96;
  margin: 25px 0 0;
  min-height: 15px;
}
.result {
  padding: 25px 28px;
  margin-top: 21px;
  border: 1px solid #c6bb7c6b;
  border-radius: 13px;
  background: #244d3c55;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.result h2 {
  font:
    32px/1.2 Georgia,
    serif;
  color: var(--gold);
  margin: 0 0 7px;
}
.result p {
  font-size: 12px;
  color: #c8d5bd;
  margin: 0;
  line-height: 1.8;
}
.result button {
  background: var(--gold);
  border: 0;
  color: #294a37;
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  padding: 13px 21px;
  white-space: nowrap;
}
.deal-log {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #a9bea0;
  font-size: 9px;
  margin-top: 18px;
  min-height: 22px;
}
.deal-log span {
  padding: 4px 8px;
  background: #a3bb7810;
  border-radius: 3px;
}
.table-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 21px 0 27px;
  font-size: 11px;
  color: #bdd0b0;
}
.table-caption p {
  margin: 0;
}
.table-caption b {
  font-weight: 500;
  color: #ded4ae;
}
.table-caption p span {
  margin-left: 16px;
  font-size: 10px;
  color: #9cb195;
}
.table-caption > span {
  font:
    16px Georgia,
    serif;
  color: #c5d1b4;
}
details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  padding: 20px 1px;
  font-weight: 700;
  font-size: 12px;
}
summary span {
  float: right;
  color: #8faa92;
  font-size: 10px;
  font-weight: 400;
  margin: 1px 8px;
}
.rules-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 35px;
  padding: 0 1px 22px;
  color: #a9c09e;
  font-size: 12px;
  line-height: 1.85;
}
.rules-copy h2 {
  font:
    21px Georgia,
    serif;
  color: #e0e1c9;
  margin: 8px 0 15px;
}
.rules-copy strong {
  color: #dce3c2;
}
.rules-copy a {
  color: var(--gold);
  text-underline-offset: 3px;
}
.profile {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
footer {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #799781;
  padding-top: 21px;
}
footer span {
  font-size: 10px;
  letter-spacing: 0;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--gold);
  color: var(--bg);
}
@media (max-width: 800px) {
  main {
    padding: 0 23px 25px;
  }
  .felt {
    grid-template-columns: 76px 1fr 76px;
    padding: 0 18px;
  }
  .hand-card {
    flex-basis: 73px;
    width: 73px;
    height: 104px;
    margin-left: -8px;
  }
  .hand-card .card {
    width: 73px;
    height: 104px;
  }
  .north .seat-message {
    left: calc(50% + 83px);
    font-size: 8px;
  }
  .table-caption p span {
    display: block;
    margin: 6px 0 0;
  }
}
@media (max-width: 520px) {
  main {
    padding: 0 14px 22px;
  }
  .masthead {
    height: 63px;
  }
  .brand {
    font-size: 10px;
  }
  .quiet {
    font-size: 11px;
  }
  .introduction {
    padding: 25px 1px 24px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  h1 {
    font-size: 70px;
  }
  .tagline {
    font-size: 19px;
    margin-bottom: 2px;
  }
  .game {
    border-radius: 15px;
  }
  .round-bar {
    padding: 12px;
    gap: 9px;
    font-size: 7px;
    letter-spacing: 0.04em;
  }
  .round-bar button {
    font-size: 10px;
    padding: 7px 9px;
  }
  .scoreboard {
    padding: 15px 9px;
    grid-template-columns: 0.9fr 1.5fr 0.9fr;
    gap: 4px;
  }
  .score > span {
    font-size: 6px;
    letter-spacing: 0.07em;
  }
  .score strong {
    font-size: 29px;
    margin-top: 3px;
  }
  .score small {
    font-size: 6px;
  }
  .contract {
    padding: 3px 5px;
  }
  .contract > span {
    font-size: 7px;
    letter-spacing: 0.08em;
  }
  .contract strong {
    font-size: 16px;
    margin: 4px 0;
  }
  .contract small {
    font-size: 8px;
    line-height: 1.5;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .felt {
    margin: 0 9px;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    grid-template-rows: 59px 215px 33px;
    min-height: 307px;
    padding: 0 9px;
    border-radius: 30px;
    box-shadow:
      inset 0 0 0 4px #153d32,
      inset 0 0 0 5px #c6bd8033,
      inset 0 0 20px #062e2170;
  }
  .seat {
    gap: 6px;
  }
  .seat b {
    font-size: 10px;
  }
  .seat small {
    font-size: 6px;
  }
  .avatar {
    width: 25px;
    height: 25px;
    font-size: 15px;
  }
  .north {
    padding-top: 8px;
    gap: 7px;
  }
  .north .card-count {
    margin-left: 5px;
  }
  .card-count {
    width: 20px;
    height: 28px;
    font-size: 10px;
  }
  .north .seat-message {
    display: none;
  }
  .west,
  .east {
    gap: 6px;
    margin-bottom: 17px;
  }
  .seat-message {
    font-size: 7px;
    max-width: 43px;
    white-space: normal;
    text-align: center;
  }
  .trick-area {
    width: 210px;
    height: 211px;
  }
  .trick-slot {
    width: 54px;
    height: 77px;
    border-radius: 5px;
  }
  .trick-slot .card {
    width: 54px;
    height: 77px;
    border-radius: 5px;
  }
  .trick-slot[data-seat="2"] {
    left: 78px;
    top: 0;
  }
  .trick-slot[data-seat="1"] {
    left: 13px;
    top: 55px;
  }
  .trick-slot[data-seat="3"] {
    right: 13px;
    top: 55px;
  }
  .trick-slot[data-seat="0"] {
    left: 78px;
    top: 116px;
  }
  .trick-owner {
    font-size: 7px;
    bottom: -13px;
  }
  .trick-caption {
    font-size: 8px;
    padding-bottom: 10px;
  }
  .table-intro {
    inset: 5px 0;
  }
  .table-intro .watermark {
    font-size: 67px;
  }
  .table-intro h2 {
    font-size: 20px;
    margin-top: 7px;
  }
  .table-intro p {
    font-size: 9px;
    max-width: 165px;
  }
  .table-intro .bid-leader {
    font-size: 8px;
    padding: 4px 9px;
    margin-top: 11px;
  }
  .play-controls {
    margin: 15px 13px 0;
    min-height: 85px;
  }
  .play-controls > p {
    font-size: 11px;
    line-height: 1.55;
    min-height: 19px;
    margin-bottom: 11px;
  }
  .auction-controls {
    gap: 7px;
  }
  .bid-picker button {
    width: 28px;
    font-size: 19px;
    min-height: 41px;
  }
  .bid-picker input {
    width: 32px;
    font-size: 16px;
  }
  .primary {
    font-size: 11px;
    min-width: 111px;
    padding: 11px 13px;
    min-height: 43px;
    gap: 10px;
  }
  .secondary {
    font-size: 11px;
    padding: 11px 17px;
    min-height: 43px;
  }
  .primary kbd,
  .secondary kbd {
    display: none;
  }
  .trump-controls {
    gap: 6px;
  }
  .trump-controls button {
    flex: 1;
    padding: 8px 4px;
    gap: 2px;
    flex-direction: column;
    font-size: 9px;
    min-height: 54px;
  }
  .trump-controls button b {
    font-size: 22px;
  }
  .card-controls {
    gap: 12px;
    justify-content: space-between;
  }
  .card-controls > span {
    font-size: 10px;
    max-width: 150px;
  }
  .card-controls .primary {
    min-width: 125px;
  }
  .next-trick {
    min-width: 230px;
    justify-content: center;
  }
  .hand-zone {
    margin: 12px 13px 0;
    padding: 15px 0;
  }
  .hand-heading {
    font-size: 7px;
    letter-spacing: 0.08em;
    gap: 5px;
  }
  #rank-note {
    font-size: 6px;
    letter-spacing: 0.02em;
  }
  .hand {
    padding-top: 24px;
    min-height: 120px;
  }
  .hand-card,
  .hand-card .card {
    width: 66px;
    height: 94px;
  }
  .hand-card {
    flex-basis: 66px;
    margin-left: -33px;
  }
  .hand-card .card-number {
    display: none;
  }
  #hand-tip {
    font-size: 9px;
    margin-top: 13px;
    line-height: 1.55;
  }
  .result {
    display: block;
    padding: 21px 18px;
    margin-top: 16px;
  }
  .result h2 {
    font-size: 28px;
  }
  .result p {
    font-size: 11px;
  }
  .result button {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
  }
  .deal-log {
    font-size: 8px;
    gap: 4px;
    margin-top: 13px;
  }
  .deal-log span {
    padding: 3px 6px;
  }
  .table-caption {
    font-size: 10px;
    margin: 18px 0 24px;
    gap: 10px;
  }
  .table-caption p span {
    font-size: 9px;
  }
  .table-caption > span {
    font-size: 13px;
    max-width: 78px;
    text-align: right;
  }
  .rules-copy {
    display: block;
    font-size: 11px;
    line-height: 1.8;
  }
  .rules-copy h2 {
    font-size: 20px;
    margin-top: 18px;
  }
  .profile {
    margin-top: 20px;
  }
  summary {
    font-size: 11px;
    padding: 18px 1px;
  }
  summary span {
    font-size: 8px;
    margin-right: 0;
  }
  footer {
    font-size: 7px;
    letter-spacing: 0.08em;
    gap: 15px;
  }
  footer span {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 520px) {
  .hand[data-count="2"] .hand-card,
  .hand[data-count="3"] .hand-card,
  .hand[data-count="4"] .hand-card {
    margin-left: 5px;
  }
  .hand[data-count="2"] .hand-card:first-child,
  .hand[data-count="3"] .hand-card:first-child,
  .hand[data-count="4"] .hand-card:first-child {
    margin-left: 0;
  }
}
