.player-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  gap: 0 9px;
}
.player-row .token {
  grid-area: 1/1/3/2;
}
.player-row .player-name {
  grid-area: 1/2/3/3;
}
.player-row .balance {
  grid-area: 1/3;
  justify-self: end;
}
.seat-chance {
  grid-area: 2/3;
  justify-self: end;
  font: 500 12px/1.2 var(--sans);
  color: #4c6553;
}
.seat-chance b {
  font-variant-numeric: tabular-nums;
}
.seat-finances {
  grid-area: 3/1/4/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 13px;
  margin-top: 7px;
  color: #536458;
  font: 500 12px/1.3 var(--sans);
}
.seat-finances span {
  white-space: nowrap;
}
.seat-finances b {
  color: #344c3c;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.odds-details,
.bill-holdings {
  margin: 0.8rem 0;
  border-block: 1px solid var(--line);
  padding: 0.65rem 0;
}
.odds-details summary,
.bill-holdings summary {
  cursor: pointer;
  font-weight: 700;
}
.odds-details summary b {
  float: right;
}
.odds-details dl {
  display: grid;
  gap: 0.35rem;
}
.odds-details dl div {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}
.odds-details dd {
  margin: 0;
  font-weight: 700;
}
.odds-details p,
.estate-restriction {
  color: #506153;
  line-height: 1.4;
}
.finance-list .portfolio-group {
  margin: 8px 0 0;
}
.finance-list .finance-item {
  padding: 8px 3px 8px 10px;
}
.finance-list .finance-item .outline-action {
  width: auto;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid #9aab96;
  border-radius: 5px;
  background: #fafbf4;
  font-weight: 600;
}
.finance-deed strong {
  font: 650 14px/1.22 var(--sans);
}
.finance-deed small,
.estate-restriction {
  font-size: 12px;
}
.finance-item .estate-restriction {
  max-width: 48%;
  text-align: right;
}
dialog[data-kind="results"] {
  width: min(580px, calc(100% - 24px));
}
.final-winner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 10px;
  background: #244b38;
  color: #f3f4e6;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 4px 0 12px;
}
.final-winner > span,
.final-winner small {
  color: #d6e3d6;
  font-size: 13px;
}
.final-winner > strong {
  grid-row: 2;
  font: 700 24px var(--serif);
}
.final-winner small {
  grid-area: 1/2/3/3;
}
.final-winner .participant {
  color: color-mix(in srgb, var(--pc) 38%, white);
}
.final-player {
  border-bottom: 1px solid #bec9b9;
}
.final-player summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 4px;
  cursor: pointer;
  font-size: 16px;
}
.final-player summary:before {
  content: "▸";
  color: #58715f;
  font-size: 14px;
}
.final-player[open] summary:before {
  content: "▾";
}
.final-player summary small {
  margin-left: auto;
  color: #53675a;
  font: 500 13px var(--sans);
}
.final-player .final-player-body {
  padding: 0 5px 14px;
}
.final-player h3 {
  margin: 12px 0 6px;
  font: 700 17px var(--serif);
}
.final-player h3 small {
  color: #526757;
  font: 500 13px var(--sans);
}
.final-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #d5ddce;
  border: 1px solid #d5ddce;
  border-radius: 5px;
  overflow: hidden;
  margin: 0;
}
.final-metrics div {
  background: #f6f7ee;
  padding: 7px 10px;
}
.final-metrics dt {
  font-size: 13px;
  color: #4f6455;
}
.final-metrics dd {
  font: 700 19px var(--serif);
  margin: 3px 0 0;
  font-variant-numeric: tabular-nums;
}
.movement-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.visit-types {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 12px;
  margin: 6px 0 10px;
  color: #526455;
  font-size: 13px;
}
.visit-types span {
  white-space: nowrap;
}
.visit-ranking {
  list-style: none;
  margin: 0;
  padding: 0;
}
.visit-ranking li {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 25px;
  padding: 3px 7px;
  border-left: 4px solid var(--group);
  margin: 3px 0;
  font-size: 14px;
}
.visit-ranking li:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--share);
  background: color-mix(in srgb, var(--group) 17%, transparent);
  z-index: -1;
}
.visit-ranking b {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 440px) {
  .movement-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seat-finances {
    gap: 2px 9px;
  }
  .finance-list .finance-item {
    padding-left: 4px;
  }
}
