/* 创作工作台 · 首页深色星空 + VibeX 聚光灯 · v20260710studio-dark */

#studio-view.studio-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  background: #000;
}

#studio-view.studio-mode-editor.studio-page {
  background: #f4f5f7;
}

body.studio-active .sidebar {
  display: none !important;
}

body.studio-active #sidebar-expand-btn {
  display: none !important;
}

body.studio-active:has(#app:not(.hidden)):not(.account-active):not(.recharge-active) .site-footer {
  left: 0 !important;
}

body.studio-active .main {
  min-width: 0;
  width: 100%;
}

/* ── 画布独立顶栏 + 浮动导航（参考 Kling / 即梦） ── */
.studio-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  pointer-events: none;
}

.studio-topbar > * {
  pointer-events: auto;
}

.studio-topbar-logo {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  text-decoration: none;
}

.studio-topbar-logo .brand-logo-studio {
  height: 22px;
  width: auto;
  display: block;
}

.studio-topbar-logo:hover {
  background: rgba(255, 255, 255, 0.08);
}

#studio-view.studio-mode-home .studio-topbar-logo:hover {
  background: rgba(255, 255, 255, 0.08);
}

#studio-view.studio-mode-editor .studio-topbar-logo:hover {
  background: rgba(255, 255, 255, 0.6);
}

.studio-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-topbar-credits {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e5e7eb;
  font-size: 13px;
  color: #374151;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.studio-topbar-credits strong {
  color: #111827;
  font-weight: 700;
}

#studio-view.studio-mode-home .studio-topbar-credits {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

#studio-view.studio-mode-home .studio-topbar-credits strong {
  color: #f8fafc;
}

#studio-view.studio-mode-home .studio-topbar-vip {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.95), rgba(253, 230, 138, 0.9));
  color: #78350f;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.28);
}

.studio-topbar-vip {
  padding: 7px 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.studio-topbar-vip:hover {
  filter: brightness(1.03);
}

.studio-dock {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
}

.studio-dock-spacer {
  flex: 1;
  min-height: 8px;
  max-height: 24px;
}

.studio-dock-btn {
  width: 58px;
  min-height: 48px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: background 0.15s, color 0.15s;
  padding: 6px 4px;
  font: inherit;
}

.studio-dock-label {
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.studio-dock-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.studio-dock-btn.active {
  background: #eef2ff;
  color: #6366f1;
}

.studio-dock-user {
  margin-top: 4px;
}

.studio-dock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #2563eb);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.studio-dock-avatar.has-image {
  background: #e5e7eb;
}

.studio-dock-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#studio-view.studio-mode-home .studio-dock {
  background: rgba(8, 14, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

#studio-view.studio-mode-home .studio-dock-btn {
  color: rgba(255, 255, 255, 0.52);
}

#studio-view.studio-mode-home .studio-dock-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

#studio-view.studio-mode-home .studio-dock-btn.active {
  background: rgba(104, 246, 255, 0.14);
  color: #8ee9d1;
}

#studio-view.studio-mode-editor .studio-topbar {
  display: none;
}

#studio-view.studio-mode-editor #studio-dock-projects {
  display: none;
}

#studio-view.studio-page {
  position: relative;
}

#studio-view button {
  font-family: inherit;
}

#studio-view img {
  max-width: 100%;
  vertical-align: middle;
}

/* ── 首页：黑色星空 + 鼠标聚光灯 ── */
.studio-home {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  background: #000;
  color: #f2f2f2;
}

.studio-home-stage {
  position: relative;
  min-height: 100%;
  isolation: isolate;
  --studio-explore-x: 50%;
  --studio-explore-y: 42%;
  --studio-explore-opacity: 0;
}

.studio-hero-image-background {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #000;
  overflow: hidden;
}

.studio-hero-image-background::before,
.studio-hero-image-background::after {
  content: "";
  position: absolute;
  inset: -4%;
  pointer-events: none;
}

.studio-hero-image-background::before {
  z-index: 1;
  background-image: url('/images/studio-space-bg.jpg');
  background-position: center;
  background-size: cover;
  filter: saturate(1.12) brightness(0.8) contrast(1.02);
  -webkit-mask-image: radial-gradient(
    circle at var(--studio-explore-x) var(--studio-explore-y),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.98) 9%,
    rgba(0, 0, 0, 0.88) 13%,
    rgba(0, 0, 0, 0.5) 17%,
    rgba(0, 0, 0, 0.14) 21%,
    rgba(0, 0, 0, 0) 27%
  );
  mask-image: radial-gradient(
    circle at var(--studio-explore-x) var(--studio-explore-y),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.98) 9%,
    rgba(0, 0, 0, 0.88) 13%,
    rgba(0, 0, 0, 0.5) 17%,
    rgba(0, 0, 0, 0.14) 21%,
    rgba(0, 0, 0, 0) 27%
  );
  opacity: var(--studio-explore-opacity);
  transition: opacity 0.14s ease;
}

.studio-hero-image-background::after {
  z-index: 2;
  background: radial-gradient(
    circle at var(--studio-explore-x) var(--studio-explore-y),
    rgba(200, 235, 255, 0.16) 0%,
    rgba(150, 220, 255, 0.08) 9%,
    rgba(120, 210, 255, 0.03) 14%,
    rgba(104, 246, 255, 0) 22%
  );
  filter: blur(12px);
  mix-blend-mode: screen;
  opacity: var(--studio-explore-opacity);
  transition: opacity 0.14s ease;
}

