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

.v79-cond-sidebar-heading {
  display: flex;
  align-items: center;
  gap: 7px;
}

.v79-cond-head-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--gold, #c6a063);
}

.v79-cond-head-ico svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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: 4px;
  align-self: center;
  max-width: 100%;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
  border-radius: 5px;
  padding: 1px 7px;
  letter-spacing: 0.04em;
  border: 1px solid #665f54;
  background: rgba(20, 20, 25, 0.78);
  color: #d0c8be;
  white-space: normal;
  overflow-wrap: anywhere;
}

.v79-progress-badge:before {
  content: '•';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  flex: 0 0 auto;
}

.v79-progress-none {
  display: none;
}

.v79-progress-completed:before {
  content: '✓';
  color: #79d298;
}
.v79-progress-completed {
  border-color: rgba(89, 160, 114, 0.62);
  background: rgba(28, 60, 42, 0.74);
  color: #b4ecc7;
}

.v79-progress-ongoing:before {
  content: '▸';
  color: #e6c66a;
}
.v79-progress-ongoing {
  border-color: rgba(176, 146, 68, 0.62);
  background: rgba(62, 49, 20, 0.76);
  color: #f3df9b;
}

.v79-progress-failed:before {
  content: '✕';
  color: #e47d86;
}
.v79-progress-failed {
  border-color: rgba(176, 86, 95, 0.65);
  background: rgba(68, 25, 31, 0.78);
  color: #f8bcc2;
}

.v79-progress-error:before {
  content: '!';
  color: #f0c975;
}
.v79-progress-error {
  border-color: rgba(190, 145, 72, 0.65);
  background: rgba(66, 48, 20, 0.78);
  color: #f5dfb0;
}

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

.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;
  }
}
