.chase-results {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding:
    max(16px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  color: #f2eee2;
  background: none;
  text-align: center;
}

.chase-results[open] {
  display: grid;
  align-content: safe center;
  justify-items: center;
}

.chase-results::backdrop {
  background: radial-gradient(ellipse at center, #171c1de8, #100e0dfb 76%);
}

.chase-results__heading {
  margin: 0;
  color: #d4cdc0;
}

.chase-results__duration {
  display: block;
  max-width: 100%;
  margin: 4px 0 clamp(16px, 5vh, 36px);
}

.chase-results__restart {
  min-width: 132px;
  min-height: 56px;
  padding: 10px 24px;
  border: 1px solid #89948d;
  border-top: 3px solid #b17959;
  border-bottom: 3px solid #121c1e;
  border-radius: 4px;
  background: linear-gradient(#34454c, #222e32);
  box-shadow: inset 0 1px #ffffff1f, 0 3px 10px #0008;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

@media (hover: hover) {
  .chase-results__restart:hover { background: #40545b; }
}

.chase-results__restart:focus-visible {
  outline: 2px solid #b5decc;
  outline-offset: 3px;
}

.chase-results__restart:active {
  color: #142224;
  background: #b5decc;
}

.chase-results__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.chase-results__stencil {
  display: block;
  width: auto;
  max-width: 100%;
  height: var(--stencil-height);
  margin-inline: auto;
}

.chase-results__heading { --stencil-height: 20px; }
.chase-results__duration { --stencil-height: clamp(50px, 11vmin, 88px); }
.chase-results__restart { --stencil-height: 18px; }
