*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body {
  padding: 0;
  margin: 0;
}

html {
  font-size: 14px;
  height: 100%;
  box-sizing: border-box;
}

body {
  font-family: "微软雅黑", serif;
  font-size: 1rem;
  line-height: 1.4;
  color: #222;
  background-color: #ededed;
  -webkit-transition: background-color 150ms ease-out, color 150ms ease-out;
          transition: background-color 150ms ease-out, color 150ms ease-out;
}

.dark {
  color: #ededed;
  background-color: #222;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid;
}
a:focus, a:hover {
  box-shadow: inset 0 -8px 0 #c92b2b;
}

p {
  opacity: .6;
  margin: 0 0 .6rem 0;
  -webkit-transition: opacity 300ms ease-out;
          transition: opacity 300ms ease-out;
}
p:hover {
  opacity: 1;
}

.scene {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.actor {
  font-size: 3rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.actor:last-of-type {
  margin-bottom: 6rem;
}

.actor__content {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

@-webkit-keyframes blink {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes blink {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.actor__content--typing::after {
  content: '|';
  -webkit-animation: blink 500ms infinite;
          animation: blink 500ms infinite;
}
