:root {
  color-scheme: dark;
  --felt-deep: #053627;
  --felt: #074530;
  --felt-light: #0b5138;
  --cream: #f4eee1;
  --muted: #adc2b5;
  --line: rgba(230, 218, 180, .2);
  --gold-soft: #d8c68d;
  --shadow: rgba(0, 24, 17, .48);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background: var(--felt-deep);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { min-width: 320px; min-height: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--felt-deep);
  -webkit-tap-highlight-color: transparent;
}

button { font: inherit; }

button, [role="button"] { touch-action: manipulation; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.table {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(102px, .9fr) minmax(78px, .62fr) minmax(126px, 1.15fr) auto auto;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(17px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background:
    radial-gradient(ellipse at 50% 41%, rgba(25, 108, 72, .3) 0, rgba(8, 70, 48, .08) 48%, rgba(1, 34, 24, .26) 100%),
    repeating-linear-gradient(117deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(23deg, rgba(0, 0, 0, .018) 0 1px, transparent 1px 5px),
    repeating-radial-gradient(ellipse at 43% 37%, rgba(255, 255, 255, .006) 0 1px, rgba(0, 0, 0, .006) 1px 2px, transparent 2px 5px),
    var(--felt);
}

.table::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 28%;
  left: 50%;
  width: min(1020px, 132vw);
  height: min(620px, 75vh);
  border: 1px solid rgba(224, 208, 164, .07);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.table::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 18% 24%, rgba(255, 255, 255, .012) 0 1px, transparent 1.5px) 0 0 / 9px 9px;
  box-shadow: inset 0 0 120px rgba(0, 25, 18, .34);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.table__header,
.seat,
.table__center,
.control-dock,
.site-footer {
  width: min(100%, 1080px);
  margin-inline: auto;
}

.table__header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.wordmark {
  margin: 0;
  color: #f2ecdd;
  font: 500 17px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: .005em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .15);
}

.wordmark span { font-style: italic; font-weight: 400; }

.table-controls {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.player-status,
.table-options,
.daily-challenge-control {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.table-options { gap: 4px; }

.daily-trigger {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 11px;
  border: 1px solid rgba(231, 222, 193, .16);
  border-radius: 8px;
  color: rgba(232, 225, 202, .8);
  background: rgba(255, 255, 255, .025);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.daily-trigger.is-active {
  border-color: rgba(221, 196, 120, .46);
  color: #fff1bf;
  background: rgba(112, 87, 25, .22);
}

.daily-trigger__compact { display: none; }

.table-trigger {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 11px;
  gap: 5px;
  border: 1px solid rgba(231, 222, 193, .16);
  border-radius: 8px;
  color: rgba(220, 229, 222, .7);
  background: rgba(255, 255, 255, .025);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, opacity 150ms ease;
}

.table-trigger span { font-size: 16px; line-height: 1; opacity: .82; }
.table-trigger:disabled { opacity: .34; cursor: default; }

.persona-trigger {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 9px 4px 11px;
  gap: 7px;
  border: 1px solid rgba(231, 222, 193, .16);
  border-radius: 8px;
  color: #dce4dd;
  background: rgba(255, 255, 255, .025);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.persona-trigger__chevron {
  color: rgba(213, 223, 216, .58);
  font-size: 10px;
  transition: transform 150ms ease;
}

.persona-trigger[aria-expanded="true"] .persona-trigger__chevron { transform: rotate(180deg); }

.persona-trigger:disabled {
  opacity: .48;
  cursor: default;
}

.balance {
  display: block;
  color: #f5efdf;
  font: 500 19px/1.25 Georgia, "Times New Roman", serif;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.persona-trigger:focus-visible,
.persona-menu button:focus-visible,
.daily-trigger:focus-visible,
.daily-dialog button:focus-visible,
.table-trigger:focus-visible,
.hand-count-options button:focus-visible,
.chip:focus-visible,
.betting-circle:focus-visible,
.spot-bet-target:focus-visible,
.side-bet-info__trigger:focus-visible,
.side-bet-popover button:focus-visible,
.action-button:focus-visible,
.insurance-button:focus-visible,
.deal-button:focus-visible,
.text-action:focus-visible {
  outline: 2px solid rgba(244, 232, 190, .84);
  outline-offset: 4px;
}

.daily-dialog {
  width: min(390px, calc(100% - 24px));
  max-height: min(620px, calc(100svh - 24px));
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(231, 222, 193, .2);
  border-radius: 14px;
  color: #f4eee1;
  background: #043523;
  box-shadow: 0 22px 60px rgba(0, 19, 13, .58);
}

.daily-dialog::backdrop { background: rgba(0, 24, 17, .66); }

.daily-dialog[open] { animation: menu-in 160ms cubic-bezier(.2, .8, .2, 1) both; }

.daily-dialog__panel {
  position: relative;
  padding: 24px;
}

.daily-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #c7d3ca;
  background: rgba(255, 255, 255, .055);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.daily-dialog header { padding-right: 38px; }

.daily-dialog header p {
  margin: 0 0 6px;
  color: #dbc98d;
  font-size: 11px;
  font-weight: 760;
}

.daily-dialog h2 {
  margin: 0;
  color: #f5efe2;
  font: 500 25px/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: -.01em;
}

.daily-today {
  display: flex;
  justify-content: space-between;
  margin: 18px 0 0;
  padding: 8px 10px;
  border-radius: 7px;
  color: #a5b9ac;
  background: rgba(255, 255, 255, .035);
  font-size: 10px;
}

.daily-today strong { color: #e6eadf; font-size: 10px; }

.daily-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.daily-rules li {
  min-width: 0;
  padding: 2px 10px;
  text-align: center;
}

.daily-rules li + li { border-left: 1px solid rgba(231, 222, 193, .13); }

.daily-rules strong,
.daily-rules span { display: block; }

.daily-rules strong {
  color: #f4eee1;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.daily-rules span {
  margin-top: 4px;
  color: #9fb5a7;
  font-size: 9px;
}

.daily-copy {
  margin: 19px 0 0;
  color: #c2d0c6;
  font-size: 12px;
  line-height: 1.5;
}

.daily-progress {
  margin-top: 22px;
  padding: 15px 16px;
  border: 1px solid rgba(231, 222, 193, .13);
  border-radius: 10px;
  background: rgba(255, 255, 255, .026);
}

.daily-progress strong,
.daily-progress span { display: block; }

.daily-progress strong { color: #f5eddb; font-size: 18px; }
.daily-progress span { margin-top: 4px; color: #a9beaf; font-size: 11px; }

.daily-result {
  margin: 21px 0 0;
  color: #f7edc9;
  font: 600 34px/1 Georgia, "Times New Roman", serif;
  font-variant-numeric: tabular-nums;
}

.daily-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 0;
}

.daily-summary div { min-width: 0; }
.daily-summary dt { color: #8fa99a; font-size: 9px; }
.daily-summary dd { margin: 4px 0 0; color: #e8eee9; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.daily-history {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(231, 222, 193, .12);
}

.daily-history h3 { margin: 0 0 8px; color: #a9beaf; font-size: 10px; font-weight: 700; }
.daily-history ol { margin: 0; padding: 0; list-style: none; }
.daily-history li { display: flex; justify-content: space-between; padding: 5px 0; color: #b8c8bd; font-size: 11px; }
.daily-history strong { color: #e9e4d7; font-variant-numeric: tabular-nums; }

.daily-dialog__actions {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.daily-primary,
.daily-secondary {
  min-height: 44px;
  padding: 9px 17px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
}

.daily-primary { color: #172016; background: #e5c65f; }
.daily-primary:disabled { opacity: .42; cursor: default; }
.daily-secondary { color: #dbe5dd; background: rgba(255, 255, 255, .075); }
.daily-dialog__actions small { color: #9fb5a7; font-size: 10px; line-height: 1.35; text-align: center; }

.daily-fixed-note {
  margin: -4px 0 10px !important;
  padding: 7px 8px;
  border-radius: 6px;
  color: #cbbf96 !important;
  background: rgba(111, 91, 34, .18);
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.35;
}

.table.is-daily-challenge .persona-trigger { border-color: rgba(221, 196, 120, .28); }

.table-options__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 190px;
  padding: 12px;
  border: 1px solid rgba(231, 222, 193, .16);
  border-radius: 10px;
  background: #043523;
  box-shadow: 0 16px 36px rgba(0, 22, 15, .34);
  transform-origin: top right;
  animation: menu-in 150ms cubic-bezier(.2, .8, .2, 1) both;
}

.table-options__menu > p {
  margin: 0 0 12px;
  color: #a8beb0;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
}

.side-bet-options {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(231, 222, 193, .1);
}

.side-bet-options button { width: 51px; }

.speed-options {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(231, 222, 193, .1);
}

.speed-options__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.speed-options__heading > span {
  color: #eee8dc;
  font-size: 12px;
  font-weight: 680;
}

.speed-options__heading output {
  color: #a8beb0;
  font-size: 10px;
  font-weight: 650;
}

.speed-control {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr) 19px;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}

.speed-control__icon {
  display: grid;
  place-items: center;
  color: #c5d1c8;
  font-size: 18px;
  line-height: 1;
}

.speed-control input[type="range"] {
  appearance: none;
  width: 100%;
  height: 20px;
  margin: 0;
  border: 0;
  outline: 0;
  background:
    radial-gradient(circle at 2px 50%, #82988b 0 2px, transparent 2.5px),
    radial-gradient(circle at 50% 50%, #82988b 0 2px, transparent 2.5px),
    radial-gradient(circle at calc(100% - 2px) 50%, #82988b 0 2px, transparent 2.5px),
    linear-gradient(rgba(168, 190, 176, .42), rgba(168, 190, 176, .42)) center / calc(100% - 4px) 2px no-repeat;
  cursor: pointer;
}

.speed-control input[type="range"]::-webkit-slider-runnable-track {
  height: 20px;
  background: transparent;
}

.speed-control input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border: 2px solid #17382a;
  border-radius: 50%;
  background: #eadfbd;
  box-shadow: 0 0 0 2px rgba(234, 223, 189, .18);
}

.speed-control input[type="range"]::-moz-range-track {
  height: 2px;
  border: 0;
  background: rgba(168, 190, 176, .42);
}

.speed-control input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 2px solid #17382a;
  border-radius: 50%;
  background: #eadfbd;
  box-shadow: 0 0 0 2px rgba(234, 223, 189, .18);
}

.speed-control input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(244, 232, 190, .72); }
.speed-control input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px rgba(244, 232, 190, .72); }
.speed-control input[type="range"]:disabled { cursor: default; opacity: .42; }

.hand-count-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hand-count-options > span {
  color: #eee8dc;
  font-size: 12px;
  font-weight: 680;
}

.hand-count-options > div {
  display: flex;
  padding: 2px;
  border-radius: 8px;
  background: rgba(0, 20, 13, .3);
}

.hand-count-options button {
  display: grid;
  place-items: center;
  width: 36px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #b9c9bf;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.hand-count-options button.is-selected {
  color: #183426;
  background: #e6dcc3;
}

.hand-count-options button:disabled { cursor: default; }

.persona-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(258px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid rgba(231, 222, 193, .16);
  border-radius: 10px;
  background: #043523;
  box-shadow: 0 16px 36px rgba(0, 22, 15, .34);
  transform-origin: top right;
  animation: menu-in 150ms cubic-bezier(.2, .8, .2, 1) both;
}

.persona-menu p {
  margin: 0 0 7px;
  color: #a8beb0;
  font-size: 11px;
  font-weight: 650;
}

.persona-menu__options { display: grid; gap: 2px; }

.persona-menu__options button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 38px;
  padding: 0 9px;
  gap: 14px;
  border: 0;
  border-radius: 6px;
  color: #eee8dc;
  background: transparent;
  text-align: left;
  font-size: 12.5px;
  cursor: pointer;
}

.persona-menu__options button span {
  overflow: hidden;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.persona-menu__options button strong {
  color: #b9c9bf;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.persona-menu__options button.is-selected { background: rgba(255, 255, 255, .075); }
.persona-menu__options button.is-selected span { color: #f2e5bb; }

.seat {
  position: relative;
  display: grid;
  place-content: center;
  min-height: 0;
  text-align: center;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, .8, .2, 1);
}

.seat--player { grid-template-columns: minmax(0, 1fr); }

.seat__heading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 25px;
  margin-bottom: 4px;
}

.seat__heading span {
  margin: 0;
  color: rgba(244, 238, 222, .88);
  font: 750 18px/1 Inter, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.seat__heading span:empty { visibility: hidden; }

.hand {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 94px;
  gap: 8px;
}

.hand:has(.playing-card:nth-child(5)) { gap: 0; }
.hand:has(.playing-card:nth-child(5)) .playing-card + .playing-card { margin-left: -26px; }

.playing-card {
  container-type: inline-size;
  position: relative;
  flex: 0 0 auto;
  width: clamp(64px, 17.4vw, 80px);
  aspect-ratio: 5 / 7;
  border-radius: 7px;
  perspective: 700px;
  filter: drop-shadow(0 8px 7px rgba(0, 24, 17, .3)) drop-shadow(0 1px 1px rgba(0, 12, 8, .2));
  transform-origin: center center;
}

.card__inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 390ms cubic-bezier(.24, .68, .24, 1);
}

.playing-card.is-face-down .card__inner { transform: rotateY(180deg); }

.card__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(72, 58, 39, .16);
  border-radius: 7px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.card__front {
  display: grid;
  place-items: center;
  color: #171815;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .66), transparent 42%),
    #f4eee1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88), inset 0 0 16px rgba(85, 67, 40, .042);
}

.playing-card.is-red .card__front { color: #a52d30; }

.card__corner {
  position: absolute;
  top: 7cqi;
  left: 8cqi;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}

.card__corner strong {
  display: block;
  font-size: 30cqi;
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.playing-card[data-rank="10"] .card__corner strong { letter-spacing: -.13em; }

.card__corner i {
  display: block;
  margin-top: 2cqi;
  font-size: 18cqi;
  font-style: normal;
  line-height: .9;
}

.card__corner--bottom {
  top: auto;
  right: 8cqi;
  bottom: 7cqi;
  left: auto;
  transform: rotate(180deg);
}

.card__suit {
  padding-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32cqi;
  line-height: .9;
  opacity: .93;
}

.card__back {
  display: grid;
  place-items: center;
  padding: 6cqi;
  background: #efe6d5;
  transform: rotateY(180deg);
}

.card-back__pattern {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: max(1px, 2cqi) solid #8a3034;
  border-radius: 5cqi;
  background-color: #8a3034;
  background-image:
    linear-gradient(45deg, transparent 43%, rgba(244, 224, 196, .78) 44% 48%, transparent 49% 93%, rgba(244, 224, 196, .78) 94%),
    linear-gradient(-45deg, transparent 43%, rgba(244, 224, 196, .78) 44% 48%, transparent 49% 93%, rgba(244, 224, 196, .78) 94%);
  background-size: 13cqi 13cqi;
  box-shadow: inset 0 0 0 2px #f0dfc7, inset 0 0 0 4px #8a3034, inset 0 0 0 5px rgba(240, 223, 199, .78);
}

.card-back__pattern::before {
  content: "";
  position: absolute;
  inset: 11cqi;
  border: 1px solid rgba(245, 224, 195, .76);
  background:
    linear-gradient(45deg, transparent 46%, rgba(244, 224, 196, .28) 47% 53%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, rgba(244, 224, 196, .28) 47% 53%, transparent 54%);
  background-size: 11cqi 11cqi;
  box-shadow: 0 0 0 2px #8a3034, 0 0 0 3px rgba(245, 224, 195, .48);
}

.card-back__pattern::after {
  content: "◆";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 37cqi;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 224, 195, .88);
  color: #f0ddc3;
  background: #8a3034;
  font-size: 12cqi;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 3px #8a3034, 0 0 0 4px rgba(245, 224, 195, .72);
}

.playing-card.is-flipping { animation: card-flip-lift var(--card-flip-duration, 390ms) cubic-bezier(.24, .68, .24, 1); }

.table__center {
  position: relative;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  min-height: 0;
}

.result {
  min-height: 30px;
  margin: 0 0 1px;
  color: #f3eddf;
  font: 850 clamp(22px, 5.8vw, 30px)/1 Inter, sans-serif;
  letter-spacing: -.025em;
  opacity: 0;
  transform: translateY(4px) scale(.98);
  transition: opacity var(--result-fade-duration, 180ms) ease, color var(--result-fade-duration, 180ms) ease, transform var(--result-move-duration, 240ms) cubic-bezier(.2, .8, .2, 1);
}

.result.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.result.is-win { color: #dcebd8; }
.result.is-loss { color: #f0c4bc; }
.result.is-push { color: #e3d8b8; }
.result.is-leaving { opacity: 0; transform: translateY(-4px) scale(.985); }
.result.is-guidance { color: #b8cabe; font: 500 11px/1.2 Inter, sans-serif; letter-spacing: .02em; }

.betting-circle {
  position: relative;
  display: grid;
  place-items: center;
  width: 100px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(230, 218, 180, .3);
  border-radius: 50%;
  color: inherit;
  background: rgba(0, 0, 0, .025);
  box-shadow: inset 0 0 18px rgba(0, 24, 17, .1);
  cursor: pointer;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, .8, .2, 1);
}

.betting-circle:disabled { cursor: default; }

.betting-circle__hint {
  width: 78px;
  color: rgba(238, 225, 190, .9);
  line-height: 1;
  text-align: center;
  transition: opacity 120ms ease;
}

.betting-circle__hint b {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.15;
}

.betting-circle.has-bet .betting-circle__hint { opacity: 0; }

.betting-circle > strong {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  min-width: 110px;
  color: #fffdf6;
  font: 800 15px/1.2 Inter, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  text-shadow: 0 1px 3px rgba(0, 20, 14, .46);
  transform: translateX(-50%);
}

.bet-stack,
.payout-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wager-chip {
  --wager-chip: #315e72;
  --wager-edge: #203f4e;
  isolation: isolate;
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 43px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  color: white;
  background: repeating-conic-gradient(var(--wager-chip) 0 14deg, rgba(245, 235, 214, .88) 14deg 20deg, var(--wager-chip) 20deg 45deg);
  box-shadow: 0 2px 0 var(--wager-edge), 0 5px 8px rgba(0, 23, 16, .32), inset 0 0 0 3px rgba(255, 255, 255, .13), inset 0 0 0 5px rgba(0, 0, 0, .08);
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: -.015em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .22);
}

.wager-chip.is-pending { opacity: 0; }

.wager-chip::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px;
  border: 1px dashed rgba(255, 255, 255, .58);
  border-radius: 50%;
  background: var(--wager-chip);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .13);
}

.chip-tone--ivory { --wager-chip: #e0d4bd; --wager-edge: #aa9e86; color: #1e201d; text-shadow: none; }
.chip-tone--blue { --wager-chip: #315f76; --wager-edge: #1f4253; }
.chip-tone--red { --wager-chip: #89353a; --wager-edge: #5c2528; }
.chip-tone--umber { --wager-chip: #80583a; --wager-edge: #583c28; }
.chip-tone--black { --wager-chip: #222924; --wager-edge: #111612; }

.player-hands {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 115px;
  gap: clamp(5px, 3vw, 22px);
}

.player-hands.is-single-side-bet-spot .player-spot {
  flex: 0 1 210px;
  max-width: 210px;
  opacity: 1;
}

.empty-hand { width: 1px; height: 107px; }

.player-spot {
  display: grid;
  grid-template-rows: 15px 1fr 17px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 330px;
  padding: 3px 3px 2px;
  border-radius: 12px;
  opacity: .7;
  transition: opacity 180ms ease, background-color 180ms ease, transform 220ms cubic-bezier(.2, .8, .2, 1);
}

.player-spot.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, .035);
  transform: translateY(-3px);
}

.player-spot.is-complete:not(.is-active) { opacity: .58; }
.table.is-settled .player-spot.is-complete:not(.is-active) { opacity: .92; }

.player-spot__heading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 15px;
  margin: 0;
  gap: 5px;
  color: rgba(200, 215, 205, .66);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .025em;
}

.player-spot__state {
  color: #efe2b8;
  font-size: 8.5px;
  font-weight: 800;
}

.player-spot__hands {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.spot-bet-target {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(68px, 17vw, 84px);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(230, 218, 180, .3);
  border-radius: 50%;
  color: rgba(238, 225, 190, .9);
  background: rgba(0, 0, 0, .035);
  box-shadow: inset 0 0 16px rgba(0, 24, 17, .12);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 180ms cubic-bezier(.2, .8, .2, 1);
}

.spot-bet-target:active:not(:disabled) { transform: scale(.96); }
.spot-bet-target:disabled { cursor: default; }

.spot-bet-target.is-last-bet {
  border-color: #f1d26d;
  background: rgba(247, 215, 112, .1);
  box-shadow: 0 0 0 2px rgba(244, 215, 116, .22), 0 0 20px rgba(242, 203, 79, .3), inset 0 0 16px rgba(0, 24, 17, .12);
}

.spot-bet-target.is-last-bet .spot-bet-target__amount { color: #fffdf6; }

.betting-circle.is-last-bet {
  border-color: #f1d26d;
  background: rgba(247, 215, 112, .085);
  box-shadow: 0 0 0 2px rgba(244, 215, 116, .22), 0 0 22px rgba(242, 203, 79, .32), inset 0 0 18px rgba(0, 24, 17, .1);
}

.spot-bet-target__hint {
  max-width: 54px;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.05;
}

.spot-bet-target.has-bet .spot-bet-target__hint { opacity: 0; }

.spot-bet-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spot-bet-stack .wager-chip {
  bottom: 22%;
  width: clamp(36px, 10vw, 43px);
}

.spot-bet-target__amount {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  max-width: 88px;
  color: #fffdf6;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 20, 14, .46);
  transform: translateX(-50%);
}

.player-spot__wager {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 17px;
  margin: 0;
  gap: 4px;
  color: rgba(255, 253, 246, .96);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.side-bet-zones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  min-width: 0;
  gap: 0;
}

.player-spot > .side-bet-zones {
  width: min(100%, 156px);
  margin: 3px auto 0;
}

.has-side-bets.is-multi-hand-betting .spot-bet-target__amount {
  z-index: 3;
  top: auto;
  bottom: 5px;
}

.has-side-bets.is-multi-hand-betting .spot-bet-target { z-index: 2; }
.is-multi-hand-betting .player-spot > .side-bet-zones { margin-top: -33px; }

.side-bet-target {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 55px;
  padding: 5px 8px;
  border: 0;
  border-radius: 8px;
  color: rgba(235, 229, 207, .82);
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.side-bet-target:active:not(:disabled) { transform: scale(.965); }
.side-bet-target:disabled { cursor: default; }

.side-bet-target.is-last-bet {
  color: #f4e9c4;
}

.side-bet-target__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.side-bet-target:last-child .side-bet-target__shape { transform: scaleX(-1); }

.side-bet-target__shape path {
  fill: rgba(2, 43, 30, .38);
  stroke: rgba(226, 211, 166, .42);
  stroke-width: 1;
  stroke-linejoin: round;
  transition: fill 160ms ease, stroke 160ms ease, filter 160ms ease;
}

.side-bet-target:focus-visible { outline: 0; }
.side-bet-target:focus-visible .side-bet-target__shape path {
  stroke: rgba(244, 232, 190, .9);
  stroke-width: 2;
  filter: drop-shadow(0 0 2px rgba(239, 220, 156, .18));
}

.side-bet-target.is-last-bet .side-bet-target__shape path {
  fill: rgba(247, 215, 112, .14);
  stroke: #f1d26d;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 6px rgba(242, 203, 79, .5));
}

.side-bet-target__label {
  position: absolute;
  z-index: 1;
  top: 11px;
  width: 52px;
  color: rgba(244, 239, 222, .9);
  font-size: 10px;
  font-weight: 750;
  line-height: .95;
  text-align: center;
  white-space: normal;
  pointer-events: none;
}

.side-bet-target:first-child .side-bet-target__label { right: 54%; }
.side-bet-target:last-child .side-bet-target__label { left: 54%; }
.side-bet-target__label::before { display: block; margin-bottom: 2px; font-size: 9px; line-height: 1; }
.side-bet-target[data-wager-type="perfectPairs"] .side-bet-target__label::before { content: "♦"; color: #e8d99d; }
.side-bet-target[data-wager-type="luckyLadies"] .side-bet-target__label::before { content: "♥"; color: #efb3a9; }
.side-bet-target__label > span { display: block; }
.side-bet-target__label abbr { display: none; text-decoration: none; }

.side-bet-stack {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.side-bet-stack .wager-chip {
  bottom: 5px;
  width: 18px;
  font-size: 0;
}

.side-bet-target:first-child .side-bet-stack .wager-chip { left: 42%; }
.side-bet-target:last-child .side-bet-stack .wager-chip { left: 58%; }
.side-bet-stack .wager-chip::before { inset: 4px; }

.side-bet-target__amount {
  position: absolute;
  z-index: 1;
  right: 7px;
  bottom: 1px;
  color: #fffdf6;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  font-weight: 780;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 20, 14, .46);
}

.side-bet-target:first-child .side-bet-target__amount {
  right: auto;
  left: 7px;
}

.side-bet-target__result {
  position: relative;
  z-index: 1;
  display: none;
  max-width: 100%;
  color: #f3e9c8;
  font-size: 8px;
  font-weight: 720;
  line-height: 1.05;
  text-align: center;
}

.side-bet-target__result strong { display: block; margin-top: 2px; color: #e3f0dc; font-size: 10px; }
.side-bet-target.is-win { animation: side-bet-win var(--side-bet-win-duration, 440ms) cubic-bezier(.2, .8, .2, 1); }
.side-bet-target.is-win .side-bet-target__shape path { stroke: rgba(205, 230, 190, .72); }
.side-bet-target.is-win > :not(.side-bet-target__result),
.side-bet-target.is-result-pending > :not(.side-bet-target__result) { opacity: .14; }
.side-bet-target.is-win > .side-bet-target__shape,
.side-bet-target.is-result-pending > .side-bet-target__shape { opacity: 1; }
.side-bet-target.is-win .side-bet-target__result,
.side-bet-target.is-result-pending .side-bet-target__result { display: block; }

.table.has-side-bets:not(.is-betting) .side-bet-zones:not(:has(.is-win, .is-result-pending)),
.table.has-side-bets:not(.is-betting) .single-side-bets:not(:has(.is-win, .is-result-pending)),
.table.is-settled .side-bet-zones,
.table.is-settled .single-side-bets { display: none; }
.table.has-side-bets:not(.is-betting):not(.is-settled) .side-bet-target:not(.is-win, .is-result-pending) { display: none; }

.single-side-bets {
  position: absolute;
  z-index: 2;
  top: calc(50% + 45px);
  left: 50%;
  grid-template-columns: repeat(2, minmax(0, 100px));
  width: min(200px, calc(100vw - 24px));
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.table.has-side-bets .betting-circle { z-index: 3; }
.single-side-bets .side-bet-target { min-height: 70px; pointer-events: auto; }

.side-bet-info {
  position: relative;
  display: flex;
}

.side-bet-info__trigger {
  display: grid;
  place-items: center;
  width: 32px;
  min-width: 32px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: rgba(225, 221, 201, .72);
  background: rgba(255, 255, 255, .025);
  font-size: 14px;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease;
}

.side-bet-popover {
  position: fixed;
  z-index: 40;
  top: 62px;
  right: max(14px, calc((100vw - 1080px) / 2));
  width: min(318px, calc(100vw - 28px));
  max-height: calc(100svh - 82px);
  overflow: auto;
  padding: 13px 14px;
  border: 1px solid rgba(231, 222, 193, .18);
  border-radius: 11px;
  color: #dce7df;
  background: #043523;
  box-shadow: 0 18px 42px rgba(0, 20, 14, .42);
  text-align: left;
  animation: menu-in 150ms cubic-bezier(.2, .8, .2, 1) both;
}

.side-bet-popover__heading { display: flex; justify-content: space-between; align-items: center; }
.side-bet-popover__heading > strong { color: #f0e9d9; font-size: 14px; }
.side-bet-popover__heading button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #b6c8bc;
  background: rgba(255, 255, 255, .04);
  font-size: 19px;
  cursor: pointer;
}
.side-bet-popover section { margin-top: 11px; }
.side-bet-popover h2 { margin: 0; color: #eee4c7; font-size: 12.5px; }
.side-bet-popover p { margin: 3px 0 0; color: #afc2b6; font-size: 11px; line-height: 1.42; }
.side-bet-popover > p { margin-top: 11px; }
.side-bet-popover dl { display: grid; margin: 5px 0 0; gap: 2px; }
.side-bet-popover dl div { display: flex; justify-content: space-between; gap: 14px; }
.side-bet-popover dt,
.side-bet-popover dd { margin: 0; font-size: 10.5px; line-height: 1.35; }
.side-bet-popover dd { color: #eee4c7; font-weight: 750; }

.spot-wager-chip {
  --wager-chip: #315e72;
  display: block;
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--wager-chip) 0 28deg, rgba(245, 235, 214, .88) 28deg 40deg, var(--wager-chip) 40deg 72deg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .24), inset 0 0 0 2px rgba(255, 255, 255, .12);
}

.player-hands.is-single-spot .player-spot,
.player-hands.is-single-spot .player-spot__hands { display: contents; }
.player-hands.is-single-spot .player-spot__heading,
.player-hands.is-single-spot .player-spot__wager { display: none; }

.player-hands[data-spot-count="2"] { gap: clamp(7px, 2.5vw, 22px); }
.player-hands[data-spot-count="3"] { gap: clamp(2px, 1.4vw, 12px); }
.player-hands[data-spot-count="2"] .playing-card { width: clamp(58px, 9vw, 82px); }
.player-hands[data-spot-count="3"] .playing-card { width: clamp(48px, 7.2vw, 78px); }

.player-hand {
  position: relative;
  min-width: 0;
  padding: 4px 5px 2px;
  transition: opacity 180ms ease, transform 180ms cubic-bezier(.2, .8, .2, 1);
}

.player-hand.is-loss { opacity: .67; }
.player-spot.is-active .player-hand:not(.is-active) { opacity: .52; }
.player-hand.is-active { transform: translateY(-2px); }

.player-hand__meta {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin: 3px 0 0;
  gap: 5px;
  color: #a9bdb1;
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.player-hand__score {
  color: rgba(242, 235, 219, .74);
  font: 650 11px/1 Georgia, "Times New Roman", serif;
}

.player-hand__outcome {
  position: absolute;
  z-index: 2;
  top: -22px;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100%;
  color: #eee3c0;
  font: 850 clamp(15px, 1.7vw, 18px)/1 Inter, sans-serif;
  letter-spacing: .01em;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(0, 25, 17, .4);
  transform: translateX(-50%);
}

.player-hand.is-win .player-hand__outcome { color: #dcebd8; }
.player-hand.is-loss .player-hand__outcome { color: #f0c4bc; }
.player-hand.is-push .player-hand__outcome { color: #e3d8b8; }
.table.is-settled .player-hand__outcome:not([hidden]) {
  animation: hand-outcome-in var(--result-move-duration, 240ms) cubic-bezier(.2, .8, .2, 1) both;
}

.table.is-settled .player-hands.has-individual-results .player-spot__heading {
  visibility: hidden;
}

.player-hand__meta.is-single {
  align-items: center;
  min-height: 25px;
  margin-top: 4px;
}

.player-hand__meta.is-single span { display: none; }

.player-hand__meta.is-single .player-hand__score {
  color: rgba(244, 238, 222, .88);
  font: 750 18px/1 Inter, sans-serif;
  letter-spacing: -.02em;
}

.player-hand__meta.is-spot-single {
  min-height: 14px;
  margin-top: 2px;
}

.player-hand__meta.is-spot-single .player-hand__score {
  color: rgba(244, 238, 222, .82);
  font: 750 13px/1 Inter, sans-serif;
  letter-spacing: -.01em;
}

.player-spot__hands:has(.player-hand:nth-child(2)) .playing-card { width: clamp(44px, 7vw, 57px); }
.player-spot__hands:has(.player-hand:nth-child(3)) { gap: 1px; }
.player-spot__hands:has(.player-hand:nth-child(3)) .playing-card { width: clamp(44px, 5.4vw, 49px); }
.player-spot__hands:has(.player-hand:nth-child(2)) .hand { gap: 2px; }
.player-spot__hands:has(.player-hand:nth-child(2)) .hand .playing-card + .playing-card { margin-left: -17px; }

.control-dock {
  z-index: 9;
  align-self: end;
  min-height: 135px;
}

.betting-controls { min-height: 135px; }

.chip-rack {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 62px;
  padding-top: 4px;
  gap: clamp(5px, 2.3vw, 13px);
}

.chip {
  --chip: #e0d4bd;
  --chip-edge: #aa9e86;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(46px, 13vw, 60px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #1d211e;
  background: repeating-conic-gradient(var(--chip) 0 13deg, #f0e8d8 13deg 19deg, var(--chip) 19deg 43deg);
  box-shadow: 0 4px 0 var(--chip-edge), 0 8px 13px rgba(0, 22, 15, .32), inset 0 0 0 4px rgba(255, 255, 255, .18), inset 0 0 0 6px rgba(0, 0, 0, .06);
  cursor: pointer;
  transition: filter 170ms ease, opacity 150ms ease, transform 180ms cubic-bezier(.2, .85, .25, 1), box-shadow 180ms ease;
}

.chip::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(255, 255, 255, .62);
  border-radius: 50%;
  background: var(--chip);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, .16);
}

.chip::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(0, 0, 0, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
}

.chip span {
  position: relative;
  z-index: 1;
  max-width: 38px;
  overflow: hidden;
  font-size: clamp(9px, 2.65vw, 11.5px);
  font-weight: 850;
  letter-spacing: -.025em;
  text-overflow: clip;
  white-space: nowrap;
}

.chip:active:not(:disabled) { filter: brightness(.96); transform: translateY(1px) scale(.94); box-shadow: 0 2px 0 var(--chip-edge), 0 5px 8px rgba(0, 22, 15, .27); }
.chip:disabled { opacity: .26; cursor: default; filter: saturate(.55); }

.chip.is-selected:not(:disabled) {
  filter: brightness(1.08) saturate(1.04);
  transform: translateY(-4px) scale(1.035);
  box-shadow: 0 5px 0 var(--chip-edge), 0 11px 18px rgba(0, 20, 14, .38), inset 0 0 0 4px rgba(255, 255, 255, .2), inset 0 0 0 6px rgba(0, 0, 0, .06);
}

.chip--blue { --chip: #315f76; --chip-edge: #1f4253; color: #fff; }
.chip--red { --chip: #89353a; --chip-edge: #5c2528; color: #fff; }
.chip--umber { --chip: #80583a; --chip-edge: #583c28; color: #fff; }
.chip--black { --chip: #222924; --chip-edge: #111612; color: #fff; }

.chip-flight {
  position: fixed !important;
  z-index: 80;
  margin: 0;
  pointer-events: none;
  will-change: transform;
}

.betting-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  margin-top: 21px;
  padding-top: 2px;
  gap: 12px;
}

.deal-button,
.action-button {
  min-width: 94px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #153125;
  background: #e9d7aa;
  box-shadow: none;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: transform 120ms cubic-bezier(.2, .8, .2, 1), filter 140ms ease;
}

.deal-button {
  min-width: 116px;
  color: #171a16;
  background: #f2c84b;
}

.action-button span {
  display: inline-block;
  margin-right: 3px;
  font-size: 13px;
  line-height: 1;
  vertical-align: -1px;
}

.action-button--hit {
  color: #fffaf1;
  background: #16875b;
}

.action-button--hit span { font-size: 16px; }

.action-button--stand {
  color: #fff8f3;
  background: #b8443b;
}

.deal-button:active,
.action-button:active { filter: brightness(.94); transform: translateY(1px) scale(.97); }

.text-action {
  min-width: 52px;
  min-height: 42px;
  padding: 0 5px;
  border: 0;
  color: #b7c8bd;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.game-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 78px;
  gap: 8px;
  animation: controls-in 190ms ease both;
}

.insurance-controls {
  display: grid;
  justify-items: center;
  min-height: 108px;
  padding-top: 8px;
  gap: 11px;
  animation: controls-in 190ms ease both;
}

.insurance-copy {
  display: grid;
  margin: 0;
  gap: 3px;
  color: rgba(226, 235, 228, .76);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.insurance-copy strong {
  color: #f5eddb;
  font-size: 14px;
}

.insurance-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.insurance-button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #f7f2e8;
  background: #215a44;
  font: 750 13px/1 Inter, sans-serif;
  cursor: pointer;
  transition: transform 120ms cubic-bezier(.2, .8, .2, 1), filter 140ms ease, opacity 140ms ease;
}

.insurance-button--accept { background: #526b98; }
.insurance-button:active:not(:disabled) { filter: brightness(.94); transform: translateY(1px) scale(.97); }
.insurance-button:disabled { opacity: .36; cursor: default; }

.action-button {
  min-width: clamp(70px, 21vw, 105px);
  padding-inline: 12px;
  font-size: 13px;
}

.action-button--quiet {
  color: #eee9dc;
  background: #215a44;
}

.table.is-round-transition .seat,
.table.is-round-transition .betting-circle {
  opacity: 0;
  transform: translateY(-4px);
}

.site-footer {
  align-self: end;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 24px;
  gap: 5px 12px;
  color: rgba(174, 195, 182, .57);
  font-size: 9px;
  letter-spacing: .055em;
  text-align: center;
}

.site-footer__identity { margin: 0; }
.site-footer__identity span { padding-inline: 3px; }

.site-footer__primary {
  display: flex;
  justify-content: center;
  flex: 0 0 100%;
  gap: 18px;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .02em;
}

.site-footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex: 0 0 100%;
  margin-top: 3px;
  gap: 6px 11px;
}

.site-footer a {
  color: rgba(205, 216, 207, .72);
  text-decoration: none;
  text-underline-offset: 3px;
}

.site-footer a:focus-visible,
.info-header a:focus-visible,
.info-content a:focus-visible,
.rank-selector__scroll:focus-visible,
.rank-card:focus-visible,
.decision-table-scroll:focus-visible,
.strategy-table-scroll:focus-visible,
.strategy-cell:focus-visible,
.trainer-action:focus-visible,
.trainer-next:focus-visible,
.bookmark-button:focus-visible {
  border-radius: 2px;
  outline: 2px solid rgba(244, 232, 190, .84);
  outline-offset: 3px;
}

.info-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: max(24px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  color: #e9e6da;
  background:
    radial-gradient(ellipse at 50% 24%, rgba(19, 91, 61, .22), transparent 52%),
    var(--felt-deep);
}

.info-header,
.info-content,
.info-page > .site-footer {
  width: min(100%, 720px);
  min-width: 0;
  margin-inline: auto;
}

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.info-wordmark { text-decoration: none; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 17px;
}

.primary-nav a {
  color: rgba(207, 220, 211, .76);
  font-size: 12px;
  text-decoration: none;
  text-underline-offset: 4px;
}

.info-content {
  align-self: start;
  margin-top: clamp(54px, 9vw, 96px);
  padding-bottom: 24px;
}

.info-page--short .info-content { max-width: 610px; }

.info-page--wide .info-header,
.info-page--wide .info-content,
.info-page--wide > .site-footer { width: min(100%, 1080px); }

.info-content h1 {
  margin: 0 0 30px;
  color: #f4eee1;
  font: 500 clamp(34px, 6vw, 46px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.info-content h2 {
  margin: 44px 0 13px;
  color: #eee9dc;
  font: 650 21px/1.2 Inter, sans-serif;
  letter-spacing: -.018em;
}

.info-content h3 {
  margin: 27px 0 8px;
  color: #dedbcc;
  font: 700 16px/1.25 Inter, sans-serif;
}

.info-content p,
.info-content li {
  color: #c5d0c8;
  font-size: 16px;
  line-height: 1.72;
}

.info-content p { margin: 0 0 19px; }
.info-content ul,
.info-content ol { margin: 0 0 22px; padding-left: 24px; }
.info-content li + li { margin-top: 7px; }

.info-content a {
  color: #dfcf9d;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.info-lede { color: #d7ddd6 !important; font-size: 17px !important; }
.play-link { display: inline-block; margin-top: 3px; }

.info-content--device { max-width: 760px; }

.device-primary-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 23px;
  border-radius: 999px;
  color: #171a16 !important;
  background: #f2c84b;
  text-decoration: none;
}

.device-primary-cta:focus-visible {
  outline: 2px solid rgba(244, 232, 190, .84);
  outline-offset: 3px;
}

.device-affiliation {
  color: rgba(181, 200, 188, .7) !important;
  font-size: 12px !important;
}

.last-updated {
  margin-top: -16px !important;
  color: rgba(181, 200, 188, .7) !important;
  font-size: 12px !important;
}

.info-page > .site-footer { padding-top: 54px; }

.hub-list {
  margin-top: 38px;
  border-top: 1px solid rgba(224, 208, 164, .17);
}

.hub-list article {
  padding: 27px 0 24px;
  border-bottom: 1px solid rgba(224, 208, 164, .17);
}

.hub-list h2 { margin: 0 0 7px; }
.hub-list h2 a { color: #eee9dc; text-decoration: none; }
.hub-list p { max-width: 610px; margin-bottom: 0; }
.hub-cta, .hub-links { margin-top: 30px !important; }

.info-content--tool { max-width: none; }
.info-content--tool > p { max-width: 760px; }
.info-content--tool strong { color: #e7e1d1; }

.rules-panel {
  max-width: 840px;
  margin-top: 39px;
  padding: 1px 24px 20px;
  border: 1px solid rgba(224, 208, 164, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}

.rules-panel h2 { margin-top: 22px; }

.rules-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  gap: 0 28px;
}

.rules-summary div {
  display: grid;
  grid-template-columns: minmax(100px, .65fr) minmax(0, 1.35fr);
  padding: 11px 0;
  gap: 14px;
  border-top: 1px solid rgba(224, 208, 164, .11);
}

.rules-summary dt,
.strategy-selection dt,
.strategy-definitions dt {
  color: #eee9dc;
  font-weight: 750;
}

.rules-summary dd,
.strategy-selection dd,
.strategy-definitions dd { margin: 0; color: #bccac1; }

.strategy-key { max-width: 840px; }

.strategy-key ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 7px 22px;
  list-style: none;
}

.strategy-key li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #becbc3;
  font-size: 13px;
  line-height: 1.45;
}

.strategy-key li strong {
  min-width: 30px;
  color: #f0e9d8;
  font-variant-numeric: tabular-nums;
}

.strategy-selection {
  max-width: 840px;
  margin-top: 34px;
  padding: 1px 24px 18px;
  border-left: 3px solid #cdbb7f;
  background: rgba(205, 187, 127, .07);
}

.strategy-selection h2 { margin-top: 21px; }
.strategy-selection__prompt { margin-bottom: 12px !important; font-size: 13px !important; }

.strategy-selection dl {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 12px;
  gap: 8px 28px;
}

.strategy-selection dl div { display: flex; gap: 7px; }
.strategy-selection p:last-child { margin-bottom: 0; font-size: 14px; }

.strategy-section { margin-top: 52px; }
.strategy-section > h2 { margin-bottom: 6px; }
.strategy-section > p { margin-bottom: 12px; font-size: 14px; }
.strategy-scroll-hint { color: rgba(185, 202, 191, .7) !important; font-size: 11px !important; }

.strategy-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(224, 208, 164, .18);
  border-radius: 8px;
  background: #082f23;
  box-shadow: 0 14px 30px rgba(0, 22, 15, .16);
  scrollbar-color: rgba(211, 193, 133, .55) rgba(0, 0, 0, .14);
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.strategy-table {
  width: 100%;
  min-width: 720px;
  border-spacing: 0;
  table-layout: fixed;
  color: #e9e5d7;
  font-size: 12px;
  text-align: center;
}

.strategy-table th,
.strategy-table td {
  height: 43px;
  padding: 0;
  border-right: 1px solid rgba(224, 208, 164, .1);
  border-bottom: 1px solid rgba(224, 208, 164, .1);
}

.strategy-table thead th {
  height: 45px;
  color: #eee9dc;
  background: #0b3c2c;
  font-size: 12px;
  font-weight: 800;
}

.strategy-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 82px;
  background: #0b3c2c;
  box-shadow: 1px 0 rgba(224, 208, 164, .13);
}

.strategy-table thead th:first-child { z-index: 3; }
.strategy-table tr:last-child th,
.strategy-table tr:last-child td { border-bottom: 0; }
.strategy-table th:last-child,
.strategy-table td:last-child { border-right: 0; }

.strategy-cell {
  width: 100%;
  min-height: 42px;
  padding: 0;
  border: 0;
  color: #f4f0e5;
  background: rgba(255, 255, 255, .025);
  font: 800 12px/1 Inter, sans-serif;
  cursor: pointer;
}

.strategy-cell--hit { background: rgba(45, 113, 128, .28); }
.strategy-cell--stand { background: rgba(147, 72, 66, .3); }
.strategy-cell--double-hit,
.strategy-cell--double-stand { background: rgba(174, 137, 50, .3); }
.strategy-cell--split { background: rgba(102, 89, 139, .34); }

.strategy-cell[aria-pressed="true"] {
  position: relative;
  z-index: 1;
  color: #17221c;
  background: #eadcae;
  box-shadow: inset 0 0 0 2px #fff4cf;
}

.strategy-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 0 22px;
  gap: 12px 32px;
}

.strategy-definitions div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; }

.info-content--decision > .info-lede { max-width: 720px; }

.decision-calculator {
  width: min(100%, 840px);
  margin-top: 31px;
  padding: 24px;
  border: 1px solid rgba(224, 208, 164, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

.decision-selectors {
  display: grid;
  gap: 18px;
}

.rank-selector {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rank-selector legend {
  margin-bottom: 8px;
  color: #eee9dc;
  font-size: 13px;
  font-weight: 750;
}

.rank-selector__scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding: 3px 2px 8px;
  scrollbar-color: rgba(211, 193, 133, .55) rgba(0, 0, 0, .14);
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.rank-options {
  display: grid;
  grid-template-columns: repeat(13, 44px);
  width: max-content;
  gap: 6px;
}

.rank-card {
  width: 44px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(47, 43, 34, .25);
  border-radius: 6px;
  color: #24251f;
  background: #eee9db;
  box-shadow: 0 3px 7px rgba(0, 22, 15, .2);
  font: 700 18px/1 Georgia, "Times New Roman", serif;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.rank-card[aria-pressed="true"] {
  color: #f4eee1;
  background: #a23835;
  box-shadow: 0 0 0 2px #f0e5c9, 0 5px 10px rgba(0, 18, 12, .27);
  transform: translateY(-2px);
}

.decision-result {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(110px, .8fr) minmax(150px, 1fr);
  margin-top: 23px;
  padding-top: 22px;
  gap: 20px;
  border-top: 1px solid rgba(224, 208, 164, .18);
}

.decision-result__fact,
.decision-result__action {
  display: grid;
  align-content: start;
  gap: 4px;
}

.decision-result__fact span,
.decision-result__action span {
  color: rgba(189, 204, 194, .76);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.decision-result__fact strong {
  color: #f3eddf;
  font: 700 23px/1.1 Georgia, "Times New Roman", serif;
}

.decision-result__fact small {
  color: #bdc9c1;
  font-size: 12px;
}

.decision-result__action strong {
  color: #f0d78d;
  font-size: 27px;
  line-height: 1.05;
  text-transform: uppercase;
}

.decision-result__explanation {
  grid-column: 1 / -1;
  margin: 0 !important;
  color: #d3dad4 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.calculator-rule-note {
  margin: 17px 0 0 !important;
  color: rgba(185, 202, 191, .7) !important;
  font-size: 12px !important;
}

.calculator-rule-note a { font-weight: 650; }

.decision-table-scroll {
  width: min(100%, 720px);
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(224, 208, 164, .18);
  border-radius: 8px;
  background: rgba(0, 28, 20, .25);
  scrollbar-color: rgba(211, 193, 133, .55) rgba(0, 0, 0, .14);
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.decision-table {
  width: 100%;
  min-width: 500px;
  border-spacing: 0;
  color: #d8dfd8;
  font-size: 14px;
  text-align: left;
}

.decision-table th,
.decision-table td {
  padding: 12px 15px;
  border-right: 1px solid rgba(224, 208, 164, .1);
  border-bottom: 1px solid rgba(224, 208, 164, .1);
}

.decision-table thead th {
  color: #eee9dc;
  background: rgba(11, 60, 44, .82);
  font-size: 12px;
  font-weight: 800;
}

.decision-table tbody th { color: #e5e0d3; font-weight: 700; }
.decision-table tr:last-child th,
.decision-table tr:last-child td { border-bottom: 0; }
.decision-table th:last-child,
.decision-table td:last-child { border-right: 0; }

.info-content--trainer { margin-top: clamp(32px, 5vw, 54px); }
.info-content--trainer h1 { margin-bottom: 18px; }
.info-content--trainer > .info-lede { max-width: 760px; margin-bottom: 9px; }

.bookmark-helper {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  max-width: 760px;
  margin: -5px 0 0;
  gap: 7px 12px;
}

.bookmark-button {
  min-height: 38px;
  padding: 0;
  border: 0;
  color: #dfcf9d;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.bookmark-hint {
  color: rgba(193, 207, 198, .76);
  font-size: 12px;
  line-height: 1.45;
}

.strategy-trainer {
  width: min(100%, 760px);
  margin-top: 13px;
}

.trainer-table {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding: 16px 24px 18px;
  border: 1px solid rgba(227, 215, 178, .2);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(22, 105, 70, .25), transparent 64%),
    repeating-linear-gradient(117deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 4px),
    #073d2c;
  box-shadow: 0 22px 45px rgba(0, 20, 14, .2), inset 0 1px rgba(255, 255, 255, .025);
}

.trainer-table::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 25%;
  left: 50%;
  width: 110%;
  height: 52%;
  border: 1px solid rgba(224, 208, 164, .075);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.trainer-session {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(224, 208, 164, .11);
}

.trainer-session span {
  color: rgba(190, 206, 196, .72);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.trainer-session strong {
  color: #e7e1d1;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.trainer-hand {
  display: grid;
  justify-items: center;
}

.trainer-hand > p {
  margin: 0 0 8px;
  color: rgba(206, 218, 210, .78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.trainer-hand--dealer { margin-top: 12px; }
.trainer-hand--player { margin-top: 9px; }

.trainer-cards {
  display: flex;
  justify-content: center;
  min-height: 88px;
  gap: 10px;
}

.strategy-trainer .trainer-card {
  width: clamp(70px, 11vw, 76px);
  filter: drop-shadow(0 8px 8px rgba(0, 22, 15, .34)) drop-shadow(0 1px 1px rgba(0, 12, 8, .2));
}

.strategy-trainer .trainer-card .card__corner strong { color: inherit; }

.trainer-hand__label {
  min-height: 16px;
  margin-top: 6px;
  color: rgba(235, 230, 216, .83) !important;
  font-size: 12px;
  font-weight: 700;
}

.trainer-decision {
  min-width: 0;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}

.trainer-decision legend {
  width: 100%;
  margin-bottom: 10px;
  color: #f0eadc;
  font: 650 18px/1.2 Georgia, "Times New Roman", serif;
  text-align: center;
}

.trainer-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.trainer-action,
.trainer-next {
  min-height: 47px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fffaf1;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
  transition: filter 140ms ease, opacity 140ms ease, transform 120ms ease, box-shadow 140ms ease;
}

.trainer-action--hit { background: #16875b; }
.trainer-action--stand { background: #b8443b; }
.trainer-action--double { color: #27261f; background: #dbc267; }
.trainer-action--split { background: #526b98; }

.trainer-action:active:not(:disabled),
.trainer-next:active { filter: brightness(.94); transform: translateY(1px) scale(.98); }

.trainer-action:disabled {
  cursor: default;
}

.trainer-action:disabled:not(.is-answer):not(.is-wrong) {
  opacity: .28;
  filter: saturate(.55);
}

.trainer-action.is-answer {
  opacity: 1;
  box-shadow: inset 0 0 0 3px rgba(255, 250, 225, .88), 0 0 0 1px rgba(0, 18, 12, .45);
}

.trainer-action.is-wrong {
  opacity: 1;
  box-shadow: inset 0 0 0 3px rgba(255, 224, 215, .88), 0 0 0 1px rgba(0, 18, 12, .45);
}

.trainer-response {
  display: grid;
  align-items: center;
  min-height: 78px;
  margin-top: 10px;
}

.trainer-awaiting {
  margin: 0 !important;
  color: rgba(188, 203, 193, .67) !important;
  font-size: 12px !important;
  text-align: center;
}

.trainer-feedback {
  padding: 13px 16px;
  border-left: 3px solid #d5c27d;
  background: rgba(6, 41, 29, .68);
  animation: trainer-feedback-in 180ms ease both;
}

.trainer-feedback.is-correct { border-left-color: #4fbd84; }
.trainer-feedback.is-incorrect { border-left-color: #dc6c5e; }

.trainer-feedback > strong {
  display: block;
  color: #f5eee0 !important;
  font-size: 17px;
  line-height: 1.2;
}

.trainer-feedback p {
  margin: 5px 0 0 !important;
  color: #cbd6ce !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.trainer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  gap: 14px;
}

.trainer-footer p {
  margin: 0 !important;
  color: rgba(185, 202, 191, .7) !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.trainer-next {
  min-width: 126px;
  color: #1d201b;
  background: #f0cb59;
}

@keyframes trainer-deal-in {
  from { opacity: .25; transform: translate3d(24px, -24px, 0) scale(.92) rotate(1.5deg); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
}

@keyframes trainer-feedback-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.strategy-trainer.is-dealing .trainer-card {
  animation: trainer-deal-in 270ms cubic-bezier(.16, .76, .24, 1) both;
}

.strategy-trainer.is-dealing .trainer-hand--player .trainer-card:first-child { animation-delay: 55ms; }
.strategy-trainer.is-dealing .trainer-hand--player .trainer-card:last-child { animation-delay: 105ms; }

.related-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  gap: 12px 24px;
  border-top: 1px solid rgba(224, 208, 164, .17);
}

.related-links a { font-size: 14px; }

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-4px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes side-bet-win {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.035); }
}

@keyframes controls-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes card-flip-lift {
  0%, 100% { filter: drop-shadow(0 8px 7px rgba(0, 24, 17, .3)) drop-shadow(0 1px 1px rgba(0, 12, 8, .2)); transform: translateY(0) scale(1); }
  50% { filter: drop-shadow(0 13px 10px rgba(0, 20, 14, .35)); transform: translateY(-2px) scale(1.015); }
}

@keyframes hand-outcome-in {
  from { opacity: 0; transform: translate(-50%, 3px) scale(.97); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@media (hover: hover) {
  .chip:hover:not(:disabled):not(:active):not(.is-selected) { filter: brightness(1.06); transform: translateY(-2px) scale(1.015); }
  .chip.is-selected:hover:not(:disabled):not(:active) { filter: brightness(1.12) saturate(1.04); transform: translateY(-4px) scale(1.045); }
  .deal-button:hover:not(:active),
  .action-button:hover:not(:active),
  .insurance-button:hover:not(:disabled):not(:active) { filter: brightness(1.07); transform: translateY(-1px); }
  .persona-menu__options button:hover { background: rgba(255, 255, 255, .07); }
  .persona-trigger:hover:not(:disabled) { border-color: rgba(231, 222, 193, .27); background: rgba(255, 255, 255, .045); }
  .table-trigger:hover:not(:disabled) { color: #e8eee9; border-color: rgba(231, 222, 193, .27); background: rgba(255, 255, 255, .055); }
  .daily-trigger:hover { color: #f3ead0; border-color: rgba(231, 222, 193, .3); background: rgba(255, 255, 255, .055); }
  .daily-primary:hover:not(:disabled), .daily-secondary:hover { filter: brightness(1.06); }
  .side-bet-info__trigger:hover { color: #e8eee9; background: rgba(255, 255, 255, .055); }
  .spot-bet-target:hover:not(:disabled) { border-color: rgba(238, 224, 181, .52); background: rgba(255, 255, 255, .035); }
  .side-bet-target:hover:not(:disabled) .side-bet-target__shape path { fill: rgba(255, 255, 255, .024); stroke: rgba(238, 224, 181, .5); }
  .site-footer a:hover,
  .primary-nav a:hover { color: #ece6d7; text-decoration: underline; }
  .hub-list h2 a:hover { color: #f5eddb; text-decoration: underline; }
  .strategy-cell:hover { filter: brightness(1.16); }
  .rank-card:hover { background: #f8f2e5; transform: translateY(-1px); }
  .rank-card[aria-pressed="true"]:hover { background: #ac3d39; transform: translateY(-2px); }
  .trainer-action:hover:not(:disabled),
  .trainer-next:hover { filter: brightness(1.07); transform: translateY(-1px); }
  .bookmark-button:hover { color: #eee2b8; }
}

@media (max-width: 359px) {
  .table {
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }
  .wordmark { font-size: 15px; }
  .persona-trigger { min-height: 32px; padding-inline: 5px; gap: 4px; }
  .balance { font-size: 16px; }
  .persona-menu { top: calc(100% + 7px); }
  .table-controls { gap: 3px; }
  .daily-challenge-control { position: absolute; top: 39px; left: 0; }
  .daily-trigger { min-height: 32px; padding-inline: 4px; font-size: 11px; }
  .table-trigger { min-height: 32px; padding-inline: 5px; gap: 3px; font-size: 11px; }
  .table-options__menu { right: -50px; }
  .chip-rack { gap: 4px; }
  .chip { width: 45px; }
  .chip span { font-size: 8.5px; }
  .action-button { min-width: 66px; padding-inline: 8px; }
  .game-actions { gap: 5px; }
  .site-footer { gap: 4px 9px; }
  .site-footer__nav { column-gap: 9px; }
}

@media (max-width: 560px) {
  .daily-trigger__wide { display: none; }
  .daily-trigger__compact { display: inline; }
  .daily-dialog__panel { padding: 22px 18px 20px; }
}

@media (min-width: 360px) and (max-width: 560px) {
  .wordmark { font-size: 15px; white-space: nowrap; }
  .table-controls { gap: 4px; }
  .daily-trigger, .table-trigger { padding-inline: 8px; font-size: 11px; }
  .persona-trigger { padding-inline: 8px 6px; gap: 5px; }
  .balance { font-size: 18px; }
}

@media (max-width: 560px) and (max-height: 700px) and (orientation: portrait) {
  .betting-circle > strong { top: auto; bottom: 2px; }
  .table.is-settled .result { position: relative; z-index: 4; top: 24px; min-height: 18px; font-size: 18px; }
  .player-hands { position: relative; top: 12px; }
  .control-dock:has(.game-actions:not([hidden])) { padding-top: 10px; }
}

@media (max-height: 620px) and (orientation: portrait) {
  .table {
    grid-template-rows: auto minmax(78px, .82fr) minmax(64px, .55fr) minmax(110px, 1fr) auto auto;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .betting-actions { min-height: 38px; margin-top: 6px; }
  .control-dock, .betting-controls { min-height: 105px; }
  .site-footer { padding-top: 6px; }
  .has-side-bets.is-multi-hand .side-bet-target { min-height: 18px; padding-block: 2px; }
  .has-side-bets.is-multi-hand:not(.is-multi-hand-betting) .player-spot > .side-bet-zones { margin-top: 1px; gap: 0; }
  .has-side-bets.is-multi-hand-betting .player-spot > .side-bet-zones { margin-top: -17px; gap: 0; }
}

@media (max-width: 560px) {
  .has-side-bets.is-multi-hand-betting .player-spot > .side-bet-zones { margin-top: -31px; }
  .has-side-bets.is-multi-hand-betting .side-bet-target { min-height: 52px; }
  .is-multi-hand .side-bet-target__label > span { display: none; }
  .is-multi-hand .side-bet-target__label abbr { display: block; }
  .is-multi-hand .side-bet-target { min-height: 27px; padding: 3px 4px; }
  .is-multi-hand .side-bet-target__label { font-size: 8px; }
  .is-multi-hand .side-bet-target__result { font-size: 6.5px; }
  .is-multi-hand .side-bet-target__result strong { font-size: 8px; }
  .is-multi-hand .side-bet-stack .wager-chip {
    left: 52%;
    bottom: 3px;
    width: 14px;
    font-size: 0;
  }
  .is-multi-hand .side-bet-stack .wager-chip::before { inset: 3px; }
  .is-multi-hand .side-bet-target__amount {
    top: auto;
    right: 4px;
    bottom: 1px;
    font-size: 7px;
    transform: none;
  }
  .is-multi-hand .side-bet-target:first-child .side-bet-target__amount { right: auto; left: 4px; }
  .player-hands[data-spot-count="2"] .side-bet-target:first-child .side-bet-target__label { right: 20%; }
  .player-hands[data-spot-count="2"] .side-bet-target:last-child .side-bet-target__label { left: 20%; }
  .player-hands[data-spot-count="2"] .side-bet-target__label { width: 42px; }
  .player-hands[data-spot-count="3"] .side-bet-zones { gap: 0; width: min(100%, 96px); }
  .player-hands[data-spot-count="3"] .side-bet-target { min-height: 30px; }
  .has-side-bets.is-multi-hand-betting .player-hands[data-spot-count="3"] .side-bet-zones { margin-top: -19px; }
  .has-side-bets.is-multi-hand-betting .player-hands[data-spot-count="3"] .side-bet-target { min-height: 34px; }
  .player-hands[data-spot-count="3"] .side-bet-stack { opacity: 0; }
  .player-hands[data-spot-count="3"] .side-bet-target:first-child .side-bet-target__label { right: 25%; }
  .player-hands[data-spot-count="3"] .side-bet-target:last-child .side-bet-target__label { left: 25%; }
  .player-hands[data-spot-count="3"] .side-bet-target__label { top: 3px; width: 34px; font-size: 7.5px; }
  .player-hands[data-spot-count="3"] .side-bet-target__label::before { margin-bottom: 1px; font-size: 7px; }
  .player-hands[data-spot-count="3"] .side-bet-target.has-bet .side-bet-target__label { opacity: 0; }
  .player-hands[data-spot-count="3"] .side-bet-target__amount {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 50%;
    font-size: 8.5px;
    transform: translateX(-50%);
  }
  .table.is-settled .player-hands[data-spot-count="3"] .player-hand__score { display: none; }
  .player-hands[data-spot-count="3"] .player-hand__outcome { font-size: 13px; letter-spacing: 0; }
  .side-bet-popover { top: 52px; max-height: calc(100svh - 66px); }
  .player-hands:not(.is-single-spot) .player-spot:not(.is-active) {
    flex: 0 1 74px;
    min-width: 68px;
  }
  .has-side-bets.is-multi-hand-betting .player-hands:not(.is-single-spot) .player-spot {
    flex: 1 1 0;
    max-width: none;
  }
  .player-hands[data-spot-count="2"] .player-spot.is-active { flex-grow: 1.25; }
  .player-hands[data-spot-count="3"] .player-spot.is-active { flex-grow: 1.65; }
  .player-hands:not(.is-single-spot) .player-spot.is-active.has-split-hands,
  .player-hands:not(.is-single-spot) .player-spot.is-active.has-long-hand { flex-grow: 2.2; }
  .player-hands[data-spot-count="2"] .player-spot.is-active .playing-card,
  .player-hands[data-spot-count="3"] .player-spot.is-active .playing-card { width: clamp(56px, 15vw, 64px); }
  .player-hands[data-spot-count="2"] .player-spot:not(.is-active) .playing-card,
  .player-hands[data-spot-count="3"] .player-spot:not(.is-active) .playing-card { width: clamp(44px, 11.8vw, 50px); }
  .player-hands[data-spot-count="2"] .player-spot:not(.is-active) .hand .playing-card + .playing-card,
  .player-hands[data-spot-count="3"] .player-spot:not(.is-active) .hand .playing-card + .playing-card { margin-left: -22px; }
  .player-hands[data-spot-count="2"] .hand,
  .player-hands[data-spot-count="3"] .hand { min-height: 80px; }
  .player-hands[data-spot-count="2"] .empty-hand,
  .player-hands[data-spot-count="3"] .empty-hand { height: 80px; }
  .player-spot.is-active.has-split-hands .playing-card { width: clamp(44px, 12vw, 50px); }
  .player-spot:not(.is-active).has-split-hands .playing-card { width: 44px; }
  .player-spot__hands:has(.player-hand:nth-child(2)) .hand .playing-card + .playing-card { margin-left: -20px; }
  .player-spot__hands:has(.player-hand:nth-child(2)) .player-hand { padding-inline: 1px; }
  .player-hands:not(.is-single-spot) .player-spot:not(.is-active).has-split-hands .player-hand:nth-child(n + 2) { display: none; }
  .player-hands:not(.is-single-spot) .player-spot.is-active.has-split-hands .player-hand + .player-hand { margin-left: -30px; }
  .player-hands:not(.is-single-spot) .player-spot.is-active .player-spot__hands:has(.player-hand:nth-child(3)) .player-hand + .player-hand { margin-left: -49px; }
  .player-hands:not(.is-single-spot) .player-spot.has-split-hands .player-hand__meta span { display: none; }
  .player-hands:not(.is-single-spot) .player-spot.has-split-hands .player-hand__meta { gap: 0; letter-spacing: 0; }
  .player-hands:not(.is-single-spot) .player-spot.has-long-hand .hand .playing-card + .playing-card { margin-left: -34px; }
  .player-hands:not(.is-single-spot) .player-spot:not(.is-active).has-compact-hand .hand { position: relative; }
  .player-hands:not(.is-single-spot) .player-spot:not(.is-active).has-compact-hand .hand .playing-card:nth-child(n + 3) { display: none; }
  .player-hands:not(.is-single-spot) .player-spot:not(.is-active).has-compact-hand .hand::after {
    content: attr(data-card-count) " cards";
    position: absolute;
    right: 1px;
    bottom: 3px;
    padding: 1px 2px;
    border-radius: 3px;
    color: rgba(232, 227, 213, .76);
    background: rgba(4, 54, 38, .88);
    font-size: 7px;
    font-weight: 750;
    white-space: nowrap;
  }
  .player-hands:not(.is-single-spot) .player-spot:not(.is-active).has-split-hands .player-hand__meta { visibility: hidden; }
}

@media (min-width: 720px) {
  .table {
    grid-template-rows: auto minmax(145px, .95fr) minmax(108px, .62fr) minmax(168px, 1.1fr) auto auto;
    padding: max(27px, env(safe-area-inset-top)) max(42px, env(safe-area-inset-right)) max(21px, env(safe-area-inset-bottom)) max(42px, env(safe-area-inset-left));
  }

  .wordmark { font-size: 19px; }
  .balance { font-size: 21px; }
  .hand { min-height: 118px; gap: 11px; }
  .playing-card { width: 86px; border-radius: 8px; }
  .card__face { border-radius: 8px; }
  .betting-circle { width: 106px; }
  .wager-chip { bottom: 29px; width: 47px; }
  .player-hands { min-height: 148px; }
  .empty-hand { height: 124px; }
  .control-dock { min-height: 142px; }
  .chip-rack { min-height: 67px; gap: 14px; }
  .chip { width: 61px; }
  .chip span { font-size: 11px; }
  .betting-actions { min-height: 54px; margin-top: 22px; }
  .game-actions { min-height: 92px; }
  .site-footer { font-size: 10px; }
}

@media (min-width: 720px) and (min-height: 621px) and (max-height: 820px) {
  .table.is-settled .result { position: relative; z-index: 4; top: 18px; min-height: 24px; font-size: clamp(20px, 5vw, 26px); }
  .player-hands { position: relative; top: 32px; }
  .has-side-bets.is-multi-hand .player-hands { top: 0; }
  .control-dock:has(.game-actions:not([hidden])) { padding-top: 24px; }
}

@media (max-width: 560px) and (max-height: 620px) and (orientation: portrait) {
  .has-side-bets.is-multi-hand-betting .spot-bet-target__amount { top: auto; bottom: 2px; z-index: 2; font-size: 8px; }
  .has-side-bets.is-multi-hand-betting .player-hands[data-spot-count="3"] .side-bet-zones { margin-top: -17px; }
  .has-side-bets .player-hands[data-spot-count="3"] .side-bet-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; width: min(100%, 88px); }
  .has-side-bets .player-hands[data-spot-count="3"] .side-bet-target { min-height: 24px; }
  .has-side-bets.is-multi-hand-betting .player-hands[data-spot-count="3"] .side-bet-target { min-height: 31px; }
  .table.has-side-bets.is-multi-hand .control-dock:has(.game-actions:not([hidden])) { padding-top: 16px; }
  .table.has-side-bets.is-multi-hand .insurance-controls { padding-top: 14px; }
}

@media (max-width: 359px) and (max-height: 620px) and (orientation: portrait) {
  .has-side-bets .player-hands[data-spot-count="3"] .side-bet-target__label { top: 1px; width: 30px; font-size: 6.5px; }
  .has-side-bets .player-hands[data-spot-count="3"] .side-bet-target__amount {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 50%;
    font-size: 7.5px;
    transform: translateX(-50%);
  }
}

@media (min-width: 1100px) and (min-height: 760px) {
  .table { grid-template-rows: auto minmax(165px, 1fr) minmax(120px, .62fr) minmax(185px, 1.12fr) auto auto; }
  .playing-card { width: 94px; }
}

@media (max-height: 620px) and (orientation: landscape) {
  .table {
    grid-template-rows: auto minmax(88px, 1fr) minmax(58px, .6fr) minmax(98px, 1fr) auto auto;
    padding-top: max(11px, env(safe-area-inset-top));
  }
  .playing-card { width: 58px; }
  .hand { min-height: 81px; }
  .player-hands { min-height: 88px; }
  .empty-hand { height: 78px; }
  .control-dock, .betting-controls { min-height: 83px; }
  .chip-rack { min-height: 50px; }
  .chip { width: 43px; }
  .betting-actions { min-height: 36px; margin-top: 7px; padding-top: 0; }
  .betting-circle > strong { top: auto; bottom: 2px; }
  .deal-button, .action-button { min-height: 38px; }
  .game-actions,
  .insurance-controls { min-height: 56px; }
  .insurance-controls { padding-top: 0; gap: 5px; }
  .insurance-copy { display: flex; gap: 7px; }
  .insurance-button { min-height: 36px; }
  .site-footer { padding-top: 6px; }
}

@media (max-width: 719px) and (max-height: 620px) and (orientation: landscape) {
  .table.is-settled .result { position: relative; z-index: 4; top: 24px; min-height: 18px; font-size: 18px; }
  .player-hands { position: relative; top: 20px; }
  .control-dock:has(.game-actions:not([hidden])) { padding-top: 16px; }
}

/* Generic compact wide-touch mode for unfolded foldables and similar devices.
   Keep this independent of marketing device names and speculative hinge APIs. */
@media (hover: none) and (pointer: coarse) and (min-width: 600px) and (max-width: 1000px) and (min-height: 640px) and (max-height: 760px) and (min-aspect-ratio: 6/7) {
  .table--game {
    grid-template-rows: auto minmax(0, .85fr) minmax(68px, .45fr) minmax(0, 1fr) 118px auto;
    height: 100svh;
    min-height: 640px;
    padding-right: max(24px, env(safe-area-inset-right));
    padding-left: max(24px, env(safe-area-inset-left));
  }

  .table--game .player-hands[data-spot-count="2"] { gap: clamp(28px, 7vw, 64px); }
  .table--game .player-hands[data-spot-count="3"] { gap: clamp(10px, 3vw, 28px); }
  .table--game .player-hands[data-spot-count="2"] .playing-card { width: clamp(66px, 10vw, 82px); }
  .table--game .player-hands[data-spot-count="3"] .playing-card { width: clamp(58px, 8vw, 72px); }
  .table--game .player-hands:not(.is-single-spot) .player-spot {
    padding-inline: 6px;
    opacity: .8;
  }
  .table--game .player-hands:not(.is-single-spot) .player-spot.is-active { opacity: 1; }

  .table--game .player-hands { min-height: 132px; }
  .table--game .control-dock { min-height: 118px; }
  .table--game .control-dock:has(.game-actions:not([hidden])) { width: 100%; padding-top: 0; }
  .table--game .game-actions {
    display: grid;
    grid-template-columns: minmax(112px, 144px) minmax(112px, 144px);
    grid-template-rows: repeat(2, minmax(44px, auto));
    justify-content: space-between;
    align-content: center;
    min-height: 102px;
    gap: 8px max(64px, 16vw);
  }
  .table--game .game-actions .action-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }
  .table--game .game-actions .action-button--hit { grid-area: 1 / 1; }
  .table--game .game-actions [data-action="blackjack#double"] { grid-area: 2 / 1; }
  .table--game .game-actions .action-button--stand { grid-area: 1 / 2; }
  .table--game .game-actions [data-action="blackjack#split"] { grid-area: 2 / 2; }
  .table--game > .site-footer { padding-top: 8px; }
}

@media (max-width: 560px) {
  .info-page { padding-inline: 18px; }
  .info-header { align-items: center; gap: 12px; }
  .primary-nav { gap: 10px; }
  .primary-nav a { font-size: 11px; }
  .info-content { margin-top: 52px; }
  .info-content h1 { margin-bottom: 25px; }
  .info-content h2 { margin-top: 38px; }
  .info-content p,
  .info-content li { font-size: 15.5px; line-height: 1.68; }
  .info-page > .site-footer { padding-top: 42px; }
  .rules-panel { padding-inline: 16px; }
  .rules-summary { grid-template-columns: 1fr; }
  .rules-summary div { grid-template-columns: 100px 1fr; }
  .strategy-key ul { grid-template-columns: 1fr 1fr; gap-inline: 14px; }
  .strategy-selection { padding-inline: 16px; }
  .strategy-selection dl { display: grid; gap: 5px; }
  .strategy-section { margin-top: 44px; }
  .strategy-table { min-width: 640px; }
  .strategy-definitions { grid-template-columns: 1fr; gap: 9px; }
  .decision-calculator { padding: 17px 14px; }
  .decision-result { grid-template-columns: minmax(0, 1fr) minmax(90px, .7fr); gap: 17px 14px; }
  .decision-result__action { grid-column: 1 / -1; }
  .decision-result__action strong { font-size: 25px; }
  .info-content--trainer { margin-top: 28px; }
  .bookmark-helper { align-items: flex-start; }
  .bookmark-hint { flex: 1 0 100%; margin-top: -4px; }
  .trainer-table { padding: 16px 13px 17px; border-radius: 12px; }
  .trainer-session { padding-inline: 2px; }
  .trainer-cards { min-height: 92px; gap: 8px; }
  .strategy-trainer .trainer-card { width: 66px; }
  .trainer-hand--dealer { margin-top: 9px; }
  .trainer-hand--player { margin-top: 7px; }
  .trainer-decision { margin-top: 11px; }
  .trainer-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trainer-action { min-height: 46px; }
  .trainer-response { min-height: 90px; margin-top: 8px; }
  .trainer-feedback { padding: 11px 12px; }
  .trainer-footer { display: grid; }
  .trainer-next { width: 100%; grid-row: 1; }
  .trainer-footer p { grid-row: 2; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Publisher widgets use stable, content-sized shells rather than host viewport units. */
.info-content--widgets { max-width: 900px; }

.info-content--widgets > .info-lede { max-width: 780px; }

.widget-list {
  display: grid;
  margin-top: 42px;
  gap: 64px;
}

.widget-option {
  min-width: 0;
  padding-bottom: 3px;
}

.widget-option__intro { max-width: 760px; }
.widget-option__intro h2 { margin-top: 0; }

.widget-preview {
  width: 100%;
  min-width: 0;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(224, 208, 164, .2);
  border-radius: 14px;
  background: #073d2c;
  box-shadow: 0 22px 48px rgba(0, 20, 14, .22);
}

.widget-preview iframe {
  display: block;
  width: 100%;
  border: 0;
}

.embed-code {
  min-width: 0;
  margin-top: 14px;
}

.embed-code__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.embed-code__heading > strong {
  color: #e7e1d1;
  font-size: 13px;
}

.embed-code button {
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  color: #202219;
  background: #e7cb69;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
}

.embed-code button:active { filter: brightness(.94); transform: translateY(1px); }

.embed-code button:focus-visible {
  outline: 2px solid rgba(244, 232, 190, .9);
  outline-offset: 3px;
}

.embed-code pre {
  max-width: 100%;
  margin: 9px 0 0;
  overflow-x: auto;
  padding: 14px 15px;
  border: 1px solid rgba(224, 208, 164, .13);
  border-radius: 9px;
  color: #dce6de;
  background: rgba(2, 31, 22, .72);
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}

.embed-code__notes {
  margin-top: 8px !important;
  color: rgba(187, 204, 193, .72) !important;
  font-size: 12px !important;
}

.widget-faq h3 { margin-top: 20px; }
.widget-faq h3 + p { margin-bottom: 11px; }

.embed-document-root,
.embed-document {
  min-width: 0;
  min-height: 0;
}

.embed-document { overflow: hidden; }

.embed-game {
  grid-template-rows: 34px 130px 104px 154px 150px 30px;
  width: 100%;
  height: 650px;
  min-height: 650px;
  padding: 12px 14px 16px;
}

.embed-game::before {
  top: 25%;
  width: min(900px, 150%);
  height: 390px;
}

.embed-game__header {
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100%, 900px);
  margin-inline: auto;
}

.embed-game__brand {
  color: rgba(242, 236, 221, .92);
  font: 500 15px/1.2 Georgia, "Times New Roman", serif;
}

.embed-game__brand i { font-weight: 400; }

.embed-game__balance {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: rgba(193, 209, 199, .68);
  font-size: 9px;
  font-weight: 700;
}

.embed-game__balance strong {
  color: #f1ecdf;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.embed-game .seat,
.embed-game .table__center,
.embed-game .control-dock { width: min(100%, 900px); }

.embed-game .playing-card { width: clamp(64px, 18vw, 82px); }
.embed-game .hand { min-height: 100px; }
.embed-game .player-hands { min-height: 126px; }
.embed-game .empty-hand { height: 112px; }
.embed-game .control-dock,
.embed-game .betting-controls { min-height: 150px; }
.embed-game .betting-actions { margin-top: 18px; }
.embed-game .game-actions { min-height: 126px; }

.embed-game__footer {
  align-self: end;
  margin: 0;
  color: rgba(188, 205, 194, .7);
  font-size: 10px;
  text-align: center;
}

.embed-game__footer a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

.embed-game__footer a:focus-visible {
  border-radius: 2px;
  outline: 2px solid rgba(244, 232, 190, .84);
  outline-offset: 3px;
}

.embed-trainer {
  display: grid;
  align-content: start;
  width: 100%;
  height: 570px;
  min-height: 570px;
  overflow: hidden;
  padding: 10px;
  background: var(--felt-deep);
}

.strategy-trainer--embed {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.strategy-trainer--embed .trainer-table {
  min-height: 550px;
  padding: 12px 14px;
  border-radius: 11px;
}

.strategy-trainer--embed .trainer-session { padding-bottom: 8px; }
.strategy-trainer--embed .trainer-hand--dealer { margin-top: 5px; }
.strategy-trainer--embed .trainer-hand--player { margin-top: 5px; }
.strategy-trainer--embed .trainer-hand > p { margin-bottom: 4px; }
.strategy-trainer--embed .trainer-cards { min-height: 76px; gap: 7px; }
.strategy-trainer--embed .trainer-card { width: 54px; }
.strategy-trainer--embed .trainer-hand__label { min-height: 13px; margin-top: 3px; font-size: 11px; }
.strategy-trainer--embed .trainer-decision { margin-top: 6px; }
.strategy-trainer--embed .trainer-decision legend { margin-bottom: 6px; font-size: 16px; }
.strategy-trainer--embed .trainer-actions { gap: 6px; }
.strategy-trainer--embed .trainer-action { min-height: 40px; padding-inline: 8px; font-size: 13px; }
.strategy-trainer--embed .trainer-response { min-height: 68px; margin-top: 5px; }
.strategy-trainer--embed .trainer-feedback { padding: 9px 11px; }
.strategy-trainer--embed .trainer-feedback > strong { font-size: 15px; }
.strategy-trainer--embed .trainer-feedback p { margin-top: 3px !important; font-size: 11.5px !important; line-height: 1.35 !important; }
.strategy-trainer--embed .trainer-footer { display: flex; min-height: 42px; gap: 8px; }
.strategy-trainer--embed .trainer-footer p { grid-row: auto; text-align: left; }
.strategy-trainer--embed .trainer-footer a { color: rgba(222, 209, 163, .82); text-decoration: none; }
.strategy-trainer--embed .trainer-next { width: auto; min-width: 104px; min-height: 40px; grid-row: auto; padding-inline: 12px; font-size: 12px; }

@media (max-width: 430px) {
  .info-content--widgets .widget-preview { margin-inline: -8px; width: calc(100% + 16px); }
  .embed-code__heading { align-items: flex-start; }
  .embed-code button { max-width: 150px; }
  .embed-game { padding-inline: 10px; }
  .embed-game .game-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 108px));
    place-content: center;
    gap: 7px;
  }
  .embed-game .action-button { width: 100%; min-width: 0; min-height: 43px; }
  .embed-game .insurance-actions { gap: 5px; }
  .embed-game .insurance-button { padding-inline: 12px; }
  .strategy-trainer--embed .trainer-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 319px) {
  .embed-game .chip-rack { gap: 3px; }
  .embed-game .chip { width: 44px; }
  .embed-game .chip span { font-size: 8.5px; }
  .embed-game .playing-card { width: 61px; }
  .embed-game .action-button { font-size: 12px; }
  .strategy-trainer--embed .trainer-table { padding-inline: 10px; }
  .strategy-trainer--embed .trainer-footer { gap: 5px; }
  .strategy-trainer--embed .trainer-footer p { font-size: 9.5px !important; }
}