.studio-home-stage::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.42) 100%);
}

.studio-home-scroll {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 64px 88px;
}

.studio-home-hero {
  position: relative;
  text-align: center;
  margin-bottom: 48px;
}

.studio-home-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  color: #8ee9d1;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-shadow: 0 0 20px rgba(112, 243, 204, 0.25);
}

.studio-home-title {
  margin: 0 0 28px;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
}

.studio-home-title .highlight {
  font-style: normal;
  color: #8ee9d1;
  text-shadow: 0 0 18px rgba(112, 243, 204, 0.38), 0 0 56px rgba(112, 243, 204, 0.18);
}

.studio-home-composer {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
  padding: 2px;
  border: none;
  border-radius: 29px;
  background: rgba(62, 68, 74, 0.92);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.72);
}

.studio-home-composer-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.studio-home-composer-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 12px;
}

.studio-composer-tool {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  font: inherit;
}

.studio-composer-tool:hover,
.studio-composer-tool.is-open {
  border-color: rgba(142, 233, 209, 0.4);
  color: #8ee9d1;
  background: rgba(104, 246, 255, 0.08);
}

.studio-composer-popover {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 10px);
  z-index: 40;
  width: min(520px, calc(100vw - 96px));
  max-height: 320px;
  overflow: auto;
  background: rgba(10, 16, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  padding: 10px;
  backdrop-filter: blur(14px);
}

.studio-composer-popover.hidden {
  display: none !important;
}

.studio-composer-pop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.studio-composer-pop-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.studio-composer-pop-item img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.studio-home-composer::before {
  content: '';
  position: absolute;
  width: 220%;
  height: 220%;
  left: -60%;
  top: -60%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 62deg,
    rgba(124, 58, 237, 0.25) 68deg,
    rgba(167, 139, 250, 0.88) 76deg,
    rgba(250, 245, 255, 0.98) 84deg,
    rgba(167, 139, 250, 0.88) 92deg,
    rgba(124, 58, 237, 0.25) 100deg,
    transparent 106deg 242deg,
    rgba(124, 58, 237, 0.25) 248deg,
    rgba(167, 139, 250, 0.88) 256deg,
    rgba(250, 245, 255, 0.98) 264deg,
    rgba(167, 139, 250, 0.88) 272deg,
    rgba(124, 58, 237, 0.25) 280deg,
    transparent 286deg 360deg
  );
  animation: studio-composer-border-spin 5.6s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.studio-home-composer::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 27px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), rgba(10, 12, 14, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 1;
}

.studio-home-composer > * {
  position: relative;
  z-index: 2;
}

.studio-home-composer:focus-within::before {
  animation-duration: 4s;
}

.studio-home-composer:focus-within {
  box-shadow:
    0 28px 88px rgba(0, 0, 0, 0.72),
    0 0 24px rgba(124, 58, 237, 0.16);
}

@keyframes studio-composer-border-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .studio-home-composer::before {
    animation: none;
    background: conic-gradient(
      from 42deg,
      transparent 0deg 62deg,
      rgba(167, 139, 250, 0.75) 84deg,
      transparent 106deg 242deg,
      rgba(167, 139, 250, 0.75) 264deg,
      transparent 286deg 360deg
    );
  }
}

.studio-home-upload {
  flex-shrink: 0;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.55);
}

.studio-home-upload:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

#studio-home-brief {
  flex: 1;
  width: 100%;
  border: none;
  resize: none;
  padding: 18px 18px 8px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.65;
  font-family: inherit;
  outline: none;
  min-height: 56px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

#studio-home-brief::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.studio-home-send {
  flex-shrink: 0;
  width: 56px;
  border: none;
  background: linear-gradient(135deg, #68f3cc, #1d9bf0);
  color: #041018;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.studio-home-send:hover {
  filter: brightness(1.08);
}

.studio-home-quickpicks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 20;
}

.studio-quickpick {
  position: relative;
}

.studio-quickpick-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font: inherit;
  color: rgba(255, 255, 255, 0.86);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  backdrop-filter: blur(8px);
}

.studio-quickpick-trigger:hover,
.studio-quickpick.is-open .studio-quickpick-trigger {
  border-color: rgba(142, 233, 209, 0.35);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px rgba(104, 246, 255, 0.12);
}

.studio-quickpick-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
}

.studio-quickpick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.studio-quickpick-label {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.studio-quickpick {
  position: relative;
}

.studio-quickpick-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  min-width: 240px;
  max-width: 320px;
  background: rgba(10, 16, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  padding: 8px;
  animation: studio-menu-in 0.15s ease;
  backdrop-filter: blur(14px);
}

.studio-quickpick-menu.align-right {
  left: auto;
  right: 0;
}

@keyframes studio-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.studio-quickpick-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: rgba(255, 255, 255, 0.88);
}

.studio-quickpick-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.studio-quickpick-menu-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e7eb;
}

.studio-quickpick-menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-quickpick-menu-label {
  font-size: 14px;
  font-weight: 500;
}

.studio-quickpick-menu-more {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.studio-quickpick-menu-more:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
}

.studio-quickpick-menu-more-icon {
  width: 40px;
  text-align: center;
  font-size: 18px;
  line-height: 1;
}

