/* "Back": one button for every screen that has it (a game page, a daily or "More" task, practice, a lesson, "no such game", a task load failure).
   It is made by the back button helper (class .back, the word "Back"); the look is only here; the arrow is drawn by ::before, so it is not in the text.
   Visibility: a backing and an outline in theme colours (light and dark override --accent and --accent-soft), a touch target of at least 44x44, a large bold label.
   Place: at the left edge of the .pbar panel, the first row. A phone (< 700 px) is short of height (the board, the buttons and the hint must stay on screen): in one row "Back", the title (a long one
   wraps to a second row, the row is not taller than the button) and the timer at the right; the caption ("easy 8x8 · 1 Dec") is the second row. From 700 px there is enough height: "Back" and the timer
   at the left and the right, the title and the caption in a row below across the whole width. In both layouts the title overlaps neither the button nor the timer: it wraps instead of shrinking. */
.pbar { flex-wrap: wrap; gap: 0 8px; }
.pbar .ttl { display: contents; }
.pbar .back { order: 1; align-self: flex-start; }  /* the button is always in the top left corner of the panel, however the title wraps */
.pbar h2 { order: 2; flex: 1 1 0; min-width: 0; }
.pbar .timer { order: 3; align-self: flex-start; line-height: 44px; }  /* the height of the button */
.pbar .sub { order: 4; flex: 1 1 100%; margin-top: 2px; }
@media (min-width: 700px) {
  .pbar { gap: 4px 8px; }
  .pbar .ttl { display: block; order: 3; flex: 1 1 100%; }
  .pbar h2 { order: 0; flex: none; }
  .pbar .timer { order: 2; margin-left: auto; }
  .pbar .sub { order: 0; flex: none; margin-top: 0; }
}
.back { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; min-width: 44px; min-height: 44px; padding: 0 16px 0 10px; border: 2px solid var(--accent); border-radius: 22px; background: var(--accent-soft); color: var(--accent); font-size: 1.05rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.back::before { content: ""; flex: none; width: 10px; height: 10px; margin-left: 4px; border: solid currentColor; border-width: 0 0 3px 3px; border-radius: 1px; transform: rotate(45deg); }
.back:active { background: var(--accent); color: var(--accent-ink); }
.back:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .back:hover { background: var(--accent); color: var(--accent-ink); }
}
