/* Cinematic studio skin. Motion is limited to one visible, muted video. */
:root {
  --bg: #090b12;
  --panel: #111520;
  --border: #262c40;
  --ink: #f1f4ff;
  --muted: #969fb7;
  --accent: #96e8ff;
  --accent-dark: #142a38;
}
body {
  background:
    radial-gradient(ellipse at 90% 0, #29204b40, transparent 45%), var(--bg);
}
.sidebar {
  background: #0d101a;
  border-color: #252a3b;
}
.brand-symbol {
  background: linear-gradient(145deg, #a390ff, #68e4ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.brand b {
  color: #99a8d1;
}
.nav-item {
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-item.active {
  color: #c5ecff;
  background: linear-gradient(100deg, #263548, #27213e);
  box-shadow: inset 2px 0 #91dbff;
}
.nav-item:hover {
  background: #1b2234;
}
.workspace-label {
  color: #747e98;
}
.balance-box {
  background:
    radial-gradient(ellipse at top right, #533d783d, transparent 80%), #151c2c;
  border-color: #35405b;
}
.balance-box > span {
  color: #a7b9da;
}
.balance-box strong {
  color: #e0edff;
}
.sidebar-bottom > p {
  color: #7887a3;
}
.topbar {
  background: #0b0e17;
  border-color: #232838;
  height: 68px;
}
#mainContent {
  padding-top: 28px;
}
.button.primary {
  background: linear-gradient(115deg, #b3a4ff, #86e8ff);
  color: #101326;
  border: 1px solid #d4cfff66;
  box-shadow: 0 4px 20px #688cf020;
  font-weight: 650;
}
.button.primary:hover {
  background: linear-gradient(115deg, #c5b9ff, #b4f2ff);
  box-shadow: 0 6px 25px #749dff35;
}
.button.primary:disabled {
  box-shadow: none;
}
.button.subtle {
  background: #1a2030;
  border-color: #313b52;
}
input,
select,
textarea {
  background-color: #0d121e;
  border-color: #2b344a;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #88a9ff;
  box-shadow: 0 0 0 3px #879bff10;
}
option {
  background: #131a2b;
}
.panel {
  background: linear-gradient(145deg, #151b29, #101520);
  border-color: #2a3349;
}
.segmented {
  background: #0b101a;
  border-color: #2a3349;
}
.segmented button.selected {
  background: linear-gradient(110deg, #343452, #253f50);
  color: #e6f3ff;
}
.reference-box {
  border-color: #2a3349;
}
.prompt-input {
  background: transparent;
}
.prompt-input:focus {
  box-shadow: none;
}
.inspiration-picker {
  margin: 10px 0 20px;
  padding: 14px;
  border: 1px solid #374464;
  border-radius: 12px;
  background: linear-gradient(110deg, #24213970, #122b3570);
}
.inspiration-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 12px;
}
.inspiration-heading strong {
  color: #c6d9ff;
  font-size: 12px;
}
.inspiration-heading .small {
  font-size: 10px;
}
.inspiration-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.inspiration-controls button {
  white-space: nowrap;
}
#inspirationInfo {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.7;
}
.tag {
  background: #202c40;
}
.filter.selected {
  background: #263c50;
  color: #bcecff;
}
.work-card {
  background: #131927;
  border-color: #2c354a;
  box-shadow: 0 8px 28px #0002;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.work-card:hover {
  border-color: #5d719c;
  transform: translateY(-2px);
}
.work-actions {
  border-color: #2c354a;
}
.video-cover {
  background: radial-gradient(ellipse at 50% 40%, #30445c, #171d30 75%);
}
.video-cover > span {
  border-color: #819bc6;
}
.page-heading h1 {
  letter-spacing: -0.04em;
}
.notice {
  background: #192538;
  border-color: #384d69;
  color: #c5d7ec;
}
.studio-hero {
  position: relative;
  isolation: isolate;
  min-height: 344px;
  border: 1px solid #48577b88;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(ellipse at 78% 40%, #40357a, #0d1221 70%);
}
.studio-hero-media,
.auth-cinema {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.studio-motion {
  pointer-events: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.studio-hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0a1024f5 0%, #0a1024b5 32%, #0a102415 70%),
    linear-gradient(0deg, #080c1ad9, transparent 35%);
}
.studio-hero-copy {
  position: relative;
  padding: 34px 38px 58px;
  width: 65%;
}
.studio-hero-copy h1 {
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 16px;
}
.studio-hero-copy h1 em,
.auth-copy h1 em {
  font-style: normal;
  color: #a5d8ff;
  background: linear-gradient(90deg, #c6b6ff, #7be8ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.studio-hero-copy > p:not(.eyebrow) {
  color: #bbc7df;
  font-size: 13px;
  margin-bottom: 20px;
}
.studio-hero .eyebrow {
  font-size: 9px;
  letter-spacing: 2.4px;
  color: #becdf5;
  display: flex;
  align-items: center;
  gap: 9px;
}
.studio-beacon {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #97e9ff;
  box-shadow: 0 0 10px #97e9ffaa;
}
.studio-hero-footer {
  position: absolute;
  bottom: 16px;
  left: 38px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.studio-hero-footer > span {
  font-size: 9px;
  letter-spacing: 2px;
  color: #91a3c5;
}
.studio-capabilities {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 4px 24px;
  font-size: 11px;
  color: #a7b2c9;
  border-bottom: 1px solid #262f41;
  margin-bottom: 28px;
}
.studio-capabilities i {
  color: #6d7c9a;
  font-style: normal;
}
.studio-capability-end {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #7184a4;
}
.studio-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.studio-section-title .eyebrow {
  font-size: 8px;
  display: block;
  margin-bottom: 6px;
}
.studio-section-title h2 {
  font-size: 19px;
  margin: 0;
}
.creation-layout {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
}
.creation-aside {
  display: block;
}
.composer {
  border-top-color: #66618e;
  box-shadow: 0 15px 45px #0002;
}
.studio-inspiration-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 12px;
  color: #c5cae6;
  font-size: 12px;
}
.studio-inspiration-label small {
  color: #71829f;
  font-size: 7px;
  letter-spacing: 1px;
}
.studio-inspiration {
  overflow: hidden;
  border: 1px solid #303a52;
  background: #151b2a;
  border-radius: 13px;
  margin-bottom: 16px;
}
.studio-film {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  position: relative;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(140deg, #1b3a57, #4a2968);
}
.studio-film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s;
}
.studio-film:hover img {
  transform: scale(1.045);
}
.studio-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d6e2ff70;
  border-radius: 50%;
  background: #101a3266;
  color: #fff;
  font-size: 11px;
}
.studio-film-duration {
  position: absolute;
  bottom: 9px;
  right: 10px;
  background: #080d1999;
  border: 1px solid #d0dcff30;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 7px;
  letter-spacing: 1px;
}
.studio-film-info {
  padding: 14px 16px;
}
.studio-film-info small {
  color: #8da3cb;
  letter-spacing: 1.5px;
  font-size: 8px;
}
.studio-film-info h3 {
  font-size: 17px;
  margin: 6px 0;
}
.studio-film-info p {
  font-size: 11px;
  color: #929fba;
  margin-bottom: 9px;
}
.studio-film-info button {
  font-size: 11px;
}
.creation-aside .tip-card {
  background: transparent;
  padding: 12px 2px;
  border: 0;
}
.creation-aside .tip-card h3 {
  font-size: 13px;
}
.creation-aside .tip-card p {
  font-size: 11px;
}
.tip-number {
  color: #8ba5ca;
}
.prompt-tags span {
  background: #1f2c42;
  color: #aebfda;
}
.auth-screen {
  background: #090d17;
  grid-template-columns: 1.2fr 1fr;
}
.auth-story {
  isolation: isolate;
  min-height: 100vh;
  padding: 38px 48px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 70% 35%, #3f3778, #0d1528 70%);
}
.auth-cinema {
  z-index: -1;
}
.auth-cinema .studio-motion {
  object-position: 65% 50%;
  opacity: 0.9;
}
.auth-cinema:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    #090e20 4%,
    #090e2070 45%,
    #090e2040 70%,
    #090e2090
  );
}
.auth-story > .brand {
  position: relative;
  z-index: 1;
}
.auth-copy {
  display: block;
  margin-top: auto;
  padding-top: 270px;
}
.auth-copy h1 {
  font-size: clamp(38px, 4.3vw, 66px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin-bottom: 24px;
}
.auth-copy p:not(.eyebrow) {
  color: #b2bfd9;
  font-size: 14px;
  line-height: 1.9;
}
.auth-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  margin-top: 35px;
  color: #7f94b5;
}
.auth-panel {
  background:
    radial-gradient(ellipse at 50% 15%, #30224f40, transparent 65%), #0c101b;
  border-left: 1px solid #3b426140;
}
.auth-card {
  max-width: 370px;
}
.auth-card .eyebrow {
  color: #aca0ec;
}
.auth-card input {
  background: #111827;
}
.auth-card h2 {
  font-weight: 650;
}
@media (min-width: 1500px) {
  .creation-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .studio-hero {
    min-height: 370px;
  }
}
@media (max-width: 1150px) {
  .creation-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .studio-capability-end {
    display: none;
  }
  .auth-story {
    padding: 32px;
  }
}
@media (max-width: 900px) {
  .creation-layout {
    grid-template-columns: 1fr;
  }
  .creation-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .studio-inspiration-label {
    grid-column: 1/-1;
    margin: 0;
  }
  .creation-aside .tip-card,
  .creation-aside .tip-note {
    display: none;
  }
  .studio-inspiration {
    margin: 0;
  }
  .studio-hero-copy {
    width: 75%;
  }
}
@media (max-width: 760px) {
  .auth-story {
    min-height: 300px;
    padding: 26px;
  }
  .auth-copy {
    padding-top: 55px;
  }
  .auth-copy h1 {
    font-size: 37px;
  }
  .auth-copy p:not(.eyebrow),
  .auth-footer {
    display: none;
  }
  .auth-copy .eyebrow {
    margin-bottom: 10px;
    font-size: 8px;
  }
  .auth-screen {
    display: block;
  }
  .auth-panel {
    padding: 32px 24px 45px;
  }
  .studio-hero {
    min-height: 300px;
    border-radius: 16px;
  }
  .studio-hero-copy {
    padding: 28px 22px 55px;
    width: 90%;
  }
  .studio-hero-copy h1 {
    font-size: 37px;
  }
  .studio-hero-footer {
    left: 22px;
    right: 14px;
  }
  .studio-hero-footer > span {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .studio-capabilities {
    justify-content: space-between;
    gap: 6px;
    font-size: 10px;
    padding: 18px 0;
  }
  .studio-section-title > .small {
    display: none;
  }
  .studio-film-info {
    padding: 12px;
  }
  .studio-film-info h3 {
    font-size: 15px;
  }
  .studio-film-info p {
    display: none;
  }
  #mainContent {
    padding-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-card,
  .studio-film img {
    transition: none;
  }
  .work-card:hover,
  .studio-film:hover img {
    transform: none;
  }
}
