.tempo-welcome {
  --tw-accent: #ff682d;
  --tw-white: #f6f7f8;
  --tw-muted: #a6adb4;
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  background: #171b1e;
  color: var(--tw-white);
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif;
  isolation: isolate;
}
.tempo-welcome *, .tempo-welcome *::before, .tempo-welcome *::after { box-sizing: border-box; }
.tempo-welcome__pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .17;
  pointer-events: none;
  background-image: linear-gradient(#a8b3bf22 1px, transparent 1px), linear-gradient(90deg, #a8b3bf22 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 5%, transparent 74%);
  background-position: var(--tw-drift-x, 0px) var(--tw-drift-y, 0px);
}
.tempo-welcome__header, .tempo-welcome__footer, .tempo-welcome__controls { display: flex; align-items: center; gap: 12px; }
.tempo-welcome__header { justify-content: space-between; min-width: 0; }
.tempo-welcome__brand { font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.tempo-welcome__brand b { color: var(--tw-accent); }
.tempo-welcome__edition { display: block; margin-top: 5px; font-family: Arial, sans-serif; font-size: 10px; font-weight: 400; letter-spacing: .12em; color: var(--tw-muted); text-transform: uppercase; }
.tempo-welcome button {
  border: 1px solid #ffffff2b;
  border-radius: 9px;
  padding: 12px 16px;
  min-height: 44px;
  font: 600 13px/1.15 Arial, sans-serif;
  color: var(--tw-white);
  background: #ffffff05;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.tempo-welcome button:hover { background: #ffffff15; border-color: #ffffff65; }
.tempo-welcome button:active { transform: translateY(1px); }
.tempo-welcome button:focus-visible, .tempo-welcome input:focus-visible { outline: 3px solid var(--tw-accent); outline-offset: 4px; }
.tempo-welcome button:disabled { cursor: default; opacity: .45; transform: none; }
.tempo-welcome__skip { flex-shrink: 0; }
.tempo-welcome__stage { align-self: stretch; width: min(100%, 710px); height: 100%; max-height: 100%; min-height: 0; margin: 0 auto; display: grid; place-items: center; }
.tempo-welcome__art { display: block; width: 100%; height: 100%; min-height: 0; overflow: visible; }
.tempo-welcome__art .tw-athlete { fill: none; stroke: var(--tw-white); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.tempo-welcome__art .tw-accent { stroke: var(--tw-accent); }
.tempo-welcome__art .tw-feature { font: 600 29px Arial, sans-serif; fill: var(--tw-white); letter-spacing: -.5px; }
.tempo-welcome__art .tw-feature-index { font: 500 15px Arial, sans-serif; fill: var(--tw-accent); letter-spacing: 2px; }
.tempo-welcome__art .tw-title { font: 800 80px Bahnschrift, "Arial Narrow", Arial, sans-serif; fill: var(--tw-white); letter-spacing: -4px; }
.tempo-welcome__art .tw-title-small { font-size: 66px; letter-spacing: -3px; }
.tempo-welcome__art .tw-caption { font: 500 20px Arial, sans-serif; fill: var(--tw-muted); }
.tempo-welcome__art .tw-final-word { font: 800 150px Bahnschrift, "Arial Narrow", Arial, sans-serif; fill: var(--tw-white); letter-spacing: -8px; }
.tempo-welcome__art .tw-final-caption { font: 500 29px Arial, sans-serif; fill: var(--tw-white); letter-spacing: -.5px; }
.tempo-welcome__art .tw-final-sports { font: 400 16px Arial, sans-serif; fill: var(--tw-muted); letter-spacing: 3px; }
.tempo-welcome__footer { width: min(100%, 980px); justify-self: center; flex-wrap: wrap; justify-content: space-between; }
.tempo-welcome__controls { flex-wrap: wrap; gap: 8px; }
.tempo-welcome__clock { min-width: 98px; color: var(--tw-muted); font: 500 12px Arial, sans-serif; font-variant-numeric: tabular-nums; }
.tempo-welcome button.tempo-welcome__start { border-color: var(--tw-accent); background: var(--tw-accent); color: #171b1e; min-width: 145px; font-size: 16px; font-weight: 700; }
.tempo-welcome button.tempo-welcome__start:hover { border-color: #ff8858; background: #ff8858; }
.tempo-welcome__progress { flex-basis: 100%; height: 2px; width: 100%; background: #ffffff16; border-radius: 1px; overflow: hidden; }
.tempo-welcome__progress span { height: 100%; display: block; width: 0; background: var(--tw-accent); }
.tempo-welcome__phase { min-height: 20px; flex-basis: 100%; margin: 0; color: var(--tw-muted); font: 400 11px/1.4 Arial, sans-serif; }
.tempo-welcome__preview { flex-basis: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0 0; border-top: 1px solid #ffffff17; color: var(--tw-muted); font: 11px Arial, sans-serif; }
.tempo-welcome__preview input { width: 100%; accent-color: var(--tw-accent); cursor: pointer; min-width: 0; }
.tempo-welcome__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 520px) {
  .tempo-welcome { 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)); gap: 2px; }
  .tempo-welcome__brand { font-size: 20px; }
  .tempo-welcome__edition { font-size: 8px; }
  .tempo-welcome__skip { padding: 10px 12px !important; }
  .tempo-welcome__footer { gap: 12px; }
  .tempo-welcome__controls { gap: 6px; }
  .tempo-welcome button { padding: 11px 12px; font-size: 12px; }
  .tempo-welcome button.tempo-welcome__start { min-width: 110px; font-size: 14px; margin-left: auto; }
  .tempo-welcome__clock { min-width: 84px; font-size: 10px; }
}
@media (max-width: 350px) {
  .tempo-welcome__footer { display: grid; grid-template-columns: 1fr; }
  .tempo-welcome__controls { justify-content: space-between; }
  .tempo-welcome button.tempo-welcome__start { width: 100%; margin: 0; }
}
@media (max-height: 520px) and (min-width: 521px) {
  .tempo-welcome { padding-block: 12px; }
  .tempo-welcome__phase { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tempo-welcome button { transition: none; }
}
