:root {
  --vw-lime: #a7ff1f;
  --vw-lime-soft: #d8ff7a;
  --vw-ink: #090b09;
  --vw-panel: #111411;
  --vw-panel-2: #171a17;
  --vw-line: rgba(255, 255, 255, 0.1);
  --vw-muted: #92998f;
  --vw-text: #f4f7f1;
}

#viggle-workspace-root,
#viggle-workspace-root * {
  box-sizing: border-box;
}

#viggle-workspace-root {
  color: var(--vw-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

#viggle-workspace-root button,
#viggle-workspace-root input,
#viggle-workspace-root select,
#viggle-workspace-root textarea {
  font: inherit;
}

.vw-launcher {
  align-items: center;
  background: var(--vw-lime);
  border: 0;
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  color: #090b09;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  padding: 13px 18px;
  position: fixed;
  right: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
  z-index: 2147483000;
}

.vw-launcher:hover {
  box-shadow: 0 20px 52px rgba(167, 255, 31, 0.22);
  transform: translateY(-2px);
}

.vw-launcher span {
  font-size: 18px;
}

.vw-shell {
  background: rgba(5, 6, 5, 0.78);
  display: grid;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  visibility: hidden;
  z-index: 2147483001;
}

.vw-shell.is-open {
  animation: vw-shell-open 180ms ease both;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
  visibility: visible;
}

.vw-shell > aside {
  background: #0d0f0d;
  border-right: 1px solid var(--vw-line);
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1;
  min-width: 230px;
  padding: 26px 16px 18px;
  width: 230px;
}

.vw-shell > main {
  background:
    radial-gradient(circle at 92% 2%, rgba(167, 255, 31, 0.09), transparent 28%),
    var(--vw-ink);
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: auto;
  padding: clamp(54px, 7vw, 92px) clamp(24px, 7vw, 96px);
  position: relative;
}

.vw-brand {
  align-items: center;
  display: flex;
  font-size: 15px;
  gap: 10px;
  letter-spacing: 0.16em;
  margin: 0 8px 38px;
}

.vw-brand span {
  align-items: center;
  background: var(--vw-lime);
  border-radius: 7px;
  color: #080a08;
  display: flex;
  font-size: 18px;
  font-weight: 950;
  height: 32px;
  justify-content: center;
  letter-spacing: -0.08em;
  width: 32px;
}

.vw-shell aside nav {
  display: grid;
  gap: 7px;
}

.vw-shell aside nav button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #aab0a7;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: 12px;
  padding: 12px;
  text-align: left;
  transition: 150ms ease;
}

.vw-shell aside nav button span {
  color: #d8ddd5;
  font-size: 18px;
  text-align: center;
  width: 22px;
}

.vw-shell aside nav button:hover,
.vw-shell aside nav button.is-active {
  background: #20251f;
  border-color: rgba(167, 255, 31, 0.12);
  color: #fff;
}

.vw-shell aside nav button.is-active span {
  color: var(--vw-lime);
}

.vw-account {
  border-top: 1px solid var(--vw-line);
  margin-top: auto;
  padding-top: 16px;
}

.vw-account > button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  text-align: left;
  width: 100%;
}

.vw-account i {
  align-items: center;
  background: #292e28;
  border-radius: 50%;
  color: var(--vw-lime);
  display: flex;
  flex: 0 0 35px;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  height: 35px;
  justify-content: center;
}

.vw-account span {
  display: grid;
  min-width: 0;
}

.vw-account strong,
.vw-account small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vw-account strong {
  font-size: 13px;
}

.vw-account small {
  color: var(--vw-muted);
  font-size: 11px;
}

.vw-close {
  align-items: center;
  background: #20231f;
  border: 1px solid var(--vw-line);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 25px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 22px;
  width: 40px;
}

.vw-create,
.vw-history,
.vw-auth-card,
.vw-empty,
.vw-loading {
  margin: 0 auto;
  max-width: 920px;
}

.vw-create > header,
.vw-history > header {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 34px;
}

.vw-kicker {
  color: var(--vw-lime);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.vw-create h1,
.vw-history h1,
.vw-auth-card h1 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 50px);
  letter-spacing: -0.045em;
  line-height: 1.03;
  margin: 0 0 12px;
}