.studio-home-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.studio-home-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  font-family: inherit;
}

.studio-home-chip:hover {
  border-color: #6366f1;
  color: #6366f1;
}

.studio-home-section {
  margin-bottom: 40px;
}

.studio-home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.studio-home-section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.studio-home-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, 0.42);
  padding: 24px 0;
}

.studio-home-cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.studio-case-card {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  font: inherit;
  color: inherit;
}

.studio-case-card:hover {
  border-color: rgba(142, 233, 209, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(104, 246, 255, 0.08);
  transform: translateY(-2px);
}

.studio-case-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e5e7eb;
  overflow: hidden;
}

.studio-case-cover img,
.studio-case-cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

.studio-case-cover video {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s ease;
}

.studio-case-card.is-playing .studio-case-cover video {
  opacity: 1;
  z-index: 3;
}

.studio-case-card.is-playing .studio-case-cover img {
  opacity: 1;
}

.studio-case-label {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.28);
}

.studio-home-projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.studio-project-card {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  font: inherit;
  color: inherit;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.studio-project-card:hover {
  border-color: rgba(142, 233, 209, 0.32);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42), 0 0 20px rgba(104, 246, 255, 0.06);
  transform: translateY(-2px);
}

.studio-project-card-create {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
}

.studio-project-card-create span {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}

.studio-project-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(37, 99, 235, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #8ee9d1;
}

.studio-project-meta {
  padding: 12px 14px;
}

.studio-project-meta strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.9);
}

.studio-project-meta span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ── 画布编辑器 ── */
.studio-editor {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 48px 1fr 340px;
  grid-template-rows: 52px 1fr;
  grid-template-areas:
    "top top top"
    "tools stage panel";
  background: #eceef2;
}

.studio-editor.hidden,
.studio-home.hidden {
  display: none !important;
}

.studio-editor-top {
  grid-area: top;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 10;
}

.studio-editor-back {
  border: none;
  background: transparent;
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
  padding: 8px 0;
}

.studio-editor-back:hover {
  color: #111;
}

.studio-editor-title {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-editor-top-actions {
  display: flex;
  gap: 8px;
}

.studio-editor-tools {
  grid-area: tools;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
}

.studio-tool-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  color: #6b7280;
}

.studio-tool-btn:hover:not(:disabled) {
  background: #f3f4f6;
  color: #111;
}

.studio-tool-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.studio-tool-divider {
  width: 24px;
  height: 1px;
  background: #e5e7eb;
  margin: 4px 0;
}

.studio-editor-stage {
  grid-area: stage;
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.studio-canvas-infinite {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  cursor: grab;
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.07) 1px, transparent 0);
  background-size: 24px 24px;
  background-color: #e8eaef;
}

.studio-canvas-infinite:active {
  cursor: grabbing;
}

.studio-editor-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px;
  font-size: 12px;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid #e5e7eb;
}

.studio-editor-panel {
  grid-area: panel;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border-left: 1px solid #e5e7eb;
  overflow: hidden;
}

.studio-panel-head {
  padding: 16px 18px 12px;
  border-bottom: 1px solid #f3f4f6;
}

.studio-panel-head h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.studio-panel-head p {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

.studio-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px 18px;
}

.studio-panel-compose {
  margin-top: 12px;
}

.studio-panel-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.studio-panel-actions .studio-btn {
  flex: 1;
}

.studio-panel-grid-toggle {
  margin-top: 16px;
  font-size: 13px;
}

.studio-panel-grid-toggle summary {
  cursor: pointer;
  color: #6366f1;
  font-weight: 500;
}

.studio-toolbar-compact {
  margin-top: 10px;
  padding-top: 0;
  border-top: none;
  gap: 8px;
}

.studio-cost-inline {
  font-size: 12px;
  color: #6b7280;
  margin-left: auto;
}

/* ── 共享组件 ── */
.studio-btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border, #e5e7eb);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.studio-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.studio-btn-primary {
  background: linear-gradient(135deg, #6366f1, #2563eb);
  border-color: transparent;
  color: #fff;
}

.studio-btn-warn {
  border-color: #f59e0b;
  color: #b45309;
  background: #fffbeb;
}

.studio-brief {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.55;
  font-family: inherit;
  resize: vertical;
  outline: none;
}

.studio-ref-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.studio-ref-upload span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}

.studio-ref-subject {
  flex: 1;
  min-width: 80px;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
}

.studio-ref-preview {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
}

.studio-toolbar label {
  font-size: 12px;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.studio-toolbar select {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
}

.studio-plan-block {
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.studio-plan-block h3,
.studio-plan-block h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

.studio-plan-section {
  margin-bottom: 10px;
}

.studio-plan-section p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #4b5563;
}

.studio-shot-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #4b5563;
}

.studio-shot-list li {
  margin-bottom: 6px;
}

.studio-status {
  font-size: 12px;
  color: #6366f1;
}

.studio-canvas-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform-origin: 0 0;
}

.studio-canvas-lines line {
  stroke: rgba(99, 102, 241, 0.45);
  stroke-width: 2;
  stroke-dasharray: 6 4;
}

.studio-canvas-nodes {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  z-index: 3;
}

.studio-canvas-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 14px;
  pointer-events: none;
  margin: 0;
}

