.player-dialog {
  box-sizing: border-box;
  width: min(100% - 2rem, 54rem);
  max-width: none;
  max-height: calc(100% - 2rem);
  color: #29203f;
  background: #fff5df;
  border: 3px solid #f2cb73;
  border-radius: 2.25rem;
  padding: clamp(1.2rem, 5vw, 4rem);
  text-align: center;
  box-shadow: 0 12px 0 #21162f33;
  font-family: "Trebuchet MS", system-ui, sans-serif;
}
.player-dialog::backdrop { background: #2e2149df; }
.player-dialog h1, .duo-player h2 {
  margin: 0 0 .55em;
  font: 800 clamp(2rem, 6vw, 5rem)/1.04 "Trebuchet MS", system-ui, sans-serif;
  letter-spacing: -.035em;
}
.player-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: clamp(.65rem, 2vw, 1.25rem);
  justify-content: center;
}
.player-choices > button, button.player-chip {
  box-sizing: border-box;
  min-width: 120px;
  min-height: 120px;
  color: #29203f;
  border: 3px solid #f2cb73;
  border-radius: 1.4rem;
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.player-choices > .player-avatar {
  background: #fff;
  box-shadow: 0 6px 0 #efd59d;
  font: 400 clamp(3.3rem, 7vw, 7rem)/1.05 "Segoe UI Emoji", sans-serif;
  padding: .2em 0;
}
.player-choices > .player-avatar:nth-child(2) { background: #eae4ff; }
.player-choices > .player-avatar:nth-child(3) { background: #e2f4e9; }
.player-choices > .player-last {
  border-color: #7044a0;
  box-shadow: inset 0 0 0 3px #7044a0, 0 6px 0 #efd59d;
}
.player-choices > .player-guest {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 0 1.4em;
  background: #fff9ec;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 800;
}
.player-choices > button:focus-visible, button.player-chip:focus-visible {
  outline: 4px solid #7044a0;
  outline-offset: 4px;
}
button.player-chip {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  background: #fff5df;
  border-radius: 50%;
  font: 400 3rem/1 "Segoe UI Emoji", sans-serif;
  padding: 0;
  box-shadow: 0 4px 0 #21162f3b;
}
button.player-chip[hidden] { display: none; }
.player-back-to-set {
  display: inline-grid;
  flex: 0 0 150px;
  place-items: center;
  box-sizing: border-box;
  min-width: 120px;
  min-height: 120px;
  padding: 10px 16px;
  border: 3px solid #f2cb73;
  border-radius: 22px;
  background: #fff5df;
  box-shadow: 0 4px 0 #21162f3b;
  color: #29203f;
  font: 800 22px/1.15 "Trebuchet MS", system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
}
.player-back-to-set:focus-visible { outline: 4px solid #7044a0; outline-offset: 4px; }
.duo-player { width: min(100%, 44rem); margin: 12vh auto 0; text-align: center; }
.duo-player .player-avatar { font-size: clamp(3.4rem, 6vw, 6rem); }
.duo-side-avatar { vertical-align: middle; margin-inline-start: .35em; }
button.player-mode { min-height: 120px; }
@media (max-width: 460px) {
  .player-choices { grid-template-columns: repeat(2, 120px); }
}

.week-report { --week-plum: #412865; --week-lilac: #eee5ff; --week-ink: #291c43; }
.week-report .week-total { margin: 0; color: var(--week-plum); font-weight: 750; }
.week-days, .week-games, .week-hard { list-style: none; padding: 0; margin: 0; }
.week-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; }
.week-days li {
  background: var(--week-lilac);
  border-bottom: 4px solid #d4b5ff;
  border-radius: .7rem;
  padding: .45rem .2rem;
  text-align: center;
  font-size: clamp(.9rem, 1.35vw, 1.3rem);
  line-height: 1.3;
  display: grid;
  color: var(--week-ink);
}
.week-days li:last-child { border-color: #8753be; }
.week-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; }
.week-games li, .week-hard li {
  display: grid;
  gap: .15rem;
  padding: .45rem .7rem;
  border-left: 5px solid #a97adb;
  background: #f7f2ff;
  color: var(--week-ink);
}
.week-hard { display: grid; gap: .45rem; }
.week-hard li { border-color: #e4ae5d; background: #fff5df; }
.week-history > summary {
  min-height: 120px;
  padding-block: 1rem;
  align-content: center;
  border-top: 1px solid #d4b5ff;
}
@media (min-width: 1500px) {
  [data-page="dad"] .camp-main:has(.week-report) { max-width: 1840px; }
  .week-report { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .week-report article { min-width: 0; font-size: 20px; }
  .week-report .week-days { gap: .25rem; }
  .week-report .week-days li { font-size: 17px; padding-inline: 0; }
  .week-report .week-games { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .week-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .week-games { grid-template-columns: 1fr; }
}
