.pause-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  margin: 10px 0;
}

.pause-actions > .pause-back {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 9px 16px;
  border: 1px solid #ffdb92;
  border-radius: 14px;
  background: #ffce78;
  color: #382113;
  box-shadow: 0 3px 0 #b46a37;
  font-family: inherit;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}

.pause-back small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
}

.pause-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 4px 9px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pause-exit-dialog {
  position: fixed;
  inset: 0;
  width: min(360px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 22px;
  border: 2px solid #edac67;
  border-radius: 20px;
  background: #fff3de;
  color: #402619;
  box-shadow: 0 10px 30px #2b170e60;
  overflow: auto;
  text-align: center;
  touch-action: manipulation;
}

.pause-exit-dialog::backdrop { background: #160b06a6; }
.pause-exit-dialog h2 { margin: 0 0 18px; color: inherit; font-size: 21px; line-height: 1.25; }

.pause-exit-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pause-exit-choices > button {
  min-height: 44px;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid #a47759;
  border-radius: 12px;
  background: #fff8eb;
  color: #402619;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.pause-exit-choices > [data-confirm] { border-color: #923f2b; background: #923f2b; color: #fff8eb; }
.pause-exit-choices > button:focus-visible { outline: 2px solid #402619; outline-offset: 2px; }
