.feedback-tools { display: flex; justify-content: flex-end; margin: .25rem 0; }
button.feedback-link {
  background: transparent; border: 0; color: #23543b; cursor: pointer;
  font: 600 .875rem/1.3 system-ui,sans-serif; min-height: 44px; padding: .5rem .3rem;
  text-decoration: underline; text-underline-offset: .18em;
}
.feedback-link:focus-visible, .feedback-dialog :focus-visible { outline: 3px solid #397449; outline-offset: 2px; }
dialog.feedback-dialog {
  background: #fffdf6; color: #182f23; border: 1px solid #bdcbbd; border-radius: 12px;
  box-sizing: border-box; padding: 1.25rem; width: min(27rem,calc(100% - 2rem));
  max-height: 85dvh; overflow: auto; font: 1rem/1.45 system-ui,sans-serif;
}
.feedback-dialog::backdrop { background: rgb(14 38 27 / 55%); }
.feedback-dialog h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.feedback-dialog label { display: block; font-weight: 600; font-size: 1rem; }
.feedback-dialog textarea {
  box-sizing: border-box; font: inherit; width: 100%; margin: .4rem 0 0; min-height: 6rem;
  padding: .65rem; border: 1px solid #728875; border-radius: 6px; resize: vertical;
}
.feedback-context, .feedback-dialog time { color: #48604f; font-size: .875rem; }
.feedback-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.feedback-dialog button:not(.feedback-link) {
  min-height: 44px; font: inherit; padding: .5rem 1rem; color: #174d36;
  background: white; border: 1px solid #728875; border-radius: 6px; cursor: pointer;
}
.feedback-dialog button[type="submit"] { background: #174d36; color: white; }
.feedback-dialog [role="status"]:empty { margin: 0; }
.feedback-dialog article { padding: .8rem 0; border-top: 1px solid #d3ddcf; }
.feedback-dialog article time { display: block; }
.feedback-dialog article p { margin: .4rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Shared by the game, sign-in, and standalone reminder pages. */
:where(.primary,.ticket-jump,.feedback-dialog button[type="submit"]):not(:disabled){
  box-shadow:inset 1px 1px 0 rgba(255,255,255,.22),inset -1px -1px 0 rgba(0,20,10,.28),
    1px 1px 0 #133f2d,2px 2px 0 #103926,3px 3px 0 #0b3020,
    4px 5px 2px -1px rgba(24,48,33,.43),6px 7px 7px -1px rgba(24,48,33,.30);
}
:where(.primary,.ticket-jump,.feedback-dialog button[type="submit"]):not(:disabled):active{
  transform:translate(2px,3px);
  box-shadow:inset 0 1px 2px rgba(0,20,10,.29),1px 1px 0 #0b3020,2px 2px 3px rgba(24,48,33,.23);
}
