:root {
  color-scheme: dark;
  --ink: #f4f4f5;
  --muted: #9b9b9f;
  --line: #ffffff14;
  --soft: #1b1b1e;
  --sidebar: 200px;
  --header: 112px;
  background: #09090b;
  color: var(--ink);
}
body {
  isolation: isolate;
  background: #09090b;
  color: #f0f0f2;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 38% 24% at 26% 13%, #75321828, transparent 85%),
    radial-gradient(ellipse 44% 28% at 66% 8%, #1f32723d, transparent 86%),
    radial-gradient(ellipse 40% 30% at 100% 10%, #17504d2b, transparent 90%);
}
body::after {
  content: "";
  position: fixed;
  inset: 36px 0 auto;
  height: 380px;
  opacity: 0.035;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.9' filter='url(%23n)'/%3E%3C/svg%3E");
}
button:hover {
  color: #fff;
}
input,
textarea,
select {
  caret-color: #fff;
}
button:focus-visible,
a:focus-visible {
  outline-color: #82b7d4;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #6b6b77 !important;
}
.announcement {
  background: linear-gradient(110deg, #a44b2b, #655342 48%, #236a65);
  color: #f6e6d9;
  font-weight: 550;
  letter-spacing: 0.1px;
  font-size: 12px;
}
.announcement i {
  color: #d8d4b9;
}
.announcement button {
  color: #fff;
}
.global-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid #ffffff05;
}
.brand {
  font-size: 32px;
  letter-spacing: -1.4px;
  color: #fff;
}
.brand svg {
  width: 29px;
  height: 31px;
}
.header-brand {
  width: 146px;
}
#header-location {
  color: #b9b9c0;
  font-size: 14px;
}
.header-end .text-btn {
  color: #bcbcc3;
}
.local-badge {
  color: #b8babd;
  background: #ffffff05;
  border-color: #ffffff17;
}
.local-badge i {
  background: #86a8a4;
}
.avatar {
  background: #ffffff14;
  color: #e1e4e3;
  border: 1px solid #ffffff1f;
}
.sidebar {
  background: transparent;
  border-right: 0;
  padding-left: 19px;
  padding-right: 14px;
}
.nav-link {
  font-size: 14px;
  color: #aaaab2;
  font-weight: 550;
  padding: 13px 14px;
  gap: 13px;
  border-radius: 11px;
}
.nav-link svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}
.nav-link.active {
  background: #232225;
  color: #fff;
}
.nav-link:hover {
  background: #ffffff09;
  color: #efeff2;
}
.nav-link small {
  color: #8f9db0;
  border-color: #ffffff12;
  font-size: 8px;
}
.nav-link.active small {
  color: #c5d9e4;
}
.nav-separator,
.sidebar-rule {
  background: #ffffff13;
}
.sidebar-bottom button {
  color: #93939b;
  font-size: 12px;
}
.sidebar-bottom button:hover {
  color: #fff;
}
.sidebar-caption {
  color: #56565f;
}
#main {
  background: transparent;
}
.page {
  padding-top: 34px;
}
.eyebrow {
  color: #8d919e;
}
.page-heading h1 {
  font-size: 28px;
  color: #f6f6f8;
  font-weight: 600;
}
.page-heading p,
.section-heading p {
  color: #87878f;
  font-size: 12px;
}
.section-heading h2 {
  color: #f5f5f7;
  font-weight: 600;
  font-size: 23px;
}
.primary {
  background: linear-gradient(115deg, #183c23, #25344d);
  border-color: #ffffff1e;
  color: #fff;
  font-weight: 550;
}
.primary:hover {
  background: linear-gradient(115deg, #245534, #344b70);
  border-color: #ffffff3b;
  color: white;
}
.secondary {
  background: #252528;
  border-color: #ffffff1e;
  color: #dedee4;
}
.secondary:hover {
  background: #323236;
  color: white;
  border-color: #ffffff36;
}
.quiet {
  color: #a0a0ac;
}
.quiet:hover {
  color: #fff;
}
.pill,
.setting {
  border-color: #ffffff1c;
  background: #242427;
  color: #ebebef;
}
.pill:hover,
.setting:hover {
  background: #303035;
  border-color: #ffffff3d;
}
.icon-btn {
  border-color: #ffffff1c;
  color: #d0d0d6;
}
.icon-btn:hover {
  background: #ffffff0e;
}
.tag {
  background: #ffffff0c;
  color: #aaaab6;
}
.search {
  background: #1d1d20;
  border-color: #ffffff20;
}
.search input {
  color: #e6e6ea;
  font-size: 12px;
}
.search input::placeholder {
  color: #777782;
}
.search svg {
  color: #777782;
}
.tabs {
  border-color: #ffffff20;
}
.tabs button {
  color: #777780;
  font-size: 14px;
  font-weight: 550;
}
.tabs button.active {
  color: #fff;
}
.tabs button.active:after {
  background: #d7d8dd;
}
.chips button {
  color: #a2a2ad;
  border: 1px solid #ffffff13;
  background: #ffffff04;
  font-size: 12px;
  padding: 8px 16px;
}
.chips button.active {
  color: #fff;
  border-color: #ffffff30;
  background: linear-gradient(115deg, #24492b, #263c5d);
}
.chips button:hover {
  color: #fff;
  background: #ffffff12;
}
.hero {
  margin-top: 30px;
  margin-bottom: 38px;
}
.hero .eyebrow {
  color: #8d93a4;
  letter-spacing: 3px;
}
.hero h1 {
  font-size: clamp(33px, 3.4vw, 52px);
  letter-spacing: -1.7px;
  color: white;
  font-weight: 600;
}
.hero h1 em {
  background: linear-gradient(105deg, #edc3a5, #9cd5c9 55%, #b9cbed);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero > p {
  color: #9a9aa7;
  font-size: 13px;
}
.hero-prompt {
  background: #151517e8;
  border: 1px solid #ffffff21;
  border-radius: 20px;
  padding: 21px 23px;
  box-shadow: 0 18px 70px #0004;
}
.hero-prompt textarea {
  font-size: 14px;
  color: #e7e7ed;
  height: 70px;
}
.hero-prompt textarea::placeholder {
  color: #777782;
}
.hero-submit {
  background: linear-gradient(110deg, #a58978, #c6d8ca);
  color: #17201a;
}
.hero-tools .pill {
  background: #242427;
}
.home-shortcuts button {
  background: #ffffff04;
  border-color: #ffffff18;
  color: #95959f;
}
.home-shortcuts button:hover {
  background: #ffffff10;
  color: #fff;
}
.notice-card {
  background: linear-gradient(115deg, #26302799, #1d293e99);
  border-color: #ffffff15;
}
.notice-card b {
  color: #e3e5eb;
  font-size: 13px;
}
.notice-card p {
  color: #8d939f;
  font-size: 11px;
}
.notice-symbol {
  color: #c6b892;
}
.showcase-footer {
  color: #62626e;
}
.film-visual {
  background: #1b1b1f;
  border: 1px solid #ffffff0a;
  border-radius: 12px;
}
.film-info h3 {
  color: #e4e4eb;
  font-size: 13px;
}
.film-info p {
  color: #73737f;
  font-size: 10px;
}
.dots {
  color: #73737f;
}
.film-quick {
  background: #18181bd9;
  color: #eee;
  border: 1px solid #ffffff20;
}
.film-quick:hover {
  background: #343439;
}
.film-play,
.film-duration {
  color: white;
}
.generator {
  background: transparent;
  min-height: 620px;
}
.history-tools {
  margin-top: 27px;
}
.filter-bar {
  background: #242226bd;
  border-color: #ffffff27;
  border-radius: 27px;
  padding: 3px 6px;
}
.filter-bar button {
  color: #b8b6bd;
  font-size: 12px;
  padding: 8px 17px;
  gap: 13px;
  font-weight: 550;
}
.filter-bar button + button {
  border-color: #ffffff1e;
}
.history-tools > .pill {
  background: #242226c9;
  border-color: #ffffff27;
  color: #b8b6bd;
  font-size: 12px;
  padding: 10px 18px;
}
.generator-empty {
  padding-bottom: 24px;
}
.empty-spark {
  font-size: 43px;
  color: #75603d;
}
.generator-empty p {
  color: #83838c;
  font-size: 15px;
}
.generator-empty button {
  color: #62626d;
  font-size: 11px;
}
.composer {
  max-width: 1030px;
  margin-bottom: 29px;
}
.mode-tabs {
  gap: 5px;
}
.mode-tabs button {
  background: #151517;
  color: #898992;
  font-size: 14px;
  font-weight: 600;
  height: 47px;
  border-radius: 22px 22px 0 0;
}
.mode-tabs button svg {
  width: 19px;
  height: 19px;
}
.mode-tabs button.active {
  color: #fff;
  border-color: #ffffff24;
  background: linear-gradient(115deg, #17381f, #1c2e47);
}
.composer-body {
  position: relative;
  background: #101012ed;
  border-color: #ffffff29;
  padding: 22px 23px 19px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 20px 80px #0005;
}
.upload-tile {
  background: linear-gradient(#272a27, #202121);
  color: #a9aba7;
  border-color: #777c74;
  border-radius: 13px;
  width: 82px;
  height: 82px;
  font-size: 12px;
}
.upload-tile:hover {
  background: #343834;
  color: white;
}
.upload-tile svg {
  width: 24px;
  height: 24px;
}
.upload-tile small {
  background: #151617;
  border-color: #ffffff24;
  color: #b8bab5;
  font-size: 10px;
  top: -7px;
  right: -7px;
}
.asset-strip {
  margin-bottom: 16px;
  padding: 4px 4px 0 0;
}
.attached {
  background: #242429;
  border-color: #ffffff28;
  width: 82px;
  height: 82px;
  border-radius: 12px;
}
.attached .file-tag {
  background: #111115dc;
  color: #d5d5df;
  font-size: 9px;
}
.attached button {
  color: #d9d9e1;
  background: #303034;
  border-color: #ffffff36;
}
.composer textarea {
  font-size: 14px;
  color: #dddde6;
  line-height: 1.8;
  height: 61px;
}
.composer textarea::placeholder {
  color: #77777f;
}
.composer-bottom {
  margin-top: 15px;
  gap: 9px;
}
.composer .setting {
  background: #242426c9;
  border-color: #ffffff23;
  color: #dedee7;
  padding: 8px 16px;
  font-size: 12px;
  gap: 10px;
}
.composer .setting:first-child {
  font-weight: 600;
}
.composer .setting:hover {
  background: #343439;
}
.generate {
  background: linear-gradient(125deg, #b38f76, #bfd1c0 65%, #b0bdd2);
  color: #1a1c20;
  width: 36px;
  height: 36px;
}
.generate:disabled {
  opacity: 0.4;
}
.composer-foot {
  color: #60606c;
  font-size: 9px;
}
.generation-item {
  border-color: #ffffff14;
}
.generation-result {
  background: radial-gradient(ellipse at top, #253b34, #17171c);
  color: #929ca2;
  border: 1px solid #ffffff13;
}
.generation-meta {
  color: #d9d9e2;
}
.generation-meta small {
  color: #8b8b99;
}
.spinner {
  border-color: #ffffff1e;
  border-top-color: #acb7c7;
}
.popover {
  background: #202023;
  border-color: #ffffff25;
  color: #dedee6;
  box-shadow: 0 22px 70px #0009;
  border-radius: 15px;
}
.popover h4 {
  color: #ededf1;
  font-size: 13px;
}
.popover button {
  font-size: 12px;
  color: #bbbbc6;
}
.popover button:hover,
.popover button.selected {
  background: #ffffff12;
  color: #fff;
}
.popover input {
  background: #141417;
  border-color: #ffffff20;
  color: #dddde7;
  font-size: 12px;
}
.popover .option-desc {
  display: block;
  color: #73737e;
  font-size: 10px;
}
.model-badge {
  color: #cdb38a;
  border: 1px solid #5e513e;
  border-radius: 99px;
  padding: 1px 5px;
  white-space: nowrap;
}
.model-logo {
  border-color: #ffffff20;
  color: #d3d9e4;
  background: #ffffff07;
}
.check {
  color: #a8c5c6;
}
.popover-section label {
  color: #8d8d99;
  font-size: 11px;
}
.popover-section .chips button.active {
  background: #ffffff24;
  color: white;
  border-color: #ffffff35;
}
.skill-card {
  background: #1c1c20;
  border-color: #ffffff14;
  border-radius: 18px;
}
.skill-card:hover {
  border-color: #ffffff37;
  box-shadow: 0 20px 55px #0004;
  transform: translateY(-2px);
}
#skills-page .skill-grid {
  gap: 22px;
}
#skills-page .skill-cover {
  aspect-ratio: 16/9;
}
.skill-cover {
  background: #232327;
}
.skill-cover > span {
  top: 12px;
  bottom: auto;
  left: auto;
  right: 12px;
}
.skill-cover .tag {
  background: #0006;
  color: #dddde3;
  font-size: 9px;
  font-style: normal;
  backdrop-filter: blur(10px);
}
.skill-image-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, #070709d9);
  padding: 50px 19px 17px;
}
.skill-image-title p {
  font-size: 11px;
  color: #c2bfc5;
  margin: 0 0 10px;
}
.skill-image-title h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
  margin: 0;
  color: #fff;
}
.skill-content h3 {
  color: #e6e6ee;
}
.skill-content p {
  color: #a0a0ad;
  font-size: 12px !important;
  line-height: 1.8;
}
#skills-page .skill-content {
  padding: 16px 19px 19px;
}
.skill-byline {
  color: #9999a5;
}
.skill-byline button {
  border-color: #ffffff25;
  color: #a8a8b5;
  background: #101014;
  padding: 5px 9px;
}
.default-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0 !important;
  background: none !important;
  padding: 3px 0 !important;
  font-size: 10px !important;
  white-space: nowrap;
}
.default-switch i {
  height: 15px;
  width: 29px;
  border-radius: 20px;
  background: #101012;
  border: 1px solid #ffffff1b;
  display: inline-block;
  position: relative;
}
.default-switch i:after {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  background: #a5a5b3;
  transition: 0.15s;
}
.default-switch[aria-checked="true"] {
  color: #d8e5e0;
}
.default-switch[aria-checked="true"] i {
  background: #3d7568;
}
.default-switch[aria-checked="true"] i:after {
  left: 14px;
  background: #e9f7f3;
}
.skill-picker button {
  border-color: #ffffff1d;
  background: #1b1b21;
}
.skill-picker small {
  color: #81818e;
}
.skill-picker button:hover {
  background: #2a2a32;
}
.skill-sort {
  font-size: 12px;
  color: #a1a1ad;
  white-space: nowrap;
}
.library-upload {
  background: #15171a;
  border-color: #43434b;
  color: #aaaab6;
}
.library-upload p {
  color: #737381;
}
.library-upload .secondary {
  background: #25252a;
}
.library-action {
  display: flex;
  gap: 4px;
}
.library-action button {
  color: #b2b2bf;
}
.library-action button:hover {
  color: white;
}
.asset-audio {
  width: 100%;
  padding: 18px;
}
.asset-empty {
  min-height: 150px;
  display: grid;
  place-items: center;
}
.asset-empty svg {
  width: 34px;
  height: 34px;
  color: #77788b;
}
.project-card {
  background: #17171d;
  border-color: #ffffff1a;
  border-radius: 13px;
}
.project-card h3 {
  color: #e2e2ec;
}
.project-card p {
  color: #838392;
}
.project-card:hover {
  border-color: #ffffff3b;
}
.panel {
  background: #16161be8;
  border-color: #ffffff1c;
  border-radius: 15px;
  padding: 24px;
}
.panel-title {
  color: #e9e9f0;
  font-size: 15px;
}
.panel-title svg {
  color: #b6b0c7;
}
.field label {
  color: #a8a8b7;
  font-size: 12px;
}
.field input,
.field select,
.field textarea {
  background: #111116;
  border-color: #ffffff1e;
  color: #dedeea;
  font-size: 12px;
  border-radius: 8px;
}
.field small {
  color: #71717f;
  font-size: 10px;
}
.reverse-tabs button {
  font-size: 13px;
}
.reverse-upload {
  background: #111116;
  border-color: #42424e;
  color: #bcbcca;
}
.reverse-upload p {
  color: #79798a;
}
.reverse-upload svg {
  color: #9292a6;
}
.reverse-image-preview { object-fit: contain; }
.reverse-preview {
  background: #09090b;
  border: 1px solid #ffffff12;
}
.source-summary {
  background: #ffffff05;
  color: #8f8fa2;
  border: 1px solid #ffffff0a;
}
.source-summary button {
  color: #aaaabd;
}
.source-examples button {
  border-color: #ffffff1a;
  color: #8c8ca1;
  background: #ffffff04;
}
.reverse-info {
  background: #252332;
  color: #aaa5bc;
  border: 1px solid #ffffff0b;
  font-size: 11px;
}
.result-empty {
  color: #646479;
}
.result-empty p {
  color: #68687b;
}
.result-block {
  background: #111116;
  border-color: #ffffff15;
}
.result-block header {
  color: #bfb6d4;
  font-size: 12px;
}
.result-block p,
.result-block pre,
.result-block textarea {
  color: #aaaaba;
  font-size: 12px;
  line-height: 1.95;
}
.result-block header button {
  color: #7f7f94;
}
.result-block header button:hover {
  color: #dfdaed;
}
.segment-row {
  background: #14151b;
  border-color: #ffffff18;
  color: #c8c8d4;
}
.segment-row p {
  color: #a2a2b3;
}
.segment-row input {
  accent-color: #8a8fae;
}
.timeline {
  background: #101016;
  border-color: #ffffff1c;
}
.timeline > div {
  background: #303044;
  color: #bcbcd3;
}
.setting-note {
  border-color: #57536d;
  background: #24212f;
  color: #b3a9c5;
}
.progress-bar {
  background: #ffffff13;
}
.progress-bar i {
  background: linear-gradient(90deg, #709b91, #9693c5);
}
.help-text {
  color: #a1a1b1;
}
.help-text code {
  background: #ffffff0b;
  color: #c7c7d6;
}
.empty-search {
  color: #75758b;
}
.inline-file-label {
  border-color: #ffffff1d;
  color: #aaaabd;
}
.divider {
  background: #ffffff15;
}
.canvas-bar {
  background: #101013;
  border-color: #ffffff13;
}
.canvas-identity,
.canvas-identity b {
  color: #b6b6c7;
}
.canvas-hint {
  color: #717181 !important;
}
.canvas-frame {
  background: #101013;
}
.canvas-attribution {
  background: #101013;
  color: #666679;
  border-color: #ffffff14;
}
.canvas-attribution a {
  color: #88889d;
}
.modal-shade {
  background: #0009;
  backdrop-filter: blur(9px);
}
.modal {
  background: #1d1d21;
  border: 1px solid #ffffff22;
  box-shadow: 0 28px 110px #000a;
  border-radius: 19px;
}
.modal-header {
  border-color: #ffffff13;
}
.modal-header h2 {
  color: #eeeef5;
  font-size: 17px;
}
.modal-header button {
  color: #8c8c9f;
  background: #ffffff07;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.modal-foot {
  border-color: #ffffff15;
  background: #ffffff02;
}
.announcement-popup-item {
  background: #202126;
  border-color: #ffffff18;
}
.announcement-popup-item > span {
  color: #b8d29f;
}
.announcement-popup-item h3 {
  color: #f4f4f5;
}
.announcement-popup-item p {
  color: #c3c5cc;
}
.detail-player {
  background: #17171c;
}
.detail-copy h3 {
  color: #f1f1f6;
}
.detail-copy p {
  color: #a1a1b3;
}
.detail-copy small {
  color: #7b7b91;
}
.detail-copy .eyebrow {
  color: #9391a7;
}
.toast {
  color: #ededf5;
  background: #303039;
  border: 1px solid #ffffff20;
  box-shadow: 0 8px 30px #0008;
}
.toast.error {
  background: #39272a;
  border-color: #a95d655c;
}
.reference-hint {
  font-size: 10px;
  color: #777784;
}
.mention-menu {
  position: absolute;
  bottom: 88px;
  left: 24px;
  width: 270px;
  border: 1px solid #ffffff25;
  border-radius: 10px;
  background: #26262c;
  padding: 5px;
  box-shadow: 0 15px 50px #0008;
  z-index: 10;
}
.mention-menu button {
  font-size: 11px;
  padding: 9px 10px;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  border-radius: 5px;
  color: #bdbdcb;
}
.mention-menu button:hover,
.mention-menu button[aria-selected="true"] {
  background: #ffffff10;
  color: white;
}
.composer-expanded {
  position: fixed;
  inset: 155px 70px 45px calc(var(--sidebar) + 70px);
  z-index: 70;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 25px 70px #000c);
}
.composer-expanded .composer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.composer-expanded textarea {
  flex: 1;
  min-height: 150px;
}
.composer-expand-button {
  margin-left: auto !important;
  border: 0 !important;
  padding: 0 !important;
  background: none !important;
  color: #7e7e8c !important;
}
.composer-expand-button svg {
  width: 16px !important;
  height: 16px !important;
}
.generate {
  margin-left: 6px;
}
.asset-selector-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.asset-selector-item {
  display: block;
  position: relative;
  border: 1px solid #ffffff20;
  border-radius: 9px;
  overflow: hidden;
  background: #141419;
  text-align: left;
  padding: 0;
}
.asset-selector-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.asset-selector-item span {
  display: block;
  padding: 10px;
  color: #bcbcca;
  font-size: 11px;
}
.asset-selector-item:hover {
  border-color: #9797ad;
}
.asset-add-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.asset-add-options button {
  border: 1px solid #ffffff1e;
  background: #24242b;
  padding: 17px;
  border-radius: 10px;
  color: #cfcfdd;
  font-size: 12px;
  flex-direction: column;
}
.asset-add-options button:hover {
  background: #30303b;
}
.task-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.task-status::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #72a391;
  border-radius: 50%;
}
.task-status.loading::before {
  background: #b9a26b;
}
.quota-note {
  color: #93939f;
  font-size: 10px;
}
.film-error {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: #17171c;
  color: #9999ac;
  font-size: 11px;
}
.busy-status {
  display: flex;
  gap: 9px;
  color: #9494aa;
  font-size: 11px;
  align-items: center;
  margin-top: 12px;
}
@media (min-width: 1600px) {
  :root {
    --sidebar: 220px;
  }
  .header-brand {
    width: 160px;
  }
  .nav-link {
    font-size: 16px;
    padding: 14px;
  }
  .composer {
    max-width: 1100px;
  }
  .mode-tabs button {
    font-size: 15px;
    height: 49px;
  }
  .composer textarea {
    font-size: 15px;
  }
  .composer .setting {
    font-size: 13px;
  }
  .hero h1 {
    font-size: 54px;
  }
}
@media (max-width: 1100px) {
  :root {
    --sidebar: 175px;
  }
  .nav-link {
    font-size: 13px;
    padding: 12px 10px;
  }
  .header-brand {
    width: 134px;
  }
  .brand {
    font-size: 28px;
  }
  .mode-tabs button {
    font-size: 12px;
  }
  .composer .setting {
    font-size: 10px;
    padding: 7px 10px;
  }
  .panel {
    padding: 19px;
  }
  .composer-expanded {
    inset: 145px 30px 35px calc(var(--sidebar) + 30px);
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
    --header: 93px;
  }
  .announcement {
    font-size: 9px;
  }
  .global-header {
    background: #0b0b0eda;
    backdrop-filter: blur(15px);
  }
  .brand {
    font-size: 28px;
  }
  .brand svg {
    width: 24px;
  }
  .sidebar {
    background: #111115;
    box-shadow: 25px 0 70px #0009;
    border-right: 1px solid #ffffff14;
    padding: 22px 12px;
    width: 220px;
  }
  .nav-link {
    font-size: 14px;
  }
  .page {
    padding-top: 24px;
  }
  .hero h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .hero > p {
    font-size: 11px;
  }
  .hero-prompt {
    padding: 15px;
  }
  .hero-prompt textarea {
    font-size: 12px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .notice-card b {
    font-size: 11px;
  }
  .notice-card p {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .chips button {
    font-size: 10px;
    padding: 7px 11px;
  }
  .film-info h3 {
    font-size: 11px;
  }
  .film-info p {
    font-size: 8px;
  }
  .film-visual {
    border-radius: 8px;
  }
  .generator {
    min-height: 580px;
  }
  .history-tools {
    margin: 18px 14px 12px;
    gap: 7px;
  }
  .filter-bar button {
    font-size: 9px;
    padding: 7px 8px;
    gap: 5px;
  }
  .history-tools > .pill {
    font-size: 9px;
    padding: 9px 11px;
  }
  .mode-tabs button {
    font-size: 10px;
    gap: 5px;
    height: 39px;
    border-radius: 16px 16px 0 0;
  }
  .mode-tabs button svg {
    width: 14px;
    height: 14px;
  }
  .composer-body {
    padding: 16px 14px 13px;
    border-radius: 17px 17px 0 0;
  }
  .composer textarea {
    font-size: 12px;
    height: 65px;
  }
  .upload-tile,
  .attached {
    width: 62px;
    height: 62px;
    font-size: 10px;
    border-radius: 10px;
  }
  .upload-tile svg {
    width: 20px;
    height: 20px;
  }
  .upload-tile small {
    font-size: 8px;
  }
  .composer .setting {
    font-size: 9px;
    padding: 7px 9px;
    gap: 5px;
  }
  .composer-bottom {
    gap: 6px;
    flex-wrap: wrap;
  }
  .generate {
    margin-left: auto;
    width: 31px;
    height: 31px;
  }
  .composer-foot {
    font-size: 8px;
  }
  .composer-expanded {
    inset: 110px 12px 20px;
  }
  .composer-expand-button {
    margin-left: auto !important;
  }
  #skills-page .skill-grid {
    gap: 13px;
    grid-template-columns: 1fr;
  }
  #skills-page .skill-cover {
    aspect-ratio: 16/9;
  }
  .skill-image-title h3 {
    font-size: 16px;
  }
  .skill-image-title p {
    font-size: 10px;
  }
  #skills-page .skill-content {
    padding: 14px 16px;
  }
  .skill-content p {
    font-size: 11px !important;
  }
  .skill-sort {
    font-size: 10px;
  }
  .panel {
    padding: 18px;
  }
  .panel-title {
    font-size: 14px;
  }
  .reverse-tabs {
    gap: 24px;
  }
  .reverse-tabs button {
    font-size: 11px;
  }
  .field label {
    font-size: 11px;
  }
  .result-block p {
    font-size: 11px;
  }
  .canvas-bar {
    background: #101014;
  }
  .asset-selector-list {
    grid-template-columns: 1fr 1fr;
  }
  .quota-note {
    font-size: 9px;
  }
  .mention-menu {
    left: 14px;
    bottom: 95px;
    width: 240px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.01ms !important;
  }
}

.applied-skill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  margin-bottom: 12px;
  border: 1px solid #3b4b3d;
  border-radius: 10px;
  background: #17251d;
  color: #c8ddcc;
  font-size: 12px;
}
.applied-skill span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.applied-skill button {
  background: transparent;
  color: inherit;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}

.project-tools,
.library-tools,
.library-views,
.library-preview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.project-tools,
.library-tools {
  justify-content: space-between;
  margin-bottom: 16px;
}
.project-tools .tabs {
  margin-bottom: 0;
}
.project-parent {
  margin: 0 14px 14px 0;
}
.project-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
}
.project-card.project-create,
.project-open {
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.project-create {
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}
.project-create svg,
.project-art svg {
  width: 29px;
  height: 29px;
  color: #9dbaab;
}
.project-card small,
.library-card small {
  color: #a0a0ab;
  font-size: 11px;
}
.project-open {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0 0 12px;
}
.project-open strong,
.project-open small {
  padding: 0 14px;
  overflow-wrap: anywhere;
}
.project-open img,
.project-art {
  height: 112px;
  width: 100%;
  object-fit: cover;
}
.project-art {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #183223, #222d43);
}
.project-card .project-actions {
  display: flex;
  padding: 0 10px 10px;
  gap: 4px;
}
.project-actions button {
  padding: 6px;
  font-size: 11px;
}
.library-tabs {
  overflow-x: auto;
  white-space: nowrap;
}
.library-folderbar { padding: 10px 12px; margin-bottom: 14px; border: 1px solid #ffffff1a; border-radius: 12px; background: #141419; }
.library-folder-list,.library-folder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.library-folder-list button { max-width: 100%; overflow-wrap: anywhere; }
.library-folder-list small { color: #aaa3b8; }
.library-folder-list [aria-pressed="true"] { border-color: #a88bff; background: #9270f42b; }
.library-folder-actions { margin-top: 10px; padding-top: 10px; border-top: 1px solid #ffffff1a; }
.library-folder-actions strong { margin-right: 8px; overflow-wrap: anywhere; }
.library-views [aria-pressed="true"] {
  border-color: #658371;
  background: #1a2b23;
}
.library-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.43fr);
  gap: 18px;
}
.library-catalog {
  min-width: 0;
}
.library-catalog .library-upload {
  min-height: 52px;
  margin: 0 0 14px;
  padding: 10px 13px;
  justify-content: space-between;
}
.library-catalog .library-upload b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.library-grid.square {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.library-grid.masonry {
  columns: 3 140px;
  column-gap: 12px;
}
.library-grid.masonry .library-card {
  break-inside: avoid;
  margin-bottom: 12px;
}
.library-card {
  display: grid;
  width: 100%;
  gap: 6px;
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  padding: 0 0 10px;
  color: #e0e0e6;
  background: #18181b;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
}
.library-card:hover,
.library-card.active {
  border-color: #6a8d78;
  background: #1a2520;
}
.library-card strong,
.library-card small {
  padding: 0 10px;
  overflow-wrap: anywhere;
}
.library-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  background: #202126;
}
.library-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.library-thumb svg {
  width: 29px;
  height: 29px;
  color: #9298a7;
}
.library-grid.masonry .library-thumb {
  aspect-ratio: auto;
  min-height: 76px;
}
.library-grid.masonry .library-thumb img {
  height: auto;
}
.library-grid.list .library-card {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 7px;
  padding: 5px;
}
.library-grid.list .library-thumb {
  border-radius: 7px;
  overflow: hidden;
}
.library-inspector {
  align-self: start;
  min-width: 0;
  min-height: 320px;
  border: 1px solid #ffffff20;
  border-radius: 15px;
  background: #17171c;
  padding: 16px;
}
.library-inspector h2 {
  margin: 0 0 15px;
  font-size: 14px;
}
.library-inspector h3 {
  margin-top: 15px;
  overflow-wrap: anywhere;
}
.library-preview-empty {
  min-height: 230px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: #94949d;
}
.library-preview-empty svg {
  width: 36px;
  height: 36px;
}
.library-preview-media > :is(video, img, audio) {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  border-radius: 8px;
}
.library-preview-actions {
  align-items: stretch;
}
.library-preview-actions > * {
  font-size: 11px;
  padding: 7px 9px;
}
@media (max-width: 760px) {
  .library-workspace {
    grid-template-columns: 1fr;
  }
  .library-inspector {
    grid-row: 1;
    min-height: 0;
  }
  .library-preview-empty {
    min-height: 70px;
  }
  .library-grid.square {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
}
.skill-categories {
  flex-wrap: nowrap;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: thin;
}
.skill-categories button {
  flex: none;
}
.skill-tags {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .skills-toolbar .skill-categories {
    flex: 1 0 100%;
  }
}
.skill-detail-byline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 8px;
  color: #a0a0aa;
  font-size: 12px;
}
.skill-document {
  margin-top: 14px;
  background: #121215;
  border: 1px solid #ffffff18;
  border-radius: 9px;
  padding: 11px 13px;
}
.skill-document summary {
  cursor: pointer;
  color: #d0d0d9;
}
.skill-document div {
  white-space: pre-wrap;
  margin-top: 12px;
}

.settings-popover {
  width: min(430px, calc(100vw - 24px));
  max-height: min(440px, calc(100dvh - 24px));
  overflow-y: auto;
}
.generation-settings .chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
  gap: 6px;
}
.generation-settings .popover-section {
  margin-top: 14px;
}
.generation-settings .chips button {
  min-width: 0;
  width: 100%;
  padding-inline: 4px;
  text-align: center;
}
.duration-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
}
.duration-section label {
  margin: 0;
}
.duration-section output {
  color: #e8edf3;
  font-size: 12px;
}
.duration-section input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  padding: 0;
  accent-color: #a2c4b6;
  background: transparent;
  cursor: pointer;
}
.duration-labels {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #a5a7b2;
}
.composer-foot span:first-child {
  max-width: 83%;
  overflow-wrap: anywhere;
}
.reference-slot {
  background: #1e2228;
  border-color: #768b9d;
}
.reference-slot small {
  font-size: 9px;
}

.annotation-stage {
  position: relative;
  margin-inline: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #08090b;
}
.annotation-stage > :is(video, canvas) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.annotation-stage video {
  object-fit: contain;
}
.annotation-stage canvas {
  cursor: crosshair;
  touch-action: none;
}
.annotation-timing {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-top: 14px;
  color: #b7bdc7;
  font-size: 12px;
}
.annotation-timing input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: #a2c4b6;
}
.annotation-frames,
.annotation-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.annotation-frames button[aria-pressed="true"] {
  border-color: #80ad99;
  color: #bbdacd;
}
.annotation-tools label {
  color: #b7bdc7;
  font-size: 12px;
}
.annotation-tools input[type="color"] {
  width: 35px;
  height: 30px;
  border: 0;
  padding: 2px;
  background: transparent;
  cursor: pointer;
}
.attached button.annotate-video {
  left: 4px;
  right: auto;
  width: 24px;
  height: 24px;
  font-size: 12px;
  background: #203529;
}

