.textarena-container {
  position: relative;
  border: none;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
}
.textarena-container * {
  box-sizing: border-box;
}
.textarena-container:hover, .textarena-container:active, .textarena-container:focus {
  border: none;
}
.textarena-container h1 {
  font-size: 3rem;
  font-weight: bold;
}
.textarena-container h2 {
  font-size: 2rem;
  font-weight: bold;
}
.textarena-container h3 {
  font-size: 1.5rem;
  font-weight: bold;
}
.textarena-container h4 {
  font-size: 1rem;
  font-weight: bold;
}
.textarena-container h5 {
  font-size: 1rem;
  font-weight: normal;
}
.textarena-container h6 {
  font-style: italic;
  font-size: 1rem;
  font-weight: normal;
}
.textarena-container h1,
.textarena-container h2,
.textarena-container h3,
.textarena-container h4,
.textarena-container h5,
.textarena-container h6 {
  line-height: 1.2em;
  min-height: 1.2em;
  margin: 1em 0 0.5em;
}
.textarena-container h1:first-child,
.textarena-container h2:first-child,
.textarena-container h3:first-child,
.textarena-container h4:first-child,
.textarena-container h5:first-child,
.textarena-container h6:first-child {
  margin-top: 0;
}
.textarena-container .paragraph {
  font-size: 1rem;
  margin: 0 0 1em;
  min-height: 1.6em;
}
.textarena-container .paragraph:last-child {
  margin-bottom: 0;
}
.textarena-container ul,
.textarena-container ol {
  font-size: 1rem;
  padding-left: 2rem;
  margin: 0;
}
.textarena-container li {
  margin: 0 0 1em;
  padding-left: 0.1em;
}
.textarena-container hr {
  display: inline-block;
  width: 100%;
  margin: 0.4em 0 0.4em;
  padding: 0;
}
.textarena-container blockquote {
  padding-left: 1em;
  margin: 0 0 1em;
  min-height: 1.6em;
  border-left: 0.2em solid gray;
}
.textarena-container blockquote:last-child {
  margin-bottom: 0;
}
.textarena-container aside {
  display: block;
  background: white;
  border: 1px solid #ccc;
  border-radius: 1rem;
  padding: 1rem;
  margin: 0 0 1em;
}
.textarena-container .pseudo-cursor {
  height: 0.5rem;
  position: relative;
}
.textarena-container .pseudo-cursor:hover {
  background: #ececec;
}
.textarena-container .pseudo-cursor[focus] {
  height: auto;
}
.textarena-container arena-embed {
  user-select: none;
}
.textarena-container arena-embed-simple {
  display: block;
  position: relative;
  margin: 0 0 1em;
  min-height: 1.6em;
  min-height: 10em;
  overflow: hidden;
  pointer-events: none;
}
.textarena-container arena-embed-simple blockquote {
  padding: 0;
  border: none;
}
.textarena-container .embed__content {
  background: white;
  border: 1px solid #ccc;
  border-radius: 1rem;
  padding: 1rem;
  margin: 0 0 1em;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  max-width: 550px;
}
.textarena-container .twitter-tweet-rendered {
  position: relative;
  margin: 0 !important;
}
.textarena-container .textarena-quote {
  display: block;
  background: white;
  border: 1px solid #ccc;
  border-radius: 1rem;
  padding: 1rem;
  margin: 0 0 1em;
}
.textarena-container .textarena-quote__author {
  display: block;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
  width: 100%;
}
.textarena-container .textarena-quote__role {
  display: block;
  font-size: 0.8em;
  font-style: normal;
  text-align: left;
  width: 100%;
}
.textarena-container .textarena-quote quote {
  display: block;
  font-size: 1.3em;
  font-style: italic;
  text-align: center;
  width: 100%;
  margin: 0;
}
.textarena-container arena-image {
  height: 100%;
  width: 100%;
}

.textarena-counter {
  display: flex;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1em;
  font-size: 0.8em;
  font-style: italic;
}

.textarena-typograf {
  background: white;
  border: 1px solid gray;
}

