.play-page {
  --choice-ease:cubic-bezier(.22,1,.36,1);
}
.play-rule-picker {
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:stretch;
  gap:18px;
  margin-bottom:30px;
}
.play-rule-picker .rule-option {
  min-width:0;
  min-height:252px;
  padding:36px 18px;
  flex-direction:column;
  gap:20px;
  border-width:2px;
  transition:min-height .52s var(--choice-ease),padding .52s var(--choice-ease),gap .52s var(--choice-ease),background .25s,box-shadow .25s;
}
.play-rule-picker .rule-option[aria-pressed=true] {
  padding:36px 18px;
}
.play-rule-picker .rule-option:hover {
  box-shadow:0 8px 30px #0004,inset 0 0 28px #b895580b;
}
.play-rule-picker .rule-option:focus-visible {outline-offset:5px}
.play-rule-picker .rule-option strong {
  font-size:34px;
  line-height:1.12;
  margin-bottom:0;
  text-wrap:balance;
  transition:font-size .52s var(--choice-ease);
}
.play-rule-picker .rule-option .suit {
  display:block;
  font-size:62px;
  line-height:1;
  transition:font-size .52s var(--choice-ease);
}
.rule-or {
  align-self:center;
  font:italic 22px Georgia,'Times New Roman',serif;
  color:var(--muted);
}
.play-page[data-rules-step=games] .play-rule-picker .rule-option {
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  align-items:center;
  min-height:126px;
  padding:18px 12px;
  gap:10px;
}
.play-page[data-rules-step=games] .play-rule-picker .rule-option strong {font-size:25px}
.play-page[data-rules-step=games] .play-rule-picker .rule-option .suit {font-size:30px;justify-self:center}
.play-choices {
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transition:grid-template-rows .52s var(--choice-ease),opacity .3s ease;
}
.play-choices-inner {min-height:0;overflow:hidden}
.play-choices .game-options {padding:6px}
.play-choices .game-option {
  cursor:pointer;
  opacity:0;
  transform:translateY(26px) scale(.97);
  transition:opacity .38s ease,transform .52s var(--choice-ease);
  transition-delay:calc(100ms + var(--option-index)*65ms);
}
.play-choices input {cursor:text}
.play-page[data-rules-step=games] .play-choices {grid-template-rows:1fr;opacity:1}
.play-page[data-rules-step=games] .game-option {opacity:1;transform:none}
@media(max-width:740px) {
  .play-rule-picker {gap:12px}
  .play-rule-picker .rule-option,.play-rule-picker .rule-option[aria-pressed=true] {min-height:220px;padding:26px 12px;gap:16px}
  .play-rule-picker .rule-option strong {font-size:27px}
  .play-rule-picker .rule-option .suit {font-size:52px}
  .play-page[data-rules-step=games] .play-rule-picker .rule-option {min-height:118px;padding:16px 10px}
  .play-page[data-rules-step=games] .play-rule-picker .rule-option strong {font-size:21px}
}
@media(max-width:520px) {
  .play-rule-picker {grid-template-columns:1fr;gap:12px;margin-bottom:24px}
  .play-rule-picker .rule-option,.play-rule-picker .rule-option[aria-pressed=true] {display:grid;grid-template-columns:48px minmax(0,1fr);min-height:146px;padding:24px 16px;gap:18px}
  .play-rule-picker .rule-option strong {font-size:28px}
  .play-rule-picker .rule-option .suit {font-size:48px;justify-self:center}
  .play-page[data-rules-step=games] .play-rule-picker .rule-option {grid-template-columns:28px minmax(0,1fr);min-height:86px;padding:14px 12px;gap:12px}
  .play-page[data-rules-step=games] .play-rule-picker .rule-option strong {font-size:21px}
  .play-page[data-rules-step=games] .play-rule-picker .rule-option .suit {font-size:28px}
  .rule-or {font-size:20px;line-height:1.2}
}
@media(prefers-reduced-motion:reduce) {
  .play-rule-picker .rule-option,.play-rule-picker .rule-option strong,.play-rule-picker .suit,.play-choices,.play-choices .game-option {transition:none}
}
