/* Actions for a different puzzle or another attempt at the current one. */
.puzzle-starts {
 display:grid;
 grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
 gap:8px;
 width:100%;
}
.puzzle-starts button {
 display:flex;
 align-items:center;
 justify-content:center;
 gap:7px;
 min-width:0;
 min-height:48px;
 padding:7px 10px;
 border:1px solid var(--border);
 border-radius:10px;
 background:var(--sheet,#fffcf4);
 color:var(--tone);
 font:700 .91rem/1.2 Portal,system-ui,sans-serif;
 text-align:center;
}
.puzzle-starts button[data-action="new"] {
 background:var(--tone);
 color:#fff;
 border-color:var(--tone);
}
.puzzle-starts svg {
 flex:none;
 width:18px;
 height:18px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.8;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.puzzle-starts button:hover {box-shadow:0 0 0 1px var(--tone)}
.puzzle-starts button:focus-visible {outline:3px solid var(--ink);outline-offset:2px}
.complete .puzzle-starts {max-width:370px;margin:11px auto 5px}
@media (min-width:701px) {
 .game-layout.has-puzzle-starts {
  grid-template-areas:"board starts" "board settings";
  grid-template-rows:auto 1fr;
  row-gap:10px;
 }
 .game-layout.has-puzzle-starts>.puzzle-starts {grid-area:starts}
 .game-layout.has-puzzle-starts>.playbox {grid-area:board}
 .game-layout.has-puzzle-starts>.side {grid-area:settings}
}
@media (max-width:380px) {
 .puzzle-starts button {padding:6px;gap:4px;font-size:.84rem}
}