.studio-canvas-node {
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: grab;
  transition: box-shadow 0.15s, border-color 0.15s;
  touch-action: none;
  user-select: none;
}

.studio-canvas-node.is-selected {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.35), 0 8px 28px rgba(99, 102, 241, 0.18);
}

.studio-canvas-node.status-generating {
  border-color: #6366f1;
}

.studio-canvas-node.status-done {
  border-color: #22c55e;
}

.studio-canvas-node.status-error {
  border-color: #ef4444;
}

.studio-node-handle {
  padding: 4px 8px;
  font-size: 10px;
  color: #9ca3af;
  cursor: grab;
  background: #f9fafb;
  text-align: center;
}

.studio-node-img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  display: block;
}

.studio-node-placeholder {
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 22px;
}

.studio-node-meta {
  padding: 8px 10px;
  font-size: 12px;
}

.studio-node-meta strong {
  display: block;
  margin-bottom: 4px;
}

.studio-node-meta em {
  font-style: normal;
  color: #9ca3af;
}

/* 节点右键 · 编辑面板（参考 RunningHub 图3） */
.studio-node-inspector {
  position: absolute;
  z-index: 50;
  width: min(360px, calc(100% - 24px));
  background: #1e1f24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  color: #e5e7eb;
  padding: 14px;
}

.studio-inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.studio-inspector-head strong {
  font-size: 14px;
  font-weight: 600;
}

.studio-inspector-head-actions {
  display: flex;
  gap: 4px;
}

.studio-inspector-icon-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.studio-inspector-icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.studio-inspector-refs {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.studio-inspector-ref-item {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #2a2b31;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #9ca3af;
}

.studio-inspector-ref-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-inspector-ref-add {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #9ca3af;
  font-size: 12px;
  cursor: pointer;
}

.studio-inspector-prompt {
  width: 100%;
  min-height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #141519;
  color: #f3f4f6;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.55;
  resize: vertical;
  font-family: inherit;
  outline: none;
  margin-bottom: 10px;
}

.studio-inspector-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.studio-inspector-select {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #2a2b31;
  color: #e5e7eb;
  font-size: 12px;
}

.studio-inspector-btn {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #2a2b31;
  color: #e5e7eb;
  font-size: 12px;
  cursor: pointer;
}

.studio-inspector-btn-primary {
  margin-left: auto;
  background: linear-gradient(135deg, #6366f1, #2563eb);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}

/* 右键菜单（参考 RunningHub 图4） */
.studio-canvas-context-menu {
  position: absolute;
  z-index: 60;
  min-width: 168px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}

.studio-canvas-context-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
}

.studio-canvas-context-menu button:hover {
  background: #f3f4f6;
}

.studio-canvas-context-menu hr {
  border: none;
  border-top: 1px solid #f3f4f6;
  margin: 4px 0;
}

.studio-frame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.studio-frame-grid-compact {
  margin-top: 12px;
}

.studio-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  padding: 24px;
}

.studio-frame-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.studio-frame-media {
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
}

.studio-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-frame-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 20px;
}

.studio-frame-meta {
  padding: 8px 10px;
  font-size: 11px;
}

.studio-frame-meta strong {
  display: block;
  margin: 2px 0;
}

.studio-frame-meta em {
  font-style: normal;
  color: #9ca3af;
}

.studio-frame-progress {
  height: 3px;
  background: #f3f4f6;
  margin-top: 6px;
}

.studio-frame-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #2563eb);
}

.studio-frame-err {
  margin: 4px 0 0;
  color: #ef4444;
  font-size: 10px;
}

.studio-frame-actions {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.studio-frame-actions button {
  padding: 3px 6px;
  font-size: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .studio-home-cases {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-home-scroll {
    padding: 64px 16px 96px;
  }

  .studio-dock {
    left: 50%;
    top: auto;
    bottom: 16px;
    transform: translateX(-50%);
    flex-direction: row;
    border-radius: 999px;
    padding: 6px 10px;
  }

  .studio-dock-spacer {
    display: none;
  }

  .studio-dock-user {
    margin-top: 0;
  }

  .studio-topbar {
    padding: 10px 16px;
  }

  .studio-editor {
    grid-template-columns: 1fr;
    grid-template-rows: 52px 1fr auto;
    grid-template-areas:
      "top"
      "stage"
      "panel";
  }

  .studio-editor-tools {
    display: none;
  }

  .studio-editor-panel {
    max-height: 42vh;
  }
}

@media (max-width: 768px) {
  .studio-home-stage {
    --studio-explore-opacity: 0 !important;
  }

  .studio-hero-image-background {
    background: #000;
    filter: none;
  }

  .studio-hero-image-background::before,
  .studio-hero-image-background::after {
    opacity: 0 !important;
  }
}

body.studio-active:has(#studio-view.studio-mode-home) .site-footer {
  background: rgba(0, 0, 0, 0.9);
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
}

body.studio-active:has(#studio-view.studio-mode-home) .site-footer a {
  color: rgba(255, 255, 255, 0.42);
}

body.studio-active:has(#studio-view.studio-mode-home) .site-footer a:hover {
  color: rgba(255, 255, 255, 0.72);
}

/* ── 导演工作流：三层画布 ── */
.studio-workflow-lanes {
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 88px;
  pointer-events: none;
  z-index: 1;
}

.studio-lane-label {
  position: absolute;
  left: 0;
  font-size: 11px;
  font-weight: 600;
  color: #6366f1;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.studio-canvas-text-nodes,
.studio-canvas-video-nodes {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  pointer-events: none;
}

.studio-canvas-text-nodes {
  z-index: 2;
}

.studio-canvas-video-nodes {
  z-index: 1;
}

.studio-canvas-text-nodes > *,
.studio-canvas-video-nodes > * {
  pointer-events: auto;
}

.studio-canvas-node.is-dragging {
  z-index: 200 !important;
  cursor: grabbing !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.studio-text-node {
  width: 260px;
  min-height: 120px;
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 100%);
  border-color: rgba(129, 140, 248, 0.5);
  color: #e0e7ff;
  cursor: grab;
}

.studio-text-node .studio-node-type-badge {
  background: rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
}

.studio-text-node-body {
  padding: 8px 12px 12px;
  font-size: 11px;
  line-height: 1.5;
  max-height: 140px;
  overflow: auto;
}

.studio-text-node-body strong {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a5b4fc;
  margin: 6px 0 2px;
}

.studio-text-node-body strong:first-child {
  margin-top: 0;
}

.studio-text-node-body p {
  margin: 0;
  color: #e0e7ff;
  opacity: 0.92;
}

.studio-video-node {
  width: 220px;
  border-color: rgba(168, 85, 247, 0.45);
  cursor: grab;
}

.studio-video-node .studio-node-type-badge {
  background: rgba(168, 85, 247, 0.15);
  color: #7c3aed;
}

.studio-video-node.status-generating {
  border-color: #a855f7;
  animation: studio-video-pulse 1.5s ease-in-out infinite;
}

.studio-video-node.status-done {
  border-color: #22c55e;
}

@keyframes studio-video-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.35); }
  50% { box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15); }
}

