/* SYPOWER agent studio landing — spacious official-style start page */
.page-app[data-menu="zhinengti"] .chat-canvas.is-agent.has-landing,
.chat-canvas.is-agent.has-landing {
  overflow: auto;
  padding: 0;
  align-items: stretch;
  justify-content: flex-start;
  background: #07080d;
}
/* Landing roots must not shrink-to-fit the pane, or overflow:hidden clips the
   input card and everything below the hero, and the canvas cannot scroll. */
.chat-canvas.is-agent.has-landing > * {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.al-studio {
  --al-accent: rgb(var(--al-accent-rgb, 245, 158, 11));
  --al-tone: rgb(var(--al-tone-rgb, 251, 191, 36));
  position: relative;
  min-height: 100%;
  width: 100%;
  flex-shrink: 0;
  color: #e8eef5;
  overflow-x: hidden;
  overflow-y: visible;
  background:
    radial-gradient(ellipse 44rem 18rem at 50% -2rem, rgba(var(--al-accent-rgb, 245, 158, 11), .10), transparent 68%),
    radial-gradient(ellipse 36rem 20rem at 85% 115%, rgba(var(--al-accent-rgb, 245, 158, 11), .05), transparent 60%),
    linear-gradient(180deg, #08090e 0%, #0a0c14 48%, #07080c 100%);
}

.al-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
}

.al-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.al-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(var(--al-accent-rgb, 245, 158, 11), .7);
  box-shadow: 0 0 8px rgba(var(--al-accent-rgb, 245, 158, 11), .35);
  animation: al-float 18s linear infinite;
  opacity: .5;
}
@keyframes al-float {
  0% { transform: translateY(0) scale(1); opacity: .12; }
  40% { opacity: .7; }
  100% { transform: translateY(-140px) scale(1.25); opacity: 0; }
}

.al-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.6rem 1.6rem 3.2rem;
  gap: 2.1rem;
}

/* Hero */
.al-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  width: min(58rem, 100%);
  animation: al-in .55s cubic-bezier(.16,1,.3,1) both;
}
.al-hero-glow {
  position: absolute;
  top: -6rem; left: 50%;
  transform: translateX(-50%);
  width: 34rem; height: 16rem;
  background: radial-gradient(ellipse at center, rgba(var(--al-accent-rgb, 245, 158, 11), .10) 0%, transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.al-hero-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  z-index: 1;
}
.al-logo {
  position: relative;
  width: 4.5rem; height: 4.5rem;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.15rem;
  background: linear-gradient(160deg, rgba(var(--al-accent-rgb, 245, 158, 11), .16), #10121ae6 55%);
  border: 1px solid rgba(var(--al-accent-rgb, 245, 158, 11), .4);
  box-shadow:
    0 10px 30px -8px rgba(0,0,0,.55),
    0 0 26px rgba(var(--al-accent-rgb, 245, 158, 11), .16),
    inset 0 1px rgba(255,255,255,.14);
  overflow: hidden;
}
.al-logo img, .al-logo svg {
  width: 58%; height: 58%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(var(--al-accent-rgb, 245, 158, 11), .45));
  position: relative;
  z-index: 1;
}
.al-logo-shine {
  position: absolute;
  top: -60%; left: -80%;
  width: 55%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent);
  transform: rotate(18deg);
  animation: al-shine 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes al-shine {
  0%, 45% { transform: translateX(0) rotate(18deg); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateX(320%) rotate(18deg); opacity: 0; }
}
.al-hero-text { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.al-eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.al-eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--al-accent);
  animation: al-pulse 2.2s ease-in-out infinite;
}
.al-eyebrow-text {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .28em;
  color: rgba(var(--al-accent-rgb, 245, 158, 11), .78);
  white-space: nowrap;
}
.al-title {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  line-height: 1.15;
}
.al-title-text {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: .02em;
  background: linear-gradient(135deg, #fff, var(--al-accent) 62%, var(--al-tone));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.al-s2 {
  flex: none;
  margin-top: .45rem;
  padding: .16rem .55rem;
  font-size: 1rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .05em;
  line-height: 1.3;
  color: #fff8e7;
  background: linear-gradient(135deg, var(--al-tone), var(--al-accent) 70%, #d97706);
  clip-path: polygon(.4rem 0, 100% 0, 100% calc(100% - .4rem), calc(100% - .4rem) 100%, 0 100%, 0 .4rem);
  transform: rotate(-2deg);
  box-shadow: 0 3px 14px rgba(var(--al-accent-rgb, 245, 158, 11), .4);
  -webkit-text-fill-color: #fff8e7;
}
.al-feats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .85rem;
  z-index: 1;
}
.al-feat {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(200, 209, 220, .62);
  white-space: nowrap;
}
.al-diamond {
  width: 4px; height: 4px;
  flex: none;
  transform: rotate(45deg);
  background: rgba(var(--al-accent-rgb, 245, 158, 11), .5);
}

/* Crew */
.al-crew {
  width: min(58rem, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  z-index: 1;
  animation: al-in .55s cubic-bezier(.16,1,.3,1) .08s both;
}
.al-crew-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
}
.al-crew-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--al-accent-rgb, 245, 158, 11), .18), transparent);
}
.al-crew-label {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(245, 247, 250, .88);
  white-space: nowrap;
}
.al-online {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .15rem .6rem;
  border-radius: 100px;
  background: rgba(52, 211, 153, .06);
  border: 1px solid rgba(52, 211, 153, .18);
  font-size: .66rem;
  font-weight: 500;
  color: rgba(110, 231, 183, .85);
  white-space: nowrap;
}
.al-online-dot {
  width: .45rem; height: .45rem; border-radius: 50%;
  background: #34d399;
  animation: al-pulse 2.2s ease-in-out infinite;
}
.al-crew-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  justify-content: center;
}
.al-lead {
  flex: none;
  display: flex;
  align-items: center;
  gap: .85rem;
  max-width: 22rem;
  padding: .35rem .25rem;
}
.al-avatar {
  position: relative;
  flex: none;
  border-radius: 50%;
  box-sizing: border-box;
}
.al-lead .al-avatar {
  width: 3.9rem; height: 3.9rem;
  padding: 2px;
  background: conic-gradient(from 210deg, rgba(var(--al-accent-rgb, 245, 158, 11), .95), rgba(var(--al-tone-rgb, 251, 191, 36), .45), rgba(var(--al-accent-rgb, 245, 158, 11), .1), rgba(var(--al-accent-rgb, 245, 158, 11), .95));
  box-shadow: 0 0 18px rgba(var(--al-accent-rgb, 245, 158, 11), .18);
}
.al-avatar img, .al-avatar-letter {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c0e14;
  border: 2px solid rgba(10, 12, 18, .9);
  box-sizing: border-box;
  font-weight: 700;
  color: #fff;
}
.al-pulse-dot {
  position: absolute;
  right: 2px; bottom: 2px;
  width: .7rem; height: .7rem;
  border-radius: 50%;
  background: #34d399;
  border: 2px solid #0a0c12;
  animation: al-pulse 2.2s ease-in-out infinite;
}
.al-pulse-dot.sm { width: .55rem; height: .55rem; right: 0; bottom: 0; }
.al-lead-info { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.al-lead-name-row { display: flex; align-items: center; gap: .45rem; }
.al-lead-name { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.95); white-space: nowrap; }
.al-badge-lead {
  flex: none;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .12rem .42rem;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--al-accent), var(--al-tone));
  color: #1a1204;
  box-shadow: 0 2px 8px rgba(var(--al-accent-rgb, 245, 158, 11), .28);
  line-height: 1.35;
}
.al-lead-desc {
  font-size: .72rem;
  color: rgba(165, 175, 188, .75);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.al-split {
  width: 1px;
  align-self: stretch;
  min-height: 4.6rem;
  background: linear-gradient(180deg, transparent, rgba(var(--al-accent-rgb, 245, 158, 11), .18), transparent);
  flex: none;
}
.al-members {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .35rem;
  flex-wrap: wrap;
  min-width: 0;
}
.al-member {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  width: 4.6rem;
  padding: .5rem .15rem .4rem;
  border-radius: .75rem;
  cursor: default;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  animation: al-in .55s cubic-bezier(.16,1,.3,1) calc(var(--jj, 0) * 60ms) both;
}
.al-member:hover {
  background: rgba(var(--al-accent-rgb, 245, 158, 11), .05);
  transform: translateY(-3px);
}
.al-member .al-avatar {
  width: 2.7rem; height: 2.7rem;
  padding: 1.5px;
  background: linear-gradient(160deg, rgba(var(--al-accent-rgb, 245, 158, 11), .4), rgba(255,255,255,.06));
  transition: all .25s ease;
}
.al-member:hover .al-avatar {
  background: linear-gradient(160deg, rgba(var(--al-accent-rgb, 245, 158, 11), .9), rgba(var(--al-tone-rgb, 251, 191, 36), .3));
  box-shadow: 0 0 14px rgba(var(--al-accent-rgb, 245, 158, 11), .22);
}
.al-member .al-avatar img, .al-member .al-avatar-letter {
  border-width: 1.5px;
  font-size: .95rem;
}
.al-member-name {
  max-width: 100%;
  font-size: .68rem;
  font-weight: 500;
  color: rgba(205, 214, 224, .82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.al-member:hover .al-member-name { color: var(--al-tone); }
.al-tip {
  position: absolute;
  left: 50%; bottom: calc(100% + 6px);
  transform: translate(-50%, 4px);
  width: max-content;
  max-width: 13rem;
  padding: .45rem .6rem;
  border-radius: .55rem;
  background: #12141c;
  border: 1px solid rgba(var(--al-accent-rgb, 245, 158, 11), .2);
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
  opacity: 0;
  pointer-events: none;
  transition: all .2s ease;
  z-index: 4;
}
.al-member:hover .al-tip { opacity: 1; transform: translate(-50%, 0); }
.al-tip-name { font-size: .72rem; font-weight: 700; color: #fff; margin-bottom: .15rem; }
.al-tip-desc { font-size: .66rem; color: #a5afbc; line-height: 1.45; }

/* Start card */
.al-start {
  position: relative;
  width: min(58rem, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 1.35rem;
  background: linear-gradient(165deg, #171a24d9, #0c0e15d1);
  border: 1px solid rgba(var(--al-accent-rgb, 245, 158, 11), .18);
  box-shadow:
    0 24px 60px -16px rgba(0,0,0,.55),
    0 0 50px -12px rgba(var(--al-accent-rgb, 245, 158, 11), .08),
    inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  animation: al-in .6s cubic-bezier(.16,1,.3,1) .12s both;
  z-index: 1;
}
.al-start:before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--al-tone-rgb, 251, 191, 36), .45), transparent);
  pointer-events: none;
}
.al-start-glow {
  position: absolute;
  left: 50%; bottom: -14rem;
  transform: translateX(-50%);
  width: 46rem; height: 20rem;
  background: radial-gradient(ellipse at center, rgba(var(--al-accent-rgb, 245, 158, 11), .08) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}
.al-start-head {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.6rem .9rem;
  border-bottom: 1px solid rgba(var(--al-accent-rgb, 245, 158, 11), .1);
  background: linear-gradient(90deg, rgba(var(--al-accent-rgb, 245, 158, 11), .06), transparent 55%);
}
.al-start-icon {
  width: 2.2rem; height: 2.2rem;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .7rem;
  background: linear-gradient(150deg, rgba(var(--al-accent-rgb, 245, 158, 11), .22), rgba(var(--al-accent-rgb, 245, 158, 11), .05));
  border: 1px solid rgba(var(--al-accent-rgb, 245, 158, 11), .3);
  color: var(--al-tone);
  box-shadow: 0 0 14px rgba(var(--al-accent-rgb, 245, 158, 11), .12);
}
.al-start-icon svg { width: 1.1rem; height: 1.1rem; }
.al-start-titles { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.al-start-title { font-size: .95rem; font-weight: 700; color: rgba(255,255,255,.95); letter-spacing: .02em; }
.al-start-sub { font-size: .72rem; color: rgba(150, 160, 172, .7); }

.al-fields { position: relative; padding: 1rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .9rem; }
.al-row {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.al-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.al-row-label {
  flex: none;
  width: 5.2rem;
  padding-top: .45rem;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(230, 236, 244, .88);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.al-row-label svg { width: 14px; height: 14px; color: var(--al-accent); }
.al-chips { display: flex; flex-wrap: wrap; gap: .45rem; flex: 1; }
.al-chip {
  min-height: 36px;
  padding: 0 .9rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(210, 218, 228, .86);
  font-size: .78rem;
  cursor: pointer;
  transition: all .2s ease;
}
.al-chip:hover {
  border-color: rgba(var(--al-accent-rgb, 245, 158, 11), .35);
  background: rgba(var(--al-accent-rgb, 245, 158, 11), .06);
  color: #fff;
}
.al-chip.is-on {
  border-color: rgba(var(--al-accent-rgb, 245, 158, 11), .65);
  background: linear-gradient(135deg, rgba(var(--al-accent-rgb, 245, 158, 11), .16), rgba(var(--al-accent-rgb, 245, 158, 11), .04));
  color: rgb(var(--al-tone-rgb, 251, 191, 36));
  box-shadow: 0 0 12px rgba(var(--al-accent-rgb, 245, 158, 11), .12);
}
.al-hint { font-size: .68rem; color: rgba(150,160,172,.55); align-self: center; }
.al-input {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  box-sizing: border-box;
  padding: .85rem 1rem;
  border-radius: .8rem;
  border: 1px dashed rgba(var(--al-accent-rgb, 245, 158, 11), .28);
  background: rgba(8, 10, 16, .45);
  color: #e8eef5;
  font: inherit;
  font-size: .85rem;
  line-height: 1.6;
  outline: none;
}
.al-input::placeholder { color: rgba(150, 160, 172, .45); }
.al-input:focus {
  border-style: solid;
  border-color: rgba(var(--al-accent-rgb, 245, 158, 11), .65);
  background: rgba(var(--al-accent-rgb, 245, 158, 11), .04);
  box-shadow: 0 0 10px rgba(var(--al-accent-rgb, 245, 158, 11), .1);
}
.al-go {
  align-self: flex-end;
  height: 40px;
  padding: 0 1.3rem;
  border: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--al-tone), var(--al-accent) 70%, #d97706);
  color: #1a1204;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(var(--al-accent-rgb, 245, 158, 11), .28);
}
.al-go:hover { filter: brightness(1.06); }

@keyframes al-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes al-pulse {
  0%, 100% { opacity: .55; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1); }
}


/* Desktop / install landings (OpenClaw, Claude 助手) */
.al-desk { --al-accent: #F97316; --al-accent-rgb: 249, 115, 22; --al-tone: #FDBA74; background: #0c0907; }
.al-desk .al-page-bg { background: radial-gradient(34rem 18rem at 12% 0%, rgba(var(--al-accent-rgb), .16), transparent 62%); }
.al-desk-hero { display: flex; flex-direction: column; gap: .85rem; padding: 1.4rem 0 .2rem; }
.al-desk .al-hero { background: none; border: 0; padding: 0; }
.al-desk .al-lead { max-width: 42rem; }
.al-desk-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.1rem;
  align-items: start;
}
.al-desk-col { display: flex; flex-direction: column; gap: .85rem; }
.al-desk-card { padding: 1.05rem 1.15rem 1.15rem; }
.al-desk-card h3 { margin: 0 0 .4rem; font-size: 1.02rem; }
.al-desk-card p { margin: 0; font-size: .86rem; line-height: 1.7; color: rgba(255,255,255,.72); }
.al-desk-panel { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .9rem; }
.al-desk-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .6rem;
  padding: .7rem .8rem;
  border-radius: .85rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.28);
  font-size: .82rem;
}
.al-desk-code span {
  font-size: .68rem;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--al-tone);
}
.al-desk-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #fff;
  flex: 1;
  min-width: 12rem;
}
.al-desk-copy { padding: .4rem .8rem; font-size: .78rem; }
.al-desk-note { margin: 0; font-size: .78rem; line-height: 1.65; color: rgba(255,255,255,.58); }
.al-desk-dl { padding: 1.15rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.al-desk-dl-main { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.al-desk-dl-copy { min-width: 16rem; flex: 1; }
.al-desk-dl-kicker { font-size: .7rem; letter-spacing: .08em; font-weight: 700; color: var(--al-tone); margin-bottom: .25rem; }
.al-desk-dl h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.al-desk-dl p { margin: 0; font-size: .82rem; line-height: 1.65; color: rgba(255,255,255,.7); }
.al-desk-dl-meta { display: flex; flex-wrap: wrap; gap: .45rem .8rem; font-size: .75rem; color: rgba(255,255,255,.55); }
.al-desk-dl-meta span {
  padding: .15rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
}

@media (max-width: 860px) {
  .al-title-text { font-size: 2.05rem; }
  .al-crew-row { flex-direction: column; align-items: stretch; }
  .al-split { display: none; }
  .al-lead { max-width: none; }
}
@media (max-width: 560px) {
  .al-title-text { font-size: 1.55rem; }
  .al-logo { width: 3.6rem; height: 3.6rem; border-radius: .95rem; }
  .al-s2 { font-size: .85rem; margin-top: .3rem; }
  .al-body { padding: 1.5rem 1rem 2rem; gap: 1.4rem; }
  .al-row { flex-direction: column; gap: .5rem; }
  .al-row-label { width: auto; padding-top: 0; }
}

/* ============================================================
   Diverse mid-pane landings (original class names, per family)
   ============================================================ */

.al-page {
  --al-accent: #7c8cff;
  --al-accent-rgb: 124, 140, 255;
  --al-tone: #a5b4ff;
  position: relative;
  min-height: 100%;
  width: 100%;
  flex-shrink: 0;
  color: #e8eef5;
  overflow-x: hidden;
  overflow-y: visible;
}
.al-page-inner {
  position: relative;
  z-index: 2;
  width: min(74rem, calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.al-page-bg { position: absolute; inset: 0; pointer-events: none; }

.al-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .22rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .08em;
  font-weight: 600;
  color: var(--al-tone);
  border: 1px solid rgba(var(--al-accent-rgb), .35);
  background: rgba(var(--al-accent-rgb), .12);
  width: max-content;
}
.al-title-xl {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.al-lead {
  margin: 0;
  max-width: 36rem;
  font-size: .95rem;
  line-height: 1.75;
  color: rgba(255, 250, 252, .72);
}
.al-cta-row, .al-step-row, .al-feat-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}
.al-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  border-radius: 999px;
  padding: .72rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.al-btn svg { width: 1.05rem; height: 1.05rem; }
.al-btn-primary {
  color: #fff;
  background: var(--al-accent);
  box-shadow: 0 10px 28px rgba(var(--al-accent-rgb), .28);
}
.al-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(var(--al-accent-rgb), .38); }
.al-btn-ghost {
  color: #f6f3ff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
}
.al-btn-ghost:hover { background: rgba(255,255,255,.1); }

.al-step {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
}
.al-step b {
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .68rem;
  color: #fff;
  background: rgba(var(--al-accent-rgb), .85);
  font-weight: 700;
}
.al-step em { font-style: normal; opacity: .35; margin-left: .15rem; }

.al-card {
  position: relative;
  border-radius: 1.15rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(12, 12, 18, .55);
  overflow: hidden;
}
.al-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 8.5rem;
  color: rgba(255,255,255,.45);
  font-size: .88rem;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 1rem;
  background: rgba(255,255,255,.03);
  text-align: center;
  padding: 1.4rem;
}
.al-empty img { width: 5.5rem; height: auto; opacity: .85; }

.al-composer {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.15rem 1.2rem 1.25rem;
}
.al-composer textarea {
  width: 100%;
  resize: vertical;
  min-height: 4.6rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.28);
  color: inherit;
  border-radius: .85rem;
  padding: .8rem .95rem;
  font: inherit;
  line-height: 1.6;
  outline: none;
}
.al-composer textarea:focus { border-color: rgba(var(--al-accent-rgb), .55); box-shadow: 0 0 0 3px rgba(var(--al-accent-rgb), .15); }
.al-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.al-chip-mini {
  appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.82);
  border-radius: 999px;
  padding: .32rem .7rem;
  font: inherit;
  font-size: .8rem;
  cursor: pointer;
}
.al-chip-mini.is-on {
  border-color: rgba(var(--al-accent-rgb), .55);
  background: rgba(var(--al-accent-rgb), .18);
  color: #fff;
}

