.v79-bridge[hidden] {
  display: none !important;
}

.v79-conditions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  padding: 6px 0;
}

.v79-condition-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 6px;
  border: 1px solid #ffffff33;
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  min-width: 0;
}

.v79-condition-badge svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v79-condition-blinded { background: #454c58; }
.v79-condition-charmed { background: #842559; }
.v79-condition-deafened { background: #41647b; }
.v79-condition-exhaustion { background: #76552d; }
.v79-condition-frightened { background: #612f86; }
.v79-condition-grappled { background: #715443; }
.v79-condition-incapacitated { background: #83373c; }
.v79-condition-invisible { background: #316472; }
.v79-condition-paralyzed { background: #9e6710; }
.v79-condition-petrified { background: #5d6064; }
.v79-condition-poisoned { background: #3c692a; }
.v79-condition-prone { background: #754b29; }
.v79-condition-restrained { background: #714d74; }
.v79-condition-stunned { background: #9a4e11; }
.v79-condition-unconscious { background: #343f77; }

.v79-status-error {
  font-size: 12px;
  background: #ffe082;
  color: black;
  padding: 8px;
}

.v79-progress-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: center;
  font-size: 11px;
  font-weight: 600;
  border-radius: 14px;
  padding: 5px 9px;
  letter-spacing: .4px;
  border: 1px solid #665f54;
  background: #17171b;
  color: #c6bfb6;
}

.v79-progress-badge:before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #81786f;
  flex: 0 0 9px;
}

.v79-progress-completed:before { background: #39bf67; }
.v79-progress-completed { border-color: #388752; color: #8fe1aa; }
.v79-progress-ongoing:before { background: #f6cf45; }
.v79-progress-ongoing { border-color: #9d832f; color: #f4da7c; }
.v79-progress-failed:before { background: #ed4c58; }
.v79-progress-failed { border-color: #a74750; color: #ffb4bb; }

.v77-open .v79-progress-badge {
  align-self: flex-start;
}

.v79-progress-label {
  margin-bottom: 18px;
  border-bottom: 1px solid #67513b;
  padding-bottom: 14px;
}

.v77-entry[data-entry-type="quest"] label[hidden] {
  display: none !important;
}

.v79-auto-gate {
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 36px;
}

.v79-auto-gate > label,
.v79-auto-gate > button[type="submit"],
.v79-auto-gate > button:first-of-type,
.v79-auto-gate > #gateerror {
  display: none !important;
}

.v79-auto-gate:not(.v79-open-failed):before {
  content: 'Apertura archivio…';
  font-size: 13px;
  color: var(--muted, #b6b0a6);
}

@media (max-width: 760px) {
  #livepanel > .v79-conditions {
    grid-column: 1 / -1;
    margin: 0;
    padding: 3px 0;
  }

  .v79-condition-badge {
    padding: 4px 6px;
    font-size: 10px;
  }

  .v79-condition-badge svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}

@media print {
  .v79-conditions,
  .v79-progress-label,
  .v79-auto-gate {
    display: none !important;
  }

  .v79-progress-badge {
    color: black !important;
    background: white;
  }
}