.voice-popover {
  width: min(470px, calc(100vw - 24px));
}
.voice-search input {
  width: 100%;
  margin-bottom: 8px;
  padding: 8px;
}
.voice-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0;
}
.voice-filters button {
  width: auto;
  padding: 4px 8px;
  font-size: 11px;
}
.voice-filters button[aria-pressed="true"] {
  border-color: #789284;
  color: #d2e7da;
  background: #203129;
}
.voice-list {
  margin-top: 8px;
  max-height: min(260px, 38vh);
  overflow-y: auto;
}
.voice-list .voice-auto,
.voice-row [role="option"] {
  display: grid;
  gap: 3px;
  padding: 8px;
  text-align: left;
}
.voice-list [aria-selected="true"] {
  background: #24352c;
}
.voice-list small {
  font-size: 11px;
  color: #a5a9b3;
}
.voice-row[hidden] {
  display: none;
}
#voice-empty {
  color: #b3b3bc;
  font-size: 12px;
}

.project-migration { padding: 20px; border: 1px solid #393b43; border-radius: 16px; margin-bottom: 18px; background: #17191e; }
.project-migration h2 { margin-top: 0; font-size: 18px; }
.project-migration p { color: #b4b9c4; font-size: 13px; }
.project-transfer-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
.project-transfer-card strong { overflow-wrap: anywhere; }
.mention-empty { display: block; padding: 8px 10px; color: var(--muted); }
.history-delete { color: #d6a4a7; }
.history-delete:hover { color: #ffc8ce; background: #ff839014; }
.generation-meta > .tag + .tag { margin-left: 6px; }
.creator-brand-image { display: block; width: 132px; height: 31px; border-radius: 6px; background: url("/moten-brand-small.webp") center 49% / 122% auto no-repeat; }
@media (max-width: 760px) { .creator-brand-image { width: 112px; height: 28px; } }

.library-sync-notice {display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;margin:12px 0;color:#d4d4dc;background:#18181f;border:1px solid #363641;border-radius:12px;font-size:13px;line-height:1.6;}

.library-heading-actions {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;}
.composer .setting[data-action="model-menu"] {
  min-height: 46px;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.popover.model-menu {
  width: min(420px, calc(100vw - 24px));
  max-height: min(520px, 70vh);
  padding: 12px;
}
.popover.model-menu h4 { font-size: 16px; margin: 8px 10px 14px; }
.popover.model-menu input { min-height: 44px; font-size: 15px; padding: 10px 12px; }
.popover.model-menu button { min-height: 62px; padding: 12px; font-size: 15px; gap: 14px; }
.popover.model-menu .option-desc { font-size: 13px; line-height: 1.5; color: #aaaab6; }
.popover.model-menu .model-logo { width: 36px; height: 36px; flex: 0 0 36px; font-size: 16px; }
.popover.model-menu .model-badge { justify-self:start; padding:3px 8px; border-color:#b5e4c575; background:#23392d; color:#c4f4d2; font-size:12px; font-weight:650; }
.popover.model-menu .model-price-badge { justify-self:start; padding:3px 8px; border:1px solid #ffe28b66; border-radius:6px; background:#3a301d; color:#ffe69b; font-size:13px; font-weight:750; }
.model-price-current { border:1px solid #ffe28b66; background:#3a301d; color:#ffe69b; font-weight:750; }
.sidebar-bottom[hidden] { display: none; }
.prompt-assistant-tools button { color: #bfc7be; }
.prompt-assistant-tools button:hover { color: #fff; }
.prompt-asset-tools { display:flex; margin:7px 0 1px; }
.prompt-mention-action { width:100%; min-height:40px; justify-content:center; border:1px solid #fff2a855; border-radius:9px; background:linear-gradient(100deg,#292433,#172b2a); color:#fff4ba; font-size:12px; font-weight:700; }
.prompt-mention-action:hover { border-color:#fff2a8; background:linear-gradient(100deg,#3a2f4e,#1d4037); color:#fff; }

/* Generator layout tuned to the observed Moten creator workspace. */
.generator-layout {
  grid-template-columns: minmax(390px, 1.02fr) minmax(360px, .98fr);
  gap: 16px;
  padding: 18px 24px 26px;
  background: radial-gradient(ellipse at 18% 0, #6d382b22, transparent 45%), radial-gradient(ellipse at 82% 0, #273b7125, transparent 52%);
}
.generator-creator, .generator-records {
  border-color: #ffffff1c;
  background: linear-gradient(145deg, #15161bdd, #0f1014ed 70%);
  box-shadow: 0 20px 70px #0007;
}
.generator-creator { overflow: auto; }
.generator-records { overflow: hidden; }
.creator-heading { padding: 22px 24px 7px; }
.creator-heading h1 { color: #f5f5f7; font-size: 27px; letter-spacing: -.5px; }
.creator-heading p { color: #92939d; }
.creator-heading .eyebrow { color: #b2a58d; letter-spacing: 2.5px; }
.creator-step { color: #d2ddd5; background: #274334; border: 1px solid #76b59455; }
.creator-tabs { display:flex; gap:5px; margin-top:18px; border-bottom:1px solid #ffffff14; overflow:auto; scrollbar-width:none; }
.creator-tabs::-webkit-scrollbar { display:none; }
.creator-tabs button { position:relative; flex:0 0 auto; white-space:nowrap; padding:9px 12px 11px; color:#898a94; font-size:12px; gap:6px; }
.creator-tabs button svg { width:15px; height:15px; }
.creator-tabs button:hover { color:#f1f1f4; }
.creator-tabs button.active { color:#fff; }
.creator-tabs button.active::after { content:""; position:absolute; left:8px; right:8px; bottom:-1px; height:2px; background:#83d7b0; border-radius:2px; }
.generator-creator .composer { margin: 13px 18px 19px; }
.generator-records .history-tools { margin: 19px 19px 10px; }
.generator-records .generator-history { padding: 6px 19px 22px; }
.generator-records .generator-history::-webkit-scrollbar { width: 7px; }
.generator-records .generator-history::-webkit-scrollbar-thumb { background:#ffffff1e; border-radius:8px; }
.reference-support { color:#9fa7a0; padding:7px 10px; border:1px solid #ffffff12; border-radius:8px; background:#ffffff05; }
.prompt-safety-banner { color:#d8caa8; background:#4a4029; border:1px solid #d4b86b55; }
.generation-price-estimate { display:block; margin:12px 0 0; padding:9px 11px; border:1px solid #7cb89b3b; border-radius:9px; background:#19352899; color:#9fe0b8; font-size:12px; }
.composer-bottom .generate { min-width:118px; height:38px; border-radius:9px; background:linear-gradient(115deg,#317f59,#5aa8a1); color:#fff; font-weight:650; }
.composer-bottom .generate:hover { background:linear-gradient(115deg,#3b9a6d,#69bbb3); }
.composer-bottom .generate:disabled { background:#496052; }
.schedule-quick { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.schedule-quick button { padding:6px 9px; border:1px solid #ffffff20; border-radius:7px; background:#24252a; color:#bfc0c9; font-size:11px; }
.schedule-quick button:hover { background:#34353c; color:#fff; }
@media (max-width: 920px) {
  .generator-layout { grid-template-columns: 1fr; padding: 12px; }
  .creator-heading { padding:18px 18px 5px; }
  .generator-creator .composer { margin: 12px 13px 17px; }
}
.matcher-folder,.matcher-result-row { color: #e2e2e8; border-color: #393a43; background: #17181e; }
.matcher-folder small,.matcher-result-file { color: #aaaab6; }
.matcher-folder input { accent-color: #a9c4ad; }
.matcher-choice select { color: #eeeef4; background: #202127; border-color: #45464f; }