.al-abil {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.al-abil-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 10.5rem;
  border: 1px solid rgba(255,255,255,.08);
  padding: 1.05rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .35rem;
  background: #12111a;
}
.al-abil-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
}
.al-abil-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,14,.1), rgba(8,8,14,.88) 70%);
}
.al-abil-card h3, .al-abil-card p, .al-abil-card ul { position: relative; z-index: 1; margin: 0; }
.al-abil-card h3 { font-size: 1.02rem; font-weight: 700; }
.al-abil-card p { font-size: .82rem; line-height: 1.6; color: rgba(255,255,255,.7); }
.al-abil-card ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.al-abil-card li {
  font-size: .72rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

/* ---------- Music MV ---------- */
.al-mv { --al-accent: #FF5C8A; --al-accent-rgb: 255, 92, 138; --al-tone: #FF8FB0; background: #0A0910; }
.al-mv .al-page-bg {
  background:
    radial-gradient(40rem 22rem at 80% 8%, rgba(255,92,138,.16), transparent 60%),
    radial-gradient(32rem 22rem at 10% 90%, rgba(86,204,242,.1), transparent 60%);
}
.al-mv-hero {
  --px: 0; --py: 0;
  position: relative;
  height: clamp(22rem, 31vw, 28rem);
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: #0a0910;
  box-shadow: 0 28px 70px rgba(10,9,16,.34), 0 0 0 1px rgba(255,92,138,.06);
  isolation: isolate;
}
.al-mv-layer { position: absolute; inset: 0; pointer-events: none; }
.al-mv-bg { position: absolute; inset: 0; }
.al-mv-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% 62%;
  transform: scale(1.08) translate3d(calc(var(--px) * -8px), calc(var(--py) * -6px), 0);
  filter: saturate(1.08) contrast(1.05);
}
.al-mv-bloom { position: absolute; inset: 0; mix-blend-mode: screen; overflow: hidden; }
.al-mv-bloom span {
  position: absolute; width: 28rem; height: 28rem; border-radius: 50%;
  filter: blur(64px); opacity: .34;
}
.al-mv-bloom .is-pink {
  top: -10rem; right: 20%;
  background: radial-gradient(circle, rgba(255,92,138,.95), transparent 65%);
  animation: al-mv-drift 14s ease-in-out infinite alternate;
}
.al-mv-bloom .is-cyan {
  bottom: -13rem; right: -5rem;
  background: radial-gradient(circle, rgba(86,204,242,.95), transparent 65%);
  animation: al-mv-drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes al-mv-drift {
  from { transform: translate3d(-18px, 8px, 0); }
  to { transform: translate3d(22px, -12px, 0); }
}
.al-mv-vinyl {
  position: absolute; right: 6%; top: 50%;
  width: clamp(15rem, 25vw, 21rem);
  margin-top: calc(clamp(15rem, 25vw, 21rem) / -2);
  filter: drop-shadow(0 0 40px rgba(255,92,138,.28));
  transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 8px), 0);
}
.al-mv-vinyl img {
  width: 100%; height: auto; display: block;
  animation: al-mv-spin 22s linear infinite;
}
@keyframes al-mv-spin { to { transform: rotate(360deg); } }
.al-mv-card {
  position: absolute;
  width: clamp(5.6rem, 8.8vw, 8.2rem);
  aspect-ratio: 3 / 4;
  border-radius: .7rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 44px rgba(0,0,0,.42);
  transform: translate3d(calc(var(--px) * var(--dx, 14px)), calc(var(--py) * var(--dy, 10px)), 0);
}
.al-mv-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.al-mv-card b {
  position: absolute; left: .4rem; top: .35rem;
  font-size: .62rem; letter-spacing: .08em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.65);
}
.al-mv-card.is-1 { top: 15%; right: 39%; --dx: 18px; --dy: 12px; }
.al-mv-card.is-2 { top: 7%; right: 3%; width: clamp(5.4rem, 8.4vw, 7.8rem); --dx: -12px; --dy: 16px; }
.al-mv-card.is-3 { bottom: 9%; right: 5%; width: clamp(5rem, 7.6vw, 7rem); z-index: 3; --dx: -10px; --dy: -8px; }
.al-mv-cutout {
  position: absolute; right: 14%; bottom: -2%; height: 108%; z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
  transform: translate3d(calc(var(--px) * 6px), calc(var(--py) * 4px), 0);
  animation: al-mv-float 6s ease-in-out infinite;
}
.al-mv-cutout img { height: 100%; width: auto; display: block; }
@keyframes al-mv-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
.al-mv-eq {
  position: absolute; right: 0; bottom: 0; left: 0; z-index: 4;
  display: flex; align-items: flex-end; justify-content: space-between;
  height: 2.6rem; padding: 0 2.2rem; pointer-events: none; opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 100%);
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 100%);
}
.al-mv-eq i {
  width: 3px; height: var(--h, 40%);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #ff5c8a, rgba(86,204,242,.5));
  transform-origin: bottom;
  animation: al-mv-bar 1.1s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes al-mv-bar {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}
.al-mv-copy {
  position: relative; z-index: 5;
  display: flex; flex-direction: column; justify-content: center; gap: .85rem;
  height: 100%; max-width: 31rem; padding: 0 2.3rem;
  color: #fffafcf2;
}
.al-mv-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 650; line-height: 1.15;
  background: linear-gradient(100deg, #fff4f8 15%, #ff8fb0 52%, #8edcf7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.al-mv-tutorial {
  display: grid;
  grid-template-columns: 16.5rem 1fr;
  gap: 1.15rem;
  padding: 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(28,18,28,.88), rgba(14,12,18,.92));
}
.al-mv-poster { position: relative; border-radius: .9rem; overflow: hidden; min-height: 14rem; background: #16141f; }
.al-mv-poster img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 14rem; }
.al-mv-poster-tag {
  position: absolute; left: .7rem; top: .7rem;
  background: rgba(255,92,138,.92); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .2rem .5rem; border-radius: .4rem;
}
.al-mv-tutorial h2 { margin: 0 0 .45rem; font-size: 1.25rem; }
.al-mv-tutorial .al-lead { max-width: none; }
.al-mv-stats { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; margin: .85rem 0 1rem; }
.al-mv-stats strong { display: block; font-size: 1.25rem; color: #fff; }
.al-mv-stats span { font-size: .72rem; color: rgba(255,255,255,.55); }
.al-mv-thumbs { display: flex; gap: .45rem; margin-top: .9rem; }
.al-mv-thumbs img {
  width: 3.4rem; height: 4.5rem; object-fit: cover;
  border-radius: .45rem; border: 1px solid rgba(255,255,255,.12);
}
.al-mv-mascot {
  display: flex; align-items: flex-end; gap: .85rem;
  padding: .2rem .3rem 0;
  color: rgba(255,255,255,.72);
  font-size: .86rem; line-height: 1.6;
}
.al-mv-mascot img { width: 4.4rem; height: auto; }
.al-guide {
  display: none;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem 1.3rem;
  background: rgba(16,12,20,.92);
}
.al-guide.is-open { display: block; }
.al-guide h3 { margin: 0 0 .7rem; }
.al-guide ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.al-guide li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .65rem; }
.al-guide li b {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--al-accent-rgb), .85); color: #fff; font-size: .75rem;
}
.al-guide li strong { display: block; margin-bottom: .15rem; }
.al-guide li p { margin: 0; color: rgba(255,255,255,.68); font-size: .86rem; line-height: 1.65; }

