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

body {
  font-family: Arial !important;
}

#controls {
  position: fixed;
  top: 0;
  right: 0;
  overflow-y: auto;
  width: calc(100vw - 816px);
  height: 100vh;
  padding: 15px 25px;
  background: #eee;
}

.link {
  position: relative;
  display: block;
  color: #333;
  text-decoration: underline;
  background: none;
  border: none;
  font-size: 100%;
  cursor: pointer;
  margin: 5px 0;
  outline: 0;
}

.link:focus {
  box-shadow: 0 0 0 1px purple;
}

.link[data-current] {
  font-weight: bold;
  color: purple;
}

.link[data-current]::before {
  content: '•';
  color: purple;
  position: absolute;
  left: -10px;
}

button:not(.link) {
  all: unset;
  font-size: 16px;
  border: none;
  background: #eee;
  padding: 8px 16px;
}

button:not(.link):focus {
  outline: 1px solid;
}

.container {
  position: relative;
  display: none;
  overflow: hidden;
  border: 2px dashed red;
  height: 500px;
  width: 800px;
  padding: 25px;
  place-items: center;
}

.__NAMESPACE_PREFIX__-box[data-theme~='border'] {
  border: 1px solid blue;
  background-color: white;
  color: blue;
}

.__NAMESPACE_PREFIX__-box[data-placement^='top'][data-theme~='border']
  > .__NAMESPACE_PREFIX__-arrow::before {
  border-top-color: white;
}
.__NAMESPACE_PREFIX__-box[data-placement^='bottom'][data-theme~='border']
  > .__NAMESPACE_PREFIX__-arrow::before {
  border-bottom-color: white;
}
.__NAMESPACE_PREFIX__-box[data-placement^='left'][data-theme~='border']
  > .__NAMESPACE_PREFIX__-arrow::before {
  border-left-color: white;
}
.__NAMESPACE_PREFIX__-box[data-placement^='right'][data-theme~='border']
  > .__NAMESPACE_PREFIX__-arrow::before {
  border-right-color: white;
}

.__NAMESPACE_PREFIX__-box[data-theme~='border']
  > .__NAMESPACE_PREFIX__-svg-arrow
  > svg:first-child {
  fill: blue;
}

.__NAMESPACE_PREFIX__-box[data-theme~='border']
  > .__NAMESPACE_PREFIX__-svg-arrow
  > svg:last-child {
  fill: white;
}
