<style>
.c~*{}
</style>
<script>
document.addEventListener('DOMContentLoaded', () => {
b.select()
a.className = "c"
})
</script>
<details>
<summary id="a"></summary>
<textarea id="b">
<style>
.c~*{}
</style>
<script>
document.addEventListener('DOMContentLoaded', () => {
b.select()
a.className = "c"
})
</script>
<details>
<summary id="a"></summary>
<textarea id="b">