/* ---------- Digital human ---------- */
.al-dh { --al-accent: #F5B042; --al-accent-rgb: 245, 176, 66; --al-tone: #FFD58A; background: #0b0a10; }
.al-dh .al-page-bg {
  background:
    radial-gradient(36rem 20rem at 78% 10%, rgba(245,176,66,.16), transparent 62%),
    radial-gradient(28rem 18rem at 8% 88%, rgba(182,166,255,.12), transparent 60%);
}
.al-dh-hero {
  --px: 0; --py: 0;
  position: relative;
  height: clamp(21rem, 30vw, 27rem);
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: #0b0a10;
  box-shadow: 0 24px 60px rgba(11,10,16,.28);
}
.al-dh-bg, .al-dh-cutout, .al-dh-card { position: absolute; }
.al-dh-bg { inset: 0; }
.al-dh-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); }
.al-dh-cutout { right: 10%; bottom: -4%; height: 112%; z-index: 2; filter: drop-shadow(0 18px 36px rgba(0,0,0,.5)); transform: translate3d(calc(var(--px)*8px), calc(var(--py)*6px), 0); }
.al-dh-cutout img { height: 100%; width: auto; display: block; }
.al-dh-card { width: clamp(5.2rem, 8vw, 7.2rem); aspect-ratio: 3/4; border-radius: .65rem; overflow: hidden; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 14px 32px rgba(0,0,0,.4); }
.al-dh-card img { width: 100%; height: 100%; object-fit: cover; }
.al-dh-card.is-1 { top: 14%; right: 38%; }
.al-dh-card.is-2 { top: 8%; right: 4%; }
.al-dh-card.is-3 { bottom: 10%; right: 6%; width: clamp(4.8rem, 7vw, 6.4rem); z-index: 3; }
.al-dh-copy { position: relative; z-index: 5; height: 100%; max-width: 30rem; padding: 0 2.2rem; display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.al-dh-copy h1 { margin: 0; font-size: clamp(2rem, 3.2vw, 2.7rem); background: linear-gradient(100deg, #fff8ec, #ffd58a 55%, #b6a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.al-dh-case { display: grid; grid-template-columns: 15rem 1fr; gap: 1rem; padding: 1rem; }
.al-dh-case img { width: 100%; border-radius: .8rem; object-fit: cover; min-height: 11rem; }
.al-dh-shots { display: flex; gap: .4rem; margin-top: .8rem; }
.al-dh-shots img { width: 3.6rem; height: 3.6rem; object-fit: cover; border-radius: .45rem; }

/* ---------- Story video ---------- */
.al-sv { --al-accent: #E8B15A; --al-accent-rgb: 232, 177, 90; --al-tone: #F3D19A; background: #100c09; }
.al-sv .al-page-bg {
  background:
    radial-gradient(34rem 18rem at 20% 0%, rgba(232,177,90,.14), transparent 60%),
    radial-gradient(30rem 20rem at 90% 80%, rgba(90,150,120,.1), transparent 62%);
}
.al-sv-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.4rem; align-items: center; }
.al-sv-art { position: relative; min-height: 22rem; }
.al-sv-poster { width: 58%; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 48px rgba(0,0,0,.4); }
.al-sv-poster img, .al-sv-shot img, .al-sv-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.al-sv-shot { position: absolute; width: 28%; aspect-ratio: 3/4; border-radius: .7rem; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 12px 28px rgba(0,0,0,.4); }
.al-sv-shot.is-a { right: 2%; top: 8%; }
.al-sv-shot.is-b { right: 8%; bottom: 6%; }
.al-sv-faces { display: flex; gap: .5rem; margin-top: .8rem; }
.al-sv-face { width: 3.2rem; height: 3.2rem; border-radius: 50%; overflow: hidden; border: 2px solid rgba(232,177,90,.5); }

/* ---------- Viral remake ---------- */
.al-vr { --al-accent: #FF6B2C; --al-accent-rgb: 255, 107, 44; --al-tone: #FF9B6B; background: #0B0A0C; }
.al-vr .al-page-bg {
  background:
    radial-gradient(36rem 20rem at 82% 8%, rgba(255,107,44,.16), transparent 62%),
    radial-gradient(28rem 16rem at 10% 90%, rgba(255,201,60,.08), transparent 60%);
}
.al-vr-hero { --px:0; --py:0; position: relative; height: clamp(21rem, 30vw, 26.5rem); border-radius: 1.3rem; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #141215; }
.al-vr-bg { position: absolute; inset: 0; }
.al-vr-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.al-vr-pair { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); display: flex; gap: .7rem; }
.al-vr-ka { width: clamp(7.2rem, 12vw, 10.5rem); aspect-ratio: 9/16; border-radius: .8rem; overflow: hidden; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.al-vr-ka img { width: 100%; height: 100%; object-fit: cover; }
.al-vr-ka span { position: absolute; left: .45rem; bottom: .45rem; font-size: .7rem; background: rgba(0,0,0,.55); padding: .15rem .4rem; border-radius: .35rem; }
.al-vr-ka { position: relative; }
.al-vr-copy { position: relative; z-index: 3; height: 100%; max-width: 30rem; padding: 0 2.1rem; display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.al-vr-copy h1 { margin: 0; font-size: clamp(2rem, 3.2vw, 2.7rem); background: linear-gradient(100deg, #fff4ee, #ff9b6b 50%, #ffc93c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.al-vr-case { display: grid; grid-template-columns: 16rem 1fr; gap: 1rem; padding: 1rem; }
.al-vr-compare { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.al-vr-compare img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: .5rem; }

/* ---------- Manju ---------- */
.al-mj { --al-accent: #8B5CF6; --al-accent-rgb: 139, 92, 246; --al-tone: #C4B5FD; background: #0a0812; }
.al-mj .al-page-bg {
  background:
    radial-gradient(32rem 20rem at 50% -4%, rgba(139,92,246,.18), transparent 60%),
    radial-gradient(24rem 16rem at 90% 80%, rgba(236,72,153,.1), transparent 62%);
}
.al-mj-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: center; padding: 1.2rem 0 0; }
.al-mj-panels { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 1fr 1fr; gap: .65rem; min-height: 20rem; }
.al-mj-panel {
  border-radius: .9rem;
  border: 2px solid rgba(196,181,253,.28);
  background:
    linear-gradient(160deg, rgba(139,92,246,.28), rgba(15,10,24,.4)),
    repeating-linear-gradient(-12deg, transparent, transparent 18px, rgba(255,255,255,.03) 18px, rgba(255,255,255,.03) 19px);
  box-shadow: 8px 8px 0 rgba(139,92,246,.18);
  display: flex; align-items: flex-end; padding: .85rem;
  font-weight: 700; letter-spacing: .04em;
}
.al-mj-panel:nth-child(1) { grid-row: 1 / 3; background-image: linear-gradient(160deg, rgba(236,72,153,.28), rgba(15,10,24,.55)); }
.al-mj-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.al-mj-feat { padding: 1rem; border-radius: .9rem; border: 1px solid rgba(139,92,246,.22); background: rgba(139,92,246,.08); }
.al-mj-feat h3 { margin: 0 0 .35rem; font-size: .95rem; }
.al-mj-feat p { margin: 0; font-size: .8rem; line-height: 1.55; color: rgba(255,255,255,.65); }

/* ---------- Canvas ---------- */
.al-cv { --al-accent: #06B6D4; --al-accent-rgb: 6, 182, 212; --al-tone: #67E8F9; background: #070b10; }
.al-cv .al-page-bg {
  background:
    radial-gradient(30rem 18rem at 20% 0%, rgba(6,182,212,.14), transparent 60%),
    radial-gradient(30rem 18rem at 90% 90%, rgba(139,92,246,.14), transparent 62%);
}
.al-cv-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.6rem; align-items: center; }
.al-cv-board {
  position: relative; min-height: 20rem; border-radius: 1.2rem;
  border: 1px solid rgba(6,182,212,.2);
  background:
    radial-gradient(circle at 30% 40%, rgba(6,182,212,.12), transparent 42%),
    linear-gradient(180deg, #0b1220, #0a0f18);
  overflow: hidden;
}
.al-cv-board::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);
}
.al-cv-node {
  position: absolute; width: 7.2rem; padding: .7rem .8rem;
  border-radius: .8rem; border: 1px solid rgba(6,182,212,.35);
  background: rgba(8,16,24,.86); font-size: .78rem; font-weight: 650;
  box-shadow: 0 10px 24px rgba(6,182,212,.12);
}
.al-cv-node.is-v { border-color: rgba(139,92,246,.45); }
.al-cv-line { position: absolute; height: 2px; background: linear-gradient(90deg, rgba(6,182,212,.8), rgba(139,92,246,.8)); }
.al-cv-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.al-cv-pill { padding: .3rem .7rem; border-radius: 999px; font-size: .78rem; border: 1px solid rgba(6,182,212,.3); color: #a5f3fc; }
.al-cv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.al-cv-card { padding: 1.05rem; border-radius: 1rem; border: 1px solid rgba(6,182,212,.16); background: rgba(6,182,212,.06); }
.al-cv-card h3 { margin: 0 0 .35rem; }
.al-cv-card p { margin: 0; color: rgba(255,255,255,.65); font-size: .84rem; line-height: 1.6; }

/* ---------- Ecom video ---------- */
.al-ev { --al-accent: #EC4899; --al-accent-rgb: 236, 72, 153; --al-tone: #F9A8D4; background: #08060c; }
.al-ev .al-page-bg {
  background:
    radial-gradient(30rem 18rem at 50% 0%, rgba(236,72,153,.16), transparent 62%),
    linear-gradient(180deg, #08060c, #0c0f16);
}
.al-ev-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .85rem; padding: 1.8rem 0 1rem; }
.al-ev-hero .al-lead { max-width: 38rem; }
.al-ev-hero .al-title-xl {
  background: linear-gradient(100deg, #fff, #f9a8d4 45%, #c4b5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.al-ev-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.al-ev-step { padding: 1rem; border-radius: .9rem; border: 1px solid rgba(236,72,153,.2); background: rgba(236,72,153,.07); text-align: left; }
.al-ev-step b { display: block; color: #f9a8d4; font-size: .72rem; margin-bottom: .35rem; }
.al-ev-step h3 { margin: 0 0 .3rem; font-size: .95rem; }
.al-ev-step p { margin: 0; font-size: .8rem; color: rgba(255,255,255,.65); line-height: 1.5; }

/* ---------- Multiframe ---------- */
.al-mf { --al-accent: #38BDF8; --al-accent-rgb: 56, 189, 248; --al-tone: #7DD3FC; background: #070b12; }
.al-mf .al-page-bg { background: radial-gradient(32rem 18rem at 70% 0%, rgba(56,189,248,.14), transparent 62%); }
.al-mf-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.4rem; align-items: center; }
.al-mf-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; transform: perspective(900px) rotateX(8deg); }
.al-mf-cell { aspect-ratio: 3/4; border-radius: .45rem; border: 2px solid #1f2937; background: linear-gradient(160deg, rgba(56,189,248,.25), rgba(15,23,42,.8)); position: relative; }
.al-mf-cell::before, .al-mf-cell::after { content: ""; position: absolute; left: 50%; width: 1.1rem; height: .28rem; background: #0f172a; border-radius: 2px; transform: translateX(-50%); }
.al-mf-cell::before { top: -.18rem; }
.al-mf-cell::after { bottom: -.18rem; }
.al-mf-cell:nth-child(odd) { background: linear-gradient(160deg, rgba(125,211,252,.2), rgba(15,23,42,.85)); }

/* ---------- Shengtu / design studio poster wall ---------- */
.al-st { --al-accent: #F472B6; --al-accent-rgb: 244, 114, 182; --al-tone: #F9A8D4; background: #0a0a10; }
.al-st .al-page-bg { background: radial-gradient(36rem 18rem at 50% 0%, rgba(var(--al-accent-rgb), .16), transparent 64%); }
.al-st-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.6rem 0 .4rem; }
.al-st-hero .al-lead { max-width: 40rem; }
.al-st-hero .al-title-xl {
  background: linear-gradient(100deg, #fff, rgb(var(--al-tone-rgb, 249,168,212)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.al-st-wall { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 9.5rem 9.5rem; gap: .7rem; }
.al-st-poster {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.1);
  padding: 1rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .25rem;
  background:
    linear-gradient(180deg, transparent 20%, rgba(0,0,0,.55)),
    linear-gradient(145deg, rgba(var(--al-accent-rgb), .32), rgba(20,16,28,.9) 60%);
  min-height: 9.5rem;
}
.al-st-poster:first-child { grid-row: 1 / 3; }
.al-st-poster strong { font-size: 1.02rem; }
.al-st-poster span { font-size: .8rem; color: rgba(255,255,255,.7); }

/* ---------- PPT ---------- */
.al-ppt { --al-accent: #34D399; --al-accent-rgb: 52, 211, 153; --al-tone: #6EE7B7; background: #06080c; }
.al-ppt .al-page-bg {
  background:
    radial-gradient(28rem 16rem at 15% 0%, rgba(52,211,153,.14), transparent 62%),
    radial-gradient(24rem 16rem at 90% 80%, rgba(236,72,153,.08), transparent 62%);
}
.al-ppt-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.5rem; align-items: center; }
.al-ppt-deck { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; min-height: 16rem; }
.al-ppt-slide {
  border-radius: .7rem;
  border: 1px solid rgba(52,211,153,.2);
  background: linear-gradient(180deg, #10161c, #0c1218);
  padding: .85rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.al-ppt-slide b { display: block; height: .45rem; width: 40%; background: rgba(52,211,153,.7); border-radius: 2px; margin-bottom: .55rem; }
.al-ppt-slide i { display: block; height: .32rem; width: 86%; background: rgba(255,255,255,.12); border-radius: 2px; margin: .28rem 0; }
.al-ppt-slide i:nth-child(3) { width: 64%; }
.al-ppt-tags { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: .4rem; }
.al-ppt-tag { padding: .7rem .8rem; border-radius: .8rem; border: 1px solid rgba(52,211,153,.2); background: rgba(52,211,153,.07); font-size: .82rem; }

/* ---------- Report ---------- */
.al-rp { --al-accent: #FBBF24; --al-accent-rgb: 251, 191, 36; --al-tone: #FDE68A; background: #07090f; }
.al-rp .al-page-bg {
  background:
    radial-gradient(34rem 18rem at 80% 10%, rgba(56,189,248,.12), transparent 62%),
    radial-gradient(24rem 16rem at 10% 0%, rgba(251,191,36,.1), transparent 62%);
}
.al-rp-hero { --px:0; --py:0; position: relative; min-height: 22rem; border-radius: 1.25rem; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.al-rp-bg, .al-rp-fg { position: absolute; inset: 0; }
.al-rp-bg img, .al-rp-fg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.al-rp-fg img { object-fit: contain; object-position: 88% 70%; filter: drop-shadow(0 16px 36px rgba(0,0,0,.4)); }
.al-rp-copy { position: relative; z-index: 3; max-width: 32rem; padding: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.al-rp-copy h1 { margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.al-rp-copy h1 em { font-style: normal; color: #fde68a; }
.al-rp-types { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55rem; }
.al-rp-type { text-align: center; }
.al-rp-type img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .6rem; border: 1px solid rgba(255,255,255,.1); }
.al-rp-type span { display: block; margin-top: .35rem; font-size: .75rem; color: rgba(255,255,255,.7); }

/* ---------- Product page ---------- */
.al-pp { --al-accent: #2DD4BF; --al-accent-rgb: 45, 212, 191; --al-tone: #99F6E4; background: #07100e; }
.al-pp .al-page-bg { background: radial-gradient(32rem 18rem at 70% 0%, rgba(45,212,191,.14), transparent 62%); }
.al-pp-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem; align-items: center; }
.al-pp-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.al-pp-mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .7rem; border: 1px solid rgba(255,255,255,.1); background: #fff; }
.al-pp-mosaic img:first-child, .al-pp-mosaic img:nth-child(6) { grid-column: span 2; aspect-ratio: 4/3; }

/* ---------- Chat / developer ---------- */
.al-chat { --al-accent: #60A5FA; --al-accent-rgb: 96, 165, 250; --al-tone: #93C5FD; background: #080a0f; }
.al-chat .al-page-bg { background: radial-gradient(28rem 16rem at 20% 0%, rgba(96,165,250,.1), transparent 62%); }
.al-chat-hero { max-width: 40rem; padding: 2.2rem 0 1rem; display: flex; flex-direction: column; gap: .8rem; }
.al-chat-hero h1 { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 650; }
.al-chat-term {
  border: 1px solid rgba(96,165,250,.2);
  border-radius: .9rem;
  background: #0b1220;
  padding: 1rem 1.1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
  color: #93c5fd;
  line-height: 1.7;
}
.al-chat-term span { color: #34d399; }
.al-chat-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.al-chat-item { padding: .9rem 1rem; border-radius: .85rem; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.al-chat-item h3 { margin: 0 0 .3rem; font-size: .92rem; }
.al-chat-item p { margin: 0; font-size: .8rem; color: rgba(255,255,255,.6); }

/* ---------- Type fallbacks ---------- */
.al-fb { padding-top: .6rem; }
.al-fb-doc { --al-accent: #F59E0B; --al-accent-rgb: 245, 158, 11; --al-tone: #FCD34D; background: #0c0a07; }
.al-fb-video { --al-accent: #A78BFA; --al-accent-rgb: 167, 139, 250; --al-tone: #DDD6FE; background: #0b0812; }
.al-fb-image { --al-accent: #FB7185; --al-accent-rgb: 251, 113, 133; --al-tone: #FECDD3; background: #10080c; }
.al-fb-audio { --al-accent: #34D399; --al-accent-rgb: 52, 211, 153; --al-tone: #A7F3D0; background: #07110c; }
.al-fb-tool { --al-accent: #38BDF8; --al-accent-rgb: 56, 189, 248; --al-tone: #BAE6FD; background: #070b10; }
.al-fb-chat { --al-accent: #818CF8; --al-accent-rgb: 129, 140, 248; --al-tone: #C7D2FE; background: #080910; }
.al-fb-hero { display: flex; flex-direction: column; gap: .75rem; max-width: 38rem; padding: 1.8rem 0 1rem; }
.al-fb-marks { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.al-fb-mark { min-height: 7.5rem; border-radius: 1rem; border: 1px solid rgba(var(--al-accent-rgb), .22); background: linear-gradient(160deg, rgba(var(--al-accent-rgb), .18), rgba(255,255,255,.03)); padding: .9rem; display: flex; align-items: flex-end; font-weight: 650; }

@media (max-width: 860px) {
  .al-mv-hero, .al-dh-hero, .al-vr-hero { height: auto; min-height: 24rem; }
  .al-mv-card, .al-mv-vinyl, .al-mv-eq, .al-dh-card, .al-vr-pair { display: none; }
  .al-mv-cutout { right: -10%; height: 86%; opacity: .55; }
  .al-dh-cutout { right: -8%; height: 90%; opacity: .6; }
  .al-mv-copy, .al-dh-copy, .al-vr-copy, .al-rp-copy { padding: 1.4rem 1.1rem 2rem; max-width: 100%; }
  .al-mv-tutorial, .al-dh-case, .al-vr-case, .al-sv-hero, .al-mj-hero, .al-cv-hero, .al-mf-hero, .al-ppt-hero, .al-pp-hero, .al-desk-split {
    grid-template-columns: 1fr;
  }
  .al-abil, .al-mj-feats, .al-cv-grid, .al-ev-steps, .al-rp-types, .al-chat-list { grid-template-columns: 1fr 1fr; }
  .al-st-wall { grid-template-columns: 1fr 1fr; }
  .al-st-poster:first-child { grid-row: auto; }
  .al-mf-strip { grid-template-columns: repeat(4, 1fr); }
  .al-mf-strip .al-mf-cell:last-child { display: none; }
}
@media (max-width: 560px) {
  .al-abil, .al-mj-feats, .al-cv-grid, .al-ev-steps, .al-rp-types, .al-chat-list, .al-st-wall, .al-fb-marks { grid-template-columns: 1fr; }
  .al-page-inner { width: calc(100% - 1.4rem); }
}


/* In-place generation result on the landing (do not navigate to the form page) */
.al-result {
  padding: 1rem 1.15rem;
}
.al-result .demo-result {
  margin-top: 0;
  border-color: rgba(var(--al-accent-rgb), .28);
  background: rgba(var(--al-accent-rgb), .08);
}
.al-empty[hidden] { display: none !important; }


/* 爆款复刻 · 新建弹窗（原页面弹出，不跳转表单页） */
.al-bk-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(4px);
}
.al-bk-overlay[hidden] { display: none !important; }
.al-bk-modal {
  width: min(46rem, 100%);
  max-height: min(52rem, calc(100vh - 2.4rem));
  display: flex;
  flex-direction: column;
  background: #1a1b1f;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.15rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.55);
  color: #eceef2;
  overflow: hidden;
}
.al-bk-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem 0.7rem;
  flex: none;
}
.al-bk-head h2 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.al-bk-head p { margin: .28rem 0 0; font-size: .8rem; color: rgba(255,255,255,.5); }
.al-bk-close {
  width: 2rem; height: 2rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: rgba(255,255,255,.55);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.al-bk-close:hover { color: #fff; background: rgba(255,255,255,.06); }
.al-bk-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: .4rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.al-bk-step { display: flex; gap: .75rem; align-items: flex-start; }
.al-bk-num {
  flex: none;
  width: 1.35rem; height: 1.35rem;
  margin-top: .1rem;
  border-radius: 999px;
  background: #ff7a2e;
  color: #1a0d06;
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.al-bk-step-main { flex: 1; min-width: 0; }
.al-bk-step-main h3 { margin: 0 0 .45rem; font-size: .92rem; font-weight: 650; }
.al-bk-step-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.al-bk-step-head h3 { margin-bottom: .45rem; }
.al-bk-count { font-size: .72rem; color: rgba(255,255,255,.4); }
.al-bk-help { margin: .2rem 0 .55rem; font-size: .75rem; line-height: 1.65; color: rgba(255,255,255,.45); }
.al-bk-drop {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 8.2rem;
  padding: 1.2rem .8rem;
  border: 1px solid rgba(255,122,46,.18);
  border-radius: .9rem;
  background: linear-gradient(180deg, rgba(255,122,46,.07), rgba(255,255,255,.02));
  color: #ff8a45;
  cursor: pointer;
  text-align: center;
}
.al-bk-drop:hover, .al-bk-drop.is-over { border-color: rgba(255,122,46,.45); background: rgba(255,122,46,.12); }
.al-bk-drop.has-file { color: #f3f4f6; }
.al-bk-drop-title { font-weight: 650; font-size: .92rem; }
.al-bk-drop-sub { font-size: .75rem; color: rgba(255,255,255,.45); }
.al-bk-drop-ico { color: #ff7a2e; }
#al-bk-yaoqiu, .al-bk-replace input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  background: #121318;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .7rem;
  padding: .7rem .8rem;
  color: #fff;
  font: inherit;
  resize: vertical;
}
#al-bk-yaoqiu { min-height: 5.2rem; }
#al-bk-yaoqiu:focus, .al-bk-replace input[type="text"]:focus {
  outline: none;
  border-color: rgba(255,122,46,.55);
  box-shadow: 0 0 0 3px rgba(255,122,46,.12);
}
.al-bk-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.al-bk-chip {
  padding: .28rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
  font-size: .75rem;
  cursor: pointer;
}
.al-bk-chip.is-on, .al-bk-chip:hover { border-color: rgba(255,122,46,.5); color: #ffd2b3; background: rgba(255,122,46,.12); }
.al-bk-add {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .8rem;
  border-radius: .65rem;
  border: 1px dashed rgba(255,255,255,.16);
  background: transparent;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  cursor: pointer;
}
.al-bk-add:hover { border-color: rgba(255,122,46,.45); color: #ffd2b3; }
.al-bk-add:disabled { opacity: .4; cursor: default; }
.al-bk-replaces { display: flex; flex-direction: column; gap: .55rem; margin-bottom: .55rem; }
.al-bk-replace {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto auto;
  gap: .45rem;
  align-items: end;
  padding: .7rem;
  border-radius: .75rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.al-bk-replace label { display: flex; flex-direction: column; gap: .25rem; font-size: .72rem; color: rgba(255,255,255,.5); }
.al-bk-filebtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem .65rem;
  border-radius: .5rem;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.75);
  font-size: .75rem;
  cursor: pointer;
  white-space: nowrap;
}
.al-bk-refname, .al-bk-audio-name { font-size: .72rem; color: rgba(255,255,255,.5); max-width: 8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-bk-del {
  width: 1.8rem; height: 1.8rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: rgba(255,255,255,.4); cursor: pointer;
}
.al-bk-audio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
}
.al-bk-acard {
  text-align: left;
  padding: .75rem .7rem .8rem;
  border-radius: .8rem;
  border: 1px solid rgba(255,255,255,.08);
  background: #141518;
  color: rgba(255,255,255,.78);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-height: 7.2rem;
}
.al-bk-acard strong { font-size: .84rem; color: #fff; }
.al-bk-acard span { font-size: .7rem; line-height: 1.5; color: rgba(255,255,255,.48); }
.al-bk-acard-ico { color: rgba(255,255,255,.55); margin-bottom: .15rem; }
.al-bk-acard.is-on {
  border-color: #ff7a2e;
  background: rgba(255,122,46,.08);
}
.al-bk-acard.is-on .al-bk-acard-ico, .al-bk-acard.is-on strong { color: #ff8a45; }
.al-bk-audio-extra { display: flex; align-items: center; gap: .6rem; margin-top: .65rem; }
.al-bk-audio-extra[hidden] { display: none !important; }
.al-bk-ratios { display: flex; flex-wrap: wrap; gap: .45rem; }
.al-bk-ratio {
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  cursor: pointer;
}
.al-bk-ratio.is-on {
  border-color: #ff7a2e;
  background: rgba(255,122,46,.14);
  color: #ffd2b3;
  font-weight: 650;
}
.al-bk-subrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.al-bk-switch {
  flex: none;
  width: 2.5rem; height: 1.35rem;
  border-radius: 999px;
  border: 0;
  background: #3a3b40;
  position: relative;
  cursor: pointer;
  margin-top: .15rem;
}
.al-bk-switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: #d5d6da;
  transition: transform .18s ease, background .18s ease;
}
.al-bk-switch.is-on { background: #ff7a2e; }
.al-bk-switch.is-on::after { transform: translateX(1.1rem); background: #fff; }
.al-bk-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.25rem 1.05rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #17181c;
}
.al-bk-hint { font-size: .8rem; color: #ff8a45; min-height: 1.2em; }
.al-bk-actions { display: flex; gap: .55rem; }
.al-bk-actions .al-btn-primary {
  background: #ff7a2e;
  color: #1a0d06;
  box-shadow: 0 8px 20px rgba(255,122,46,.25);
}
.al-bk-actions .al-btn-primary:hover { filter: brightness(1.05); }
@media (max-width: 720px) {
  .al-bk-audio { grid-template-columns: 1fr 1fr; }
  .al-bk-replace { grid-template-columns: 1fr; }
  .al-bk-foot { flex-direction: column; align-items: stretch; }
  .al-bk-actions { justify-content: flex-end; }
}


/* Official-style start controls: radio chips, attach dock, send, 玩法说明 */
.al-chip {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
}
.al-radio {
  width: .78rem;
  height: .78rem;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(220, 226, 234, .45);
  background: transparent;
  box-sizing: border-box;
  position: relative;
}
.al-chip.is-on .al-radio {
  border-color: rgb(var(--al-accent-rgb, 245, 158, 11));
  background: rgb(var(--al-accent-rgb, 245, 158, 11));
  box-shadow: 0 0 0 2px rgba(var(--al-accent-rgb, 245, 158, 11), .18);
}
.al-chip.is-on .al-radio:after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

.al-custom {
  min-width: 11rem;
  flex: 1 1 11rem;
  height: 36px;
  padding: 0 .8rem;
  border-radius: 100px;
  border: 1px dashed rgba(255,255,255,.14);
  background: rgba(8, 10, 16, .35);
  color: #e8eef5;
  font: inherit;
  font-size: .75rem;
  outline: none;
}
.al-custom:focus {
  border-style: solid;
  border-color: rgba(var(--al-accent-rgb, 245, 158, 11), .55);
}

.al-dock {
  display: flex;
  align-items: flex-end;
  gap: .55rem;
  margin-top: .15rem;
  padding: .65rem .7rem .65rem .85rem;
  border-radius: 1.15rem;
  background: rgba(8, 10, 16, .72);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.al-attach {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  height: 36px;
  padding: 0 .7rem 0 .5rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: rgba(230, 236, 244, .9);
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.al-attach svg { width: 15px; height: 15px; }
.al-attach:hover {
  border-color: rgba(var(--al-accent-rgb, 245, 158, 11), .45);
  background: rgba(var(--al-accent-rgb, 245, 158, 11), .1);
  color: #fff;
}
.al-dock-input,
.al-composer .al-dock-input,
textarea.al-dock-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px !important;
  height: 42px;
  resize: none;
  margin: 0;
  padding: .55rem .2rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #e8eef5;
  font: inherit;
  font-size: .85rem;
  line-height: 1.5;
  outline: none;
}
.al-dock-input::placeholder { color: rgba(150, 160, 172, .5); }
.al-gear, .al-send {
  flex: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}
.al-gear {
  border-radius: 12px;
  background: transparent;
  color: rgba(200, 210, 222, .75);
}
.al-gear:hover, .al-gear.is-on { color: #fff; background: rgba(255,255,255,.06); }
.al-gear svg { width: 18px; height: 18px; }
.al-send {
  border-radius: 12px;
  background: linear-gradient(150deg, rgb(var(--al-tone-rgb, 251, 191, 36)), rgb(var(--al-accent-rgb, 245, 158, 11)));
  color: var(--al-on-accent, #1a1204);
  box-shadow: 0 8px 18px rgba(var(--al-accent-rgb, 245, 158, 11), .32);
}
.al-send svg { width: 18px; height: 18px; }
.al-send:hover { filter: brightness(1.08); }
.al-send:disabled { opacity: .55; cursor: default; filter: none; }

.al-files {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .15rem .15rem 0;
}
.al-files[hidden] { display: none !important; }
.al-file {
  font-size: .72rem;
  color: rgba(230, 236, 244, .85);
  background: rgba(var(--al-accent-rgb, 245, 158, 11), .1);
  border: 1px solid rgba(var(--al-accent-rgb, 245, 158, 11), .25);
  border-radius: 100px;
  padding: .18rem .65rem;
}

.al-settings {
  margin-top: .35rem;
  padding: .85rem 1rem;
  border-radius: .9rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(8, 10, 16, .45);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.al-settings[hidden] { display: none !important; }
.al-settings-title { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.88); }
.al-set-row { display: flex; flex-direction: column; gap: .3rem; font-size: .75rem; color: rgba(220,226,234,.8); }
.al-set-row .al-custom { width: 100%; border-radius: .7rem; }
.al-set-tip { margin: 0; font-size: .72rem; line-height: 1.55; color: rgba(150,160,172,.75); }

.al-helpbar {
  width: min(58rem, 100%);
  margin: .85rem auto 1.4rem;
  display: flex;
  justify-content: flex-start;
}
.al-composer + .al-helpbar { width: 100%; margin: .7rem 0 1.2rem; }
.al-howto {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 34px;
  padding: 0 .9rem;
  border-radius: 100px;
  border: 1px solid rgba(56, 189, 248, .45);
  background: rgba(14, 165, 233, .08);
  color: #7dd3fc;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
}
.al-howto svg { width: 15px; height: 15px; }
.al-howto:hover { background: rgba(14, 165, 233, .16); color: #fff; border-color: #7dd3fc; }

.al-howto-pop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 8, 14, .62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.al-howto-pop[hidden] { display: none !important; }
.al-howto-card {
  position: relative;
  width: min(36rem, 100%);
  max-height: min(80vh, 40rem);
  overflow: auto;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 1.2rem;
  background: linear-gradient(165deg, #1a1e2ad9, #0d1018f0);
  border: 1px solid rgba(125, 211, 252, .22);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.6);
  color: #e8eef5;
}
.al-howto-kicker { font-size: .72rem; letter-spacing: .08em; color: #7dd3fc; font-weight: 700; margin-bottom: .35rem; }
.al-howto-card h3 { margin: 0 0 .45rem; font-size: 1.15rem; }
.al-howto-sub { margin: 0 0 .8rem; color: rgba(200,210,222,.75); font-size: .88rem; line-height: 1.55; }
.al-howto-card ul { margin: 0; padding: 0 0 0 1.1rem; display: flex; flex-direction: column; gap: .45rem; }
.al-howto-card li { font-size: .86rem; line-height: 1.6; color: rgba(230,236,244,.9); }
.al-howto-note { margin: 1rem 0 0; font-size: .75rem; line-height: 1.55; color: rgba(150,160,172,.8); }
.al-howto-close {
  position: absolute;
  top: .8rem; right: .8rem;
  height: 30px;
  padding: 0 .7rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: rgba(220,226,234,.85);
  font: inherit;
  font-size: .75rem;
  cursor: pointer;
}

.al-composer.al-start { padding: 0; gap: 0; overflow: visible; }
.al-composer.al-start .al-fields { padding: 1rem 1.15rem 1.05rem; }

@media (max-width: 720px) {
  .al-dock { flex-wrap: wrap; }
  .al-attach { order: 1; }
  .al-dock-input { order: 0; flex-basis: 100%; height: auto; min-height: 64px !important; }
  .al-gear, .al-send { order: 1; margin-left: auto; }
  .al-row { flex-direction: column; gap: .4rem; }
  .al-row-label { width: auto; padding-top: 0; }
}


/* ===== SYPOWER agent studios (manju / long-video / exam / style / ecom-one) ===== */
.syen { color: #e8eef8; min-height: 100%; }
.syen-mj { --al-accent: #8B5CF6; --al-accent-rgb: 139, 92, 246; --al-tone: #C4B5FD; background: #0a0812; }
.syen-shell { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100%; }
.syen-rail {
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(8, 8, 16, .72);
  min-height: 100%;
}
.syen-rail-top { padding: .85rem .8rem .5rem; }
.syen-new-mini {
  width: 100%; border: 1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.04); color: #e8eef8;
  border-radius: 999px; padding: .45rem .8rem; cursor: pointer; font-size: .85rem;
}
.syen-new-mini:hover { border-color: rgba(139,92,246,.6); background: rgba(139,92,246,.12); }
.syen-rail-body { flex: 1; padding: .4rem .7rem 1rem; overflow: auto; }
.syen-empty-rail { text-align: center; color: rgba(255,255,255,.5); padding: 2.2rem .6rem; font-size: .84rem; }
.syen-folder {
  width: 2.4rem; height: 1.8rem; margin: 0 auto .7rem; border-radius: .3rem .3rem .25rem .25rem;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  position: relative;
}
.syen-folder:before {
  content: ""; position: absolute; left: 0; top: -.28rem; width: 1rem; height: .4rem;
  border-radius: .2rem .2rem 0 0; background: rgba(255,255,255,.18);
}
.syen-plist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.syen-pitem {
  display: flex; gap: .55rem; align-items: center; width: 100%; text-align: left;
  border: 1px solid transparent; background: transparent; color: inherit;
  border-radius: .7rem; padding: .35rem; cursor: pointer;
}
.syen-pitem img, .syen-pph { width: 2.2rem; height: 2.2rem; border-radius: .45rem; object-fit: cover; background: rgba(139,92,246,.2); flex: none; }
.syen-pitem b { display: block; font-size: .82rem; }
.syen-pitem i { font-style: normal; font-size: .7rem; color: rgba(255,255,255,.5); }
.syen-pitem.is-on, .syen-pitem:hover { background: rgba(139,92,246,.14); border-color: rgba(139,92,246,.3); }
.syen-rail-foot { padding: .7rem .8rem 1rem; }
.syen-engine-btn {
  width: 100%; border: 0; border-radius: 999px; cursor: pointer;
  padding: .55rem .9rem; color: #3b2a78; font-weight: 700;
  background: linear-gradient(180deg, #ddd6fe, #c4b5fd);
}
.syen-main { min-width: 0; padding: 1rem 1.2rem 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.syen-top { display: flex; justify-content: flex-start; }
.syen-btn-orange {
  border: 0; cursor: pointer; color: #fff; font-weight: 700; border-radius: 999px;
  padding: .45rem 1rem; background: linear-gradient(180deg, #fb923c, #f97316); box-shadow: 0 6px 16px rgba(249,115,22,.28);
}
.syen-btn-green {
  border: 0; cursor: pointer; color: #fff; font-weight: 700; border-radius: 999px; white-space: nowrap;
  padding: .7rem 1.15rem; background: linear-gradient(180deg, #34d399, #10b981); box-shadow: 0 8px 20px rgba(16,185,129,.28);
}
.syen-hero { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 0 .4rem; text-align: left; }
.syen-hero-copy { max-width: 28rem; }
.syen-hero-copy h1 { margin: .25rem 0 .35rem; font-size: clamp(1.6rem, 3vw, 2.15rem); letter-spacing: .02em; }
.syen-hero-copy p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.65; }
.syen-logo { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; flex: none; filter: drop-shadow(0 8px 18px rgba(124,92,255,.35)); }
.syen-stage { display: flex; justify-content: center; padding: .4rem 0; }
.syen-modcard {
  width: min(28rem, 100%); border-radius: 1.1rem; padding: 1.15rem 1.25rem 1.3rem;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.syen-modcard b { color: #c4b5fd; font-size: .78rem; letter-spacing: .08em; }
.syen-modcard h3 { margin: .15rem 0 .4rem; font-size: 1.15rem; }
.syen-modcard p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.65; font-size: .9rem; }
.syen-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.syen-pill {
  display: inline-flex; align-items: center; gap: .35rem; cursor: pointer;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
  color: inherit; border-radius: .85rem; padding: .45rem .7rem; font-size: .8rem;
}
.syen-pill em { font-style: normal; color: #a78bfa; font-size: .68rem; }
.syen-pill.is-on { background: rgba(139,92,246,.22); border-color: rgba(167,139,250,.55); }
.syen-s2-entry {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.1rem; border-radius: 1rem; border: 1px solid rgba(139,92,246,.25);
  background: rgba(139,92,246,.08);
}
.syen-s2-entry h2 { margin: .2rem 0 .3rem; }
.syen-s2-entry p { margin: 0; color: rgba(255,255,255,.68); font-size: .86rem; line-height: 1.6; max-width: 38rem; }
.syen-keep { margin-top: .4rem; }
.syen-mode-tabs { display: flex; gap: .4rem; margin: .2rem 0 .6rem; }
.syen-chips button, .syen-mode-tabs button, .syen-style-picks button {
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: inherit;
  border-radius: 999px; padding: .35rem .75rem; cursor: pointer; font-size: .8rem;
}
.syen-chips button.is-on, .syen-mode-tabs button.is-on, .syen-style-picks button.is-on {
  background: rgba(139,92,246,.24); border-color: rgba(167,139,250,.6);
}
.syen-note { margin: .5rem 0 0; font-size: .78rem; line-height: 1.65; color: rgba(255,255,255,.55); }
.syen-cta-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.syen-progress { min-height: 1.4em; font-size: .84rem; color: #7dd3fc; }
.syen-result { display: flex; flex-direction: column; gap: .8rem; }
.syen-result-card {
  border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.25);
  border-radius: .9rem; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .65rem;
}
.syen-result-kicker { font-size: .72rem; letter-spacing: .06em; color: #c4b5fd; font-weight: 700; }
.syen-stream { margin: 0; white-space: pre-wrap; font: inherit; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.88); }
.syen-media { width: 100%; max-height: 28rem; object-fit: contain; border-radius: .6rem; background: #000; }
.syen-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; }
.syen-modal-bg { position: absolute; inset: 0; background: rgba(4,6,12,.62); }
.syen-modal-sheet {
  position: relative; z-index: 1; width: min(28rem, 100%); max-height: min(86vh, 52rem);
  overflow: auto; background: #14141f; color: #e8eef8; border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.1); padding: 1.2rem 1.25rem 1.3rem; box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.syen-modal-wide { width: min(42rem, 100%); }
.syen-modal-sheet h2 { margin: 0 2rem .7rem 0; font-size: 1.15rem; }
.syen-modal-x { position: absolute; top: .7rem; right: .7rem; border: 0; background: transparent; color: inherit; font-size: 1.3rem; cursor: pointer; }
.syen-modal-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.syen-form { display: flex; flex-direction: column; gap: .7rem; }
.syen-form label, .syen-s2-ctrls label { display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; color: rgba(255,255,255,.7); }
.syen-form input, .syen-form textarea, .syen-form select,
.syen-chapter input, .syen-chapter textarea, .syen-inline input,
.syen-s2-dock textarea, .syen-bench textarea, [data-syen-prompt] {
  border-radius: .6rem; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05); color: inherit; padding: .5rem .65rem; font: inherit;
}
.syen-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.syen-tut { margin: 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: .7rem; font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.78); }
.syen-lead { color: rgba(255,255,255,.7); line-height: 1.65; }
.syen-proj-head, .syen-mf-head, .syen-ec-hero, .syen-ex-page > header, .syen-st-page > header {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: flex-start;
}
.syen-proj-head h1, .syen-mf-head h1, .syen-ec-hero h1, .syen-ex-page h1, .syen-st-page h1, .syen-s2-hero h1 { margin: .2rem 0 .35rem; }
.syen-proj-head p, .syen-mf-head p, .syen-ec-hero p, .syen-ex-page header p, .syen-st-page header p, .syen-s2-hero p {
  margin: 0; color: rgba(255,255,255,.68); line-height: 1.65; max-width: 46rem;
}
.syen-tabs { display: flex; gap: .35rem; flex-wrap: wrap; }
.syen-tabs button {
  border: 1px solid rgba(255,255,255,.12); background: transparent; color: inherit;
  border-radius: 999px; padding: .35rem .8rem; cursor: pointer;
}
.syen-tabs button.is-on { background: rgba(139,92,246,.22); border-color: rgba(167,139,250,.55); }
.syen-tabpane { display: flex; flex-direction: column; gap: .7rem; }
.syen-chapter, .syen-asset-col, .syen-s2-mod, .syen-mf-mods article, .syen-ec-mods article, .syen-ex-steps article, .syen-bench-grid article, .syen-st-flow li, .syen-bench {
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); border-radius: .9rem; padding: .9rem 1rem;
}
.syen-chapter header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .45rem; }
.syen-chapter { display: flex; flex-direction: column; gap: .45rem; }
.syen-assets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.syen-asset-col ul { margin: .4rem 0 .6rem; padding-left: 1rem; font-size: .84rem; }
.syen-inline { display: flex; gap: .35rem; flex-wrap: wrap; }
.syen-inline input { flex: 1; min-width: 5rem; }
.syen-s2-hero { text-align: left; }
.syen-tags, .syen-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.syen-tags span, .syen-s2-mod .syen-chips span {
  font-size: .75rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(139,92,246,.16); color: #ddd6fe;
}
.syen-kicker { margin: 0 0 .35rem; font-size: .78rem; color: #c4b5fd; }
.syen-s2-mods, .syen-mf-mods, .syen-ec-mods, .syen-ex-steps, .syen-bench-grid, .syen-st-flow {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem;
}
.syen-s2-mod h3, .syen-mf-mods h3, .syen-ec-mods h3, .syen-ex-steps h3, .syen-bench-grid h3, .syen-st-flow h3 { margin: 0 0 .35rem; font-size: .98rem; }
.syen-s2-mod p, .syen-mf-mods p, .syen-ec-mods p, .syen-ex-steps p, .syen-bench-grid p, .syen-st-flow p { margin: 0; font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.68); }
.syen-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem .6rem; align-items: center; }
.syen-phase { width: 100%; font-size: .75rem; letter-spacing: .06em; color: #a78bfa; font-weight: 700; margin-top: .35rem; }
.syen-step { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border-radius: 999px; background: rgba(255,255,255,.05); font-size: .8rem; }
.syen-step b { color: #a78bfa; }
.syen-step.is-on { background: rgba(139,92,246,.28); }
.syen-step.is-done { opacity: .7; }
.syen-s2-dock, .syen-mf-page, .syen-ec-page, .syen-ex-page, .syen-st-page { display: flex; flex-direction: column; gap: .9rem; padding: 1rem 1.2rem 2rem; }
.syen-s2-ctrls { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }
.syen-s2-ctrls label { min-width: 9rem; }
.syen-refs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.syen-ref-add {
  min-width: 5.5rem; min-height: 5.5rem; border-radius: .8rem; cursor: pointer;
  border: 1px dashed rgba(255,255,255,.25); background: rgba(255,255,255,.04); color: inherit;
}
.syen-ref-thumb { position: relative; width: 5.5rem; height: 5.5rem; }
.syen-ref-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: .8rem; }
.syen-ref-thumb button {
  position: absolute; top: .15rem; right: .15rem; width: 1.2rem; height: 1.2rem;
  border: 0; border-radius: 50%; cursor: pointer; background: rgba(0,0,0,.65); color: #fff;
}
.syen-mf { --al-accent: #38BDF8; --al-tone: #7DD3FC; background: #070b12; }
.syen-mf .syen-step.is-on, .syen-mf .syen-tabs button.is-on { background: rgba(56,189,248,.22); }
.syen-mf-steps { display: flex; flex-wrap: wrap; gap: .45rem 1rem; list-style: none; margin: 0; padding: 0; }
.syen-mf-steps li { font-size: .85rem; color: rgba(255,255,255,.75); }
.syen-mf-steps li + li:before { content: "→ "; color: #7dd3fc; }
.syen-hist-item { display: flex; flex-direction: column; gap: .35rem; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.syen-ec { --al-accent: #EC4899; --al-tone: #F9A8D4; background: #0c0710; }
.syen-ex { --al-accent: #60A5FA; --al-tone: #93C5FD; background: #070b14; }
.syen-st { --al-accent: #A78BFA; --al-tone: #DDD6FE; background: #0b0812; }
.syen-st-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.syen-st-flow li.is-on { border-color: rgba(167,139,250,.5); background: rgba(167,139,250,.1); }
.syen-style-picks { display: flex; flex-wrap: wrap; gap: .45rem; }
.syen-ex-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .syen-shell { grid-template-columns: 1fr; }
  .syen-rail { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .syen-s2-mods, .syen-mf-mods, .syen-ec-mods, .syen-assets, .syen-bench-grid { grid-template-columns: 1fr 1fr; }
  .syen-form-row, .syen-ex-steps, .syen-st-flow { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .syen-s2-mods, .syen-mf-mods, .syen-ec-mods, .syen-assets, .syen-bench-grid { grid-template-columns: 1fr; }
}

.syen-s2-dock textarea, .syen-bench textarea, .syen-keep textarea, .syen [data-syen-prompt], .syen-chapter textarea { width: 100%; box-sizing: border-box; min-height: 5.2rem; }


/* Dark form controls for agent studio modals and workbenches */
.syen, .syen-modal-sheet, .syen-form, .syen-s2-ctrls {
  color-scheme: dark;
}
.syen-form input, .syen-form textarea, .syen-form select,
.syen-chapter input, .syen-chapter textarea, .syen-inline input,
.syen-s2-dock textarea, .syen-bench textarea, .syen [data-syen-prompt],
.syen-s2-ctrls select {
  background-color: #1c1c28;
  color: #e8eef8;
  color-scheme: dark;
}
.syen-form input:focus, .syen-form textarea:focus, .syen-form select:focus,
.syen-chapter input:focus, .syen-chapter textarea:focus, .syen-inline input:focus,
.syen-s2-dock textarea:focus, .syen-bench textarea:focus, .syen [data-syen-prompt]:focus,
.syen-s2-ctrls select:focus, .syen-dd-btn:focus, .syen-file-btn:focus {
  outline: none;
  border-color: rgba(167, 139, 250, .6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .22);
}
.syen-form option, .syen-s2-ctrls option, .syen option, .syen-modal option {
  background-color: #1a1a28;
  color: #e8eef8;
}
.syen-form input[type="file"],
.syen-modal input[type="file"] {
  color: #e8eef8;
  background: #1c1c28;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .6rem;
  padding: .4rem .55rem;
  color-scheme: dark;
}
.syen-form input[type="file"]::file-selector-button,
.syen-form input[type="file"]::-webkit-file-upload-button,
.syen-modal input[type="file"]::file-selector-button,
.syen-modal input[type="file"]::-webkit-file-upload-button {
  appearance: none;
  border: 1px solid rgba(255,255,255,.16);
  background: #2a2a3a;
  color: #e8eef8;
  border-radius: .45rem;
  padding: .28rem .7rem;
  margin-right: .6rem;
  font: inherit;
  cursor: pointer;
}

.syen-dd { position: relative; width: 100%; }
.syen-dd-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.syen-dd-btn {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #e8eef8 !important;
  background: #1c1c28 !important;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .6rem;
  padding: .5rem .7rem;
  line-height: 1.4;
  min-height: 2.2rem;
  box-sizing: border-box;
}
.syen-dd-lab {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e8eef8 !important;
}
.syen-dd-btn:after {
  content: "";
  flex: 0 0 auto;
  width: .45rem;
  height: .45rem;
  margin-left: .2rem;
  border-right: 1.5px solid rgba(255,255,255,.7);
  border-bottom: 1.5px solid rgba(255,255,255,.7);
  transform: rotate(45deg) translateY(-.12rem);
}
.syen-dd.is-open .syen-dd-btn {
  border-color: rgba(167, 139, 250, .6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .18);
}
.syen-dd.is-open .syen-dd-btn:after { transform: rotate(225deg) translateY(-.1rem); }
.syen-dd-btn[disabled] { opacity: .55; cursor: not-allowed; }
.syen-dd-menu {
  box-sizing: border-box;
  max-height: min(18rem, 50vh);
  overflow: auto;
  padding: .3rem;
  background: #161622;
  color: #e8eef8;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .7rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
}
.syen-dd-menu::-webkit-scrollbar { width: .5rem; }
.syen-dd-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 999px; }
.syen-dd-menu::-webkit-scrollbar-track { background: transparent; }
.syen-dd-opt {
  appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #e8eef8;
  font: inherit;
  font-size: .88rem;
  line-height: 1.45;
  padding: .45rem .65rem;
  border-radius: .45rem;
  cursor: pointer;
}
.syen-dd-opt:hover, .syen-dd-opt:focus {
  outline: none;
  background: rgba(139, 92, 246, .22);
}
.syen-dd-opt.is-on {
  background: rgba(139, 92, 246, .32);
  color: #fff;
}
.syen-dd-opt.is-off, .syen-dd-opt[disabled] { opacity: .4; cursor: not-allowed; }

.syen-file {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  width: 100%;
}
.syen-file-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
}
.syen-file-btn {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  color: #e8eef8;
  background: #2a2a3a;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: .55rem;
  padding: .42rem .8rem;
}
.syen-file-btn:hover { background: #34344a; }
.syen-file-name {
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  line-height: 1.4;
  word-break: break-all;
}

.syen-dd-menu[hidden] { display: none !important; pointer-events: none !important; }
.syen .syen-s2-ctrls select,
.syen-form select,
.syen-modal select {
  background-color: #1c1c28 !important;
  color: #e8eef8 !important;
  color-scheme: dark;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .6rem;
  min-height: 2.2rem;
}
.syen.is-busy [data-syen-run],
.syen.is-busy .al-btn-primary,
.al-btn.is-busy,
.al-btn[aria-busy="true"] {
  opacity: .6;
  cursor: wait;
}

/* ===== Manju project / chapter workspace (SYPOWER classes, not official clones) ===== */
.syen-modal-proj { width: min(36rem, 100%); }
.syen-modal-ch { width: min(28rem, 100%); }
.syen-modal-h {
  display: flex; align-items: flex-start; gap: .7rem;
  margin: 0 2rem .85rem 0;
}
.syen-modal-h h2 { margin: 0; font-size: 1.12rem; }
.syen-modal-sub { margin: .2rem 0 0; font-size: .8rem; color: rgba(196,181,253,.9); }
.syen-modal-ico {
  width: 2.2rem; height: 2.2rem; border-radius: .65rem; flex: none;
  display: grid; place-items: center;
  background: rgba(139,92,246,.16); color: #c4b5fd;
  border: 1px solid rgba(139,92,246,.3);
}
.syen-modal-ico-doc { background: rgba(56,189,248,.12); color: #7dd3fc; border-color: rgba(56,189,248,.28); }
.syen-np { gap: .85rem; }
.syen-field { display: flex; flex-direction: column; gap: .35rem; }
.syen-field > span, .syen-np .syen-field > span {
  display: flex; align-items: baseline; gap: .35rem;
  font-size: .8rem; color: rgba(255,255,255,.72);
}
.syen-field > span em, .syen-field [data-count] {
  margin-left: auto; font-style: normal; font-size: .72rem; color: rgba(255,255,255,.42);
}
.syen-req { color: #fb7185; font-style: normal; font-weight: 700; }
.syen-field-hint { margin: .2rem 0 0; font-size: .72rem; color: rgba(255,255,255,.45); line-height: 1.5; }
.syen-cover {
  display: grid; place-items: center;
  width: min(14rem, 70%); margin: 0 auto;
  min-height: 7.2rem; cursor: pointer;
  border: 1.5px dashed rgba(255,255,255,.22);
  border-radius: .9rem; background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.55); text-align: center;
  position: relative; overflow: hidden;
}
.syen-cover:hover { border-color: rgba(139,92,246,.55); background: rgba(139,92,246,.08); color: #e8eef8; }
.syen-cover-ph { display: grid; place-items: center; gap: .35rem; font-size: .8rem; }
.syen-cover-ph em { font-style: normal; }
.syen-cover img[data-syen-coverprev] {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.syen-cover.has-file .syen-cover-ph { opacity: 0; }
.syen-pick { position: relative; }
.syen-pick-btn {
  width: 100%; display: flex; align-items: center; gap: .5rem;
  min-height: 3rem; padding: .55rem .8rem;
  border: 1.5px dashed rgba(255,255,255,.22); border-radius: .8rem;
  background: rgba(255,255,255,.03); color: inherit;
  cursor: pointer; font: inherit; text-align: left;
}
.syen-pick-btn:hover { border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.08); }
.syen-pick.is-set .syen-pick-btn {
  border-style: solid; border-color: rgba(139,92,246,.4);
  background: rgba(139,92,246,.1);
}
.syen-pick-ico { display: grid; place-items: center; color: #c4b5fd; flex: none; }
.syen-pick-lab { flex: 1; font-size: .86rem; }
.syen-pick-menu {
  display: flex; flex-direction: column; gap: .15rem;
  max-height: 16rem; overflow: auto;
  padding: .4rem; border-radius: .75rem;
  background: #161625; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.syen-pick-menu[hidden] { display: none !important; }
.syen-pick-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: .1rem;
  width: 100%; border: 0; background: transparent; color: inherit;
  text-align: left; cursor: pointer; font: inherit;
  border-radius: .5rem; padding: .45rem .55rem;
}
.syen-pick-opt:hover, .syen-pick-opt.is-on { background: rgba(139,92,246,.18); }
.syen-pick-opt i { font-style: normal; font-size: .7rem; color: rgba(255,255,255,.45); }
.syen-chatpicks { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.syen-cchip {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05); color: inherit;
  border-radius: 999px; padding: .22rem .7rem; font: inherit; font-size: .78rem;
  cursor: pointer;
}
.syen-cchip:hover { border-color: rgba(139,92,246,.5); }
.syen-cchip.is-on {
  background: rgba(139,92,246,.2); border-color: rgba(167,139,250,.7); color: #ede9fe;
}
.syen-cchip-more { border-style: dashed; }
.syen-orients { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.syen-orient {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  min-height: 4.4rem; border-radius: .8rem; cursor: pointer; font: inherit; color: inherit;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.syen-orient:hover { border-color: rgba(45,212,191,.4); }
.syen-orient.is-on {
  background: linear-gradient(180deg, rgba(20,184,166,.28), rgba(13,148,136,.18));
  border-color: rgba(45,212,191,.7); color: #ecfeff;
}
.syen-modal-actions-split { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.syen-modal-actions-split .al-btn { width: 100%; justify-content: center; }

.syen-main:has([data-syen-view="chapter"]) { padding: 0; gap: 0; }
.syen-chws { display: flex; flex-direction: column; min-height: calc(100vh - 8rem); }
.syen-chws-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .4rem;
  padding: .7rem 1rem 0; font-size: .84rem; color: rgba(255,255,255,.55);
}
.syen-crumb-link {
  border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; padding: 0;
}
.syen-crumb-link:hover { color: #e8eef8; }
.syen-chws-crumb strong { color: #c4b5fd; font-weight: 650; }
.syen-chws-grid {
  display: grid; grid-template-columns: 15.5rem minmax(0, 1fr) 12.5rem;
  flex: 1; min-height: 0;
}
.syen-chws-side {
  display: flex; flex-direction: column; gap: .7rem;
  padding: .85rem .75rem 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.syen-chws-proj {
  display: flex; align-items: center; gap: .55rem;
}
.syen-chws-proj img, .syen-chws-ph {
  width: 2.6rem; height: 2.6rem; border-radius: .55rem; object-fit: cover; flex: none;
  background: rgba(139,92,246,.2);
}
.syen-chws-proj strong { display: block; font-size: .92rem; }
.syen-chws-proj i { font-style: normal; font-size: .72rem; color: rgba(255,255,255,.5); }
.syen-chws-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.syen-chws-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: .15rem;
  padding: .55rem .55rem .5rem; border-radius: .75rem; cursor: pointer; font: inherit; color: inherit;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); text-align: left;
}
.syen-chws-tile:hover, .syen-chws-tile:focus { border-color: rgba(139,92,246,.45); background: rgba(139,92,246,.1); }
.syen-chws-tile-ico { color: #c4b5fd; }
.syen-chws-tile b { font-size: .8rem; }
.syen-chws-tile i { font-style: normal; font-size: .7rem; color: rgba(255,255,255,.48); }
.syen-chws-chhead {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: .2rem; font-size: .8rem; color: rgba(255,255,255,.62);
}
.syen-ch-add {
  width: 1.6rem; height: 1.6rem; border-radius: .45rem; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: inherit;
  font-size: 1.05rem; line-height: 1;
}
.syen-ch-add:hover { background: rgba(139,92,246,.2); border-color: rgba(139,92,246,.5); }
.syen-chlist { display: flex; flex-direction: column; gap: .35rem; }
.syen-chitem {
  display: flex; flex-direction: column; align-items: flex-start; gap: .1rem;
  width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit;
  border: 1px solid transparent; background: transparent;
  border-radius: .65rem; padding: .5rem .6rem;
}
.syen-chitem b { font-size: .78rem; }
.syen-chitem span { font-size: .84rem; color: rgba(255,255,255,.78); }
.syen-chitem.is-on {
  background: rgba(20,184,166,.14); border-color: rgba(45,212,191,.45);
}
.syen-chitem:hover { background: rgba(255,255,255,.06); }
.syen-chws-sidefoot { margin-top: auto; display: flex; flex-direction: column; gap: .4rem; padding-top: .8rem; }
.syen-chws-main {
  display: flex; flex-direction: column; gap: .85rem;
  padding: 1.2rem 1.2rem 1.4rem; min-width: 0;
}
.syen-chws-hero { text-align: center; padding: 1.4rem 0 .2rem; }
.syen-chws-hero h1 { margin: .45rem 0 .25rem; font-size: 1.45rem; }
.syen-chws-hero p { margin: 0; color: rgba(255,255,255,.6); font-size: .92rem; }
.syen-chws-empty { align-items: center; justify-content: center; }
.syen-cmodes { display: flex; flex-direction: column; gap: .5rem; max-width: 32rem; margin: 0 auto; width: 100%; }
.syen-cmode {
  display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .6rem;
  width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  border-radius: .85rem; padding: .7rem .9rem;
}
.syen-cmode strong { font-size: .92rem; }
.syen-cmode em { font-style: normal; font-size: .8rem; color: rgba(255,255,255,.5); }
.syen-cmode-arrow { color: rgba(255,255,255,.35); font-size: .9rem; }
.syen-cmode-ico { display: grid; place-items: center; color: #c4b5fd; }
.syen-cmode.is-on {
  border-color: rgba(139,92,246,.55); background: rgba(139,92,246,.14);
}
.syen-cmode:hover { border-color: rgba(139,92,246,.4); }
.syen-tip {
  max-width: 32rem; margin: .1rem auto 0; width: 100%;
  border-radius: 999px; padding: .45rem .95rem;
  background: rgba(250,204,21,.12); border: 1px solid rgba(250,204,21,.35);
  color: #fde68a; font-size: .8rem; text-align: center;
}
.syen-tip strong { color: #facc15; }
.syen-chbody {
  max-width: 36rem; width: 100%; margin: 0 auto;
  border: 1px solid rgba(255,255,255,.08); border-radius: .8rem;
  padding: .55rem .8rem; background: rgba(0,0,0,.18);
}
.syen-chbody summary { cursor: pointer; color: rgba(255,255,255,.7); font-size: .8rem; }
.syen-chbody pre { white-space: pre-wrap; margin: .5rem 0 0; font-size: .82rem; }
.syen-chdock {
  margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: .55rem; align-items: end;
  max-width: 44rem; width: 100%; margin-left: auto; margin-right: auto;
  padding: .7rem .8rem; border-radius: 1rem;
  background: rgba(12,12,20,.92); border: 1px solid rgba(255,255,255,.1);
}
.syen-chdock textarea {
  min-height: 4.2rem; margin: 0; border: 0; background: transparent; resize: vertical;
  color: #e8eef8; font: inherit;
}
.syen-chdock textarea:focus { outline: none; box-shadow: none; border-color: transparent; }
.syen-chsend { min-width: 4.6rem; height: 2.6rem; border-radius: .8rem; }
.syen-chws-right {
  border-left: 1px solid rgba(255,255,255,.08);
  padding: 2.4rem 1rem 1rem;
  color: rgba(255,255,255,.42); font-size: .8rem; line-height: 1.6;
}
.syen-chws-panetop { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.syen-chws-panetop h2 { margin: 0; font-size: 1.1rem; }
.syen-style-set { display: flex; flex-wrap: wrap; gap: .4rem; }
.syen-chws .syen-progress { text-align: center; color: #7dd3fc; }

@media (max-width: 1100px) {
  .syen-chws-grid { grid-template-columns: 14rem minmax(0, 1fr); }
  .syen-chws-right { display: none; }
}
@media (max-width: 800px) {
  .syen-shell { grid-template-columns: 1fr; }
  .syen-chws-grid { grid-template-columns: 1fr; }
  .syen-chws-side { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .syen-np-picks { grid-template-columns: 1fr; }
  .syen-modal-actions-split { grid-template-columns: 1fr; }
}


/* Digital human studio (sydh-*) — site-owned styles, not copied from third-party CSS */
.sydh-home { margin: 1.1rem 0 2rem; }
.sydh-kicker { margin: 0 0 .7rem; color: rgba(255,255,255,.55); font-size: .82rem; }
.sydh-avatars { display: flex; flex-wrap: wrap; gap: .9rem; }
.sydh-card {
  width: 11.2rem; background: rgba(16,16,22,.92); border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column;
}
.sydh-card-cover { position: relative; aspect-ratio: 3/4; background: #16161c; }
.sydh-card-cover img, .sydh-card-cover .sydh-ph {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sydh-ph { display: grid; place-items: center; color: rgba(255,255,255,.35); font-size: 1.6rem; }
.sydh-tag {
  position: absolute; top: .5rem; left: .5rem; padding: .12rem .4rem; border-radius: .35rem;
  font-size: .68rem; background: rgba(0,0,0,.55); color: #ffe7b0; border: 1px solid rgba(245,176,66,.35);
}
.sydh-card-body { padding: .7rem .75rem .8rem; }
.sydh-card-name { font-weight: 650; font-size: .92rem; }
.sydh-card-voice { margin: .2rem 0 .55rem; color: rgba(255,255,255,.5); font-size: .75rem; }
.sydh-card-acts { display: flex; gap: .4rem; align-items: center; }
.sydh-card-acts .al-btn { padding: .32rem .7rem; font-size: .78rem; }
.sydh-icon-btn {
  border: 0; background: transparent; color: rgba(255,255,255,.55); cursor: pointer;
  width: 1.8rem; height: 1.8rem; border-radius: .45rem;
}
.sydh-icon-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.sydh-works { min-height: 8rem; border: 1px dashed rgba(255,255,255,.1); border-radius: 1rem; padding: 1rem; }
.sydh-work-list { display: grid; gap: .7rem; }
.sydh-work {
  display: grid; grid-template-columns: 4.6rem 1fr auto; gap: .8rem; align-items: center;
  background: rgba(16,16,22,.8); border: 1px solid rgba(255,255,255,.08); border-radius: .85rem; padding: .55rem;
}
.sydh-work img, .sydh-work .sydh-ph { width: 4.6rem; height: 6.1rem; object-fit: cover; border-radius: .55rem; }
.sydh-work-title { font-weight: 650; }
.sydh-work-meta { color: rgba(255,255,255,.5); font-size: .75rem; margin-top: .2rem; }
.sydh-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem; color: rgba(255,255,255,.48); font-size: .85rem; min-height: 7.5rem; text-align: center;
}
.sydh-empty .sydh-clapper { font-size: 1.6rem; opacity: .8; }

.sydh-sheet { width: min(44rem, 100%); max-height: min(92vh, 54rem); overflow: auto; }
.sydh-sheet-wide { width: min(72rem, 100%); }
.sydh-field { margin: 0 0 .85rem; }
.sydh-field > span, .sydh-lab { display: block; margin: 0 0 .35rem; font-size: .8rem; color: rgba(255,255,255,.62); }
.sydh-field input[type="text"], .sydh-field textarea, .sydh-inp, .sydh-area {
  width: 100%; box-sizing: border-box; border-radius: .7rem; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); color: inherit; padding: .65rem .8rem; font: inherit;
}
.sydh-field textarea, .sydh-area { min-height: 6.5rem; resize: vertical; }
.sydh-field input:focus, .sydh-area:focus { outline: none; border-color: rgba(245,176,66,.7); }
.sydh-split { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 720px) { .sydh-split { grid-template-columns: 1fr; } }
.sydh-pane {
  border: 1px dashed rgba(245,176,66,.28); border-radius: .9rem; padding: .8rem; min-height: 16rem;
  background: rgba(255,255,255,.02);
}
.sydh-pane h3 { margin: 0 0 .65rem; font-size: .92rem; display: flex; align-items: center; gap: .35rem; }
.sydh-face {
  min-height: 12.5rem; border-radius: .7rem; border: 1px dashed rgba(255,255,255,.14);
  display: grid; place-items: center; text-align: center; cursor: pointer; color: rgba(255,255,255,.5);
  background: rgba(0,0,0,.15); position: relative; overflow: hidden;
}
.sydh-face img { width: 100%; height: 100%; object-fit: contain; background: #111; display: block; max-height: 18rem; }
.sydh-face-cta { display: grid; gap: .25rem; padding: 1rem; }
.sydh-face-cta b { color: rgba(255,255,255,.8); font-weight: 600; }
.sydh-hint { margin: .55rem 0 0; font-size: .72rem; color: rgba(255,255,255,.42); line-height: 1.5; }
.sydh-voice-pick {
  min-height: 7.2rem; border-radius: .7rem; border: 1px dashed rgba(255,255,255,.14);
  display: grid; place-items: center; cursor: pointer; text-align: center; color: rgba(255,255,255,.55);
}
.sydh-voice-pick.is-set { border-style: solid; border-color: rgba(245,176,66,.28); }
.sydh-voice-now { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .6rem; }
.sydh-voice-now b { color: #ffe7b0; }
.sydh-voice-now em { font-style: normal; font-size: .72rem; color: rgba(255,255,255,.45); }
.sydh-avatar { width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg,#3a2a12,#1c1710); color: #ffe7b0; font-weight: 700; border: 1px solid rgba(245,176,66,.3); }
.sydh-speed { display: flex; align-items: center; gap: .6rem; margin-top: .7rem; }
.sydh-speed input[type="range"] { flex: 1; accent-color: #F5B042; }
.sydh-check { display: flex; align-items: flex-start; gap: .5rem; margin: .7rem 0 0; font-size: .78rem; color: rgba(255,255,255,.7); line-height: 1.5; }
.sydh-check input { margin-top: .15rem; accent-color: #F5B042; }
.sydh-err { color: #f5a3a3; font-size: .78rem; margin: .35rem 0 0; min-height: 1em; }
.sydh-tools { display: flex; flex-wrap: wrap; gap: .45rem; margin: .55rem 0 0; }
.sydh-mini { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: inherit;
  border-radius: .5rem; padding: .28rem .55rem; cursor: pointer; font-size: .75rem; }
.sydh-mini:hover { border-color: rgba(245,176,66,.45); }

.sydh-vp { display: flex; flex-direction: column; gap: .75rem; min-height: 28rem; }
.sydh-vp-top { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.sydh-tabs { display: flex; gap: .35rem; background: rgba(255,255,255,.04); padding: .2rem; border-radius: 999px; }
.sydh-tab { border: 0; background: transparent; color: rgba(255,255,255,.7); border-radius: 999px; padding: .32rem .75rem; cursor: pointer; }
.sydh-tab.is-on { background: rgba(245,176,66,.18); color: #ffe7b0; }
.sydh-search { flex: 1; min-width: 10rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); color: inherit; padding: .4rem .8rem; }
.sydh-filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.sydh-chip { border: 0; background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); border-radius: 999px; padding: .22rem .6rem; cursor: pointer; font-size: .75rem; }
.sydh-chip.is-on { background: #F5B042; color: #1a1206; font-weight: 650; }
.sydh-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .7rem; }
.sydh-vcard {
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); border-radius: .8rem;
  padding: .7rem; cursor: pointer; text-align: left; color: inherit; display: flex; flex-direction: column; gap: .3rem;
}
.sydh-vcard.is-on { border-color: rgba(245,176,66,.7); box-shadow: 0 0 0 1px rgba(245,176,66,.25); }
.sydh-vcard-h { display: flex; align-items: center; gap: .5rem; }
.sydh-vcard b { font-size: .88rem; }
.sydh-vcard p { margin: 0; color: rgba(255,255,255,.45); font-size: .72rem; }
.sydh-vtags { display: flex; flex-wrap: wrap; gap: .25rem; }
.sydh-vtags span { font-size: .66rem; padding: .08rem .35rem; border-radius: .3rem; background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); }
.sydh-play { margin-left: auto; border: 0; background: rgba(255,255,255,.08); color: inherit; width: 1.7rem; height: 1.7rem; border-radius: 50%; cursor: pointer; }
.sydh-play:disabled { opacity: .5; cursor: wait; }
.sydh-clone-note { padding: 1.2rem; border-radius: .8rem; background: rgba(245,176,66,.08); color: rgba(255,255,255,.72); line-height: 1.6; font-size: .85rem; }
.sydh-vp-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }

.sydh-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
@media (max-width: 640px) { .sydh-types { grid-template-columns: 1fr; } }
.sydh-type {
  text-align: left; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03);
  border-radius: .85rem; padding: .85rem .9rem; cursor: pointer; color: inherit;
}
.sydh-type.is-on { background: rgba(245,176,66,.12); border-color: rgba(245,176,66,.7); }
.sydh-type b { display: block; margin-bottom: .25rem; }
.sydh-type span { color: rgba(255,255,255,.5); font-size: .75rem; }
.sydh-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; margin: .2rem 0 .8rem; }
.sydh-row label { display: grid; gap: .3rem; font-size: .78rem; color: rgba(255,255,255,.6); }
.sydh-seg-toggle { display: flex; background: rgba(255,255,255,.04); border-radius: .6rem; padding: .15rem; }
.sydh-seg-toggle button { border: 0; background: transparent; color: rgba(255,255,255,.7); border-radius: .5rem; padding: .35rem .7rem; cursor: pointer; }
.sydh-seg-toggle button.is-on { background: rgba(245,176,66,.18); color: #ffe7b0; }
.sydh-cost { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin: .5rem 0 .8rem;
  padding: .55rem .75rem; border-radius: .65rem; background: rgba(245,176,66,.1); color: #ffe7b0; font-size: .8rem; }
.sydh-foot { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.sydh-actor { color: rgba(255,255,255,.5); font-size: .8rem; margin: -.4rem 0 .8rem; }

.sydh-segs { display: grid; gap: .7rem; }
.sydh-seg { border: 1px solid rgba(255,255,255,.08); border-radius: .85rem; padding: .7rem .8rem; background: rgba(255,255,255,.03); }
.sydh-seg-h { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.5); font-size: .75rem; margin-bottom: .45rem; }
.sydh-seg textarea { width: 100%; box-sizing: border-box; min-height: 4.2rem; border: 0; background: transparent; color: inherit; resize: vertical; font: inherit; }
.sydh-look { width: 100%; box-sizing: border-box; margin-top: .35rem; border: 0; border-top: 1px solid rgba(255,255,255,.06);
  background: transparent; color: inherit; padding: .45rem 0 0; font: inherit; font-size: .8rem; }

.sydh-editor { margin: .2rem 0 2rem; }
.sydh-ed-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: 0 0 1rem; }
.sydh-ed-bar h2 { margin: 0; font-size: 1.15rem; flex: 1; }
.sydh-crumb { color: rgba(255,255,255,.5); font-size: .8rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.sydh-ed-grid { display: grid; grid-template-columns: 1fr min(20rem, 32%); gap: 1rem; align-items: start; }
@media (max-width: 960px) { .sydh-ed-grid { grid-template-columns: 1fr; } }
.sydh-steps { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .8rem; }
.sydh-step { border: 1px solid rgba(255,255,255,.08); border-radius: .8rem; padding: .7rem .8rem; background: rgba(255,255,255,.03); }
.sydh-step b { display: inline-flex; align-items: center; justify-content: center; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: #F5B042; color: #1a1206; font-size: .72rem; margin-right: .35rem; }
.sydh-step p { margin: .35rem 0 0; color: rgba(255,255,255,.45); font-size: .75rem; line-height: 1.5; }
.sydh-ed-seg { border: 1px solid rgba(255,255,255,.08); border-radius: .9rem; padding: .75rem; margin-bottom: .7rem; background: rgba(16,16,22,.8);
  display: grid; grid-template-columns: 4.4rem 1fr auto; gap: .7rem; }
@media (max-width: 720px) { .sydh-ed-seg { grid-template-columns: 1fr; } }
.sydh-ed-thumb { width: 4.4rem; height: 5.8rem; border-radius: .5rem; object-fit: cover; background: #151515; }
.sydh-ed-seg.has-video { grid-template-columns: 8.4rem 1fr auto; }
@media (max-width: 720px) { .sydh-ed-seg.has-video { grid-template-columns: 1fr; } }
.sydh-ed-preview {
  position: relative; width: 8.4rem; height: 11.2rem; border-radius: .55rem;
  overflow: hidden; background: #111; align-self: start;
}
.sydh-ed-video { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; vertical-align: middle; }
.sydh-ed-vdur {
  position: absolute; right: .3rem; bottom: 1.7rem; z-index: 1;
  padding: .05rem .35rem; border-radius: .3rem; font-size: .66rem; line-height: 1.3;
  background: rgba(0,0,0,.62); color: #fff; pointer-events: none;
}
.sydh-ed-vdur:empty { display: none; }
.sydh-aud {
  margin-top: .55rem; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
}
.sydh-aud-k { font-size: .72rem; color: rgba(255,255,255,.55); flex: 0 0 auto; }
.sydh-aud audio { flex: 1 1 12rem; min-width: 10rem; height: 2rem; }
.sydh-aud-dur { font-size: .72rem; color: rgba(255,255,255,.55); }
.sydh-clip { display: grid; gap: .35rem; }
.sydh-clip-h { display: flex; justify-content: space-between; gap: .4rem; align-items: center; font-size: .8rem; }
.sydh-clip-video { width: 100%; max-height: 14rem; border-radius: .5rem; background: #111; display: block; }
.sydh-ed-main textarea { width: 100%; min-height: 3.4rem; box-sizing: border-box; border: 0; background: transparent; color: inherit; font: inherit; resize: vertical; }
.sydh-ed-side { display: grid; gap: .4rem; justify-items: end; font-size: .75rem; color: rgba(255,255,255,.5); }
.sydh-st { display: flex; align-items: center; gap: .35rem; }
.sydh-st.is-ok { color: #9ae6b4; }
.sydh-st.is-bad { color: #f5a3a3; }
.sydh-side { display: grid; gap: .75rem; }
.sydh-box { border: 1px solid rgba(255,255,255,.08); border-radius: .9rem; padding: .85rem; background: rgba(16,16,22,.9); }
.sydh-box h3 { margin: 0 0 .55rem; font-size: .92rem; }
.sydh-box ol { margin: 0; padding-left: 1.1rem; color: rgba(255,255,255,.55); font-size: .78rem; line-height: 1.6; }
.sydh-bill { display: grid; gap: .3rem; font-size: .78rem; color: rgba(255,255,255,.6); }
.sydh-bill div { display: flex; justify-content: space-between; gap: .5rem; }
.sydh-clips { display: grid; gap: .45rem; }
.sydh-clip { font-size: .8rem; display: flex; justify-content: space-between; gap: .4rem; align-items: center; }
.sydh-clip a { color: #ffe7b0; }
.sydh-note { font-size: .75rem; color: rgba(255,255,255,.5); line-height: 1.55; }
.al-dh.is-sydh-editing .al-dh-hero,
.al-dh.is-sydh-editing .al-dh-case,
.al-dh.is-sydh-editing #al-tutorial-panel,
.al-dh.is-sydh-editing .al-mv-mascot,
.al-dh.is-sydh-editing [data-sydh-home] { display: none !important; }