.textarena-creator {
  position: absolute;
  left: 0;
  z-index: 1;
  flex-direction: row;
  box-sizing: border-box;
  align-items: start;
  transition: 0.3s;
  font-size: 1rem;
  width: 100%;
  pointer-events: none;
}
.textarena-creator_active {
  width: 100%;
  z-index: 1;
}
.textarena-creator__create-button-wrapper {
  display: block;
  display: flex;
  align-items: center;
}
.textarena-creator__create-button {
  pointer-events: all;
  margin-left: 0.2em;
  margin-right: 0.2em;
  padding: 0 0.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  min-width: 1.2em;
  height: 1.2em;
  border: 0.05em solid #888;
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s;
  background: none;
  box-sizing: border-box;
  font-size: 1em;
}
.textarena-creator__create-button:hover, .textarena-creator__create-button:focus, .textarena-creator__create-button:active {
  outline: none;
  border: 0.05em solid #000;
}
.textarena-creator__create-button svg {
  width: 100%;
  fill: #888;
}
.textarena-creator_active .textarena-creator__create-button {
  transform: rotate(135deg);
}
.textarena-creator__placeholder {
  visibility: visible;
  opacity: 0.2;
  user-select: none;
  pointer-events: none;
  transition: 0.3s;
  width: 0;
  white-space: nowrap;
}
.textarena-creator_active .textarena-creator__placeholder {
  opacity: 0;
}
.textarena-creator__list {
  padding-left: 0.5em;
  display: flex;
  flex-wrap: wrap;
  transition: 0.3s;
  opacity: 0;
  flex-direction: row;
  margin-left: -100em;
  font-size: 1em;
}
.textarena-creator_active .textarena-creator__list {
  margin-left: 0;
  flex-direction: row;
  opacity: 1;
}
.textarena-creator__item {
  pointer-events: all;
  display: flex;
  position: relative;
  min-width: 2em;
  height: 2em;
  border: 0.05em solid #888;
  color: #888;
  border-radius: 2em;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: -1.4em;
  padding: 0.4em;
  box-sizing: border-box;
  background: white;
  margin-bottom: 0.2em;
  font-size: 1em;
}
.textarena-creator__item:hover, .textarena-creator__item:focus, .textarena-creator__item:active {
  outline: none;
  border-color: #000;
  color: #000;
}
.textarena-creator__item-icon {
  font-size: 0.8em;
  display: flex;
  justify-content: center;
}
.textarena-creator__item-icon svg {
  height: 1rem;
}
.textarena-creator_active .textarena-creator__item {
  margin-right: 0.5em;
}
.textarena-creator__hint {
  position: absolute;
  left: 55%;
  top: -43%;
  display: none;
  font-size: 0.9em;
  font-family: monospace;
  width: 1em;
  height: 1.2em;
  background-color: #333;
  text-align: center;
  line-height: 1.2em;
  color: #fff;
  border-radius: 0.2em;
  border: 1px solid #999;
  z-index: 1;
}
.textarena-creator__item_show-hint .textarena-creator__hint {
  display: block;
}

.textarena-editor {
  width: 100%;
  max-width: 100%;
  position: relative;
  border: none;
  padding: 1rem 2rem 10rem;
  font-size: 1rem;
}
.textarena-editor:hover, .textarena-editor:active, .textarena-editor:focus {
  border: none;
  outline: none;
}
.textarena-editor figure {
  overflow: auto;
  resize: both;
  border: 1px solid black;
}
.textarena-editor figure img {
  max-width: 100%;
}
.textarena-editor textarena-node {
  display: block;
  position: relative;
  margin: 0 0 1em;
  user-select: none;
}
.textarena-editor textarena-node textarena-remove {
  user-select: none;
  display: none;
  position: absolute;
  right: 0.2em;
  top: 0.2em;
  background: white;
  padding: 0.4em;
  border-radius: 0.8em;
  width: 1.4em;
  height: 1.4em;
  color: #888;
  cursor: pointer;
  z-index: 1;
}
.textarena-editor textarena-node textarena-remove svg {
  width: 100%;
  height: 100%;
  display: block;
}
.textarena-editor textarena-node:hover textarena-remove {
  display: block;
}

.textarena-toolbar {
  position: absolute;
  z-index: 1;
  font-size: 1rem;
  pointer-events: none;
}
.textarena-toolbar__pointer {
  position: absolute;
  left: 0;
  width: 0.4em;
  height: 0.4em;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background-color: #333;
  z-index: -1;
}
.textarena-toolbar_bottom {
  transform: translate(0, 0.4em);
}
.textarena-toolbar_bottom .textarena-toolbar__pointer {
  top: -0.2em;
}
.textarena-toolbar_top {
  transform: translate(0, -0.4em);
}
.textarena-toolbar_top .textarena-toolbar__pointer {
  bottom: -0.2em;
}
.textarena-toolbar__list {
  pointer-events: all;
  display: flex;
  flex-wrap: wrap;
  color: #ccc;
  box-shadow: 0 8px 23px -6px rgba(21, 40, 54, 0.31), 22px -14px 34px -18px rgba(33, 48, 73, 0.26);
  border-radius: 0.1em;
  background-color: #333;
  z-index: 2;
  user-select: none;
}
.textarena-toolbar__item {
  position: relative;
  display: flex;
  background: none;
  border: none;
  color: inherit;
  line-height: inherit;
  font-size: 1em;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  cursor: pointer;
  margin: 0.1em 0.1em 0.1em 0;
  padding: 0.2em 0;
  box-sizing: border-box;
}
.textarena-toolbar__item:first-child {
  margin-left: 0.2em;
}
.textarena-toolbar__item_active {
  color: #fff;
  box-shadow: inset -0.05em -0.05em 0 0 rgba(255, 255, 255, 0.4);
  background: #1a1a1a;
}
.textarena-toolbar__item-icon {
  font-weight: 900;
  font-family: monospace;
  line-height: 0.8em;
  font-size: 0.8em;
  display: flex;
  justify-content: center;
  width: 100%;
}
.textarena-toolbar__item-icon svg {
  width: 60%;
  height: 100%;
}
.textarena-toolbar__hint {
  position: absolute;
  left: 55%;
  top: -43%;
  display: none;
  font-size: 0.9em;
  font-family: monospace;
  width: 1em;
  height: 1.2em;
  background-color: #333;
  text-align: center;
  line-height: 1.2em;
  color: #fff;
  border-radius: 0.2em;
  border: 1px solid #999;
  z-index: 1;
}
.textarena-toolbar__item_show-hint .textarena-toolbar__hint {
  display: block;
}