.yc-studio {
  --muted: #a7afc0;
  color: #edf0f8;
  background: #10131a;
  border: 1px solid #313744;
  border-radius: 24px;
  padding: 28px;
  margin: 24px 0 60px;
  font: 14px system-ui;
}
.yc-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.yc-kicker {
  font: 10px monospace;
  letter-spacing: 0.15em;
  color: #eba3b2;
}
.yc-heading h2 {
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: -0.035em;
  margin: 12px 0;
}
.yc-heading p,
.yc-studio small,
.yc-small {
  color: var(--muted);
  line-height: 1.6;
}
.yc-free {
  border: 1px solid #83d3b14d;
  color: #9ce4c5;
  border-radius: 30px;
  padding: 10px 14px;
  white-space: nowrap;
  font-size: 11px;
}
.yc-notice {
  padding: 14px;
  background: #242b38;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.7;
  margin: 22px 0;
}
.yc-studio input:not([type="range"]):not([type="file"]),
.yc-studio select {
  width: 100%;
  box-sizing: border-box;
  color: #edf0f8;
  background: #1b202a;
  border: 1px solid #ffffff25;
  border-radius: 9px;
  padding: 12px;
  font: inherit;
  min-width: 0;
}
.yc-studio label {
  font-size: 11px;
  display: block;
  color: #c1c8d5;
}
.yc-studio label > input,
.yc-studio label > select {
  margin-top: 8px;
}
.yc-studio button,
.yc-import {
  background: #242a36;
  color: #f3f5fa;
  border: 1px solid #ffffff20;
  border-radius: 9px;
  padding: 10px 12px;
  cursor: pointer;
  font: 500 12px system-ui;
  line-height: 1.4;
}
.yc-studio button:hover {
  background: #333c4c;
}
.yc-studio :focus-visible {
  outline: 2px solid #ff6c89;
  outline-offset: 3px;
}
.yc-studio button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.yc-studio .yc-primary {
  background: #ee345a;
  color: white;
  border-color: #ee345a;
}
.yc-add > div {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.yc-add input {
  flex: 1;
}
.yc-add button {
  white-space: nowrap;
}
.yc-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 240px;
  gap: 16px;
}
.yc-panel {
  border: 1px solid #ffffff15;
  background: #151921;
  border-radius: 15px;
  overflow: hidden;
  align-self: start;
}
.yc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #ffffff15;
}
.yc-panel h3 {
  font-size: 12px;
  margin: 0;
}
.yc-panel-head > span {
  font: 10px monospace;
  color: var(--muted);
}
.yc-editor {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.yc-preview {
  aspect-ratio: 16/9;
  background: #090c12;
  border-radius: 15px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
}
.yc-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.yc-source {
  padding: 14px;
  border-bottom: 1px solid #ffffff15;
}
.yc-source.selected {
  background: #ee345a0b;
  border-inline-start: 3px solid #ee345a;
}
.yc-source button:first-child {
  width: 100%;
  background: none;
  border: 0;
  text-align: start;
  padding: 0;
  color: #e7eaf1;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.yc-source small {
  display: block;
  font-size: 9px;
  margin-top: 7px;
}
.yc-source .yc-remove {
  margin-top: 8px;
  font-size: 10px;
  padding: 4px 7px;
}
.yc-project {
  display: grid;
  gap: 8px;
  padding: 14px;
}
.yc-import input {
  display: block;
  width: 100%;
  font-size: 10px;
  margin-top: 8px;
}
.yc-editor-body {
  padding: 16px;
  display: grid;
  gap: 14px;
}
.yc-time-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  text-align: center;
  align-items: center;
}
.yc-time-row input {
  text-align: center;
  font: 12px monospace !important;
  padding: 9px !important;
}
.yc-time-row strong {
  display: block;
  color: #ff6c89;
  font: 14px monospace;
  margin-top: 10px;
}
.yc-time-row small {
  font: 9px monospace;
}
.yc-sliders {
  display: grid;
  gap: 8px;
}
.yc-sliders input {
  accent-color: #ee345a;
  width: 100%;
  display: block;
}
.yc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.yc-qualities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.yc-qualities button[aria-pressed="true"] {
  border-color: #ee345a;
  background: #ee345a15;
  color: #ff8ba1;
}
.yc-download h4 {
  font-size: 12px;
  margin: 8px 0 0;
}
.yc-download p,
.yc-download a {
  font-size: 11px;
  line-height: 1.6;
}
.yc-download a {
  color: #b3dcca;
}
.yc-clip {
  border-bottom: 1px solid #ffffff15;
  padding: 14px 16px;
  display: grid;
  gap: 9px;
}
.yc-clip.selected {
  background: #ee345a0c;
}
.yc-clip > button {
  background: transparent;
  border: 0;
  text-align: start;
  padding: 0;
  overflow-wrap: anywhere;
}
.yc-clip small {
  display: block;
  font-size: 10px;
  margin: 5px 0;
}
.yc-clip-actions {
  display: flex;
  gap: 5px;
}
.yc-clip.done {
  opacity: 0.55;
}
.yc-help {
  font-size: 12px;
  color: #bbc3d1;
  margin-top: 25px;
  line-height: 1.8;
}
.yc-help summary {
  cursor: pointer;
  color: #f2f4fa;
}
.yc-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  padding: 18px;
}
#ycStatus {
  font-size: 12px;
  min-height: 18px;
  color: #e9b4c0;
}
.yc-copybox {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #212737;
  padding: 12px;
  border-radius: 9px;
  font: 11px monospace;
  color: #ddd;
}
@media (max-width: 1100px) {
  .yc-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .yc-download {
    grid-column: 1/-1;
  }
  .yc-qualities {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 650px) {
  .yc-studio {
    padding: 16px;
    border-radius: 16px;
  }
  .yc-layout {
    display: flex;
    flex-direction: column;
  }
  .yc-layout > aside,
  .yc-layout > section {
    width: 100%;
  }
  .yc-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .yc-time-row {
    gap: 6px;
  }
  .yc-add > div {
    flex-direction: column;
  }
  .yc-qualities {
    grid-template-columns: repeat(3, 1fr);
  }
  .yc-free {
    font-size: 10px;
  }
}
