.reference-notice {
  position: fixed;
  transform: translateX(-50%);
  z-index: 210;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  box-sizing: border-box;
  width: max-content;
  max-width: min(420px, calc(100vw - 24px));
  padding: 11px 12px;
  border: 1px solid #665036;
  border-radius: 12px;
  background: #30291f;
  color: #f4d19b;
  box-shadow: 0 8px 24px #0005;
  font-size: 13px;
  line-height: 1.5;
  pointer-events: none;
}
.reference-notice > svg { flex: none; margin-top: 1px; }
.reference-notice__message { max-width: 340px; max-height: min(180px, 32dvh); overflow-y: auto; overflow-wrap: anywhere; pointer-events: auto; }
.reference-notice > button {
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; margin: -2px -3px -2px 0; padding: 0;
  border: 0; border-radius: 6px; background: transparent; color: inherit;
  cursor: pointer; pointer-events: auto;
}
.reference-notice > button:hover { background: #ffffff14; }
.reference-notice > button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.reference-notice--info { border-color: #514861; background: #292531; color: #d5c6ed; }
:root[data-theme="light"] .reference-notice { border-color: #dfc49c; background: #fff7e9; color: #75511d; box-shadow: 0 8px 24px #3020001a; }
:root[data-theme="light"] .reference-notice--info { border-color: #d8ccea; background: #f8f3ff; color: #604583; }
.video-composer__reference.is-reference-invalid { outline: 1px solid var(--danger, #e98b91); outline-offset: -1px; }
.character-library__grid button[aria-disabled="true"] { opacity: .55; }
.text-reference-validation { min-width: 0; }.canvas-workspace .canvas-toast {
  left: 50%;
  top: 16px;
  bottom: auto;
  z-index: 210;
  max-width: min(420px, calc(100% - 24px));
  overflow-wrap: anywhere;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9.1px;
  background: rgba(28, 29, 32, 0.97);
  padding: 11.7px 16.9px;
  color: #d6d2dc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
  font-size: 13px;
  pointer-events: none;
}