:root {
  color-scheme: dark;
  --bg: #151716;
  --panel: #1c1f1d;
  --soft: #272b28;
  --line: #343a35;
  --text: #ecefe9;
  --muted: #a2aca3;
  --accent: #c5f568;
  --ink: #121610;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select,
input {
  color: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 6px;
  padding: 8px 12px;
  min-height: 36px;
}
button:hover {
  background: #363e35;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
button:focus-visible,
select:focus-visible,
input:focus-visible,
[contenteditable]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.primary:hover {
  background: #d7ff90;
}
.quiet {
  background: transparent;
}
.small {
  font-size: 12px;
  color: var(--muted);
}
.app {
  height: 100dvh;
  min-height: 700px;
  display: grid;
  grid-template-rows: 66px 1fr 165px;
}
header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.brand {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand b {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  width: 29px;
  height: 29px;
  border-radius: 6px;
  font-size: 22px;
}
.brand span {
  font-weight: 400;
  color: #8f998f;
}
.project-name {
  color: #c9cfc7;
  font-size: 14px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.header-spacer {
  flex: 1;
}
.header-actions {
  display: flex;
  gap: 8px;
}
main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
}
.workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 20px 26px 18px;
  background: radial-gradient(ellipse at 50% 45%, #262b26, var(--bg) 80%);
}
.workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 8px;
}
.workspace-bar .tools {
  display: flex;
  gap: 6px;
}
.view-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.view-pill span {
  color: var(--text);
}
.stage-area {
  flex: 1;
  min-height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  box-shadow: 0 14px 50px #0006;
  max-height: 100%;
}
.stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.guides {
  position: absolute;
  inset: 10%;
  border: 1px dashed #ffffff30;
  pointer-events: none;
  display: none;
}
.guides:before,
.guides:after {
  content: "";
  position: absolute;
  background: #ffffff20;
}
.guides:before {
  width: 1px;
  height: 100%;
  left: 50%;
}
.guides:after {
  height: 1px;
  width: 100%;
  top: 50%;
}
.guides.on {
  display: block;
}
.stage.transparent {
  background-color: #202520;
  background-image: conic-gradient(
    #333833 25%,
    transparent 0 50%,
    #333833 0 75%,
    transparent 0
  );
  background-size: 24px 24px;
}
.stage-hint {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  margin: 13px 0 16px;
}
.presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.preset {
  min-width: 0;
  text-align: left;
  background: #212521;
  padding: 12px 10px;
  border-radius: 6px;
  position: relative;
}
.preset strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  white-space: nowrap;
}
.preset .sample {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.preset .small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}
.preset.active {
  border-color: var(--accent);
  background: #293124;
}
.preset.active:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  right: 10px;
  top: 10px;
}
.preset:nth-child(2) .sample {
  font-family: Georgia, serif;
  font-style: italic;
}
.preset:nth-child(3) .sample {
  letter-spacing: 2px;
}
.preset:nth-child(4) .sample {
  font-family: monospace;
}
.preset:nth-child(5) .sample {
  transform: skew(-10deg);
}
aside {
  background: var(--panel);
  border-left: 1px solid var(--line);
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 14px 0;
  border-bottom: 1px solid var(--line);
  gap: 7px;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  padding: 10px 4px 13px;
  color: var(--muted);
}
.tabs button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.panel {
  overflow-y: auto;
  padding: 20px;
  flex: 1;
}
.panel[hidden] {
  display: none;
}
.section-title {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 14px;
}
.section-title span {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
  color: var(--accent);
}
.section {
  padding-bottom: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.section:last-child {
  border: 0;
  margin-bottom: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin-bottom: 13px;
}
.field label {
  font-size: 14px;
  color: #c8d0c6;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.row.three {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 7px;
}
select,
input[type="number"],
input[type="text"] {
  background: #111512;
  border: 1px solid var(--line);
  border-radius: 5px;
  min-height: 37px;
  padding: 8px;
  width: 100%;
}
input[type="color"] {
  width: 100%;
  height: 37px;
  background: #111512;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}
.range-head {
  display: flex;
  justify-content: space-between;
  color: #c8d0c6;
  margin-bottom: 5px;
}
.range-head output {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c8d0c6;
  margin: 10px 0;
}
.full {
  width: 100%;
}
.editable {
  padding: 12px;
  background: #111512;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 95px;
  max-height: 180px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 20px;
  line-height: 1.4;
  font-family: Arial, sans-serif;
}
.editable span {
  line-height: 1.25;
}
.font-upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.font-upload:hover {
  background: #363e35;
}
.font-upload:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.font-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.font-upload.loading {
  opacity: 0.6;
}
.font-upload.drag-over {
  border-color: var(--accent);
  background: #293124;
}
.help.error {
  color: #ffb7a5;
}
.help {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 14px;
}
.aligns {
  display: flex;
  gap: 6px;
}
.aligns button {
  flex: 1;
}
.aligns button.active {
  color: var(--accent);
  border-color: #71844f;
}
.stack-block {
  background: #242924;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 9px;
}
.stack-block .range-head {
  font-size: 13px;
}
.stack-block .check {
  margin-top: 0;
}
.stack-number {
  color: var(--accent);
  font-family: monospace;
  font-size: 12px;
  margin-right: 5px;
}
details summary {
  cursor: pointer;
  color: #c8d0c6;
  margin-bottom: 13px;
}
.transport {
  border-top: 1px solid var(--line);
  background: #1b1e1b;
  padding: 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.transport-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.transport-top select {
  width: 76px;
  min-height: 33px;
  padding: 5px;
  font-size: 12px;
}
.transport-top button {
  min-height: 33px;
  padding: 6px 12px;
}
.time {
  font-family: monospace;
  font-size: 14px;
  margin-left: 7px;
}
.time span {
  color: var(--muted);
}
.transport-top .header-spacer {
  flex: 1;
}
.timeline {
  position: relative;
  padding-top: 20px;
}
.ruler {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  position: absolute;
  top: 0;
  width: 100%;
  pointer-events: none;
}
.phase-track {
  display: flex;
  height: 29px;
  border-radius: 4px;
  overflow: hidden;
  background: #272d27;
}
.phase {
  display: flex;
  align-items: center;
  padding: 0 12px;
  white-space: nowrap;
  font-size: 12px;
}
.phase.in {
  background: #526536;
  color: #e4fac4;
}
.phase.hold {
  background: #303a30;
  color: #b9c9b6;
}
.phase.out {
  background: #4e5347;
  color: #dbdfd0;
}
.scrubber {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  margin: 0;
  width: 100%;
  height: 37px;
  opacity: 0;
  z-index: 2;
}
.playhead {
  position: absolute;
  top: 16px;
  height: 38px;
  width: 2px;
  background: var(--accent);
  pointer-events: none;
}
.playhead:before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--accent);
}
.timeline-foot {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.toast {
  position: fixed;
  bottom: 185px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #52634b;
  background: #293426;
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 15;
  box-shadow: 0 8px 25px #0008;
  max-width: 80%;
  display: none;
  line-height: 1.5;
}
dialog {
  background: #1c211c;
  border: 1px solid #4a5446;
  color: var(--text);
  padding: 26px;
  border-radius: 12px;
  width: min(490px, 95vw);
  box-shadow: 0 30px 90px #0009;
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 0 0 8px;
}
dialog .dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-head button {
  border: 0;
  background: transparent;
  font-size: 24px;
  padding: 0 6px;
}
dialog progress {
  width: 100%;
  accent-color: var(--accent);
  margin: 15px 0;
}
dialog .footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}
#exportStatus {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 42px;
}
kbd {
  font-size: 11px;
  background: #30372f;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 4px;
}
.upload-label {
  display: block;
}
.upload-label input {
  display: none;
}
#exportCancel[hidden] {
  display: none;
}
@media (min-width: 1500px) {
  main {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .workspace {
    padding: 24px 45px;
  }
  .presets {
    gap: 12px;
  }
  .preset {
    padding: 15px;
  }
  .preset strong {
    font-size: 14px;
  }
}
@media (max-width: 1000px) {
  main {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .workspace {
    padding: 15px;
  }
  .preset .small {
    display: none;
  }
  .preset strong {
    white-space: normal;
  }
  .preset .sample {
    font-size: 15px;
  }
  header {
    padding: 0 15px;
    gap: 10px;
  }
  .project-name {
    display: none;
  }
  .panel {
    padding: 16px;
  }
}
@media (max-width: 750px) {
  .app {
    height: auto;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
  }
  header {
    padding: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 17px;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions button {
    font-size: 12px;
    padding: 7px;
  }
  .header-spacer {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  main {
    display: flex;
    flex-direction: column;
  }
  .workspace {
    height: 450px;
    min-height: 330px;
  }
  .stage-area {
    min-height: 100px;
  }
  .presets {
    gap: 5px;
  }
  .preset {
    padding: 8px 5px;
  }
  .preset strong {
    font-size: 12px;
  }
  .preset .sample {
    font-size: 13px;
  }
  aside {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .panel {
    max-height: 510px;
  }
  .transport {
    padding: 14px;
    position: sticky;
    bottom: 0;
    z-index: 3;
  }
  .transport-top {
    flex-wrap: wrap;
  }
  .stage-hint {
    font-size: 11px;
  }
  .toast {
    bottom: 150px;
  }
  .view-pill {
    display: none;
  }
}
a.download-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  min-height: 37px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  background: var(--soft);
}
a.download-action.primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
a.download-action:hover {
  filter: brightness(1.12);
}
a.download-action:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.export-result {
  border: 1px solid #52634b;
  background: #252f21;
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
}
.export-result[hidden] {
  display: none;
}
.export-result strong {
  display: block;
  overflow-wrap: anywhere;
}
.export-result .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.export-result .help {
  margin-bottom: 0;
}
.workspace-bar .tools {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.library-dialog {
  width: min(1120px, 96vw);
  height: min(860px, 90dvh);
  max-height: 90dvh;
  padding: 0;
  overflow: hidden;
}
.library-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 23px 25px 18px;
  border-bottom: 1px solid var(--line);
}
.library-head h2 {
  margin: 0;
}
.library-head .help {
  margin: 7px 0 0;
}
.library-head button {
  font-size: 24px;
  line-height: 1;
  padding: 5px 10px;
}
.library-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  height: calc(100% - 99px);
  min-height: 0;
}
.library-categories {
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  overflow: auto;
}
.library-categories button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 12px;
  margin-bottom: 4px;
}
.library-categories button.active {
  color: var(--accent);
  background: #2c3526;
}
.library-categories span {
  color: var(--muted);
  font-size: 12px;
}
.library-content {
  overflow: auto;
  padding: 18px 22px 25px;
}
.library-filters {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 10px;
  margin-bottom: 12px;
}
.library-filters input {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111512;
  color: var(--text);
  width: 100%;
}
.library-filters select {
  font-size: 13px;
}
#libraryCount {
  margin-bottom: 18px;
}
.library-group {
  margin: 0 0 24px;
}
.library-group h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.library-group .group-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 13px;
}
.library-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.library-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: #212821;
  border: 1px solid #3c4639;
  border-radius: 8px;
  position: relative;
}
.library-card:hover {
  border-color: #71844f;
  background: #293124;
}
.library-card.active {
  border-color: var(--accent);
}
.library-card canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16/7;
  background: #070b07;
  pointer-events: none;
}
.library-card .card-text {
  padding: 11px 12px 13px;
  display: block;
}
.library-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.library-card .card-description {
  display: block;
  font-size: 12px;
  color: #a8b5a5;
  line-height: 1.5;
  min-height: 36px;
}
.library-card .card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #c3d3b7;
  margin-top: 9px;
}
.library-card .gpu-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  font-size: 11px;
  background: #252f21d9;
  border: 1px solid #4a5940;
  border-radius: 4px;
  padding: 3px 5px;
  color: #bed6a6;
}
.library-references {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 25px;
}
.library-references a {
  display: block;
  color: #bdd88f;
  font-size: 13px;
  line-height: 2;
  text-decoration: none;
}
.library-references a:hover {
  text-decoration: underline;
}
@media (max-width: 950px) {
  .library-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .library-layout {
    grid-template-columns: 160px 1fr;
  }
}
@media (max-width: 600px) {
  .library-dialog {
    width: 96vw;
    height: 92dvh;
    max-height: 92dvh;
  }
  .library-head {
    padding: 16px;
  }
  .library-layout {
    display: flex;
    flex-direction: column;
    height: calc(100% - 110px);
  }
  .library-categories {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    overflow-x: auto;
    flex-shrink: 0;
    padding: 7px;
  }
  .library-categories button {
    width: auto;
    white-space: nowrap;
    font-size: 13px;
    padding: 10px;
    margin: 0;
    gap: 5px;
  }
  .library-content {
    padding: 14px;
  }
  .library-filters {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .library-card strong {
    font-size: 13px;
  }
  .library-card .card-description {
    font-size: 12px;
  }
  .library-card .card-text {
    padding: 9px;
  }
  .library-head h2 {
    font-size: 21px;
  }
}
.text-edit-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.text-edit-modes button {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 12px;
}
.text-edit-modes button.active {
  color: var(--accent);
  border-color: #71844f;
  background: #293124;
}
.line-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.line-card {
  border: 1px solid var(--line);
  background: #202420;
  border-radius: 7px;
  padding: 11px;
}
.line-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.line-card-head strong {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--accent);
}
.line-remove {
  min-height: 26px !important;
  width: 28px;
  padding: 0 !important;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
}
.line-card .field {
  margin-bottom: 8px;
}
.line-card .field:last-child {
  margin-bottom: 0;
}
.line-card label {
  font-size: 11px;
  color: var(--muted);
}
.line-card input,
.line-card select {
  min-height: 33px;
  padding: 6px 7px;
  font-size: 12px;
}
.line-card .line-text {
  font-size: 15px;
  font-weight: 700;
}
.line-card .row {
  gap: 7px;
}
.line-card .row.three {
  gap: 6px;
}
.line-card input[type="color"] {
  height: 33px;
}
.line-gap-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  margin: 4px 0 10px;
}
.line-editor-actions {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.line-editor-actions button {
  flex: 1;
}
.line-mode-help {
  margin-top: 9px !important;
}
.text-edit-modes {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.text-edit-modes button {
  flex: 1;
}
.text-edit-modes button.active {
  color: var(--accent);
  border-color: #71844f;
}
.line-editor {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.line-card,
.image-region-card {
  background: #242924;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.line-card-head,
.image-editor-head,
.image-region-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.line-card-head strong,
.image-region-head strong {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--accent);
}
.line-remove,
.image-region-delete,
.image-region-move {
  min-height: 30px;
  padding: 5px 9px;
}
.line-editor-actions,
.image-editor-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.line-mode-help,
.image-mode-help {
  margin-top: 10px;
}
.image-status {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.image-editor-wrap[hidden] {
  display: none;
}
.image-editor-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.image-region-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.image-canvas-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.mode-brand {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
  color: inherit;
  border-radius: 0;
}
#brandName {
  font-weight: 800;
  color: var(--text);
}
.mode-brand:hover {
  background: transparent;
}
.mode-brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.brand-slash {
  font-weight: 400;
  color: #8f998f;
}
.pngframe-mode {
  --accent: #ff5364;
}
.pngframe-mode .brand b {
  background: #ff5364;
  color: #fff;
}
.pngframe-mode .primary {
  background: #ff5364;
  border-color: #ff5364;
  color: #fff;
}
.pngframe-mode .primary:hover {
  background: #ff6c7b;
}
.pngframe-mode #drawRegionBtn.active-tool,
.pngframe-mode #transformRegionBtn.active-tool {
  background: #ff5364 !important;
  border-color: #ff5364 !important;
  color: #fff !important;
  font-weight: 700;
}
.pngframe-mode #drawRegionBtn.active-tool:hover,
.pngframe-mode #transformRegionBtn.active-tool:hover {
  background: #ff6c7b !important;
}
.pngframe-mode .tabs button.active {
  color: #ff5364;
  border-bottom-color: #ff5364;
}
.pngframe-mode input[type="range"] {
  accent-color: #ff5364;
}
.pngframe-mode .playhead {
  background: #ff5364;
}
.pngframe-mode .playhead:before {
  border-top-color: #ff5364;
}
.pngframe-mode .section-title span {
  color: #ff5364;
}
.pngframe-mode .image-region-head strong {
  color: #ff5364;
}
.pngframe-mode #imageEditorWrap .font-upload:focus-within {
  outline-color: #ff5364;
}
.pngframe-mode .workspace {
  background: radial-gradient(ellipse at 50% 45%, #2d2526, var(--bg) 80%);
}
