body { font: 16px/1 Arial,sans-serif; background: #353535; color: whitesmoke; margin: 0; padding: 0; }
a { color: #cf00ff; }
a:active, a:hover { color: #fff; }
header { margin: auto; padding: 1em; position: fixed; top: 0; left: 0; background: #000; width: 100%; box-sizing: border-box; font-size: .8em; z-index: 5; }
header > div { margin: auto; position: relative; width: fit-content; text-align: center; padding-left: 2em; }
header > div:before { display: block; position: absolute; left: 0; top: -.25em; content: "!"; font-size: 200%; color: #cf00ff; }
footer { text-align: center; font-size: .8em; color: darkgrey; margin-bottom: .5em; width: 100%; }
.logo { margin-top: 2em; }
.logo img { display: block; margin: auto; padding: 1em; }
h1, h2, h3 { text-align: center; margin: 0 0 1em 0; padding: .2em 0; }
.flex { display: flex; flex-direction: row; justify-content: space-between; }
.flex.vertical { flex-direction: column; }
.flex > * { padding: 0 1em; }
.flex > *:first-child { padding-left: 0; }
.flex > *:last-child { padding-right: 0; }
.flex.vertical > * { padding: 1em 0; }
.flex.vertical > *:first-child { padding-top: 0; }
.flex.vertical > *:last-child { padding-bottom: 0; }
.block { margin: 0 auto; padding: 1em 0; max-width: 40em; }
.dropset { margin: 1em auto; }
.dropset h3 { margin: 0 0 .5em 0; }
.dropset .dropper { height: fit-content; min-height: 3em; width: 100%; position: relative; background: #faa431; overflow: hidden; border-radius: 1em; box-sizing: border-box; }
.dropset.multi .dropper { min-height: 8em; }
.dropset .dropper input { height: 100%; width: 100%; position: absolute; outline: none; opacity: 0; margin: 0; padding: 0; z-index: 1; }
.dropset .dropper > ol { margin: 0; padding: 0; list-style: none; width: 100%; height: inherit; overflow: auto; z-index: 0; }
.dropset .dropper > ol:not(:empty) { margin: 0; padding: 0; text-align: center; line-height: 1.5; box-sizing: border-box; z-index: 2; }
.dropset .dropper > ol > li { padding: .2em 0; }
.dropset .dropper > ol > li:first-child { margin-top: .5em; }
.dropset .dropper > ol > li:last-child { margin-bottom: .5em; }
.dropset .dropper > div { display: none; }
.dropset .dropper > ol:empty + div { display: block; position: absolute; left: 0; width: 100%; font-weight: bold; text-align: center; top: calc(50% - .5em); color: #353535; }
.dropset.has-content .dropper { background: #4c7a4c; }
.offsetselect select { margin-top: 1em; }
.offsetselect select:empty { display: none; }
textarea { width: 100%; min-height: 10em; border: none; overflow: auto; border-radius: .5em; background: none; background: #fff; outline: none; }
select { border: none; border-radius: .5em; outline: none; padding: .5em; font: inherit; background: #faa431; width: 100%; color: #000; height: 2.2em; }
select:valid { background: #4c7a4c; color: #fff; }
input[type=text] { background: #faa431; color: #000; border: none; border-radius: .5em; outline: none; padding: .5em; font: inherit; width: 100%; }
input[type=text].has-content { background: #4c7a4c; color: #fff; }
input[type=text]::placeholder, select:invalid:not(:focus) { color: #353535; }
button, .button { display: flex; align-items: center; justify-content: center; border-radius: .5em; border: none; background: #202020; color: #fff; padding: .5em 1em; font: inherit; font-weight: bold; height: 2.2em; }
.button, .button:focus { height: 1.2em; text-decoration: none; }
button:hover, .button:hover { background: #4d4d4d; cursor: pointer; }
.desc { color: darkgrey; text-align: center; margin: 1em 0; }
.path { display: block; color: #fff; font-family: monospace; padding: .5em 0; }
.path > span, .pink { color: #cf00ff; }
.actor > h3 ~ *, .group > h3 ~ *, .companions > h3 ~ * { margin-bottom: 1em; }
.settings { display: none; }
.settings .actor > div {  }
.settings .actor > div:last-child, .settings .group > div:last-child, .settings .companions > div:last-child { display: none; text-align: right; }
.settings .actor.has-content > div:last-child, .settings .group.has-content > div:last-child, .settings .companions.has-content > div:last-child { display: block; }
.settings button { margin-left: auto; }
.settings ol { flex: 1; padding: 1em 1em 1em 2em; }
.settings ol > li { text-align: center; padding: .5em 0; }
.settings ol:empty:after { content: "No targets specified."; display: block; text-align: center; }
.inputwrapper { background: #faa431; border-radius: .5em; overflow: hidden; }
.inputwrapper.has-content { background: #4c7a4c; }
.inputwrapper { display: flex; align-items: center; }
.inputwrapper input { flex: 1; border-radius: 0; background: inherit; }
.inputwrapper.has-content input { color: #fff; }
.inputwrapper:after, .inputwrapper:before { color: #000; padding: 0 .3em; }
.inputwrapper.has-content:after, .inputwrapper.has-content:before { color: #fff; }
.inputwrapper.esp:after { content: ".esp"; }
.inputwrapper.formid:before { content: "xx"; }
.generate { display: none; }
.generate.has-presets.has-targets { display: block; }
.generate > div { justify-content: center; margin-top: 1em; }
.result { display: none; }
.result textarea { }
.result h3 { position: relative; }
.result h3 > button { position: absolute; right: 6em; font-size: .8em; bottom: -.5em; }
.result h3 > .button { position: absolute; right: 0; font-size: .8em; bottom: -.5em; }
.result > div { margin-bottom: 1em; }
.block.log { border-top: 1px solid #fff; }
.block.log textarea { background: none; resize: none; }
.selection { display: none; }
.selection ol { padding: 0; list-style: none; }
.selection ol li.ignored { color: dimgrey; }
.selection ol li label { padding: .5em 0; display: block; text-align: center; position: relative; }
.selection ol li label .checkbox { margin-right: .5em; position: absolute; left: 0; }
.selection ol li label:hover .checkbox > span { background: darkgrey; }
.selection ol li input {}
.selection ol:empty:after { content: "No presets uploaded yet."; display: block; text-align: center; }
.checkbox { position: relative; height: 1.3em; width: 2.5em; display: inline-block; border-radius: 1em; overflow: hidden; background: #202020; }
.checkbox > span { position: absolute; top: 0; left: 0; background: #faa431; width: 1.3em; height: 100%; border-radius: 100%; transition: left .5s; }
.checkbox > input { position: absolute; opacity: 0; }
.checkbox > input:checked + span { background: #4c7a4c; left: 1.3em; }
.checkbox > input:checked + span:after { content: ""; }
.troublebtn button { margin: auto; }
.troubleshooting { display: none; }
.troubleshooting ol { list-style: decimal-leading-zero; }
.troubleshooting ol > li { margin: .5em 0; line-height: 1.5; }
.troubleshooting ol > li .path {}
.error { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; display: none; align-items: center; justify-content: center; background: #000000c4; z-index: 4; }
.error > div { max-width: 80vw; background: red; padding: 1em; border-radius: 1em; box-sizing: border-box; }
.error.show { display: flex; }
noscript { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #000000c4; display: flex; align-items: center; justify-content: center; z-index: 4; }
noscript > div { padding: 2em; font-weight: bold; color: #fff; text-align: center; }
noscript > div > div { margin-top: 1em; font-weight: normal; font-size: .8em;  }

.block.log textarea::-webkit-scrollbar {
    width: 1em;
}
 
.block.log textarea::-webkit-scrollbar-thumb {
  background-color: #fff;
  border-radius: 1em;
  cursor: pointer;
}