.vw-create header p,
.vw-auth-card > p {
  color: var(--vw-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 660px;
}

.vw-real-badge {
  background: rgba(167, 255, 31, 0.12);
  border: 1px solid rgba(167, 255, 31, 0.35);
  border-radius: 999px;
  color: var(--vw-lime-soft);
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  padding: 8px 11px;
}

.vw-create form,
.vw-auth-card {
  background: rgba(19, 22, 19, 0.92);
  border: 1px solid var(--vw-line);
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
  padding: clamp(22px, 4vw, 38px);
}

.vw-create form,
.vw-auth-form {
  display: grid;
  gap: 22px;
}

.vw-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vw-create label,
.vw-auth-form label {
  color: #d8dcd5;
  display: grid;
  font-size: 12px;
  font-weight: 720;
  gap: 9px;
  letter-spacing: 0.02em;
}

.vw-create input,
.vw-create select,
.vw-create textarea,
.vw-auth-form input {
  background: #0c0e0c;
  border: 1px solid #31362f;
  border-radius: 10px;
  color: #fff;
  outline: none;
  padding: 13px 14px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  width: 100%;
}

.vw-create textarea {
  min-height: 112px;
  resize: vertical;
}

.vw-create input:focus,
.vw-create select:focus,
.vw-create textarea:focus,
.vw-auth-form input:focus {
  border-color: rgba(167, 255, 31, 0.75);
  box-shadow: 0 0 0 3px rgba(167, 255, 31, 0.08);
}

.vw-drop {
  background: #0d100d;
  border: 1px dashed #3c433a;
  border-radius: 12px;
  padding: 18px;
}

.vw-drop input[type="file"] {
  background: transparent;
  border: 0;
  color: #aeb4aa;
  padding: 2px 0;
}

.vw-drop input[type="file"]::file-selector-button {
  background: #292e28;
  border: 1px solid #3b4238;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  margin-right: 12px;
  padding: 8px 11px;
}

.vw-drop span {
  color: #727a70;
  font-size: 11px;
  font-weight: 500;
}

.vw-primary,
.vw-google,
.vw-refresh {
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  transition: filter 140ms ease, transform 140ms ease;
}

.vw-primary:hover,
.vw-google:hover,
.vw-refresh:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.vw-primary {
  background: var(--vw-lime);
  border: 0;
  color: #090b09;
  padding: 13px 17px;
}

.vw-submit {
  align-items: center;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  min-height: 49px;
}

.vw-submit span {
  font-size: 20px;
}

.vw-login-gate {
  background: rgba(167, 255, 31, 0.07);
  border: 1px solid rgba(167, 255, 31, 0.22);
  border-radius: 9px;
  color: var(--vw-lime-soft);
  cursor: pointer;
  padding: 11px 13px;
  text-align: left;
}

.vw-boundary,
.vw-alert {
  border-radius: 11px;
  margin: 0 auto 22px;
  max-width: 920px;
}

.vw-boundary {
  align-items: flex-start;
  background: #252314;
  border: 1px solid #5d5522;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 15px 17px;
}

.vw-boundary strong {
  color: #ffe470;
  font-size: 12px;
}

.vw-boundary p {
  color: #c7c09a;
  font-size: 12px;
  line-height: 1.55;
  margin: 5px 0 0;
}

.vw-boundary button {
  background: transparent;
  border: 0;
  color: #d8d0a5;
  cursor: pointer;
  font-size: 22px;
}

.vw-alert {
  background: rgba(167, 255, 31, 0.09);
  border: 1px solid rgba(167, 255, 31, 0.25);
  color: var(--vw-lime-soft);
  font-size: 12px;
  padding: 12px 15px;
}

.vw-alert.is-error {
  background: rgba(255, 87, 87, 0.08);
  border-color: rgba(255, 87, 87, 0.25);
  color: #ffaaaa;
}

.vw-auth-card {
  max-width: 540px;
}

.vw-auth-card > p {
  margin-bottom: 28px;
}

.vw-google {
  align-items: center;
  background: #fff;
  border: 0;
  color: #161816;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 13px;
  width: 100%;
}

.vw-google span {
  color: #4285f4;
  font-size: 17px;
  font-weight: 900;
}

.vw-divider {
  align-items: center;
  color: #737a70;
  display: flex;
  font-size: 11px;
  gap: 12px;
  margin: 20px 0;
}

.vw-divider::before,
.vw-divider::after {
  background: var(--vw-line);
  content: "";
  flex: 1;
  height: 1px;
}

.vw-link {
  background: transparent;
  border: 0;
  color: #9ba294;
  cursor: pointer;
  font-size: 12px;
}

.vw-auth-ok {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
}

.vw-auth-ok h2,
.vw-auth-ok p {
  margin: 0;
}

.vw-auth-ok span,
.vw-auth-ok p {
  color: var(--vw-muted);
  font-size: 12px;
}

.vw-avatar {
  align-items: center;
  background: var(--vw-lime);
  border-radius: 50%;
  color: #080a08;
  display: flex;
  font-size: 22px;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.vw-refresh {
  background: #20241f;
  border: 1px solid var(--vw-line);
  color: #fff;
  padding: 9px 13px;
}

.vw-history-list {
  display: grid;
  gap: 15px;
}

.vw-history-item {
  background: var(--vw-panel);
  border: 1px solid var(--vw-line);
  border-radius: 14px;
  padding: 20px;
}

.vw-history-meta {
  align-items: center;
  color: var(--vw-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 10px;
}

.vw-history-item h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  margin: 14px 0;
}

.vw-status {
  background: #2a2e29;
  border-radius: 999px;
  color: #d2d7cf;
  font-weight: 750;
  padding: 5px 8px;
}

.vw-status-succeeded {
  background: rgba(167, 255, 31, 0.12);
  color: var(--vw-lime);
}

.vw-status-failed {
  background: rgba(255, 87, 87, 0.12);
  color: #ff9d9d;
}

.vw-progress {
  background: #282c27;
  border-radius: 999px;
  height: 5px;
  overflow: hidden;
}

.vw-progress i {
  background: var(--vw-lime);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 240ms ease;
}

.vw-item-error {
  color: #ff9d9d;
  font-size: 12px;
}

.vw-result {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.vw-result img,
.vw-result video {
  background: #050605;
  border-radius: 10px;
  max-height: 520px;
  max-width: 100%;
  object-fit: contain;
}

.vw-download {
  color: var(--vw-lime-soft);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  width: fit-content;
}

.vw-empty,
.vw-loading {
  color: var(--vw-muted);
  padding: 13vh 20px;
  text-align: center;
}

.vw-empty span {
  color: var(--vw-lime);
  font-size: 38px;
}

.vw-empty h2 {
  color: #fff;
  margin: 12px 0 6px;
}

.vw-empty .vw-primary {
  margin-top: 16px;
}

.vw-busy {
  align-items: center;
  background: rgba(5, 6, 5, 0.78);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 5;
}

.vw-busy span {
  animation: vw-spin 750ms linear infinite;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  border-top-color: var(--vw-lime);
  height: 34px;
  width: 34px;
}

.vw-busy p {
  color: #c5cac1;
  font-size: 12px;
  margin-top: 12px;
}

@keyframes vw-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes vw-shell-open {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (max-width: 760px) {
  .vw-launcher {
    bottom: 16px;
    right: 16px;
  }

  .vw-shell {
    display: block;
    overflow: auto;
  }

  .vw-shell > aside {
    border-bottom: 1px solid var(--vw-line);
    border-right: 0;
    bottom: 0;
    height: 72px;
    left: 0;
    min-width: 0;
    padding: 8px 10px;
    position: fixed;
    right: 0;
    top: auto;
    width: auto;
    z-index: 8;
  }

  .vw-brand,
  .vw-account {
    display: none;
  }

  .vw-shell aside nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .vw-shell aside nav button {
    flex-direction: column;
    font-size: 10px;
    gap: 2px;
    justify-content: center;
    padding: 5px;
  }

  .vw-shell aside nav button span {
    font-size: 17px;
  }

  .vw-shell > main {
    min-height: 100%;
    overflow: visible;
    padding: 64px 16px 96px;
  }

  .vw-close {
    right: 14px;
    top: 14px;
  }

  .vw-grid,
  .vw-auth-ok {
    grid-template-columns: 1fr;
  }

  .vw-create > header,
  .vw-history > header {
    gap: 12px;
  }

  .vw-real-badge {
    margin-top: 3px;
  }

  .vw-auth-ok .vw-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vw-shell,
  .vw-launcher,
  .vw-primary,
  .vw-google,
  .vw-refresh {
    transition: none;
  }
}
