.st {
  margin: 6px 0 18px;
}
.st .hint,
.st-empty {
  color: var(--muted);
}
.st button,
.st .pk-chip,
.st-badge,
.st-whisper,
.st-ed-bar .btn {
  -webkit-user-select: none;
  user-select: none;
}
.st h2,
.st h3 {
  text-wrap: balance;
}
.st p {
  text-wrap: pretty;
}
.st-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.st-head-pic {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #0c0c0c;
  border: 1px solid var(--border);
  padding: 4px;
}
.st-head-text {
  flex: 1 1 260px;
  min-width: 0;
}
.st-sub {
  color: var(--muted);
  font-size: 15px;
}
.st-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.st-badge {
  font: 700 12px/1 var(--sans);
  padding: 5px 7px;
  background: var(--th);
  color: var(--text);
  white-space: nowrap;
  cursor: default;
}
.st-badge.ok {
  background: var(--green);
  color: #fff;
}
.st-badge.on {
  background: #2f8a2f;
  color: #fff;
}
.st-badge.off {
  background: #7a6a55;
  color: #fff;
}
.st-whisper {
  font-weight: 700;
  padding: 8px 12px;
  white-space: nowrap;
}
.st-note {
  background: var(--panel);
  border: 1px solid var(--soft);
  padding: 10px 12px;
  margin: 0 0 14px;
  white-space: pre-line;
}
.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.st-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 8px 12px;
  background: var(--panel);
  border: 1px solid var(--soft);
  padding: 10px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.st-card:hover,
.st-card:focus-visible {
  border-color: var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  outline: none;
}
.st-pic {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c0c0c;
  border: 1px solid var(--border);
}
.st-pic img {
  max-width: 68px;
  max-height: 68px;
  object-fit: contain;
}
.st-body {
  min-width: 0;
}
.st-name {
  font-weight: 700;
  overflow-wrap: anywhere;
  color: var(--text);
}
.st-c1 {
  color: #2f62b8;
}
.st-c2 {
  color: #b8321e;
}
.st-c3 {
  color: #9c6a08;
}
.st-c4,
.st-c8 {
  color: #1d7f34;
}
.st-c6 {
  color: #a0309a;
}
@media (prefers-color-scheme: dark) {
  .st-c1 {
    color: #80b3ff;
  }
  .st-c2 {
    color: #ff6a50;
  }
  .st-c3 {
    color: #ffcc1a;
  }
  .st-c4,
  .st-c8 {
    color: #4ee08a;
  }
  .st-c6 {
    color: #ff6aff;
  }
}
a.st-name:hover {
  text-decoration: underline;
}
.st-card .st-name {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}
.st-opts {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 3px;
}
.st-price {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.st-price b {
  font-size: 18px;
  color: var(--text);
}
.st-note-line {
  font-size: 13px;
  font-style: italic;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.st-check {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--soft);
  padding-top: 6px;
  font-size: 13px;
  color: #2f6f1a;
  text-wrap: pretty;
}
.st-paused {
  opacity: .75;
}
.st-paused .st-check {
  color: #8a5a12;
}
.st-ended {
  opacity: .6;
}
.st-ended .st-price b,
.st-ended .st-price {
  text-decoration: line-through;
}
.st-ended .st-check {
  color: #9a3b2a;
}
@media (prefers-color-scheme: dark) {
  .st-check {
    color: #8fd36b;
  }
  .st-paused .st-check {
    color: #e0b060;
  }
  .st-ended .st-check {
    color: #f08a78;
  }
}
.st-warn {
  background: var(--panel);
  border-left: 4px solid #8a3b1e;
  padding: 10px 14px;
  margin: 18px 0;
  text-wrap: pretty;
}
.st-tip {
  position: absolute;
  z-index: 50;
  width: 300px;
  max-width: calc(100vw - 12px);
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.st-tip-foot {
  border-top: 1px solid #333;
  margin-top: 6px;
  padding: 5px 6px 2px;
  color: #8fd36b;
  font-size: 12px;
  text-align: center;
  text-wrap: pretty;
}
.st-mk {
  display: grid;
  grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.st-filters {
  background: var(--panel);
  border: 1px solid var(--soft);
  padding: 10px 12px;
}
.st-filters > summary {
  font-weight: 700;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  margin-bottom: 6px;
}
.st-filters > summary:hover {
  color: var(--link);
}
@media (min-width: 761px) {
  .st-filters > summary {
    display: none;
  }
}
.st-f {
  margin: 0 0 10px;
}
.st-f-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.st-q {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 9px;
  border: 1px solid var(--border);
  background: var(--content);
  color: var(--text);
  font: 14px var(--sans);
}
.st-count {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 6px;
}
.st-table {
  width: 100%;
}
.st-table td {
  vertical-align: middle;
}
.st-it {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-width: 180px;
}
.st-table .st-name {
  overflow-wrap: normal;
  hyphens: manual;
}
.st-it img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: #0c0c0c;
  border: 1px solid var(--border);
  flex: none;
}
td.st-o {
  font-size: 13px;
  color: var(--muted);
}
.st-p {
  white-space: nowrap;
}
.st-s {
  white-space: nowrap;
}
.st-s small {
  color: var(--muted);
}
.st-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9a9a9a;
  margin-right: 6px;
  vertical-align: 1px;
}
.st-dot.on {
  background: #2f9a2f;
}
.st-stall-list {
  columns: 2 260px;
}
.st-login {
  max-width: 360px;
  display: grid;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--soft);
  padding: 12px 14px;
}
.st-login h2 {
  margin: 0 0 4px;
  font-size: 18px;
}
.st-login input,
.st-ed-ctl input,
.st-ed-ctl select,
.st-ed-note {
  padding: 7px 9px;
  border: 1px solid var(--border);
  background: var(--content);
  color: var(--text);
  font: 14px var(--sans);
  box-sizing: border-box;
}
.st-login .btn,
.st-ed-bar .btn {
  border: 0;
  cursor: pointer;
  justify-self: start;
}
.st-msg {
  min-height: 1.2em;
  margin: 6px 0;
}
.st-msg.bad {
  color: #b0301e;
}
@media (prefers-color-scheme: dark) {
  .st-msg.bad {
    color: #ff8a7a;
  }
}
.st-ed-top {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.st-ed-set {
  background: var(--panel);
  border: 1px solid var(--soft);
  padding: 10px 12px;
  margin: 10px 0;
}
.st-ed-note {
  width: 100%;
  resize: vertical;
}
.st-ed h3 {
  margin: 16px 0 6px;
  font: 700 16px var(--serif);
}
.st-ed-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--soft);
}
.st-ed-row.listed {
  background: var(--panel);
}
.st-ed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 230px;
  flex: 1 1 230px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.st-ed-item input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.st-ed-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: #0c0c0c;
  border: 1px solid var(--border);
}
.st-ed-ctl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 2 1 380px;
}
.st-ed-ctl input[type=number] {
  width: 140px;
}
.st-ed-ctl input:not([type]) {
  flex: 1 1 160px;
  min-width: 0;
}
.st-ed-state {
  font-size: 13px;
  white-space: nowrap;
}
.st-ed-state.st-live {
  color: #2f6f1a;
}
.st-ed-state.st-paused {
  color: #8a5a12;
}
.st-ed-state.st-ended {
  color: #9a3b2a;
}
.st-ed-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 16px 0 4px;
}
@media (max-width: 760px) {
  .st-mk {
    grid-template-columns: minmax(0, 1fr);
  }
  .st-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .st-whisper {
    width: 100%;
  }
  .st-table .st-o {
    display: none;
  }
  .st-it {
    min-width: 0;
  }
}
