:root {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: #e8e8eb;
  background: #111115;
  font-synthesis: none;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 940px;
  margin: auto;
  padding: 30px 24px 70px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  font-weight: 760;
  letter-spacing: -.6px;
  text-decoration: none;
  color: inherit;
}
.brand span {
  margin-left: 12px;
  font-size: 11px;
  color: #e5b4ff;
  background: #35203d;
  border: 1px solid #533160;
  border-radius: 5px;
  padding: 4px 7px;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.intro {
  padding: 66px 0 30px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2.2px;
  color: #a9a1b9!important;
  font-weight: 650;
}
h1 {
  font-size: clamp(36px,6vw,62px);
  line-height: 1.06;
  letter-spacing: -2.6px;
  margin: 20px 0;
}
h2 {
  font-size: 20px;
  letter-spacing: -.4px;
  margin-top: 0;
}
p,
li {
  line-height: 1.65;
  color: #adadb9;
}
a {
  color: #d6b7ed;
}
.panel {
  padding: 28px;
  margin: 20px 0;
  border: 1px solid #33333c;
  background: #19191f;
  border-radius: 14px;
}
.panel > h2:not(:first-child) {
  margin-top: 32px;
}
button,
select,
.primary {
  font: inherit;
  border: 1px solid #42424e;
  border-radius: 8px;
  padding: 11px 16px;
  background: #25252e;
  color: #eee;
  cursor: pointer;
}
button:hover {
  background: #32323d;
}
button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.primary {
  display: inline-block;
  background: #bc87dc;
  border-color: #bc87dc;
  color: #1d1025;
  font-weight: 650;
  text-decoration: none;
}
.primary:hover {
  background: #cfa2eb;
}
select {
  display: block;
  width: 100%;
  margin: 9px 0 18px;
}
label {
  font-size: 14px;
  color: #d3d3df;
}
details {
  margin: 18px 0;
  line-height: 1.7;
  color: #aeadbd;
}
summary {
  cursor: pointer;
  color: #dad6e3;
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.shorts {
  display: grid;
  gap: 10px;
  max-height: 430px;
  overflow: auto;
  padding: 2px;
}
.short {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  background: #202027;
  border: 1px solid #363641;
  border-radius: 9px;
}
.short input {
  accent-color: #bd8ada;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.short img {
  width: 84px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}
.short span {
  line-height: 1.4;
}
.short small {
  display: block;
  margin-top: 5px;
  color: #9696a6;
}
.notice {
  font-size: 13px;
  border-left: 2px solid #bc87dc;
  padding-left: 12px;
}
#message:empty {
  display: none;
}
#message {
  padding: 14px 18px;
  border: 1px solid #714740;
  background: #302221;
  border-radius: 8px;
  color: #f1c4bb;
}
#run-log {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #a4a4b7;
  max-height: 200px;
  overflow: auto;
  font-size: 12px;
}
.result,
.history-row {
  padding: 12px 0;
  border-top: 1px solid #373740;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.history-row button {
  float: right;
  font-size: 12px;
}
footer {
  font-size: 12px;
  color: #898997;
  line-height: 1.7;
  margin-top: 28px;
}
[hidden] {
  display: none!important;
}
@media (max-width:580px) {
  main {
    padding: 22px 16px;
  }
  .intro {
    padding-top: 44px;
  }
  .panel {
    padding: 20px;
  }
  .brand span {
    display: inline-block;
    margin-top: 7px;
  }
  .short img {
    display: none;
  }
  header {
    align-items: flex-start;
  }
}
