.focus-container {
  position: relative;
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  outline: none;
  user-select: none;
}

.focus-word {
  position: relative;
  font-size: 3rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    filter 0.3s ease,
    color 0.3s ease;
  outline: none;
  user-select: none;
}

.focus-word.active {
  filter: blur(0);
}

.focus-frame {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-highlight {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 6px;
  background-color: var(--highlight-color);
  pointer-events: none;
}

.focus-box {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  border: var(--border-width, 3px) solid var(--border-color, currentColor);
  border-radius: 6px;
  filter: drop-shadow(0 0 4px var(--glow-color, transparent));
}

.focus-underline {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: calc(var(--border-width, 3px) / 2);
  background-color: var(--border-color, currentColor);
  filter: drop-shadow(0 0 4px var(--glow-color, transparent));
}

.corner {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: var(--corner-size, 1rem);
  height: var(--corner-size, 1rem);
  border: var(--border-width, 3px) solid var(--border-color, currentColor);
  border-radius: 3px;
  filter: drop-shadow(0 0 4px var(--glow-color, transparent));
}

.top-left {
  border-right: none;
  border-bottom: none;
}

.top-right {
  border-left: none;
  border-bottom: none;
}

.bottom-left {
  border-right: none;
  border-top: none;
}

.bottom-right {
  border-left: none;
  border-top: none;
}
