:root {
  color-scheme: light;
  --black: #070707;
  --blue: #2f50ff;
  --light-blue: #c7d2ff;
  --gray: #d8d8d8;
  --light-gray: #f7f7f7;
  --muted: #d2d2d2;
  --ui-font: Arial, Helvetica, sans-serif;
  --mono-font: "IBM Plex Mono", "Roboto Mono", "Courier New", monospace;
  --stage-scale: 1;
  font-family: var(--ui-font);
  background: #fff;
}

* { box-sizing: border-box; }

html, body, #app {
  width: 100%;
  height: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #fff;
  color: var(--black);
}

button, input { font: inherit; }
button { color: inherit; }

.app-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1512px;
  height: 982px;
  overflow: hidden;
  background: #fff;
  transform: translate(-50%, -50%) scale(var(--stage-scale));
  transform-origin: center;
}

.brand {
  position: fixed;
  z-index: 1000;
  top: 27px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.brand-logo {
  display: block;
  width: 306px;
  height: auto;
}

.mode-nav {
  position: fixed;
  z-index: 1000;
  top: 32px;
  left: 0;
  display: grid;
  gap: 4px;
}

.mode-link {
  position: relative;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 25px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.mode-link.is-active { color: var(--black); }
.mode-link.is-active::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--black);
  transform: translateY(-50%);
  content: "";
}

.text-action {
  position: fixed;
  z-index: 1000;
  top: 32px;
  right: 54px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 25px;
  font-weight: 700;
  cursor: pointer;
}

.text-action:hover,
.text-action:focus-visible { border-bottom-color: var(--blue); outline: 0; }

#back-timeline,
#back-detail { color: #fff; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
