#dragster-time-slip.paper-time-slip {
  position: fixed !important;
  top: auto !important;
  right: auto !important;
  left: max(12px, env(safe-area-inset-left)) !important;
  bottom: calc(220px + env(safe-area-inset-bottom)) !important;
  z-index: 5205 !important;
  box-sizing: border-box !important;
  width: min(300px, calc(100vw - 24px)) !important;
  min-width: 0 !important;
  max-width: min(300px, calc(100vw - 24px)) !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  padding: 13px 17px 15px !important;
  border: 1px solid #cbbd9e !important;
  border-radius: 2px !important;
  color: #28251f !important;
  background-color: #f1e6cc !important;
  outline: 1px solid rgba(135, 99, 39, 0.58);
  outline-offset: -5px;
  background-image:
    repeating-linear-gradient(0deg, rgba(98, 78, 45, 0.025) 0, rgba(98, 78, 45, 0.025) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0.12) 1px, transparent 1px, transparent 6px) !important;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.38), 0 2px 4px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: none !important;
  clip-path: polygon(0 0, 14% 1%, 27% 0, 43% 1%, 60% 0, 76% 1%, 88% 0, 100% 1%, 99% 14%, 100% 29%, 99% 43%, 100% 60%, 99% 75%, 100% 89%, 99% 100%, 85% 99%, 69% 100%, 54% 99%, 38% 100%, 22% 99%, 9% 100%, 0 98%, 1% 82%, 0 65%, 1% 48%, 0 31%, 1% 15%);
  pointer-events: auto !important;
  touch-action: manipulation !important;
  font: 500 12px/1.2 "Courier New", ui-monospace, monospace !important;
}

#dragster-time-slip.paper-time-slip::before {
  content: "  -  ";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  color: #a88742;
  text-align: center;
  font: 700 9px/1 Georgia, serif;
  letter-spacing: 0.18em;
  pointer-events: none;
}

#dragster-time-slip.paper-time-slip::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, rgba(142, 126, 96, 0.08) 0 48%, #d8c9a9 50%, #f8eed8 72%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  box-shadow: -2px -2px 4px rgba(75, 59, 34, 0.16);
  pointer-events: none;
}

#dragster-time-slip.paper-time-slip > * {
  position: relative;
  z-index: 1;
}
#dragster-time-slip .time-slip-brand {
  margin-top: 3px;
  color: #302b22 !important;
  text-align: center !important;
  font: 800 11px/1.1 Georgia, "Times New Roman", serif !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
}
#dragster-time-slip .time-slip-heading {
  margin-top: 3px;
  color: #282217 !important;
  text-align: center !important;
  font: 900 17px/1.08 Georgia, "Times New Roman", serif !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  text-shadow: 0 1px rgba(168, 135, 66, 0.34);
}
#dragster-time-slip .time-slip-status {
  width: max-content;
  margin: 6px auto 3px !important;
  padding: 2px 8px;
  border: 2px solid #97732d;
  color: #4a3920 !important;
  text-align: center !important;
  font: 900 14px/1.1 "Courier New", ui-monospace, monospace !important;
  letter-spacing: 0.12em !important;
  transform: rotate(-2deg);
  background: rgba(168, 135, 66, 0.08);
}
#dragster-time-slip .time-slip-separator {
  margin: 6px 0 6px;
  border-color: rgba(135, 99, 39, 0.62);
  border-top: 1px dashed rgba(71, 61, 43, 0.58);
}
#dragster-time-slip .time-slip-rows {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 3px 16px !important;
  margin-top: 0 !important;
  align-items: baseline !important;
}
#dragster-time-slip .time-slip-rows > div:nth-child(odd) {
  color: #685f50 !important;
  text-align: left !important;
  font: 500 12px/1.2 "Courier New", ui-monospace, monospace !important;
  letter-spacing: 0 !important;
}
#dragster-time-slip .time-slip-rows > div:nth-child(even) {
  color: #25231f !important;
  text-align: right !important;
  font: 700 12px/1.2 "Courier New", ui-monospace, monospace !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
  white-space: nowrap;
}
#dragster-time-slip.paper-time-slip.phone-time-slip {
  padding: 8px 12px 9px !important;
}
#dragster-time-slip.phone-time-slip .time-slip-brand { margin-top: 0; }
#dragster-time-slip.phone-time-slip .time-slip-heading { margin-top: 2px; }
#dragster-time-slip.phone-time-slip .time-slip-status { margin: 4px auto 2px !important; padding: 1px 7px; }
#dragster-time-slip.phone-time-slip .time-slip-separator { margin: 3px 0; }
#dragster-time-slip.phone-time-slip .time-slip-rows { gap: 1px 12px !important; }
#dragster-time-slip.phone-time-slip .time-slip-rows > div { line-height: 1.08 !important; }
#dragster-time-slip.is-red-light { border-color: #a9332b !important; }
#dragster-time-slip .time-slip-status[data-result="win"] { border-color: #287347; color: #21633d !important; }
#dragster-time-slip .time-slip-status[data-result="loss"] { border-color: #59616c; color: #4d5560 !important; }
#dragster-time-slip .time-slip-status[data-result="tie"] { border-color: #97762e; color: #765a20 !important; }
#dragster-time-slip .time-slip-status[data-result="result-pending"] { border-color: #8d8068; color: #685f50 !important; }
#dragster-time-slip .time-slip-status[data-result="run-complete"] { border-color: #486b7a; color: #365563 !important; }

@keyframes time-slip-reveal {
  from { opacity: 0; transform: translateY(9px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes time-slip-result-stamp {
  0% { opacity: 0; transform: rotate(-9deg) scale(0.72); }
  68% { opacity: 1; transform: rotate(-1deg) scale(1.04); }
  100% { opacity: 1; transform: rotate(-2deg) scale(1); }
}
#dragster-time-slip.is-revealing {
  animation: time-slip-reveal 380ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
}
#dragster-time-slip .time-slip-status.is-stamping {
  animation: time-slip-result-stamp 360ms cubic-bezier(0.18, 0.72, 0.25, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  #dragster-time-slip.is-revealing,
  #dragster-time-slip .time-slip-status.is-stamping {
    animation: none !important;
  }
}

#dragster-time-slip.paper-time-slip.is-in-menu {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 10px 0 !important;
}

@media (max-height: 500px) {
  #dragster-time-slip.paper-time-slip {
    bottom: calc(168px + env(safe-area-inset-bottom)) !important;
    padding: 8px 12px 9px !important;
  }
  #dragster-time-slip .time-slip-brand { margin-top: 0; }
  #dragster-time-slip .time-slip-heading { font-size: 15px !important; }
  #dragster-time-slip .time-slip-status { margin-top: 4px !important; }
  #dragster-time-slip .time-slip-rows { gap: 2px 14px !important; }
  #dragster-time-slip .time-slip-rows > div { line-height: 1.08 !important; }
}
@media (max-width: 420px) {
  #dragster-time-slip.paper-time-slip {
    left: max(8px, env(safe-area-inset-left)) !important;
    width: min(278px, calc(100vw - 16px)) !important;
    max-width: min(278px, calc(100vw - 16px)) !important;
    bottom: calc(220px + env(safe-area-inset-bottom)) !important;
  }
}
