.focus-container {
  position: relative;
  display: inline-flex;
  gap: 0.4em;
  flex-wrap: wrap;
  outline: none;
  user-select: none;
  line-height: 1.15;
  padding: 0.15em 0.1em 0.25em;
}

.focus-word {
  position: relative;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.3s ease, color 0.3s ease;
  outline: none;
  user-select: none;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.corner {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 3px solid var(--border-color, #fff);
  filter: drop-shadow(0px 0px 6px var(--glow-color, var(--border-color, #fff)));
  border-radius: 3px;
  transition: none;
}

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