.studio-node-type-badge {
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.studio-node-video-wrap {
  height: 124px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.studio-node-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-node-video-placeholder {
  color: #64748b;
  font-size: 13px;
  text-align: center;
  padding: 8px;
}

.studio-canvas-lines line.lane-link {
  stroke: rgba(99, 102, 241, 0.35);
  stroke-dasharray: 4 6;
}

.studio-canvas-lines line.video-link {
  stroke: rgba(168, 85, 247, 0.5);
  stroke-width: 2;
}

.studio-workflow-pipeline {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.studio-workflow-pipeline h4 {
  margin: 0 0 8px;
  font-size: 12px;
  color: #5b21b6;
}

.studio-pipeline-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.studio-pipeline-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: #6b7280;
}

.studio-pipeline-letter {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.studio-pipeline-steps li.is-done .studio-pipeline-letter {
  background: #d1fae5;
  color: #059669;
}

.studio-pipeline-steps li.is-active .studio-pipeline-letter {
  background: #6366f1;
  color: #fff;
}

.studio-pipeline-steps li span em {
  display: block;
  font-size: 11px;
  font-style: normal;
  color: #9ca3af;
  margin-top: 2px;
}

.studio-pipeline-steps li.is-active span em {
  color: #6366f1;
}

/* ── ComfyUI 式工作流节点 ── */
.studio-workflow-guide {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  pointer-events: none;
  z-index: 0;
}

.studio-guide-node {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.studio-guide-node-prod {
  color: #7c3aed;
  background: rgba(168, 85, 247, 0.08);
}

.studio-guide-arrow {
  position: absolute;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.studio-comfy-node {
  position: relative;
}

.studio-step-badge {
  position: absolute;
  top: -10px;
  left: 10px;
  z-index: 5;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: #6366f1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.studio-step-badge-frame {
  background: #0ea5e9;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}

.studio-step-badge-video {
  background: #a855f7;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.35);
}

.studio-node-port {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #6366f1;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}

.studio-node-port-in {
  left: -5px;
}

.studio-node-port-out {
  right: -5px;
}

.studio-video-node .studio-node-port-in {
  border-color: #a855f7;
}

.studio-node-sub {
  margin: 0;
  padding: 0 10px 4px;
  font-size: 10px;
  color: #a5b4fc;
  opacity: 0.9;
}

.studio-canvas-lines line.spine-link {
  stroke: #6366f1;
  stroke-width: 2.5;
  stroke-dasharray: none;
}

.studio-canvas-lines line.spine-fan {
  stroke: #818cf8;
}

.studio-text-node {
  width: 220px;
  min-height: 130px;
  cursor: default;
}

.studio-pipeline-steps li.is-done {
  color: #059669;
}

.studio-pipeline-steps li.is-active {
  color: #6366f1;
  font-weight: 600;
}

.studio-pipeline-steps li.is-pending {
  opacity: 0.55;
}

.studio-pipeline-steps li::before {
  content: '○';
  font-size: 10px;
}

.studio-pipeline-steps li.is-done::before {
  content: '✓';
  color: #059669;
}

.studio-pipeline-steps li.is-active::before {
  content: '◉';
  color: #6366f1;
}

.studio-btn-accent {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #fff;
  border: none;
}

.studio-btn-accent:hover:not(:disabled) {
  filter: brightness(1.08);
}

.studio-btn-accent:disabled {
  opacity: 0.45;
}

.studio-inspector-motion {
  margin-top: 6px;
  font-size: 12px;
}

.studio-inspector-btn-accent {
  background: #7c3aed;
  color: #fff;
  border: none;
}

.studio-inspector-btn-accent:hover {
  background: #6d28d9;
}

.studio-panel-actions {
  flex-wrap: wrap;
}

.studio-shot-list li span.motion-hint {
  display: block;
  color: #7c3aed;
  font-size: 11px;
  margin-top: 2px;
  opacity: 0.85;
}

.studio-canvas-custom-nodes {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  z-index: 4;
  pointer-events: none;
}

.studio-canvas-custom-nodes .studio-canvas-node {
  pointer-events: auto;
}

.studio-custom-node.type-text .studio-node-placeholder {
  min-height: 72px;
  padding: 12px;
  white-space: pre-wrap;
  text-align: left;
  font-size: 12px;
  color: #374151;
}

.studio-home-skills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.studio-skill-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.studio-skill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.45);
}

.studio-skill-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.studio-skill-card strong {
  padding: 0 10px 10px;
  font-size: 13px;
}

.studio-skill-cat {
  padding: 0 10px;
  font-size: 11px;
  opacity: 0.65;
}

.studio-home-section-sub {
  margin: 0;
  font-size: 12px;
  opacity: 0.55;
}

.studio-project-card-wrap {
  position: relative;
}

.studio-project-card-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  z-index: 2;
}

.studio-project-rename,
.studio-project-delete {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.studio-project-delete:hover {
  background: #dc2626;
}

.studio-chat-edit {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.studio-chat-edit h4 {
  margin: 0 0 8px;
  font-size: 13px;
}

.studio-chat-log {
  max-height: 140px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 12px;
}

.studio-chat-msg {
  padding: 6px 8px;
  border-radius: 8px;
  background: #f3f4f6;
}

.studio-chat-msg.user {
  background: #e0e7ff;
  align-self: flex-end;
}

.studio-chat-msg.bot.err {
  background: #fee2e2;
  color: #991b1b;
}

.studio-chat-row {
  display: flex;
  gap: 6px;
}

.studio-chat-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
}

.studio-assets-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.studio-asset-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-size: 11px;
  color: #374151;
}

.studio-asset-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.studio-asset-item span {
  padding: 4px 6px 6px;
}

.studio-link-btn {
  border: none;
  background: none;
  color: #6366f1;
  cursor: pointer;
  font-size: 12px;
  margin-left: 8px;
}

.studio-timeline {
  border-top: 1px solid #e5e7eb;
  background: #fafafa;
  padding: 8px 12px;
  max-height: 140px;
  overflow: auto;
}

.studio-timeline-empty {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

.studio-timeline-tracks {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.studio-timeline-clip {
  min-width: 72px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.studio-timeline-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.studio-compiled-preview {
  width: 100%;
  max-height: 120px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #111;
}

.studio-panel-assets {
  margin-top: 12px;
  font-size: 13px;
}

.studio-canvas-node.is-dragging {
  opacity: 0.92;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  cursor: grabbing !important;
}

/* ═══ 爆款复刻 · OiiOii 画布（三节点可拖 + 细曲连线） ═══ */
.studio-editor-remix .studio-editor-top {
  background: #0e0f13;
  border-bottom-color: #1c1f27;
  color: #f3f4f6;
}
.studio-editor-remix .studio-editor-title,
.studio-editor-remix .studio-editor-back { color: #f3f4f6; }
.studio-editor-remix .studio-editor-panel {
  background: #12141a;
  border-left-color: #1c1f27;
  color: #e5e7eb;
}
.studio-editor-remix .studio-panel-head h2,
.studio-editor-remix .studio-panel-head p,
.studio-editor-remix .studio-brief,
.studio-editor-remix .studio-ref-subject,
.studio-editor-remix label { color: #e5e7eb; }
.studio-editor-remix .studio-brief,
.studio-editor-remix .studio-ref-subject,
.studio-editor-remix select {
  background: #0a0b0f;
  border-color: #2a2f3a;
  color: #f3f4f6;
}
.studio-editor-remix .studio-canvas-wrap {
  background-color: #101217;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}
.studio-editor-remix .studio-editor-statusbar {
  background: #0e0f13;
  border-top-color: #1c1f27;
  color: #9ca3af;
}
.studio-editor-remix .studio-editor-tools {
  background: rgba(14, 15, 19, 0.92);
  border-color: #2a2f3a;
}
.studio-editor-remix .studio-tool-btn { color: #d1d5db; }
.studio-editor-remix #studio-timeline,
.studio-editor-remix #studio-director-layers { display: none !important; }

.studio-remix-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 5;
  cursor: grab;
}
.studio-remix-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 2400px;
  height: 1600px;
  transform-origin: 0 0;
}

.studio-remix-edges {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.remix-edge-path {
  fill: none;
  stroke: rgba(230, 232, 238, 0.45);
  stroke-width: 1.35;
  stroke-linecap: round;
}

.remix-node {
  position: absolute;
  z-index: 2;
  background: rgba(18, 20, 26, 0.97);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  color: #f3f4f6;
  padding: 0 0 12px;
  user-select: none;
}
.remix-node.is-dragging {
  opacity: 0.95;
  box-shadow: 0 24px 60px rgba(0,0,0,0.65);
  z-index: 6;
  cursor: grabbing;
}
.remix-node-draghandle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
  cursor: grab;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.remix-node-draghandle:active { cursor: grabbing; }
.remix-node-step {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.remix-node-label {
  font-size: 13px;
  font-weight: 650;
}
.remix-drag-hint {
  margin-left: auto;
  font-size: 10px;
  color: #6b7280;
  letter-spacing: 0.04em;
}
.remix-node-analysis .remix-node-draghandle strong,
.remix-node-customize .remix-node-draghandle strong {
  font-size: 14px;
  font-weight: 650;
}

.remix-port {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: 2px solid #2a2f3a;
  top: 42%;
  z-index: 3;
}
.remix-port-out { right: -6px; }
.remix-port-in { left: -6px; }

.remix-node-source { width: 280px; }
.remix-node-analysis {
  width: 560px;
  height: 640px;
  display: flex;
  flex-direction: column;
}
.remix-node-customize {
  width: 360px;
  height: 640px;
  display: flex;
  flex-direction: column;
}

.remix-source-wrap {
  margin: 12px 14px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0b0f;
  aspect-ratio: 9/16;
  max-height: 340px;
}
.remix-source-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.remix-source-empty {
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #9ca3af;
  font-size: 13px;
  padding: 16px;
  text-align: center;
}
.remix-source-desc {
  margin: 10px 14px;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.45;
}
.remix-source-actions {
  display: flex;
  gap: 8px;
  padding: 0 14px;
}

.remix-btn,
.remix-btn-pink,
.remix-btn-cta {
  border: 1px solid #3f4654;
  background: #1c212b;
  color: #f3f4f6;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  cursor: pointer;
}
.remix-btn-pink {
  background: #ec4899;
  border-color: #ec4899;
  color: #fff;
}
.remix-btn-cta {
  margin: 10px 14px 0;
  width: calc(100% - 28px);
  background: #ec4899;
  border-color: #ec4899;
  color: #fff;
  font-weight: 650;
  padding: 12px 16px;
}
.remix-btn-cta:disabled { opacity: 0.4; cursor: not-allowed; }
.remix-btn-cta-sm { width: auto; margin: 0; padding: 8px 16px; font-size: 12px; }

.remix-analysis-scroll,
.remix-customize-scroll {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 10px 12px;
}
.remix-analysis-empty {
  padding: 40px 16px;
  text-align: center;
  color: #9ca3af;
}
.remix-analysis-empty .muted,
.remix-customize-scroll .muted { color: #6b7280; font-size: 12px; }

.remix-table-wrap { overflow: auto; }
.remix-shot-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.remix-shot-table th {
  text-align: left;
  color: #9ca3af;
  font-weight: 500;
  padding: 6px 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
}
.remix-shot-table td {
  vertical-align: top;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #e5e7eb;
}
.remix-shot-table .col-idx { width: 52px; color: #a78bfa; font-weight: 650; }
.remix-shot-table .col-time { width: 96px; white-space: nowrap; }
.remix-shot-table .col-cam { min-width: 110px; }
.remix-shot-table .col-edit,
.remix-shot-table .col-audio { min-width: 72px; }
.remix-row-scene { display: flex; gap: 8px; }
.remix-row-thumb {
  width: 48px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0b0f;
  flex-shrink: 0;
}
.remix-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.remix-row-thumb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}
.remix-row-title { font-weight: 650; margin-bottom: 2px; }
.remix-row-desc { color: #9ca3af; line-height: 1.35; max-width: 160px; }
.remix-row-meta { color: #c4b5fd; margin-top: 2px; }
.remix-time-line { display: flex; gap: 4px; align-items: center; margin-bottom: 2px; }
.remix-time-dur { color: #f9a8d4; margin-top: 4px; }
.remix-shot-table .muted { color: #9ca3af; }

.remix-customize-scroll section { margin-bottom: 14px; }
.remix-customize-scroll h4 {
  margin: 0 0 8px;
  font-size: 12px;
  color: #f9a8d4;
}
.remix-slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.remix-slot-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.remix-slot {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  background: #0e1016;
}
.remix-slot-media {
  aspect-ratio: 1;
  background: #0a0b0f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.remix-slot-media img { width: 100%; height: 100%; object-fit: cover; }
.remix-slot-ph { color: #6b7280; font-size: 20px; }
.remix-slot-meta {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.remix-slot-meta strong { font-size: 11px; }
.remix-slot-replace {
  border: none;
  border-radius: 6px;
  background: rgba(236, 72, 153, 0.18);
  color: #f9a8d4;
  font-size: 11px;
  padding: 4px;
  cursor: pointer;
}
#remix-customize-instruction {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0a0b0f;
  color: #f3f4f6;
  border-radius: 10px;
  padding: 8px;
  resize: vertical;
  font-size: 12px;
}
.remix-customize-foot {
  display: flex;
  justify-content: flex-end;
  padding: 8px 14px 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Oii 对标：分栏 / 亮点 / 资产馆 / 弹层 ── */
.studio-pane.hidden {
  display: none !important;
}

.studio-home-stage > .studio-pane {
  position: relative;
  z-index: 2;
}

.studio-link-btn {
  border: none;
  background: transparent;
  color: #8ee9d1;
  font-size: 13px;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.studio-link-btn:hover {
  text-decoration: underline;
}

.studio-home-recent-row,
.studio-home-highlights,
.studio-home-tv {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 10px 4px 14px;
  margin: -4px -4px 0;
  scroll-snap-type: x proximity;
}

.studio-home-recent-row {
  /* 横向滚动时 y 会被一并裁切，预留悬停上移/阴影空间 */
  padding-top: 12px;
  padding-bottom: 16px;
  margin-top: -6px;
}

.studio-home-recent-row::-webkit-scrollbar,
.studio-home-highlights::-webkit-scrollbar,
.studio-home-tv::-webkit-scrollbar {
  height: 6px;
}

.studio-home-recent-row::-webkit-scrollbar-thumb,
.studio-home-highlights::-webkit-scrollbar-thumb,
.studio-home-tv::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.studio-recent-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  padding: 0;
}

.studio-recent-card:hover {
  border-color: rgba(142, 233, 209, 0.35);
}

.studio-recent-card-create {
  flex: 0 0 168px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 18px 12px;
  position: relative;
  isolation: isolate;
  border: none;
  background:
    linear-gradient(#0c0e14, #0c0e14) padding-box,
    linear-gradient(135deg, #f472b6, #a855f7 48%, #6366f1) border-box;
  border: 1.5px solid transparent;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(244, 114, 182, 0.08), 0 10px 28px rgba(0, 0, 0, 0.35);
  overflow: visible;
}

.studio-recent-card-create:hover {
  border-color: transparent;
  transform: none;
  box-shadow: 0 0 28px rgba(244, 114, 182, 0.28), 0 12px 28px rgba(0, 0, 0, 0.4);
  filter: brightness(1.06);
}

.studio-recent-create-plus {
  font-size: 42px;
  line-height: 1;
  font-weight: 300;
  color: #f472b6;
  text-shadow: 0 0 18px rgba(244, 114, 182, 0.45);
}

.studio-recent-create-label {
  font-size: 14px;
  font-weight: 600;
  color: #f9a8d4;
  letter-spacing: 0.02em;
}

.studio-recent-thumb {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 28px;
}

.studio-recent-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
}

.studio-recent-meta strong {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-recent-meta span {
  font-size: 11px;
  opacity: 0.55;
}

.studio-highlight-card {
  position: relative;
  flex: 0 0 200px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}

.studio-highlight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(142, 233, 209, 0.4);
}

.studio-highlight-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #111;
  overflow: hidden;
}

.studio-highlight-cover img,
.studio-highlight-cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-highlight-cover video {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.studio-highlight-cover img {
  z-index: 2;
  transition: opacity 0.2s ease;
}

.studio-highlight-card.is-playing .studio-highlight-cover video {
  opacity: 1;
  z-index: 3;
}

.studio-highlight-card.is-playing .studio-highlight-cover img {
  opacity: 1; /* 封面压底，等视频层盖上；避免中间黑幕 */
}

.studio-highlight-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ec4899;
  color: #fff;
}

.studio-highlight-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.35);
}

.studio-highlight-foot strong {
  font-size: 13px;
  font-weight: 600;
}

.studio-highlight-cta {
  font-size: 11px;
  color: #8ee9d1;
  white-space: nowrap;
}

.studio-tv-card {
  flex: 0 0 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
}

.studio-tv-card video,
.studio-tv-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #111;
}

.studio-tv-card span {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
}

.studio-skills-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.studio-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  font: inherit;
}

.studio-chip.active,
.studio-chip:hover {
  border-color: rgba(142, 233, 209, 0.4);
  color: #8ee9d1;
  background: rgba(104, 246, 255, 0.08);
}

.studio-assets-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.studio-assets-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.studio-asset-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
}

.studio-asset-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.studio-asset-card span {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
}

.studio-publish-lead {
  margin: 0 0 20px;
  opacity: 0.65;
  font-size: 14px;
  max-width: 520px;
}

.studio-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.62);
  padding: 24px;
}

.studio-modal.hidden {
  display: none !important;
}

.studio-modal-card {
  width: min(560px, 100%);
  background: #12151c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  color: #f3f4f6;
}

.studio-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.studio-modal-head h2 {
  margin: 0;
  font-size: 18px;
}

.studio-modal-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  cursor: pointer;
}

.studio-modal-desc {
  margin: 0 0 12px;
  font-size: 13px;
  opacity: 0.65;
}

#studio-script-modal-text {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0b0f;
  color: #f3f4f6;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
  font: inherit;
  min-height: 180px;
}

.studio-modal-label {
  display: block;
  margin: 10px 0 6px;
  font-size: 12px;
  opacity: 0.65;
}

.studio-modal-input,
#studio-skill-maker-desc {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0b0f;
  color: #f3f4f6;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  box-sizing: border-box;
}

#studio-skill-maker-desc {
  resize: vertical;
  min-height: 120px;
}

.studio-modal-row {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
}

.studio-modal-row label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-modal-row select {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0b0f;
  color: #f3f4f6;
  padding: 4px 8px;
}

.studio-publish-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-publish-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.studio-skill-card {
  position: relative;
}

.studio-skill-card .studio-skill-try {
  padding: 0 10px 10px;
  font-size: 12px;
  color: #8ee9d1;
}

@media (max-width: 768px) {
  .studio-dock-label {
    display: none;
  }
  .studio-dock-btn {
    width: 40px;
    min-height: 40px;
  }
  .studio-highlight-card {
    flex-basis: 160px;
  }
}
