.st-utilkit {
  display: grid;
  gap: 14px;
}

.st-utilkit [hidden] {
  display: none !important;
}

.uk-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.uk-center {
  justify-content: center;
  text-align: center;
}

.uk-stack {
  display: grid;
  gap: 10px;
  align-content: start;
}

.uk-select {
  max-width: 100%;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid #d5dde5;
  border-radius: 10px;
  background: #fff;
}

.uk-stage {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 14px;
  align-items: start;
}

.uk-stage.uk-stack {
  grid-template-columns: 1fr;
}

.uk-video {
  width: 100%;
  border-radius: 14px;
  background: #111;
}

.uk-video.is-mirror {
  transform: scaleX(-1);
}

.uk-side {
  display: grid;
  gap: 10px;
}

.uk-info {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uk-info li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #f4f7f9;
}

.uk-info span {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.uk-verdict {
  margin: 0;
  font-weight: 700;
}

.uk-level {
  display: flex;
  gap: 12px;
  align-items: center;
}

.uk-meter {
  flex: 1;
  height: 16px;
  border-radius: 99px;
  background: #e9eef2;
  overflow: hidden;
}

.uk-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: #adb5bd;
  transition: width 0.06s linear;
}

.uk-meter span.is-ok {
  background: #2f9e44;
}

.uk-meter span.is-loud {
  background: #e03131;
}

.uk-wave {
  width: 100%;
  height: 80px;
  border-radius: 12px;
  background: #f4f7f9;
}

.uk-face {
  display: grid;
  gap: 14px;
  padding: 22px 12px;
  border-radius: 18px;
  background: #f4f7f9;
}

.uk-face:fullscreen {
  place-content: center;
  background: #fff;
}

.uk-display {
  font-size: clamp(54px, 15vw, 128px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.uk-face:fullscreen .uk-display {
  font-size: 22vw;
}

.uk-display.is-done {
  color: #e03131;
  animation: uk-blink 1s steps(2) infinite;
}

@keyframes uk-blink {
  50% {
    opacity: 0.35;
  }
}

.uk-bar {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: #dfe6ec;
  overflow: hidden;
}

.uk-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: #52b5b2;
}

.uk-hms .st-field,
.uk-num {
  width: 96px;
}

.uk-laps {
  display: grid;
  gap: 4px;
  max-height: 320px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.uk-laps li {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 7px 12px;
  border-radius: 10px;
  background: #f4f7f9;
  font-variant-numeric: tabular-nums;
}

.uk-laps li.is-best {
  color: #2b8a3e;
  font-weight: 700;
}

.uk-laps li.is-worst {
  color: #c92a2a;
  font-weight: 700;
}

.uk-wheelgrid,
.uk-notegrid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 2fr);
  gap: 16px;
  align-items: start;
}

.uk-notegrid {
  grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
}

.uk-wheelbox {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.uk-wheelbox canvas {
  width: 100%;
  max-width: 460px;
  height: auto;
  cursor: pointer;
}

.uk-pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  z-index: 1;
  width: 0;
  height: 0;
  border-top: 30px solid #1e2733;
  border-right: 16px solid transparent;
  border-left: 16px solid transparent;
  transform: translateX(-50%);
}

.uk-result {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 16px;
  border-radius: 16px;
  background: #fff7e6;
  text-align: center;
}

.uk-result b {
  font-size: 30px;
  overflow-wrap: anywhere;
}

.uk-history {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uk-history li {
  padding: 3px 10px;
  border-radius: 99px;
  background: #eef2f5;
  font-size: 14px;
}

.uk-live {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: #c92a2a;
  font-weight: 700;
}

.uk-live em {
  color: #66778a;
  font-weight: 400;
}

.uk-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e03131;
  animation: uk-blink 1s steps(2) infinite;
}

.st-utilkit .st-btn.is-live {
  background: #e03131;
}

.uk-count,
.uk-saved {
  color: #66778a;
}

.uk-padbox {
  position: relative;
  height: 240px;
  border: 1px dashed #b8c4cf;
  border-radius: 14px;
  background: #fff;
}

.uk-pad {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}

.uk-hint {
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  color: #9aa7b3;
  text-align: center;
}

.uk-line {
  position: absolute;
  right: 8%;
  bottom: 28%;
  left: 8%;
  border-bottom: 1px solid #ced6de;
}

.uk-typed {
  min-height: 90px;
  padding: 10px;
  border: 1px dashed #b8c4cf;
  border-radius: 14px;
  background: #fff;
}

.uk-notes {
  display: grid;
  gap: 6px;
  max-height: 420px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.uk-notes button {
  display: grid;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e1e6eb;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.uk-notes button.is-on {
  border-color: #52b5b2;
  background: #eef8f8;
}

.uk-notes b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uk-notes small {
  color: #66778a;
}

.uk-note {
  width: 100%;
  min-height: 360px;
  padding: 12px;
  border: 1px solid #d5dde5;
  border-radius: 12px;
  font: inherit;
  line-height: 1.55;
  white-space: pre-wrap;
  resize: vertical;
}

.uk-note.is-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.uk-file {
  position: relative;
  overflow: hidden;
}

.uk-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 767px) {
  .uk-stage,
  .uk-wheelgrid,
  .uk-notegrid {
    grid-template-columns: 1fr;
  }

  .st-utilkit .st-chip {
    width: auto;
  }

  .uk-hms .st-field {
    width: 84px;
  }

  .uk-padbox {
    height: 200px;
  }

  .uk-note {
    min-height: 280px;
  }
}
