livedemo-overlay-item[data-hovered] {
  box-shadow: inset 0 0 0 1px #8480ff;
  border-radius: 2px;
  z-index: 1;
}

livedemo-overlay-item[data-scope="hovered"] {
  box-shadow: inset 0 0 0 1px #4c49f3;
  transition: all 0.15s ease;
  border-radius: 2px;
  animation: reprise-highlight-fader 0.1s ease;
  z-index: 1;
}

@keyframes reprise-highlight-fader {
  from {
    opacity: 0;
  }
}

livedemo-overlay-item[data-scope="selected"] {
  background: #8480ff12;
  transition: all 0.15s ease;
  border-radius: 2px;
  border: 0 solid transparent;
  background: linear-gradient(90deg, #8480ff 50%, transparent 0) repeat-x,
    linear-gradient(90deg, #8480ff 50%, transparent 0) repeat-x,
    linear-gradient(0deg, #8480ff 50%, transparent 0) repeat-y,
    linear-gradient(0deg, #8480ff 50%, transparent 0) repeat-y, #8480ff12;
  background-size: 6px 1px, 6px 1px, 1px 6px, 1px 6px;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  animation: targetSelected 0.33s infinite linear;
  z-index: 2;
}

livedemo-overlay-item[data-scope="selected"]livedemo-overlay-item[data-hovered] {
  background: transparent;
}

livedemo-overlay-item[data-scope="content"] {
  background-color: rgba(132, 128, 255, 0.1);
  border: 1px solid #4c49f3;
}

livedemo-overlay-item[data-scope="link-active"] {
  background: rgba(246, 173, 85, 0.2);
  border: 1px solid rgba(246, 173, 85);
}

livedemo-overlay-item[data-scope="link-unrecognized"] {
  background: rgba(156, 160, 173, 0.2);
  border: 1px solid rgba(156, 160, 173);
}

livedemo-overlay-item[data-scope="link-disabled"] {
  background: rgba(251, 241, 0, 0.2);
  border: 1px solid rgb(199, 175, 0);
}

livedemo-overlay-item[data-scope="guide"] {
  background-color: rgba(123, 97, 255, 0.2);
  box-shadow: inset 0 0 0 1px #7370ff;
}

livedemo-overlay-item[data-scope="variables"] {
  background-color: rgba(223, 97, 149, 0.2);
  box-shadow: inset 0 0 0 1px #df6195;
}

livedemo-overlay-item[data-scope="error"] {
  background-color: rgba(255, 97, 97, 0.2);
  box-shadow: inset 0 0 0 1px #e53e3e;
}

livedemo-node-hint[data-scope="content"] {
  color: #fff;
  background-color: #7370ff;
}

livedemo-node-hint[data-scope="link-active"] {
  color: #fff;
  background-color: #f6ad55;
}

livedemo-node-hint[data-scope="link-active"]:hover {
  background-color: #ed8936;
}

livedemo-node-hint[data-scope="link-unrecognized"] {
  color: #fff;
  background-color: #9ca0ad;
}

livedemo-node-hint[data-scope="link-unrecognized"]:hover {
  background-color: #646875;
}

livedemo-node-hint[data-scope="link-disabled"] {
  color: #fff;
  background-color: #c7af00;
}

livedemo-node-hint[data-scope="link-disabled"]:hover {
  background-color: #9f8c00;
}

livedemo-node-hint[data-scope="guide"] {
  color: #fff;
  background-color: #7370ff;
}

livedemo-node-hint[data-scope="variables"] {
  color: #fff;
  background-color: #df6195;
}

livedemo-node-hint[data-scope="variables"] span {
  background-color: #451e2e;
}

livedemo-node-hint[data-scope="error"] {
  color: #fff;
  background-color: #e53e3e;
}

livedemo-overlay-item {
  all: initial;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

livedemo-overlay-item::after {
  content: "";
  position: absolute;
  height: 4px;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: auto;
}

reprise-node-context-buttons {
  display: block;
  height: 46px;
  margin: -3px 0px;
  pointer-events: all;
  z-index: 101;
  animation-name: fadeInUp;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  animation-duration: 100ms;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    margin-top: 8px;
  }

  100% {
    opacity: 1;
    margin-top: -2px;
  }
}

reprise-node-context-buttons .reprise-container {
  background: #16161a;
  border-radius: 8px;
  padding: 4px;
  position: relative;
  color: #fff;
  display: flex;
  animation: fadeIn 0.16s ease-out;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

reprise-node-context-buttons .reprise-container::after {
  content: "";
  border-color: #16161a transparent transparent;
  border-width: 8px;
  border-style: solid;
  width: 1px;
  height: 1px;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
}

reprise-node-context-buttons.tether-target-attached-top .reprise-container {
  margin-top: -10px;
}

reprise-node-context-buttons.tether-target-attached-bottom .reprise-container {
  margin-top: 10px;
}

reprise-node-context-buttons.tether-target-attached-bottom .reprise-container::after {
  top: -16px;
  border-color: transparent transparent #16161a;
}

reprise-node-context-buttons.tether-element-attached-left .reprise-container::after,
reprise-node-context-buttons.tether-out-of-bounds-left .reprise-container::after {
  left: 20px;
}

reprise-node-context-buttons.tether-element-attached-right .reprise-container::after,
reprise-node-context-buttons.tether-out-of-bounds-right .reprise-container::after {
  left: 100%;
  margin-left: -30px;
}

reprise-node-context-buttons .reprise-button {
  background: transparent !important;
  border-radius: 4px !important;
  transition: 0.2s all ease-in-out !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FFF !important;
  width: 42px !important;
  min-width: 1px !important;
  height: 36px !important;
  cursor: pointer !important;
  position: relative !important;
  font-size: 18px !important;
  padding: 2px 4px !important;
}

reprise-node-context-buttons .reprise-button:last-of-type {
  margin-right: 0;
}

reprise-node-context-buttons .reprise-button:hover {
  background: #33363D !important;
  color: #ffffff;
}

reprise-node-context-buttons .reprise-button:focus {
  background: #1a1957;
  color: #7370ff;
}

reprise-node-context-buttons .reprise-button:focus,
reprise-node-context-buttons .reprise-button:active {
  outline: none;
}

reprise-node-context-buttons .reprise-button.with-tooltip::after {
  opacity: 0;
  content: attr(data-tooltip);
  position: absolute;
  top: calc(-100% + 8px);
  background: #16161a;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
  color: #FFFFFFCF;
  pointer-events: none;
  transition: opacity 0.1s ease-in !important;
  transition-delay: 0.4s !important;
}

reprise-node-context-buttons .reprise-button.with-tooltip::before {
  content: "";
  width: 1px;
  height: 1px;
  position: absolute;
  top: -15px;
  border: 5px solid transparent;
  border-top-color: #16161a;
  display: none;
}

reprise-node-context-buttons .reprise-button.with-tooltip:hover::before,
reprise-node-context-buttons .reprise-button.with-tooltip:hover::after {
  opacity: 1;
}

@keyframes targetSelected {
  100% {
    background-position: 6px 0, -6px 100%, 0 -6px, 100% 6px;
  }
}

.livedemo-editable {
  outline-color: transparent;
  box-shadow: inset 0 -1px 0 0 rgba(115, 112, 255, 0.5);
}

.livedemo-buttons-container {
  position: absolute;
  bottom: -32px;
  right: 0;
  pointer-events: auto;
  white-space: nowrap;
}

.livedemo-buttons-container button {
  border-radius: 4px;
  font-size: 14px;
  line-height: 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0;
  width: 32px;
  text-align: center;
  box-shadow: ;
}

.livedemo-buttons-container .confirm-live-demo {
  color: #fff;
  padding: 6px 2px;
  background: #4C49F3;
  transition: all 0.2s ease;
}

.livedemo-buttons-container .confirm-live-demo:hover {
  background: #3f3dd4;
  border-color: rgba(0, 0, 0, 0.3);
}

.livedemo-buttons-container .cancel-live-demo {
  background: #F2F4F9;
  color: #16161A;
  padding: 6px 2px;
  margin-right: 4px;
  transition: all 0.2s ease;
}

.livedemo-buttons-container .cancel-live-demo:hover {
  background: #e1e5ed;
  border-color: rgba(0, 0, 0, 0.3);
}

#livedemo-overlay-container {
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 2147483647 !important;
  pointer-events: none;
  background-color: transparent !important;
  color-scheme: light dark;
}

#livedemo-overlay-container.hide-buttons reprise-node-context-buttons {
  display: none;
}

livedemo-overlay-item .fas:before,
reprise-node-context-buttons .fas:before,
livedemo-overlay-item .far:before,
reprise-node-context-buttons .far:before,
livedemo-overlay-item .fal:before,
reprise-node-context-buttons .fal:before,
livedemo-overlay-item .fad:before,
reprise-node-context-buttons .fad:before,
livedemo-overlay-item .fab:before,
reprise-node-context-buttons .fab:before {
  font-family: "Font Awesome 6 Pro" !important;
}

livedemo-short-hints {
  position: absolute;
  top: -15px;
  left: -1px;
  display: flex;
  align-items: center;
  font-size: 10px;
  pointer-events: auto;
  cursor: pointer;
}

.on-body livedemo-short-hints {
  top: 1px;
  left: 1px;
}

livedemo-short-hints i {
  width: 15px;
  height: 15px;
  padding: 4px 0;
  text-align: center;
  box-sizing: border-box;
}

[data-scope="selected"] livedemo-overlay-detailed-hints,
[data-scope="error"] livedemo-overlay-detailed-hints {
  display: flex;
}

livedemo-overlay-detailed-hints {
  display: none;
  position: absolute;
  top: 100%;
  left: -1px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: auto;
  cursor: pointer;
}

livedemo-overlay-detailed-hints livedemo-node-hint {
  white-space: nowrap;
  display: flex;
  box-shadow: 0 3px 12px rgb(0 0 0 / 25%);
}

livedemo-overlay-detailed-hints i {
  width: 15px;
  height: 15px;
  font-size: 10px;
  padding: 4px 0;
  text-align: center;
  box-sizing: border-box;
}

livedemo-overlay-detailed-hints span {
  font-size: 10px;
  line-height: 14px;
  font-family: "Inter", sans-serif;
  padding: 0 3px;
  font-weight: 400;
  color: #fff;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.7;
}

livedemo-overlay-detailed-hints livedemo-node-hint[data-scope="error"] span {
  max-width: 200px;
}

livedemo-node-hint[data-clickable] {
  cursor: pointer;
}

.reprise-context-panel {
  pointer-events: all;
  z-index: 10;
}

.disabled-canvas-link {
  cursor: not-allowed !important;
}

.disabled-canvas-link>* {
  pointer-events: none;
}
