:root {
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  color: #f1e5d1;
  background: #291f2d;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 50% -15%, #56313f 0%, transparent 65%);
}
button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #f0c279;
  outline-offset: 4px;
}
main {
  max-width: 1050px;
  margin: auto;
  padding: 27px 50px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #b790792a;
}
.wordmark {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 13px;
}
.wordmark b {
  font-size: 37px;
  color: #d8ab72;
  line-height: 30px;
}
.edition {
  font-size: 12px;
  color: #d4b08d;
}
.edition i {
  font-size: 9px;
  font-style: normal;
  letter-spacing: 2px;
  margin-left: 13px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0 16px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: #cda783;
  font-weight: 600;
  margin: 0 0 11px;
}
h1 {
  font:
    62px/1.1 Georgia,
    serif;
  font-weight: 400;
  letter-spacing: -2px;
  margin: 0;
}
h1 em {
  font-weight: 400;
  color: #dcae73;
}
.quiet {
  background: transparent;
  color: #ebdac4;
  border: 1px solid #b9937155;
  border-radius: 5px;
  padding: 12px 18px;
  font-size: 11px;
}
.practice-note {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #bba6b3;
  margin: 6px 0 24px;
}
.tiny-chip {
  font-size: 16px;
  color: #d2a76f;
}
.table-shell {
  position: relative;
}
.table-meta {
  display: flex;
  justify-content: space-between;
  padding: 0 28px 16px;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #b897a3;
  gap: 12px;
}
.table-meta b {
  color: #e5c69e;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-left: 8px;
}
.felt {
  height: 470px;
  border: 1px solid #936856;
  border-radius: 170px;
  background: radial-gradient(
    ellipse at 50% 50%,
    #673b4d 0,
    #492d40 57%,
    #34273a 100%
  );
  box-shadow:
    0 22px 35px #160f2166,
    inset 0 0 0 8px #352736,
    inset 0 0 0 10px #815a514d;
  position: relative;
  isolation: isolate;
}
.inner-line {
  position: absolute;
  inset: 21px;
  border: 1px solid #c9936538;
  border-radius: 150px;
  z-index: -1;
}
.inner-line:after {
  content: "◇";
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  font:
    300px Georgia,
    serif;
  color: #c8916510;
}
.seat {
  position: absolute;
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 1;
  transition: opacity 0.2s;
}
.seat-one {
  top: 28px;
  left: 18%;
}
.seat-two {
  top: 28px;
  right: 18%;
}
.seat-you {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}
.seat.folded {
  opacity: 0.45;
}
.seat-label {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #c9a47673;
  border-radius: 50%;
  font:
    15px Georgia,
    serif;
  color: #e9c58f;
  background: #453044;
}
.seat-label strong {
  font-size: 11px;
  font-weight: 600;
}
.seat-chips {
  font-size: 9px;
  color: #c6aaad;
  font-variant-numeric: tabular-nums;
}
.seat-mode {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.5px;
  border: 1px solid #9c75814d;
  border-radius: 10px;
  padding: 4px 7px;
  color: #ccb2be;
  margin-top: 8px;
}
.seat.current .avatar {
  outline: 2px solid #e6bc79;
  outline-offset: 3px;
}
.seat.current .seat-mode {
  background: #dcb37f;
  color: #3c2b36;
  border-color: #dcb37f;
}
.seat-cards {
  display: flex;
  gap: 4px;
  margin: 10px 0 0;
  justify-content: center;
  filter: drop-shadow(1px 6px 5px #170d2344);
}
.seat-cards .playing-card {
  width: 51px;
  transform: rotate(-8deg);
  transform-origin: 50% 90%;
}
.seat-cards .playing-card:nth-child(2) {
  transform: translateY(-3px);
  z-index: 1;
  margin: 0 -6px;
}
.seat-cards .playing-card:nth-child(3) {
  transform: rotate(8deg);
}
.playing-card svg {
  width: 100%;
  display: block;
}
.seat-you .seat-cards {
  margin: 0 0 11px;
  order: -1;
  gap: 9px;
}
.seat-you .playing-card {
  width: 70px;
}
.seat-you .seat-cards .playing-card:nth-child(2) {
  transform: translateY(-7px);
  margin: 0;
}
.seat-you .seat-label {
  margin: 3px 0 0;
}
.seat-rank {
  font-size: 8px;
  color: #dac49e;
  margin-top: 6px;
}
.seat.winner .playing-card {
  filter: drop-shadow(0 0 4px #f2ca78cc);
}
.pot {
  position: absolute;
  top: 145px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 120px;
}
.pot-title {
  font-size: 7px;
  letter-spacing: 2px;
  color: #bc93a6;
}
.chip-stack {
  position: absolute;
  left: -28px;
  top: 25px;
  transform: rotate(-13deg);
  width: 35px;
  height: 37px;
}
.chip-stack i {
  display: block;
  position: absolute;
  width: 29px;
  height: 12px;
  background: #bb8456;
  border: 2px dashed #e9c18b;
  border-radius: 50%;
  box-shadow: 0 3px 0 #754d37;
  left: 0;
  top: 20px;
}
.chip-stack i:nth-child(2) {
  top: 14px;
}
.chip-stack i:nth-child(3) {
  top: 8px;
  left: 2px;
}
.chip-stack i:nth-child(4) {
  top: 2px;
  left: 1px;
}
.pot strong {
  font:
    43px/1 Georgia,
    serif;
  margin: 8px 0 5px;
  color: #f8dfb6;
  font-variant-numeric: tabular-nums;
}
.pot-unit {
  font-size: 7px;
  letter-spacing: 2px;
  color: #c7a7ae;
}
.cap-track {
  height: 2px;
  width: 80px;
  background: #a57b7444;
  margin-top: 11px;
  overflow: hidden;
}
.cap-track i {
  height: 100%;
  display: block;
  background: #cba574;
  transition: width 0.25s;
}
.pot small {
  font-size: 7px;
  color: #bb97a5;
  margin-top: 6px;
}
.table-corner {
  position: absolute;
  left: 45px;
  top: 48%;
  font-size: 6px;
  letter-spacing: 2px;
  line-height: 1.9;
  color: #b68b9350;
}
.message {
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #d9c6bc;
  margin: 23px 0 18px;
  min-height: 20px;
}
.control-panel {
  background: #322638;
  border: 1px solid #77506066;
  border-radius: 10px;
  padding: 18px 20px;
}
.control-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #dcbb8f;
  gap: 15px;
}
#hand-label {
  font-size: 10px;
  letter-spacing: 0;
  color: #ad929f;
}
.actions {
  display: flex;
  gap: 9px;
  justify-content: space-between;
}
.actions button {
  flex: 1;
  padding: 12px 14px;
  font-size: 11px;
  white-space: nowrap;
}
.actions button#look {
  flex: 1.3;
}
.actions button b {
  margin-left: 8px;
  display: inline-block;
  font-size: 12px;
  min-width: 13px;
  font-variant-numeric: tabular-nums;
}
.actions button span {
  margin-left: 9px;
}
.primary {
  border: 1px solid #e4c19a;
  background: #e9d1ad;
  color: #423042;
  border-radius: 5px;
  font-weight: 600;
}
.gold {
  border: 1px solid #9b6c4f;
  background: #b5815a;
  color: #ffeed5;
  border-radius: 5px;
  font-weight: 600;
}
.show-note {
  font-size: 9px;
  color: #a88b9b;
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.6;
}
.result {
  background: #e9d9b9;
  color: #3e2b3b;
  border: 1px solid #f9e6bd;
  border-radius: 8px;
  padding: 22px 25px;
  margin: 0 0 22px;
}
.result h2 {
  font:
    29px Georgia,
    serif;
  margin: 0 0 8px;
}
.result p {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.result .result-meta {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #86634e;
  display: block;
  margin-bottom: 9px;
}
.rules {
  border-top: 1px solid #aa80603d;
  margin-top: 30px;
}
.rules summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  padding: 22px 0;
  font-size: 12px;
  color: #e8ccaa;
}
.rules summary span {
  font-size: 20px;
}
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 45px;
  padding: 8px 0 20px;
}
.rules h2 {
  font:
    31px Georgia,
    serif;
  margin: 0 0 18px;
}
.rules h3 {
  font-size: 12px;
  color: #dfb88c;
  margin: 20px 0 10px;
}
.rules p,
.rules li {
  font-size: 12px;
  line-height: 1.8;
  color: #bda7b4;
}
.rules ul {
  padding-left: 17px;
}
.rules li {
  margin: 8px 0;
}
.rank-list {
  border-top: 1px solid #bd905c33;
  margin-top: 25px;
}
.rank-list > span {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #bd905c33;
}
.rank-list b {
  font:
    14px Georgia,
    serif;
  color: #d0a679;
}
.rank-list i {
  font-size: 9px;
  font-style: normal;
  color: #aa8f9e;
  margin-left: auto;
}
.fine {
  font-size: 10px !important;
}
code {
  font-size: 10px;
}
footer {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #9c7d8d;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #aa80603d;
  padding: 20px 0;
  margin-top: 15px;
}
@media (max-width: 700px) {
  main {
    padding: 22px 18px;
  }
  header {
    padding-bottom: 19px;
  }
  .edition i {
    display: none;
  }
  .intro {
    padding-top: 27px;
  }
  h1 {
    font-size: 48px;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .intro .quiet {
    font-size: 10px;
    padding: 11px 13px;
  }
  .practice-note {
    font-size: 9px;
    margin-bottom: 23px;
  }
  .table-meta {
    padding: 0 8px 15px;
    gap: 10px;
    font-size: 6px;
    letter-spacing: 1.1px;
  }
  .table-meta b {
    font-size: 8px;
    margin-left: 3px;
    letter-spacing: 0.6px;
  }
  .felt {
    height: 448px;
    border-radius: 65px;
  }
  .inner-line {
    border-radius: 50px;
    inset: 15px;
  }
  .seat-one {
    left: 23px;
    top: 27px;
  }
  .seat-two {
    right: 23px;
    top: 27px;
  }
  .seat-cards {
    gap: 2px;
    margin-top: 12px;
  }
  .seat-cards .playing-card {
    width: 44px;
  }
  .seat-cards .playing-card:nth-child(2) {
    margin: 0 -8px;
  }
  .seat-label {
    gap: 6px;
  }
  .seat-label strong {
    font-size: 10px;
  }
  .seat-chips {
    font-size: 8px;
  }
  .avatar {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }
  .seat-mode {
    font-size: 6px;
    padding: 4px 6px;
    margin-top: 7px;
  }
  .seat-you {
    bottom: 20px;
  }
  .seat-you .playing-card {
    width: 65px;
  }
  .seat-you .seat-cards {
    gap: 8px;
  }
  .seat-you .seat-mode {
    margin-top: 6px;
  }
  .pot {
    top: 153px;
    min-width: 99px;
  }
  .pot-title {
    font-size: 6px;
    letter-spacing: 1.7px;
  }
  .pot strong {
    font-size: 37px;
  }
  .pot-unit {
    font-size: 6px;
  }
  .chip-stack {
    left: -24px;
    transform: scale(0.8) rotate(-13deg);
  }
  .pot small {
    font-size: 6px;
  }
  .cap-track {
    width: 71px;
    margin-top: 8px;
  }
  .table-corner {
    display: none;
  }
  .message {
    font-size: 11px;
    margin: 19px 5px 17px;
    min-height: 34px;
  }
  .control-panel {
    padding: 16px 13px;
  }
  .control-top {
    display: block;
    margin-bottom: 14px;
    font-size: 7px;
  }
  .control-top span {
    display: block;
  }
  #hand-label {
    margin-top: 6px;
    font-size: 9px;
  }
  .actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }
  .actions button {
    grid-column: span 2;
    font-size: 10px;
    padding: 12px 8px;
  }
  .actions #look {
    grid-column: span 4;
  }
  .actions #fold {
    grid-column: span 2;
  }
  .actions button b {
    font-size: 11px;
    margin-left: 6px;
  }
  .actions button span {
    margin-left: 12px;
  }
  .show-note {
    font-size: 8px;
    margin-top: 12px;
  }
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .rules {
    margin-top: 26px;
  }
  .result h2 {
    font-size: 27px;
  }
  .result {
    padding: 19px;
  }
  .result p {
    font-size: 11px;
  }
  footer {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .rules summary {
    font-size: 11px;
  }
}
@media (max-width: 390px) {
  main {
    padding-left: 14px;
    padding-right: 14px;
  }
  .seat-one {
    left: 21px;
  }
  .seat-two {
    right: 21px;
  }
  .felt {
    border-radius: 53px;
  }
  .table-meta {
    font-size: 6px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .table-meta b {
    font-size: 8px;
  }
  .seat-label {
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
