/* Alphas Dreaming v15 — isolated Leonardo-style homepage */
.home-v15{
  --ld-bg:#050505;
  --ld-panel:#0b0b0d;
  --ld-panel-2:#101014;
  --ld-line:rgba(255,255,255,.11);
  --ld-muted:#aaaeb8;
  --ld-accent:#8b68ff;
  --ld-gold:#f4ca7e;
  margin:0;
  background:#050505;
  color:#fff;
}
.home-v15 .ambient{display:none}
.home-v15 .mobile-top{display:none}

.home-v15 .ld-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  background:#050505;
}
.home-v15 .ld-main{
  min-width:0;
  overflow:hidden;
  padding:0 20px 48px;
}

/* Compact application rail */
.home-v15 .ld-sidebar{
  position:sticky;
  top:0;
  z-index:80;
  height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:10px 7px 12px;
  border-right:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,#121214 0%,#0b0b0d 48%,#09090b 100%);
  box-shadow:8px 0 30px rgba(0,0,0,.24);
}
.home-v15 .ld-logo{
  width:60px;
  height:58px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  background:rgba(255,255,255,.025);
}
.home-v15 .ld-logo .brand-mark{width:34px;height:34px;flex-basis:34px}
.home-v15 .ld-nav{
  width:100%;
  display:grid;
  gap:2px;
  margin-top:8px;
}
.home-v15 .ld-nav-item{
  width:100%;
  min-height:56px;
  padding:7px 3px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  border:1px solid transparent;
  border-radius:15px;
  background:transparent;
  color:#f4f4f6;
  text-align:center;
  transition:.18s ease;
}
.home-v15 .ld-nav-item span{font-size:17px;line-height:1}
.home-v15 .ld-nav-item small{font-size:9px;line-height:1.05;color:#ececf1;white-space:nowrap}
.home-v15 .ld-nav-item:hover,.home-v15 .ld-nav-item.active{
  border-color:rgba(255,255,255,.09);
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.055));
}
.home-v15 .ld-sidebar-bottom{
  width:100%;
  margin-top:auto;
  display:grid;
  justify-items:center;
  gap:5px;
}
.home-v15 .ld-auth-pill{
  width:58px;
  min-height:23px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  color:#fff;
  font-size:9px;
  background:#17171b;
}
.home-v15 .ld-auth-pill.primary{background:#7153f5;border-color:#8b71ff}
.home-v15 .ld-user-button{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(244,202,126,.35);
  border-radius:50%;
  background:#231d13;
  color:var(--ld-gold);
  font-weight:800;
}

/* Hero */
.home-v15 .ld-hero{
  position:relative;
  min-height:480px;
  margin:0 -20px;
  overflow:hidden;
  isolation:isolate;
  background:#0a0a0c;
}
.home-v15 .ld-hero-bg,.home-v15 .ld-hero-shade{position:absolute;inset:0}
.home-v15 .ld-hero-bg{
  background:
    radial-gradient(circle at 24% 26%,rgba(231,149,49,.34),transparent 26%),
    radial-gradient(circle at 76% 22%,rgba(68,168,160,.20),transparent 30%),
    url('../images/hero-character.webp') center 43%/cover no-repeat;
  filter:saturate(.92) blur(1.4px);
  transform:scale(1.045);
  opacity:.88;
}
.home-v15 .ld-hero-shade{
  background:
    linear-gradient(180deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,.22) 44%,rgba(5,5,5,.94) 100%),
    linear-gradient(90deg,rgba(5,5,5,.50),transparent 25%,transparent 74%,rgba(5,5,5,.45));
}
.home-v15 .ld-hero-content{
  position:relative;
  z-index:2;
  min-height:480px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:64px 28px 34px;
  text-align:center;
}
.home-v15 .ld-hero-title span{
  display:block;
  color:rgba(255,255,255,.72);
  font-size:10px;
  font-weight:700;
  letter-spacing:.24em;
}
.home-v15 .ld-hero-title h1{
  margin:12px 0 8px;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:clamp(54px,6.2vw,102px);
  line-height:.92;
  font-weight:900;
  letter-spacing:-.055em;
  color:#fff;
  text-transform:uppercase;
  text-shadow:0 6px 30px rgba(0,0,0,.45);
}
.home-v15 .ld-hero-title p{
  width:min(740px,100%);
  margin:0 auto;
  color:#e0e1e6;
  font-size:14px;
  line-height:1.45;
  text-shadow:0 2px 16px rgba(0,0,0,.58);
}
.home-v15 .ld-prompt-wrap{width:min(895px,100%);margin-top:35px}
.home-v15 .ld-prompt-bar{
  min-height:62px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 42px 54px 140px;
  align-items:center;
  padding:6px 7px 6px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  background:rgba(22,22,25,.86);
  box-shadow:0 18px 50px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(20px);
}
.home-v15 .ld-prompt-icon{
  width:32px;height:32px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.08);border-radius:11px;color:#e7e8ec;background:#25252a;
}
.home-v15 .ld-prompt-bar input{
  min-width:0;
  height:48px;
  border:0;
  outline:0;
  background:transparent;
  color:#f4f4f6;
  font-size:14px;
  padding:0 10px;
}
.home-v15 .ld-prompt-bar input::placeholder{color:#8f929b}
.home-v15 .ld-prompt-ai{
  width:36px;height:36px;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:#1b1b20;color:#fff;font-size:10px;font-weight:800;
}
.home-v15 .ld-prompt-bar>small{font-size:8px;color:#777b84;text-align:center}
.home-v15 .ld-generate{
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:16px;
  background:linear-gradient(180deg,#f7d88f,#e5ad53);
  color:#191106;
  font-size:13px;
  font-weight:800;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
}
.home-v15 .ld-tool-row{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:24px;
  margin-top:25px;
}
.home-v15 .ld-tool-btn{
  width:62px;
  border:0;
  background:transparent;
  color:#fff;
  display:grid;
  justify-items:center;
  gap:7px;
}
.home-v15 .ld-tool-btn span{
  width:46px;height:46px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.11);
  border-radius:15px;
  background:rgba(20,20,23,.82);
  box-shadow:0 10px 22px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035);
  font-size:18px;
  transition:.18s ease;
}
.home-v15 .ld-tool-btn small{font-size:10px;color:#fff}
.home-v15 .ld-tool-btn:hover span,.home-v15 .ld-tool-btn.active span{
  transform:translateY(-3px);
  border-color:rgba(244,202,126,.50);
  color:var(--ld-gold);
}

/* Content sections */
.home-v15 .ld-section{
  padding:22px 0 4px;
}
.home-v15 .ld-section-head{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:12px;
}
.home-v15 .ld-section-head h2{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:22px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.025em;
}
.home-v15 .ld-section-head button,.home-v15 .ld-section-head a{
  border:0;background:transparent;color:#f1f1f3;font-size:11px;font-weight:700;padding:6px 0;
}
.home-v15 .ld-card-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:230px;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:8px;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
}
.home-v15 .ld-card-rail::-webkit-scrollbar{height:6px}
.home-v15 .ld-card-rail::-webkit-scrollbar-thumb{background:#29292e;border-radius:999px}
.home-v15 .ld-blueprint-card{
  position:relative;
  height:250px;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:16px;
  background:#111;
  color:#fff;
  text-align:left;
  scroll-snap-align:start;
}
.home-v15 .ld-blueprint-card:after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 44%,rgba(0,0,0,.92) 100%);
}
.home-v15 .ld-blueprint-card img{width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
.home-v15 .ld-blueprint-card>span{
  position:absolute;z-index:2;left:13px;right:10px;bottom:13px;font-size:14px;font-weight:800;line-height:1.08;text-shadow:0 2px 10px rgba(0,0,0,.7);
}
.home-v15 .ld-blueprint-card:hover img{transform:scale(1.045)}

.home-v15 .ld-library-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.home-v15 #recentStrip .image-card,.home-v15 .ld-library-card{
  min-width:0;
  min-height:230px;
  overflow:hidden;
  border:0;
  border-radius:16px;
  background:#111;
  color:#fff;
}
.home-v15 #recentStrip .image-card img{width:100%;height:190px;object-fit:cover}
.home-v15 #recentStrip .image-card figcaption{padding:11px 12px;display:grid;gap:3px;font-size:13px;font-weight:750}
.home-v15 #recentStrip .image-card figcaption small{color:#9ea1a9;font-size:10px;font-weight:500}
.home-v15 .skeleton{background:linear-gradient(105deg,#101013 20%,#1a1a1e 40%,#101013 60%);background-size:220% 100%;animation:ld-shimmer 1.8s linear infinite}
@keyframes ld-shimmer{to{background-position:-220% 0}}

.home-v15 .ld-community-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.home-v15 .ld-community-grid figure{margin:0;overflow:hidden;border-radius:16px;background:#111}
.home-v15 .ld-community-grid img{width:100%;height:220px;object-fit:cover}
.home-v15 .ld-community-grid figcaption{padding:11px 12px;display:grid;gap:2px}
.home-v15 .ld-community-grid b{font-size:13px}
.home-v15 .ld-community-grid small{font-size:10px;color:#9ea1a9}

/* Functional studio panel below the discovery homepage */
.home-v15 .ld-studio-panel{
  margin-top:24px;
  border:1px solid var(--ld-line);
  border-radius:22px;
  background:linear-gradient(180deg,#101014,#09090c);
  overflow:hidden;
}
.home-v15 .ld-studio-head{
  min-height:60px;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-bottom:1px solid var(--ld-line);
}
.home-v15 .ld-studio-head small{display:block;color:#838792;font-size:9px;text-transform:uppercase;letter-spacing:.14em}
.home-v15 .ld-studio-head strong{display:block;margin-top:2px;font-size:14px}
.home-v15 .ld-studio-body{display:grid;grid-template-columns:330px minmax(0,1fr);gap:14px;padding:14px}
.home-v15 .ld-upload-card,.home-v15 .ld-settings-card{
  min-width:0;
  border:1px solid rgba(255,255,255,.07);
  border-radius:17px;
  background:#0c0c10;
  padding:14px;
}
.home-v15 .ld-upload-card .dropzone{min-height:250px;background:#111116}
.home-v15 .ld-settings-card{display:grid;gap:13px}
.home-v15 .ld-settings-card .settings{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-v15 .ld-settings-card .ratio-field{grid-column:span 2}

/* Mobile */
@media(max-width:1100px){
  .home-v15 .ld-shell{grid-template-columns:72px minmax(0,1fr)}
  .home-v15 .ld-sidebar{padding-inline:5px}
  .home-v15 .ld-logo{width:56px}
  .home-v15 .ld-nav-item small{font-size:8px}
  .home-v15 .ld-library-grid,.home-v15 .ld-community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-v15 .ld-studio-body{grid-template-columns:1fr}
}
@media(max-width:760px){
  .home-v15 .mobile-top{display:flex}
  .home-v15 .ld-shell{display:block}
  .home-v15 .ld-main{padding:0 10px 34px}
  .home-v15 .ld-sidebar{position:fixed;left:7px;top:70px;bottom:7px;width:78px;height:auto;transform:translateX(-120%);transition:.2s;z-index:120;border:1px solid rgba(255,255,255,.10);border-radius:20px}
  .home-v15 .ld-sidebar.open{transform:translateX(0)}
  .home-v15 .ld-hero{margin:0 -10px;min-height:520px}
  .home-v15 .ld-hero-content{min-height:520px;padding:50px 14px 25px}
  .home-v15 .ld-hero-title h1{font-size:clamp(46px,14vw,70px)}
  .home-v15 .ld-prompt-wrap{margin-top:28px}
  .home-v15 .ld-prompt-bar{grid-template-columns:34px minmax(0,1fr) 38px 112px;padding-left:8px}
  .home-v15 .ld-prompt-bar>small{display:none}
  .home-v15 .ld-generate{font-size:11px}
  .home-v15 .ld-tool-row{gap:12px;flex-wrap:wrap;max-width:430px}
  .home-v15 .ld-card-rail{grid-auto-columns:205px}
}
@media(max-width:520px){
  .home-v15 .ld-hero-title p{font-size:12px}
  .home-v15 .ld-prompt-bar{grid-template-columns:32px minmax(0,1fr) 96px;border-radius:18px}
  .home-v15 .ld-prompt-ai{display:none}
  .home-v15 .ld-prompt-bar input{font-size:12px;padding:0 5px}
  .home-v15 .ld-tool-row{display:grid;grid-template-columns:repeat(3,62px)}
  .home-v15 .ld-library-grid,.home-v15 .ld-community-grid{grid-template-columns:1fr}
  .home-v15 .ld-settings-card .settings{grid-template-columns:1fr}
  .home-v15 .ld-settings-card .ratio-field{grid-column:span 1}
}


/* v15.2 safe UI polish — structure preserved */
.home-v15{
  --ld-shadow-soft:0 16px 36px rgba(0,0,0,.22);
  --ld-shadow-strong:0 22px 48px rgba(0,0,0,.30);
}

/* hero clarity */
.home-v15 .ld-hero-bg{
  background:
    radial-gradient(circle at 24% 26%,rgba(231,149,49,.26),transparent 24%),
    radial-gradient(circle at 76% 22%,rgba(68,168,160,.14),transparent 26%),
    url('../images/hero-character.webp') center 42%/cover no-repeat;
  filter:saturate(.88) blur(2.2px) brightness(.78);
  transform:scale(1.05);
}
.home-v15 .ld-hero-shade{
  background:
    linear-gradient(180deg,rgba(0,0,0,.32) 0%,rgba(0,0,0,.36) 34%,rgba(5,5,5,.95) 100%),
    linear-gradient(90deg,rgba(5,5,5,.62),transparent 22%,transparent 78%,rgba(5,5,5,.56));
}
.home-v15 .ld-hero-title h1{
  text-shadow:0 10px 38px rgba(0,0,0,.55);
}
.home-v15 .ld-hero-title p{
  max-width:700px;
  color:#ececf0;
}

/* prompt bar */
.home-v15 .ld-prompt-wrap{width:min(930px,100%)}
.home-v15 .ld-prompt-bar{
  grid-template-columns:38px minmax(0,1fr) 42px 44px 146px;
  border-color:rgba(255,255,255,.13);
  background:rgba(18,18,22,.90);
  box-shadow:0 20px 52px rgba(0,0,0,.40),inset 0 1px 0 rgba(255,255,255,.05);
}
.home-v15 .ld-prompt-bar input{
  font-size:15px;
  color:#f6f6f8;
}
.home-v15 .ld-prompt-ai{
  border-color:rgba(244,202,126,.24);
  background:linear-gradient(180deg,#232329,#1a1a20);
  color:var(--ld-gold);
}
.home-v15 .ld-prompt-bar>small{
  opacity:.78;
}
.home-v15 .ld-generate{
  box-shadow:0 14px 30px rgba(229,173,83,.18),inset 0 1px 0 rgba(255,255,255,.45);
  transition:transform .18s ease, filter .18s ease;
}
.home-v15 .ld-generate:hover{
  transform:translateY(-1px);
  filter:saturate(1.03) brightness(1.02);
}

/* sidebar */
.home-v15 .ld-sidebar{
  box-shadow:10px 0 34px rgba(0,0,0,.26);
}
.home-v15 .ld-nav-item{
  position:relative;
  overflow:hidden;
}
.home-v15 .ld-nav-item::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 64%);
  opacity:0;
  transition:opacity .18s ease;
}
.home-v15 .ld-nav-item span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.028);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.home-v15 .ld-nav-item:hover::before,.home-v15 .ld-nav-item.active::before{opacity:1}
.home-v15 .ld-nav-item:hover,.home-v15 .ld-nav-item.active{
  border-color:rgba(255,255,255,.10);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.home-v15 .ld-nav-item:hover span,.home-v15 .ld-nav-item.active span{
  border-color:rgba(244,202,126,.30);
  color:var(--ld-gold);
  background:linear-gradient(180deg,rgba(244,202,126,.16),rgba(244,202,126,.05));
}
.home-v15 .ld-user-button{
  box-shadow:0 10px 22px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.07);
}

/* quick tool row */
.home-v15 .ld-tool-row{gap:22px}
.home-v15 .ld-tool-btn span{
  border-color:rgba(255,255,255,.13);
  background:linear-gradient(180deg,rgba(24,24,28,.92),rgba(16,16,20,.90));
}
.home-v15 .ld-tool-btn small{
  color:#f4f4f6;
  opacity:.94;
}
.home-v15 .ld-tool-btn:hover span,.home-v15 .ld-tool-btn.active span{
  box-shadow:0 14px 28px rgba(0,0,0,.26),0 0 0 1px rgba(244,202,126,.08);
}

/* section typography */
.home-v15 .ld-section-head h2{
  letter-spacing:-.03em;
}
.home-v15 .ld-section-head button,.home-v15 .ld-section-head a{
  color:#f1f1f3;
  opacity:.9;
}
.home-v15 .ld-section-head button:hover,.home-v15 .ld-section-head a:hover{
  color:var(--ld-gold);
}

/* card rails */
.home-v15 .ld-blueprint-card,
.home-v15 .ld-library-card,
.home-v15 .ld-community-grid figure,
.home-v15 .ld-studio-panel,
.home-v15 .ld-upload-card,
.home-v15 .ld-settings-card{
  box-shadow:var(--ld-shadow-soft);
}
.home-v15 .ld-blueprint-card{
  border:1px solid rgba(255,255,255,.08);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.home-v15 .ld-blueprint-card:hover{
  transform:translateY(-2px);
  border-color:rgba(244,202,126,.22);
  box-shadow:var(--ld-shadow-strong);
}
.home-v15 .ld-blueprint-card::after{
  content:'';
  position:absolute;
  left:14px;right:14px;bottom:12px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(244,202,126,.75),transparent);
  opacity:0;
  transition:opacity .2s ease;
}
.home-v15 .ld-blueprint-card:hover::after{opacity:1}
.home-v15 .ld-blueprint-card span{
  text-shadow:0 4px 18px rgba(0,0,0,.55);
}
.home-v15 .ld-library-card,
.home-v15 .ld-community-grid figure{
  border:1px solid rgba(255,255,255,.08);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.home-v15 .ld-library-card:hover,
.home-v15 .ld-community-grid figure:hover{
  transform:translateY(-2px);
  border-color:rgba(244,202,126,.18);
  box-shadow:0 18px 38px rgba(0,0,0,.28);
}
.home-v15 .ld-library-card figcaption,
.home-v15 .ld-community-grid figcaption{
  background:linear-gradient(180deg,rgba(10,10,12,0) 0%,rgba(10,10,12,.92) 100%);
}

/* studio */
.home-v15 .ld-studio-panel{
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,#111217,#0a0b0f);
}
.home-v15 .ld-upload-card,.home-v15 .ld-settings-card{
  border:1px solid rgba(255,255,255,.08);
  background:#0d0e12;
}
.home-v15 .dropzone{
  border-color:rgba(255,255,255,.12);
}
.home-v15 .engine-status{
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:rgba(255,255,255,.03);
}

@media (max-width:860px){
  .home-v15 .ld-prompt-bar{grid-template-columns:38px minmax(0,1fr) 40px 38px 124px}
}
@media (max-width:760px){
  .home-v15 .ld-tool-row{gap:16px;flex-wrap:wrap}
  .home-v15 .ld-prompt-wrap{width:min(96%,100%)}
}


/* v15.3 visual tune — safe layer */
.home-v15 .ld-hero{min-height:454px}
.home-v15 .ld-hero-content{min-height:454px;padding:56px 28px 28px}
.home-v15 .ld-hero-bg{
  background:
    radial-gradient(circle at 24% 24%,rgba(231,149,49,.24),transparent 22%),
    radial-gradient(circle at 76% 18%,rgba(68,168,160,.12),transparent 24%),
    url('../images/hero-character.webp') center 32%/cover no-repeat;
  filter:saturate(.84) blur(1.7px) brightness(.74);
  transform:scale(1.035);
  opacity:.9;
}
.home-v15 .ld-hero-shade{
  background:
    radial-gradient(ellipse at center 26%,rgba(0,0,0,.18) 0%,rgba(0,0,0,.42) 36%,rgba(0,0,0,.72) 76%,rgba(5,5,5,.95) 100%),
    linear-gradient(90deg,rgba(5,5,5,.58),transparent 24%,transparent 76%,rgba(5,5,5,.56));
}
.home-v15 .ld-hero-title{max-width:940px}
.home-v15 .ld-hero-title h1{margin:10px 0 10px;font-size:clamp(50px,6vw,98px)}
.home-v15 .ld-hero-title p{max-width:720px;font-size:13px;line-height:1.5;color:#ededf0}
.home-v15 .ld-prompt-wrap{width:min(950px,100%);margin-top:28px}
.home-v15 .ld-prompt-bar{grid-template-columns:38px minmax(0,1fr) 42px 42px 136px}
.home-v15 .ld-prompt-bar>small{font-size:10px;opacity:.44;justify-self:center}
.home-v15 .ld-tool-row{margin-top:20px}

/* smoother transition between hero and cards */
.home-v15 .ld-section#featured{position:relative;padding-top:20px}
.home-v15 .ld-section#featured::before{
  content:'';
  position:absolute;
  left:0;right:0;top:-26px;height:26px;
  background:linear-gradient(180deg,rgba(8,8,10,0),rgba(8,8,10,.92));
  pointer-events:none;
}

/* featured rail refinements */
.home-v15 .ld-card-rail{grid-auto-columns:218px;gap:10px}
.home-v15 .ld-blueprint-card{height:232px;border-radius:18px}
.home-v15 .ld-blueprint-card::after{background:linear-gradient(180deg,transparent 38%,rgba(0,0,0,.30) 56%,rgba(0,0,0,.95) 100%)}
.home-v15 .ld-blueprint-card img{filter:saturate(.98) contrast(1.03)}
.home-v15 .ld-blueprint-card:hover img{transform:scale(1.05)}
.home-v15 .ld-blueprint-card>span{left:14px;right:12px;bottom:14px;font-size:13px;line-height:1.1}
.home-v15 .ld-card-tag{
  position:absolute;z-index:2;left:14px;top:14px;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:24px;padding:0 9px;border-radius:999px;
  background:rgba(10,10,12,.62);border:1px solid rgba(255,255,255,.12);
  color:#f4f4f6;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  backdrop-filter:blur(10px);box-shadow:0 8px 16px rgba(0,0,0,.18);
}

/* differentiate repeated card imagery by crop and tone */
.home-v15 .ld-card-rail .ld-blueprint-card:nth-child(1) img{object-position:center 52%}
.home-v15 .ld-card-rail .ld-blueprint-card:nth-child(2) img{object-position:center 48%;filter:saturate(.92) brightness(.98)}
.home-v15 .ld-card-rail .ld-blueprint-card:nth-child(3) img{object-position:center 44%;filter:saturate(.92) brightness(.95)}
.home-v15 .ld-card-rail .ld-blueprint-card:nth-child(4) img{object-position:center 40%;filter:saturate(1.02) brightness(.88)}
.home-v15 .ld-card-rail .ld-blueprint-card:nth-child(5) img{object-position:center 46%;filter:saturate(.82) brightness(.86)}
.home-v15 .ld-card-rail .ld-blueprint-card:nth-child(6) img{object-position:center 34%;filter:saturate(.92) brightness(.92)}
.home-v15 .ld-card-rail .ld-blueprint-card:nth-child(7) img{object-position:center 28%;filter:saturate(.96) brightness(.80)}

/* library and community visible sooner */
.home-v15 .ld-library-grid{gap:12px}
.home-v15 #recentStrip .image-card,.home-v15 .ld-library-card{min-height:220px;border-radius:18px}
.home-v15 #recentStrip .image-card img{height:178px}
.home-v15 .ld-community-grid img{height:204px}

@media(max-width:1024px){
  .home-v15 .ld-card-rail{grid-auto-columns:206px}
}
@media(max-width:760px){
  .home-v15 .ld-hero,.home-v15 .ld-hero-content{min-height:430px}
  .home-v15 .ld-card-rail{grid-auto-columns:188px}
  .home-v15 .ld-blueprint-card{height:214px}
  .home-v15 #recentStrip .image-card img{height:164px}
}


/* v15.4 — icon + prompt luxury polish (CSS-only, structure preserved) */

/* global rail rhythm */
.home-v15 .ld-nav{gap:4px}
.home-v15 .ld-nav-item{min-height:58px}
.home-v15 .ld-nav-item small{font-size:8.5px;letter-spacing:.01em}
.home-v15 .ld-nav-item span{
  position:relative;
  width:36px;
  height:36px;
  font-size:15px;
  border-radius:13px;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease;
}
.home-v15 .ld-nav-item span::after{
  content:'';
  position:absolute;
  inset:7px;
  border:1px solid rgba(255,255,255,.045);
  border-radius:9px;
  pointer-events:none;
}
.home-v15 .ld-nav-item:hover span,.home-v15 .ld-nav-item.active span{
  transform:translateY(-1px);
  box-shadow:0 0 22px rgba(244,202,126,.10),inset 0 1px 0 rgba(255,255,255,.07);
}
.home-v15 .ld-nav-item:nth-child(3n+1) span{color:#ead8aa}
.home-v15 .ld-nav-item:nth-child(3n+2) span{color:#d7e0f3}
.home-v15 .ld-nav-item:nth-child(3n+3) span{color:#d8d0ef}

/* quick tools become more coherent and product-like */
.home-v15 .ld-tool-row{gap:20px}
.home-v15 .ld-tool-btn{width:66px}
.home-v15 .ld-tool-btn span{
  width:48px;
  height:48px;
  border-radius:16px;
  font-size:17px;
  color:#e8ebf2;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.06),transparent 42%),
    linear-gradient(180deg,rgba(25,25,30,.94),rgba(15,15,19,.92));
}
.home-v15 .ld-tool-btn span::before{
  content:'';
  position:absolute;
  inset:-1px;
  border-radius:16px;
  padding:1px;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.025));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}
.home-v15 .ld-tool-btn:hover span,.home-v15 .ld-tool-btn.active span{
  color:var(--ld-gold);
  border-color:rgba(244,202,126,.34);
  background:
    radial-gradient(circle at 50% 0%,rgba(244,202,126,.16),transparent 44%),
    linear-gradient(180deg,rgba(31,28,22,.96),rgba(18,16,14,.94));
  box-shadow:0 14px 30px rgba(0,0,0,.28),0 0 24px rgba(244,202,126,.10);
}
.home-v15 .ld-tool-btn small{font-size:9px;font-weight:700;letter-spacing:.01em}

/* prompt bar premium treatment */
.home-v15 .ld-prompt-bar{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 0%,rgba(244,202,126,.06),transparent 24%),
    linear-gradient(180deg,rgba(24,24,29,.94),rgba(15,15,19,.93));
  border-color:rgba(255,255,255,.14);
  box-shadow:0 24px 58px rgba(0,0,0,.44),inset 0 1px 0 rgba(255,255,255,.055),0 0 0 1px rgba(255,255,255,.02);
}
.home-v15 .ld-prompt-bar::before{
  content:'';
  position:absolute;
  left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(244,202,126,.55),transparent);
  opacity:.55;
}
.home-v15 .ld-prompt-icon{
  width:34px;
  height:34px;
  border-radius:12px;
  background:linear-gradient(180deg,rgba(244,202,126,.18),rgba(244,202,126,.05));
  border-color:rgba(244,202,126,.24);
  color:var(--ld-gold);
  box-shadow:0 0 20px rgba(244,202,126,.08),inset 0 1px 0 rgba(255,255,255,.08);
}
.home-v15 .ld-prompt-bar input{font-weight:520;letter-spacing:.003em}
.home-v15 .ld-prompt-ai{
  border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
  border-color:rgba(255,255,255,.10);
  color:#efe4c9;
}
.home-v15 .ld-prompt-ai:hover{
  border-color:rgba(244,202,126,.28);
  color:var(--ld-gold);
}
.home-v15 .ld-generate{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#f7d88f 0%,#e8b259 58%,#d99d43 100%);
  box-shadow:0 16px 32px rgba(225,166,70,.20),inset 0 1px 0 rgba(255,255,255,.5);
}
.home-v15 .ld-generate::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,transparent 12%,rgba(255,255,255,.22) 28%,transparent 44%);
  transform:translateX(-120%);
  transition:transform .55s ease;
}
.home-v15 .ld-generate:hover::before{transform:translateX(120%)}
.home-v15 .ld-generate span,.home-v15 .ld-generate b{position:relative;z-index:1}

/* blueprint cards: clearer hierarchy */
.home-v15 .ld-blueprint-card{
  box-shadow:0 16px 36px rgba(0,0,0,.24);
}
.home-v15 .ld-blueprint-card .ld-card-tag{
  border-color:rgba(255,255,255,.14);
  background:rgba(9,9,12,.72);
  box-shadow:0 10px 20px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.05);
}
.home-v15 .ld-blueprint-card>span{
  padding-right:10px;
  font-size:13.5px;
}
.home-v15 .ld-blueprint-card:hover{
  border-color:rgba(244,202,126,.26);
  box-shadow:0 24px 48px rgba(0,0,0,.34),0 0 0 1px rgba(244,202,126,.05);
}
.home-v15 .ld-blueprint-card:hover .ld-card-tag{
  border-color:rgba(244,202,126,.28);
  color:var(--ld-gold);
}

/* section titles and secondary links */
.home-v15 .ld-section-head{align-items:flex-end}
.home-v15 .ld-section-head h2{font-size:23px}
.home-v15 .ld-section-head button,.home-v15 .ld-section-head a{
  position:relative;
  padding-bottom:8px;
}
.home-v15 .ld-section-head button::after,.home-v15 .ld-section-head a::after{
  content:'';
  position:absolute;
  left:0;right:0;bottom:4px;height:1px;
  background:linear-gradient(90deg,rgba(244,202,126,.55),transparent);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .18s ease;
}
.home-v15 .ld-section-head button:hover::after,.home-v15 .ld-section-head a:hover::after{transform:scaleX(1)}

/* subtle card consistency */
.home-v15 #recentStrip .image-card,.home-v15 .ld-community-grid figure{
  background:linear-gradient(180deg,#121216,#0d0d10);
}
.home-v15 #recentStrip .image-card img,.home-v15 .ld-community-grid img{
  transition:transform .24s ease,filter .24s ease;
}
.home-v15 #recentStrip .image-card:hover img,.home-v15 .ld-community-grid figure:hover img{
  transform:scale(1.02);
  filter:saturate(1.03);
}

@media(max-width:760px){
  .home-v15 .ld-tool-row{gap:14px}
  .home-v15 .ld-tool-btn{width:62px}
  .home-v15 .ld-tool-btn span{width:46px;height:46px}
}

/* v15.5 — reference-style compact left navigation */
.home-v15 .ld-sidebar.ld-sidebar-reference{
  top:4px;
  height:calc(100vh - 8px);
  width:72px;
  margin:0 4px;
  padding:8px 6px 10px;
  overflow-y:auto;
  overflow-x:hidden;
  border:1px solid rgba(255,255,255,.22);
  border-radius:27px;
  background:linear-gradient(180deg,#111113 0%,#0b0b0d 46%,#09090b 100%);
  box-shadow:8px 0 28px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.035);
  scrollbar-width:none;
}
.home-v15 .ld-sidebar.ld-sidebar-reference::-webkit-scrollbar{display:none}
.home-v15 .ld-sidebar-reference .ld-logo{
  width:58px;
  height:58px;
  min-height:58px;
  margin:0 auto 4px;
  border:0;
  border-radius:18px;
  background:transparent;
  box-shadow:none;
}
.home-v15 .ld-sidebar-reference .ld-logo .brand-mark{
  width:37px;
  height:37px;
  flex-basis:37px;
  filter:drop-shadow(0 0 9px rgba(255,255,255,.12));
}
.home-v15 .ld-sidebar-reference .ld-nav{
  width:100%;
  display:grid;
  gap:1px;
  margin:0;
}
.home-v15 .ld-sidebar-reference .ld-nav-item{
  position:relative;
  width:100%;
  min-height:54px;
  padding:5px 2px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  overflow:visible;
  border:1px solid transparent;
  border-radius:15px;
  background:transparent;
  color:#f4f4f5;
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.home-v15 .ld-sidebar-reference .ld-nav-item::before,
.home-v15 .ld-sidebar-reference .ld-nav-item span::after{display:none}
.home-v15 .ld-sidebar-reference .ld-nav-item:hover,
.home-v15 .ld-sidebar-reference .ld-nav-item.active{
  transform:none;
  border-color:rgba(255,255,255,.07);
  background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.07));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.home-v15 .ld-sidebar-reference .ld-side-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#f4f4f6;
  box-shadow:none;
}
.home-v15 .ld-sidebar-reference .ld-nav-item:hover .ld-side-icon,
.home-v15 .ld-sidebar-reference .ld-nav-item.active .ld-side-icon{
  color:#fff;
  border:0;
  background:transparent;
  box-shadow:none;
}
.home-v15 .ld-sidebar-reference .ld-side-icon svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.home-v15 .ld-sidebar-reference .ld-nav-item small{
  max-width:62px;
  color:#f2f2f4;
  font-size:9px;
  line-height:1.05;
  font-weight:700;
  letter-spacing:-.01em;
  white-space:normal;
  text-align:center;
}
.home-v15 .ld-sidebar-reference .ld-audio-item{padding-bottom:13px}
.home-v15 .ld-sidebar-reference .ld-audio-item em{
  position:absolute;
  left:50%;
  bottom:1px;
  transform:translateX(-50%);
  min-width:31px;
  height:17px;
  padding:0 5px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#fff;
  color:#0b0b0d;
  font-size:8px;
  line-height:1;
  font-style:normal;
  font-weight:900;
  box-shadow:0 4px 10px rgba(0,0,0,.22);
}
.home-v15 .ld-sidebar-reference .ld-nav-divider{
  width:32px;
  height:1px;
  margin:5px auto;
  flex:0 0 auto;
  background:rgba(255,255,255,.16);
}
.home-v15 .ld-sidebar-reference .ld-sidebar-bottom{
  width:100%;
  margin-top:auto;
  display:grid;
  justify-items:center;
  gap:2px;
}
.home-v15 .ld-sidebar-reference .ld-dots-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:3px;
}
.home-v15 .ld-sidebar-reference .ld-dots-icon b{
  width:3px;
  height:3px;
  border-radius:50%;
  background:currentColor;
}
.home-v15 .ld-sidebar-reference .ld-credit-line{
  width:100%;
  min-height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  color:#30d97b;
  font-size:10px;
  font-weight:850;
}
.home-v15 .ld-sidebar-reference .ld-credit-icon{
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
}
.home-v15 .ld-sidebar-reference .ld-credit-icon svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.home-v15 .ld-sidebar-reference .ld-profile-button{
  width:56px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  border:0;
  background:transparent;
  color:#fff;
}
.home-v15 .ld-sidebar-reference .ld-profile-button span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(180deg,#31b8f5,#1598dc);
  color:#06141b;
  font-size:16px;
  font-weight:900;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.36),0 8px 16px rgba(0,0,0,.22);
}
.home-v15 .ld-sidebar-reference .ld-profile-button i{
  color:#a9abb2;
  font-size:10px;
  font-style:normal;
}
.home-v15 .ld-sidebar-reference .ld-auth-pill{
  width:58px;
}

@media(max-height:820px) and (min-width:761px){
  .home-v15 .ld-sidebar.ld-sidebar-reference{padding-top:5px;padding-bottom:6px}
  .home-v15 .ld-sidebar-reference .ld-logo{height:46px;min-height:46px}
  .home-v15 .ld-sidebar-reference .ld-logo .brand-mark{width:31px;height:31px;flex-basis:31px}
  .home-v15 .ld-sidebar-reference .ld-nav-item{min-height:46px;gap:2px;padding:3px 2px}
  .home-v15 .ld-sidebar-reference .ld-side-icon{width:25px;height:25px}
  .home-v15 .ld-sidebar-reference .ld-side-icon svg{width:17px;height:17px}
  .home-v15 .ld-sidebar-reference .ld-nav-item small{font-size:7.7px}
  .home-v15 .ld-sidebar-reference .ld-nav-divider{margin:3px auto}
  .home-v15 .ld-sidebar-reference .ld-credit-line{min-height:23px}
  .home-v15 .ld-sidebar-reference .ld-profile-button{height:32px}
  .home-v15 .ld-sidebar-reference .ld-profile-button span{width:29px;height:29px;font-size:13px}
}

@media(max-width:760px){
  .home-v15 .ld-sidebar.ld-sidebar-reference{
    position:fixed;
    left:3px;
    top:68px;
    bottom:6px;
    width:72px;
    height:auto;
    margin:0;
    border-radius:24px;
    transform:translateX(-120%);
  }
  .home-v15 .ld-sidebar.ld-sidebar-reference.open{transform:translateX(0)}
}


/* v15.6 hero focus + neon prompt ring */
.home-v15 .ld-hero{
  min-height:520px;
  background:#060606;
}
.home-v15 .ld-hero::after{
  content:'';
  position:absolute;
  inset:auto 0 0;
  height:92px;
  background:linear-gradient(180deg,rgba(8,8,10,0),rgba(8,8,10,.92));
  z-index:1;
  pointer-events:none;
}
.home-v15 .ld-hero-bg{
  background:
    radial-gradient(circle at 57% 31%,rgba(255,199,105,.46),transparent 15%),
    radial-gradient(circle at 61% 28%,rgba(255,133,32,.30),transparent 21%),
    radial-gradient(circle at 50% 70%,rgba(0,0,0,.12),transparent 35%),
    url('../images/hero-neon-sunset-optimized.webp') center 45%/cover no-repeat;
  filter:saturate(1.08) contrast(1.04) brightness(.74) blur(0px);
  transform:scale(1.045);
  opacity:.98;
}
.home-v15 .ld-hero-shade{
  background:
    linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.22) 24%,rgba(0,0,0,.42) 54%,rgba(6,6,6,.95) 100%),
    linear-gradient(90deg,rgba(5,5,5,.54),transparent 18%,transparent 80%,rgba(5,5,5,.46));
}
.home-v15 .ld-hero-content{
  min-height:520px;
  padding:56px 28px 34px;
}
.home-v15 .ld-hero-title span{
  color:rgba(255,244,224,.86);
  text-shadow:0 0 22px rgba(255,190,92,.22);
}
.home-v15 .ld-hero-title h1{
  text-shadow:0 12px 40px rgba(0,0,0,.52), 0 0 34px rgba(255,174,72,.10);
}
.home-v15 .ld-hero-title p{
  color:#f1f1f3;
  max-width:760px;
}
.home-v15 .ld-prompt-wrap{
  position:relative;
  width:min(920px,100%);
  margin-top:34px;
}
.home-v15 .ld-prompt-wrap::before{
  content:'';
  position:absolute;
  inset:-12px -16px;
  border-radius:34px;
  background:
    conic-gradient(from 0deg, rgba(255,169,70,.0), rgba(255,169,70,.55), rgba(130,95,255,.45), rgba(84,224,255,.42), rgba(255,169,70,.0));
  filter:blur(18px);
  opacity:.84;
  animation:ldNeonOrbit 8s linear infinite;
  z-index:0;
  pointer-events:none;
}
.home-v15 .ld-prompt-wrap::after{
  content:'';
  position:absolute;
  inset:-3px;
  border-radius:28px;
  border:1px solid rgba(255,196,115,.18);
  box-shadow:0 0 0 1px rgba(122,87,255,.08), 0 0 26px rgba(96,87,255,.15), 0 0 44px rgba(255,161,60,.12);
  z-index:0;
  pointer-events:none;
}
.home-v15 .ld-prompt-bar{
  position:relative;
  z-index:1;
  min-height:64px;
  border-color:rgba(255,218,164,.16);
  background:linear-gradient(180deg,rgba(19,20,26,.84),rgba(14,15,20,.90));
  box-shadow:0 20px 54px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px rgba(130,95,255,.10);
  backdrop-filter:blur(22px);
}
.home-v15 .ld-prompt-bar::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:22px;
  padding:1px;
  background:linear-gradient(90deg,rgba(255,180,84,.28),rgba(107,95,255,.24),rgba(79,220,255,.20),rgba(255,180,84,.18));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  pointer-events:none;
}
.home-v15 .ld-prompt-icon{
  border-color:rgba(255,205,126,.16);
  background:linear-gradient(180deg,#29242c,#1d1a22);
  color:#ffd187;
  box-shadow:0 0 18px rgba(255,177,68,.14);
}
.home-v15 .ld-prompt-ai{
  border-color:rgba(123,104,255,.26);
  background:linear-gradient(180deg,#2b2634,#1f1b28);
  color:#f6d99c;
  box-shadow:0 0 18px rgba(123,104,255,.16);
}
.home-v15 .ld-generate{
  box-shadow:0 16px 30px rgba(229,173,83,.20), inset 0 1px 0 rgba(255,255,255,.45), 0 0 16px rgba(255,182,71,.10);
}
.home-v15 .ld-generate:hover{
  filter:brightness(1.03) saturate(1.02);
}
@keyframes ldNeonOrbit{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}
@media (max-width:760px){
  .home-v15 .ld-hero, .home-v15 .ld-hero-content{min-height:480px}
  .home-v15 .ld-prompt-wrap::before{inset:-10px -8px;filter:blur(16px)}
}


/* v15.7 minimal hero + animated neon gallery */
.home-v15 .ld-main{padding:0 20px 56px;background:radial-gradient(circle at top,rgba(75,83,255,.08),transparent 18%),#050505}

.home-v15 .ld-hero{
  min-height:490px;
  margin:0 -20px;
  background:#06070a;
}
.home-v15 .ld-hero-bg{
  background:
    radial-gradient(circle at 50% 22%, rgba(126,96,255,.20), transparent 18%),
    radial-gradient(circle at 20% 30%, rgba(63,222,255,.14), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(255,173,79,.12), transparent 14%),
    linear-gradient(180deg,#0a0b10 0%, #07080d 46%, #050505 100%);
  filter:none;
  transform:none;
  opacity:1;
}
.home-v15 .ld-hero-bg::before,
.home-v15 .ld-hero-bg::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
}
.home-v15 .ld-hero-bg::before{
  background:
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:52px 52px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.34),rgba(0,0,0,.08));
  opacity:.28;
}
.home-v15 .ld-hero-bg::after{
  background:
    radial-gradient(circle at 18% 62%, rgba(114,93,255,.28), transparent 0 10%, transparent 16%),
    radial-gradient(circle at 80% 36%, rgba(61,218,255,.24), transparent 0 9%, transparent 15%),
    radial-gradient(circle at 58% 18%, rgba(255,177,73,.18), transparent 0 7%, transparent 13%);
  filter:blur(34px);
  animation:ldFloatGlow 9s ease-in-out infinite alternate;
  opacity:.82;
}
.home-v15 .ld-hero-shade{
  background:
    radial-gradient(ellipse at center top, rgba(0,0,0,.18) 0%, rgba(0,0,0,.36) 48%, rgba(4,4,5,.94) 100%),
    linear-gradient(90deg, rgba(5,5,5,.46), transparent 18%, transparent 82%, rgba(5,5,5,.44));
}
.home-v15 .ld-hero-content{
  min-height:490px;
  padding:72px 28px 36px;
}
.home-v15 .ld-hero-title span{color:rgba(236,239,255,.82);text-shadow:0 0 18px rgba(105,95,255,.22)}
.home-v15 .ld-hero-title h1{
  text-shadow:0 14px 42px rgba(0,0,0,.55),0 0 34px rgba(105,95,255,.14),0 0 22px rgba(70,216,255,.08);
}
.home-v15 .ld-hero-title p{max-width:780px;color:#f3f3f5}
.home-v15 .ld-hero-note{
  margin-top:16px;
  color:#a7adbb;
  font-size:12px;
  letter-spacing:.01em;
}
.home-v15 .ld-prompt-wrap{
  position:relative;
  width:min(980px,100%);
  margin-top:34px;
}
.home-v15 .ld-prompt-wrap::before{
  content:'';
  position:absolute;
  inset:-10px -12px;
  border-radius:32px;
  background:
    conic-gradient(from 0deg, rgba(126,96,255,0) 0deg, rgba(126,96,255,.68) 58deg, rgba(63,222,255,.78) 136deg, rgba(255,170,68,.72) 228deg, rgba(126,96,255,0) 360deg);
  filter:blur(14px);
  opacity:.88;
  animation:ldNeonSpin 6.5s linear infinite;
  pointer-events:none;
}
.home-v15 .ld-prompt-wrap::after{
  content:'';
  position:absolute;
  inset:-2px;
  border-radius:26px;
  background:linear-gradient(90deg, rgba(126,96,255,.28), rgba(63,222,255,.22), rgba(255,170,68,.24), rgba(126,96,255,.20));
  filter:blur(2px);
  opacity:.9;
  animation:ldNeonPulse 2.8s ease-in-out infinite;
  pointer-events:none;
}
.home-v15 .ld-prompt-bar{
  position:relative;
  z-index:1;
  min-height:66px;
  border-color:rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(18,19,26,.88),rgba(11,12,18,.92));
  box-shadow:0 20px 60px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.05);
}
.home-v15 .ld-prompt-bar::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:22px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06), 0 0 22px rgba(126,96,255,.12), 0 0 40px rgba(63,222,255,.08);
  pointer-events:none;
}
.home-v15 .ld-prompt-icon{
  border-color:rgba(126,96,255,.26);
  background:linear-gradient(180deg,#232434,#181926);
  color:#e8dcff;
  box-shadow:0 0 18px rgba(126,96,255,.22);
}
.home-v15 .ld-prompt-bar input::placeholder{color:#8f95a8}
.home-v15 .ld-prompt-ai{
  border-color:rgba(63,222,255,.22);
  background:linear-gradient(180deg,#25293a,#191d28);
  color:#d7faff;
  box-shadow:0 0 18px rgba(63,222,255,.14);
}
.home-v15 .ld-prompt-bar>small{font-size:9px;color:#777f92;opacity:.65}
.home-v15 .ld-generate{
  background:linear-gradient(180deg,#f6d48d,#e4ab4f);
  box-shadow:0 12px 28px rgba(228,171,79,.18), inset 0 1px 0 rgba(255,255,255,.5);
}
.home-v15 .ld-generate b{transition:transform .22s ease}
.home-v15 .ld-generate:hover b{transform:translateX(2px) translateY(-1px)}
.home-v15 .ld-tool-row{display:none}

.home-v15 .ld-gallery-section{padding:28px 0 0}
.home-v15 .ld-gallery-head{align-items:end;justify-content:space-between;margin-bottom:16px}
.home-v15 .ld-gallery-head>div{display:grid;gap:8px}
.home-v15 .ld-gallery-head h2{font-size:28px;letter-spacing:-.03em}
.home-v15 .ld-gallery-head p{margin:0;color:#9aa0ad;font-size:13px}
.home-v15 .ld-gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.home-v15 .ld-gallery-grid .image-card,
.home-v15 .ld-gallery-grid .ld-library-card{
  min-height:260px;
  border-radius:20px;
  overflow:hidden;
  background:linear-gradient(180deg,#0f1015,#0b0b0f);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 36px rgba(0,0,0,.24);
}
.home-v15 .ld-gallery-grid .image-card{display:block;text-decoration:none;color:#fff}
.home-v15 .ld-gallery-grid .image-card img{width:100%;height:214px;object-fit:cover;display:block;transition:transform .32s ease, filter .32s ease}
.home-v15 .ld-gallery-grid .image-card:hover img{transform:scale(1.03);filter:saturate(1.02)}
.home-v15 .ld-gallery-grid .image-card figcaption{padding:13px 14px 14px;display:grid;gap:4px;font-size:14px;font-weight:800}
.home-v15 .ld-gallery-grid .image-card figcaption small{color:#9fa5b3;font-size:11px;font-weight:500}
.home-v15 .ld-gallery-grid .skeleton{background:linear-gradient(105deg,#101319 20%,#1a1e27 40%,#101319 60%);background-size:220% 100%;animation:ld-shimmer 1.6s linear infinite}

@keyframes ldFloatGlow{
  0%{transform:translate3d(-2%,0,0) scale(1)}
  100%{transform:translate3d(2%,-3%,0) scale(1.08)}
}
@keyframes ldNeonSpin{
  0%{transform:rotate(0deg) scale(1)}
  50%{transform:rotate(180deg) scale(1.015)}
  100%{transform:rotate(360deg) scale(1)}
}
@keyframes ldNeonPulse{
  0%,100%{opacity:.62;transform:scale(1)}
  50%{opacity:.95;transform:scale(1.004)}
}

@media (max-width:1180px){
  .home-v15 .ld-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:880px){
  .home-v15 .ld-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .home-v15 .ld-hero,.home-v15 .ld-hero-content{min-height:450px}
  .home-v15 .ld-gallery-grid{grid-template-columns:1fr}
  .home-v15 .ld-prompt-wrap::before{inset:-8px -8px;filter:blur(12px)}
}

/* v15.8 — dense masonry gallery with hover intelligence */
.home-v15 .ld-gallery-section{
  margin:0 -20px;
  padding:0;
  background:#050505;
}
.home-v15 .ld-gallery-grid{
  display:block;
  column-count:4;
  column-gap:3px;
  width:100%;
  padding:0;
}
.home-v15 .ld-gallery-card{
  position:relative;
  width:100%;
  margin:0 0 3px;
  break-inside:avoid;
  overflow:hidden;
  border-radius:0;
  background:#0c0d10;
  border:0;
  outline:0;
  box-shadow:none;
  isolation:isolate;
}
.home-v15 .ld-gallery-card.ratio-tall{aspect-ratio:3/5}
.home-v15 .ld-gallery-card.ratio-portrait{aspect-ratio:4/5}
.home-v15 .ld-gallery-card.ratio-square{aspect-ratio:1/1}
.home-v15 .ld-gallery-card.ratio-landscape{aspect-ratio:4/3}
.home-v15 .ld-gallery-card>img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .34s ease,filter .34s ease;
}
.home-v15 .ld-gallery-open{
  position:absolute;
  inset:0;
  z-index:2;
}
.home-v15 .ld-gallery-overlay{
  position:absolute;
  inset:0;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:15px;
  background:
    linear-gradient(180deg,rgba(5,6,9,.72) 0%,rgba(5,6,9,.04) 30%,rgba(5,6,9,.20) 48%,rgba(5,6,9,.94) 100%);
  opacity:0;
  transform:translateY(8px);
  transition:opacity .25s ease,transform .25s ease;
  pointer-events:none;
}
.home-v15 .ld-gallery-card:hover .ld-gallery-overlay,
.home-v15 .ld-gallery-card:focus-within .ld-gallery-overlay{
  opacity:1;
  transform:translateY(0);
}
.home-v15 .ld-gallery-card:hover>img,
.home-v15 .ld-gallery-card:focus-within>img{
  transform:scale(1.025);
  filter:brightness(.52) saturate(.92);
}
.home-v15 .ld-gallery-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.home-v15 .ld-gallery-creator{
  display:inline-flex;
  align-items:center;
  min-width:0;
  gap:9px;
  color:#fff;
}
.home-v15 .ld-gallery-creator i{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(180deg,#ff4c96,#e21d72);
  color:#fff;
  font-size:11px;
  font-style:normal;
  font-weight:900;
  box-shadow:0 8px 18px rgba(0,0,0,.22);
}
.home-v15 .ld-gallery-creator b{
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:800;
  text-shadow:0 2px 12px rgba(0,0,0,.65);
}
.home-v15 .ld-gallery-like{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(10,11,15,.68);
  color:#fff;
  font-size:12px;
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.09);
}
.home-v15 .ld-gallery-like b{font-size:12px}
.home-v15 .ld-gallery-like i{
  font-size:19px;
  font-style:normal;
  line-height:1;
}
.home-v15 .ld-gallery-bottom{
  display:grid;
  gap:10px;
  transform:translateY(10px);
  transition:transform .25s ease;
}
.home-v15 .ld-gallery-card:hover .ld-gallery-bottom,
.home-v15 .ld-gallery-card:focus-within .ld-gallery-bottom{transform:translateY(0)}
.home-v15 .ld-gallery-bottom p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  overflow:hidden;
  margin:0;
  color:#fff;
  font-size:13px;
  line-height:1.48;
  font-weight:650;
  text-shadow:0 2px 14px rgba(0,0,0,.72);
}
.home-v15 .ld-gallery-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
}
.home-v15 .ld-gallery-meta span{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#dce2ee;
  font-size:10px;
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}
.home-v15 .ld-remix-button{
  position:relative;
  z-index:4;
  width:100%;
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  background:linear-gradient(180deg,#725cff,#5d45ed);
  color:#fff;
  font-size:12px;
  font-weight:850;
  box-shadow:0 12px 24px rgba(93,69,237,.28),inset 0 1px 0 rgba(255,255,255,.22);
  pointer-events:auto;
  transition:transform .18s ease,filter .18s ease;
}
.home-v15 .ld-remix-button:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}
.home-v15 .ld-gallery-card.skeleton{
  min-height:260px;
  background:linear-gradient(105deg,#101319 20%,#1a1e27 40%,#101319 60%);
  background-size:220% 100%;
  animation:ld-shimmer 1.6s linear infinite;
}

/* left tool selection remains visually active after choosing a need */
.home-v15 .ld-nav-item[data-select-tool].active{
  border-color:rgba(126,96,255,.28);
  background:linear-gradient(180deg,rgba(126,96,255,.14),rgba(63,222,255,.05));
  box-shadow:inset 3px 0 0 rgba(126,96,255,.80),0 10px 24px rgba(0,0,0,.18);
}
.home-v15 .ld-nav-item[data-select-tool].active span{
  color:#e7deff;
  border-color:rgba(126,96,255,.32);
  box-shadow:0 0 18px rgba(126,96,255,.16);
}

@media (max-width:1380px){
  .home-v15 .ld-gallery-grid{column-count:3}
}
@media (max-width:980px){
  .home-v15 .ld-gallery-grid{column-count:2}
}
@media (max-width:620px){
  .home-v15 .ld-gallery-grid{column-count:1}
  .home-v15 .ld-gallery-overlay{
    opacity:1;
    transform:none;
    background:linear-gradient(180deg,rgba(5,6,9,.36),transparent 32%,rgba(5,6,9,.88) 100%);
  }
  .home-v15 .ld-gallery-bottom{transform:none}
}


/* v15.9 — original image ratio, no cropping */
.home-v15 .ld-gallery-card,
.home-v15 .ld-gallery-card.ratio-tall,
.home-v15 .ld-gallery-card.ratio-portrait,
.home-v15 .ld-gallery-card.ratio-square,
.home-v15 .ld-gallery-card.ratio-landscape{
  aspect-ratio:auto;
  height:auto;
}
.home-v15 .ld-gallery-card>img{
  width:100%;
  height:auto;
  max-width:100%;
  display:block;
  object-fit:contain;
  object-position:center;
  transform:none;
}
.home-v15 .ld-gallery-card:hover>img,
.home-v15 .ld-gallery-card:focus-within>img{
  transform:none;
  filter:brightness(.52) saturate(.92);
}
.home-v15 .ld-gallery-card.skeleton{
  min-height:260px;
}


/* v15.10 — balanced responsive masonry columns */
@media (min-width:1600px){
  .home-v15 .ld-gallery-grid{column-count:5;}
}
@media (min-width:901px) and (max-width:1599px){
  .home-v15 .ld-gallery-grid{column-count:3;}
}
@media (min-width:621px) and (max-width:900px){
  .home-v15 .ld-gallery-grid{column-count:2;}
}
@media (max-width:620px){
  .home-v15 .ld-gallery-grid{column-count:1;}
}


/* v15.11 nebula hero override */
.home-v15 .ld-hero{
  background:#05060a;
}
.home-v15 .ld-hero-bg{
  background:
    radial-gradient(48% 62% at 22% 18%, rgba(88,102,255,.20) 0%, rgba(88,102,255,.10) 24%, transparent 58%),
    radial-gradient(40% 54% at 78% 24%, rgba(38,214,255,.16) 0%, rgba(38,214,255,.08) 22%, transparent 60%),
    radial-gradient(34% 46% at 52% 62%, rgba(255,167,88,.12) 0%, rgba(255,167,88,.06) 18%, transparent 54%),
    radial-gradient(70% 80% at 50% 8%, rgba(255,255,255,.035) 0%, transparent 34%),
    linear-gradient(180deg, #090b14 0%, #06070d 40%, #050507 100%);
  filter:none;
  transform:none;
  opacity:1;
  overflow:hidden;
}
.home-v15 .ld-hero-bg::before,
.home-v15 .ld-hero-bg::after{content:'';position:absolute;inset:0;pointer-events:none}
.home-v15 .ld-hero-bg::before{
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.85) 0 1px, transparent 1.8px),
    radial-gradient(circle at 26% 34%, rgba(255,255,255,.58) 0 1px, transparent 1.9px),
    radial-gradient(circle at 43% 15%, rgba(255,255,255,.72) 0 1.1px, transparent 2px),
    radial-gradient(circle at 63% 28%, rgba(255,255,255,.62) 0 1px, transparent 1.8px),
    radial-gradient(circle at 82% 14%, rgba(255,255,255,.74) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 46%, rgba(255,255,255,.5) 0 1px, transparent 2px),
    radial-gradient(circle at 18% 58%, rgba(255,255,255,.44) 0 1px, transparent 2px),
    radial-gradient(circle at 90% 42%, rgba(255,255,255,.56) 0 1px, transparent 2px);
  opacity:.55;
  animation:ldStarPulse 6s ease-in-out infinite alternate;
}
.home-v15 .ld-hero-bg::after{
  background:
    radial-gradient(30% 46% at 24% 38%, rgba(106,96,255,.26), transparent 66%),
    radial-gradient(24% 34% at 76% 34%, rgba(62,223,255,.24), transparent 68%),
    radial-gradient(20% 30% at 52% 72%, rgba(255,174,89,.20), transparent 70%),
    radial-gradient(18% 26% at 64% 16%, rgba(211,123,255,.13), transparent 68%);
  filter:blur(48px) saturate(1.1);
  mix-blend-mode:screen;
  opacity:.92;
  animation:ldNebulaDrift 16s ease-in-out infinite alternate;
}
.home-v15 .ld-hero-shade{
  background:
    radial-gradient(ellipse at center 14%, rgba(255,255,255,.02) 0%, rgba(0,0,0,.04) 34%, rgba(0,0,0,.38) 68%, rgba(0,0,0,.88) 100%),
    linear-gradient(90deg, rgba(4,4,7,.44), transparent 16%, transparent 84%, rgba(4,4,7,.42));
}
.home-v15 .ld-hero-title span{
  color:#e3e8ff;
  text-shadow:0 0 22px rgba(118,109,255,.18), 0 0 38px rgba(62,223,255,.10);
}
.home-v15 .ld-hero-title h1{
  text-shadow:0 14px 50px rgba(0,0,0,.58), 0 0 34px rgba(118,109,255,.14), 0 0 24px rgba(62,223,255,.08);
}
.home-v15 .ld-hero-title p{color:#d8dbe7}

/* softer nebula prompt aura */
.home-v15 .ld-prompt-wrap::before{
  inset:-16px -20px;
  border-radius:34px;
  background:
    radial-gradient(18% 70% at 6% 50%, rgba(112,98,255,.42), transparent 74%),
    radial-gradient(22% 74% at 94% 50%, rgba(57,221,255,.34), transparent 74%),
    radial-gradient(16% 48% at 68% 20%, rgba(255,169,87,.24), transparent 76%),
    radial-gradient(14% 40% at 32% 78%, rgba(202,118,255,.18), transparent 76%);
  filter:blur(22px);
  opacity:.92;
  animation:ldNebulaAura 8s ease-in-out infinite alternate;
}
.home-v15 .ld-prompt-wrap::after{
  inset:-2px;
  border-radius:26px;
  background:linear-gradient(90deg, rgba(122,98,255,.22), rgba(65,222,255,.16), rgba(255,171,91,.14), rgba(122,98,255,.18));
  filter:blur(3px);
  opacity:.72;
  animation:ldAuraBreath 3.2s ease-in-out infinite;
}
.home-v15 .ld-prompt-bar{
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.04), transparent 26%),
    linear-gradient(180deg, rgba(17,20,30,.88), rgba(11,13,20,.94));
  border-color:rgba(255,255,255,.09);
  box-shadow:0 20px 60px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.05), 0 0 30px rgba(91,109,255,.08);
}
.home-v15 .ld-prompt-bar::before{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05), 0 0 24px rgba(108,97,255,.08), 0 0 34px rgba(55,222,255,.05);
}
.home-v15 .ld-prompt-icon{
  color:#e7dcff;
  border-color:rgba(121,104,255,.24);
  background:linear-gradient(180deg,#24273a,#1a1c2c);
  box-shadow:0 0 16px rgba(113,100,255,.14);
}
.home-v15 .ld-prompt-ai{
  border-color:rgba(72,220,255,.18);
  background:linear-gradient(180deg,#22293a,#171d28);
  color:#ddf7ff;
}
.home-v15 .ld-generate{
  background:linear-gradient(180deg,#f3cf8c,#dfab52);
  box-shadow:0 14px 28px rgba(223,171,82,.16), inset 0 1px 0 rgba(255,255,255,.48);
}

@keyframes ldNebulaDrift{
  0%{transform:translate3d(-1.5%,0,0) scale(1)}
  50%{transform:translate3d(1.2%,-1.2%,0) scale(1.04)}
  100%{transform:translate3d(.6%,1%,0) scale(1.02)}
}
@keyframes ldStarPulse{
  0%{opacity:.34}
  100%{opacity:.62}
}
@keyframes ldNebulaAura{
  0%{transform:translate3d(0,0,0) scale(1);opacity:.78}
  50%{transform:translate3d(0,-1.5%,0) scale(1.02);opacity:.96}
  100%{transform:translate3d(0,1.2%,0) scale(1.01);opacity:.84}
}
@keyframes ldAuraBreath{
  0%,100%{opacity:.5}
  50%{opacity:.85}
}
@media (max-width:760px){
  .home-v15 .ld-prompt-wrap::before{inset:-12px -10px;filter:blur(18px)}
  .home-v15 .ld-hero-bg::after{filter:blur(36px)}
}


/* v15.12 moving nebula hero */
.home-v15 .ld-hero-bg{
  background:
    radial-gradient(42% 58% at 18% 20%, rgba(97,105,255,.22) 0%, rgba(97,105,255,.10) 28%, transparent 62%),
    radial-gradient(38% 52% at 78% 22%, rgba(44,216,255,.18) 0%, rgba(44,216,255,.08) 26%, transparent 64%),
    radial-gradient(30% 40% at 52% 68%, rgba(255,173,95,.12) 0%, rgba(255,173,95,.05) 20%, transparent 60%),
    radial-gradient(18% 24% at 66% 16%, rgba(207,116,255,.10) 0%, rgba(207,116,255,.04) 20%, transparent 62%),
    linear-gradient(180deg, #0a0c15 0%, #070910 42%, #050507 100%);
  background-size:120% 120%, 118% 118%, 124% 124%, 128% 128%, 100% 100%;
  animation:ldNebulaField 22s ease-in-out infinite alternate;
}
.home-v15 .ld-hero-bg::before{
  opacity:.48;
  animation:ldStarPulse 5.5s ease-in-out infinite alternate, ldStarDrift 28s linear infinite;
}
.home-v15 .ld-hero-bg::after{
  background:
    radial-gradient(34% 54% at 20% 36%, rgba(116,102,255,.30), transparent 67%),
    radial-gradient(28% 42% at 76% 30%, rgba(52,225,255,.24), transparent 70%),
    radial-gradient(24% 34% at 52% 70%, rgba(255,178,103,.18), transparent 74%),
    radial-gradient(18% 24% at 62% 18%, rgba(214,130,255,.16), transparent 68%),
    radial-gradient(16% 22% at 36% 74%, rgba(78,110,255,.14), transparent 68%);
  filter:blur(56px) saturate(1.16);
  opacity:.96;
  animation:ldNebulaCloud 18s ease-in-out infinite alternate;
}
.home-v15 .ld-prompt-wrap::before{
  background:
    radial-gradient(18% 66% at 8% 50%, rgba(119,101,255,.42), transparent 74%),
    radial-gradient(18% 66% at 92% 50%, rgba(57,221,255,.34), transparent 74%),
    radial-gradient(14% 36% at 70% 18%, rgba(255,170,93,.16), transparent 74%),
    radial-gradient(14% 36% at 30% 82%, rgba(207,118,255,.14), transparent 74%);
  filter:blur(24px);
  animation:ldNebulaRing 7.5s ease-in-out infinite;
}
.home-v15 .ld-prompt-wrap::after{
  animation:ldAuraBreath 3.4s ease-in-out infinite, ldPromptShimmer 8s linear infinite;
}
@keyframes ldNebulaField{
  0%{background-position:0% 0%, 100% 0%, 50% 100%, 50% 0%, 0 0; transform:scale(1)}
  50%{background-position:4% 2%, 96% 4%, 52% 96%, 54% 4%, 0 0; transform:scale(1.02)}
  100%{background-position:8% 6%, 92% 8%, 48% 92%, 46% 8%, 0 0; transform:scale(1.03)}
}
@keyframes ldNebulaCloud{
  0%{transform:translate3d(-2%,0,0) scale(1)}
  25%{transform:translate3d(1.2%,-1.2%,0) scale(1.05)}
  50%{transform:translate3d(2.4%,1%,0) scale(1.08)}
  75%{transform:translate3d(-.8%,2%,0) scale(1.04)}
  100%{transform:translate3d(1.6%,-1%,0) scale(1.06)}
}
@keyframes ldStarDrift{
  0%{transform:translate3d(0,0,0)}
  100%{transform:translate3d(-1.2%,1%,0)}
}
@keyframes ldNebulaRing{
  0%{transform:translate3d(0,0,0) scale(1);opacity:.74}
  25%{transform:translate3d(.6%,-1.4%,0) scale(1.02);opacity:.90}
  50%{transform:translate3d(-.8%,.4%,0) scale(1.03);opacity:.96}
  75%{transform:translate3d(.4%,1.2%,0) scale(1.015);opacity:.86}
  100%{transform:translate3d(0,0,0) scale(1);opacity:.74}
}
@keyframes ldPromptShimmer{
  0%{filter:blur(3px) hue-rotate(0deg)}
  100%{filter:blur(3px) hue-rotate(12deg)}
}
@media (prefers-reduced-motion: reduce){
  .home-v15 .ld-hero-bg,
  .home-v15 .ld-hero-bg::before,
  .home-v15 .ld-hero-bg::after,
  .home-v15 .ld-prompt-wrap::before,
  .home-v15 .ld-prompt-wrap::after{animation:none !important}
}


/* v15.13 live nebula — visible moving layers */
.home-v15 .ld-nebula-live{
  position:absolute;
  inset:-10%;
  z-index:1;
  overflow:hidden;
  pointer-events:none;
  filter:saturate(1.08);
}
.home-v15 .ld-nebula-live i{
  position:absolute;
  display:block;
  pointer-events:none;
}
.home-v15 .nebula-cloud{
  border-radius:50%;
  mix-blend-mode:screen;
  will-change:transform,opacity;
}
.home-v15 .cloud-a{
  width:58vw;
  height:38vw;
  left:-12vw;
  top:-6vw;
  background:radial-gradient(ellipse at 55% 48%,rgba(102,92,255,.42) 0%,rgba(102,92,255,.20) 30%,rgba(102,92,255,.06) 52%,transparent 72%);
  filter:blur(34px);
  animation:liveNebulaA 10s ease-in-out infinite alternate;
}
.home-v15 .cloud-b{
  width:52vw;
  height:34vw;
  right:-10vw;
  top:0;
  background:radial-gradient(ellipse at 45% 52%,rgba(52,221,255,.34) 0%,rgba(52,221,255,.15) 31%,rgba(52,221,255,.05) 54%,transparent 73%);
  filter:blur(38px);
  animation:liveNebulaB 12s ease-in-out infinite alternate;
}
.home-v15 .cloud-c{
  width:46vw;
  height:28vw;
  left:26vw;
  bottom:-12vw;
  background:radial-gradient(ellipse at 50% 45%,rgba(255,170,88,.26) 0%,rgba(255,170,88,.12) 28%,rgba(207,118,255,.08) 48%,transparent 72%);
  filter:blur(42px);
  animation:liveNebulaC 14s ease-in-out infinite alternate;
}
.home-v15 .nebula-orbit{
  border-radius:50%;
  border:1px solid rgba(130,113,255,.12);
  box-shadow:0 0 60px rgba(95,102,255,.08),inset 0 0 60px rgba(57,221,255,.04);
  will-change:transform;
}
.home-v15 .orbit-a{
  width:54vw;
  height:54vw;
  left:23%;
  top:-42%;
  animation:liveOrbitA 18s linear infinite;
}
.home-v15 .orbit-b{
  width:34vw;
  height:34vw;
  right:8%;
  top:-10%;
  border-color:rgba(57,221,255,.09);
  animation:liveOrbitB 14s linear infinite reverse;
}
.home-v15 .nebula-stars{
  inset:0;
  opacity:.42;
  background-image:
    radial-gradient(circle at 8% 20%,rgba(255,255,255,.9) 0 1px,transparent 1.7px),
    radial-gradient(circle at 18% 68%,rgba(255,255,255,.72) 0 1px,transparent 1.7px),
    radial-gradient(circle at 28% 32%,rgba(255,255,255,.66) 0 1px,transparent 1.7px),
    radial-gradient(circle at 42% 14%,rgba(255,255,255,.78) 0 1px,transparent 1.8px),
    radial-gradient(circle at 57% 48%,rgba(255,255,255,.55) 0 1px,transparent 1.7px),
    radial-gradient(circle at 68% 22%,rgba(255,255,255,.82) 0 1px,transparent 1.8px),
    radial-gradient(circle at 78% 62%,rgba(255,255,255,.62) 0 1px,transparent 1.7px),
    radial-gradient(circle at 90% 28%,rgba(255,255,255,.74) 0 1px,transparent 1.8px);
  animation:liveStars 7s ease-in-out infinite alternate;
}
.home-v15 .ld-hero-content{z-index:3}
.home-v15 .ld-hero-shade{z-index:2}

@keyframes liveNebulaA{
  0%{transform:translate3d(-4%,0,0) scale(1) rotate(-4deg);opacity:.58}
  50%{transform:translate3d(8%,7%,0) scale(1.12) rotate(3deg);opacity:.92}
  100%{transform:translate3d(18%,2%,0) scale(1.05) rotate(7deg);opacity:.70}
}
@keyframes liveNebulaB{
  0%{transform:translate3d(6%,-2%,0) scale(1.02) rotate(4deg);opacity:.55}
  50%{transform:translate3d(-8%,8%,0) scale(1.14) rotate(-3deg);opacity:.90}
  100%{transform:translate3d(-16%,1%,0) scale(1.06) rotate(-7deg);opacity:.68}
}
@keyframes liveNebulaC{
  0%{transform:translate3d(-4%,10%,0) scale(.96);opacity:.42}
  50%{transform:translate3d(6%,-4%,0) scale(1.16);opacity:.78}
  100%{transform:translate3d(12%,-9%,0) scale(1.05);opacity:.56}
}
@keyframes liveOrbitA{
  from{transform:rotate(0deg) scale(1)}
  to{transform:rotate(360deg) scale(1.04)}
}
@keyframes liveOrbitB{
  from{transform:rotate(0deg) scale(1.02)}
  to{transform:rotate(360deg) scale(.98)}
}
@keyframes liveStars{
  0%{transform:translate3d(0,0,0);opacity:.24}
  100%{transform:translate3d(-1.2%,1.1%,0);opacity:.54}
}

/* do not disable motion for this explicitly requested effect */
@media (prefers-reduced-motion: reduce){
  .home-v15 .ld-nebula-live .cloud-a{animation-duration:18s}
  .home-v15 .ld-nebula-live .cloud-b{animation-duration:20s}
  .home-v15 .ld-nebula-live .cloud-c{animation-duration:22s}
  .home-v15 .ld-nebula-live .orbit-a{animation-duration:28s}
  .home-v15 .ld-nebula-live .orbit-b{animation-duration:24s}
  .home-v15 .ld-nebula-live .nebula-stars{animation-duration:14s}
}
@media (max-width:760px){
  .home-v15 .ld-nebula-live{inset:-16%}
  .home-v15 .cloud-a{width:92vw;height:62vw}
  .home-v15 .cloud-b{width:86vw;height:58vw}
  .home-v15 .cloud-c{width:74vw;height:48vw}
}


/* v15.14 slightly larger sidebar + icons */
@media (min-width:761px){
  .home-v15 .ld-shell{grid-template-columns:88px minmax(0,1fr)}
  .home-v15 .ld-sidebar.ld-sidebar-reference{
    width:80px;
    padding-left:7px;
    padding-right:7px;
  }
  .home-v15 .ld-sidebar-reference .ld-logo{
    width:64px;
    height:62px;
    min-height:62px;
  }
  .home-v15 .ld-sidebar-reference .ld-logo .brand-mark{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .home-v15 .ld-sidebar-reference .ld-nav-item{
    min-height:58px;
    padding:6px 3px;
    gap:4px;
  }
  .home-v15 .ld-sidebar-reference .ld-side-icon{
    width:34px;
    height:34px;
  }
  .home-v15 .ld-sidebar-reference .ld-side-icon svg{
    width:22px;
    height:22px;
    stroke-width:1.7;
  }
  .home-v15 .ld-sidebar-reference .ld-nav-item small{
    max-width:68px;
    font-size:9.4px;
  }
  .home-v15 .ld-sidebar-reference .ld-nav-divider{width:36px}
  .home-v15 .ld-sidebar-reference .ld-profile-button{width:62px;height:40px}
  .home-v15 .ld-sidebar-reference .ld-profile-button span{width:36px;height:36px;font-size:16px}
}

@media (max-height:820px) and (min-width:761px){
  .home-v15 .ld-sidebar-reference .ld-logo{height:50px;min-height:50px}
  .home-v15 .ld-sidebar-reference .ld-logo .brand-mark{width:34px;height:34px;flex-basis:34px}
  .home-v15 .ld-sidebar-reference .ld-nav-item{min-height:49px;gap:2px;padding:3px 2px}
  .home-v15 .ld-sidebar-reference .ld-side-icon{width:28px;height:28px}
  .home-v15 .ld-sidebar-reference .ld-side-icon svg{width:19px;height:19px}
  .home-v15 .ld-sidebar-reference .ld-nav-item small{font-size:8.1px}
  .home-v15 .ld-sidebar-reference .ld-profile-button{height:34px}
  .home-v15 .ld-sidebar-reference .ld-profile-button span{width:31px;height:31px;font-size:14px}
}

/* v15.15 functional sidebar tool modules */
.home-v15 .ld-nav-primary{
  min-height:0;
  flex:1 1 auto;
  align-content:start;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:none;
}
.home-v15 .ld-nav-primary::-webkit-scrollbar{display:none}
.home-v15 .ld-nav-secondary{flex:0 0 auto}
.home-v15 .ld-sidebar-reference .ld-nav-item.active[data-select-tool]{
  border-color:rgba(111,99,255,.34);
  background:linear-gradient(180deg,rgba(111,99,255,.20),rgba(57,221,255,.06));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 24px rgba(96,92,255,.10);
}
.home-v15 .ld-sidebar-reference .ld-nav-item.active[data-select-tool] .ld-side-icon{
  color:#ece9ff;
  border-color:rgba(123,111,255,.28);
  box-shadow:0 0 18px rgba(105,98,255,.14);
}
.home-v15 .ld-sidebar-reference .ld-nav-item.active[data-select-tool] small{color:#fff}

.home-v15 .ld-tool-drawer-backdrop{
  position:fixed;
  inset:0;
  z-index:109;
  background:rgba(0,0,0,.48);
  backdrop-filter:blur(5px);
  opacity:0;
  visibility:hidden;
  transition:opacity .24s ease,visibility .24s ease;
}
.home-v15 .ld-tool-drawer-backdrop.open{opacity:1;visibility:visible}
.home-v15 .ld-tool-drawer{
  position:fixed;
  z-index:110;
  top:12px;
  right:12px;
  bottom:12px;
  width:min(440px,calc(100vw - 116px));
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:26px;
  background:
    radial-gradient(circle at 18% 0%,rgba(112,96,255,.12),transparent 26%),
    radial-gradient(circle at 92% 12%,rgba(57,221,255,.07),transparent 24%),
    linear-gradient(180deg,rgba(16,18,27,.98),rgba(8,9,14,.985));
  box-shadow:-28px 0 80px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.05);
  transform:translate3d(calc(100% + 30px),0,0);
  opacity:0;
  visibility:hidden;
  transition:transform .34s cubic-bezier(.22,.74,.2,1),opacity .24s ease,visibility .34s ease;
}
.home-v15 .ld-tool-drawer.open{
  transform:translate3d(0,0,0);
  opacity:1;
  visibility:visible;
}
.home-v15 .ld-tool-drawer::before{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(126,107,255,.12),transparent 28%,transparent 70%,rgba(52,221,255,.06));
  opacity:.55;
}
.home-v15 .ld-tool-drawer-close{
  position:absolute;
  z-index:3;
  top:16px;
  right:16px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.11);
  border-radius:12px;
  background:rgba(255,255,255,.045);
  color:#fff;
  font-size:23px;
  line-height:1;
}
.home-v15 .ld-tool-drawer-close:hover{background:rgba(255,255,255,.09)}
.home-v15 .ld-tool-drawer-head{
  position:relative;
  z-index:1;
  padding:28px 60px 22px 26px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.home-v15 .ld-tool-drawer-head>small{
  display:block;
  color:#aaa7ff;
  font-size:9px;
  font-weight:800;
  letter-spacing:.20em;
}
.home-v15 .ld-tool-drawer-head h2{
  margin:8px 0 8px;
  color:#fff;
  font-size:28px;
  line-height:1;
  letter-spacing:-.035em;
}
.home-v15 .ld-tool-drawer-head p{
  margin:0 0 13px;
  color:#aeb3c1;
  font-size:12px;
  line-height:1.48;
}
.home-v15 .ld-tool-drawer .mode-status{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:#c7cbd4;
  font-size:9px;
  font-weight:750;
}
.home-v15 .ld-tool-drawer .mode-status.warning{border-color:rgba(245,166,75,.28);color:#f2c27c;background:rgba(245,166,75,.07)}
.home-v15 .ld-tool-drawer .mode-status.success{border-color:rgba(91,218,164,.28);color:#9be8c3;background:rgba(91,218,164,.07)}
.home-v15 .ld-tool-drawer-scroll{
  position:relative;
  z-index:1;
  min-height:0;
  overflow:auto;
  padding:18px 18px 26px;
  scrollbar-width:thin;
  scrollbar-color:#303440 transparent;
}
.home-v15 .ld-tool-drawer-scroll::-webkit-scrollbar{width:6px}
.home-v15 .ld-tool-drawer-scroll::-webkit-scrollbar-thumb{background:#303440;border-radius:999px}
.home-v15 .ld-module-block{
  padding:16px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:18px;
  background:rgba(255,255,255,.025);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.home-v15 .ld-module-block+.ld-module-block{margin-top:12px}
.home-v15 .ld-module-block.hidden{display:none!important}
.home-v15 .ld-module-title{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:13px;
}
.home-v15 .ld-module-title>span{
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  flex:0 0 31px;
  border:1px solid rgba(126,107,255,.20);
  border-radius:10px;
  background:rgba(126,107,255,.07);
  color:#bcb3ff;
  font-size:9px;
  font-weight:900;
}
.home-v15 .ld-module-title>div{min-width:0}
.home-v15 .ld-module-title small{display:block;color:#777f91;font-size:8px;font-weight:800;letter-spacing:.15em}
.home-v15 .ld-module-title h3{margin:3px 0 0;color:#f7f7f9;font-size:14px;line-height:1.1}
.home-v15 .ld-module-title .text-button{margin-left:auto;border:0;background:transparent;color:#e6b86c;font-size:10px}
.home-v15 .ld-module-presets{display:grid;gap:7px}
.home-v15 .ld-module-presets button{
  width:100%;
  min-height:60px;
  padding:11px 12px;
  display:grid;
  gap:5px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:13px;
  background:linear-gradient(180deg,rgba(255,255,255,.038),rgba(255,255,255,.018));
  color:#fff;
  text-align:left;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.home-v15 .ld-module-presets button:hover{
  transform:translateY(-1px);
  border-color:rgba(126,107,255,.30);
  background:linear-gradient(180deg,rgba(126,107,255,.10),rgba(57,221,255,.03));
}
.home-v15 .ld-module-presets b{font-size:11px}
.home-v15 .ld-module-presets small{
  display:-webkit-box;
  overflow:hidden;
  color:#969daa;
  font-size:9px;
  line-height:1.35;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.home-v15 .ld-tool-drawer .dropzone{
  min-height:150px;
  border:1px dashed rgba(126,107,255,.26);
  border-radius:15px;
  background:radial-gradient(circle at 50% 0%,rgba(126,107,255,.08),transparent 40%),rgba(0,0,0,.16);
}
.home-v15 .ld-tool-drawer .dropzone:hover,.home-v15 .ld-tool-drawer .dropzone.drag{border-color:rgba(57,221,255,.40);background-color:rgba(57,221,255,.025)}
.home-v15 .ld-tool-drawer .dropzone-inner{min-height:148px;padding:18px;display:grid;place-items:center;align-content:center;gap:5px;text-align:center}
.home-v15 .ld-tool-drawer .upload-orb{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:#202538;color:#d9ddff;font-size:18px}
.home-v15 .ld-tool-drawer .dropzone strong{font-size:11px}
.home-v15 .ld-tool-drawer .dropzone p{margin:0;color:#858d9e;font-size:9px}
.home-v15 .ld-tool-drawer .dropzone small{color:#646c7c;font-size:8px}
.home-v15 .ld-tool-drawer .upload-preview{width:100%;margin-top:8px;display:flex;align-items:center;gap:8px;text-align:left}
.home-v15 .ld-tool-drawer .upload-preview img{width:42px;height:42px;object-fit:cover;border-radius:9px}
.home-v15 .ld-tool-drawer .upload-preview div{display:grid;gap:2px;min-width:0}
.home-v15 .ld-tool-drawer .upload-preview b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
.home-v15 .ld-tool-drawer .upload-preview small{font-size:8px}
.home-v15 .ld-module-settings{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.home-v15 .ld-tool-drawer .field{display:grid;gap:6px;min-width:0}
.home-v15 .ld-tool-drawer .field>small{color:#858c9b;font-size:9px;font-weight:700}
.home-v15 .ld-tool-drawer select,
.home-v15 .ld-tool-drawer input[type=number],
.home-v15 .ld-tool-drawer textarea{
  width:100%;
  min-width:0;
  border:1px solid rgba(255,255,255,.09);
  border-radius:11px;
  background:#11141d;
  color:#f3f4f7;
  outline:0;
}
.home-v15 .ld-tool-drawer select,.home-v15 .ld-tool-drawer input[type=number]{height:39px;padding:0 10px;font-size:10px}
.home-v15 .ld-tool-drawer textarea{min-height:86px;padding:10px;resize:vertical;font-size:10px;line-height:1.45}
.home-v15 .ld-module-ratio,.home-v15 .ld-module-render{margin-top:13px}
.home-v15 .ld-tool-drawer .seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:5px}
.home-v15 .ld-tool-drawer .seg button{
  min-width:0;
  height:34px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:9px;
  background:#11141c;
  color:#9ba2b0;
  font-size:9px;
}
.home-v15 .ld-tool-drawer .seg button.selected{
  border-color:rgba(126,107,255,.30);
  background:linear-gradient(180deg,rgba(126,107,255,.18),rgba(57,221,255,.05));
  color:#fff;
}
.home-v15 .ld-advanced-toggle{
  width:100%;
  height:38px;
  margin-top:13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 11px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:11px;
  background:rgba(255,255,255,.025);
  color:#c1c6d0;
  font-size:10px;
}
.home-v15 .ld-tool-drawer .advanced-panel{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:9px}
.home-v15 .ld-tool-drawer .advanced-panel.hidden{display:none}
.home-v15 .ld-tool-drawer .advanced-wide{grid-column:1/-1}
.home-v15 .ld-tool-drawer .field output{color:#d7d9e0;font-size:10px}
.home-v15 .ld-tool-drawer .generation-status{margin-top:12px;color:#c7cbd5;font-size:10px}
.home-v15 .ld-tool-drawer .progress{height:4px;margin-top:8px;overflow:hidden;border-radius:999px;background:#171a24}
.home-v15 .ld-tool-drawer .progress i{display:block;width:0;height:100%;background:linear-gradient(90deg,#7968ff,#45dfff);transition:width .3s ease}
.home-v15 .ld-tool-drawer-actions{
  position:relative;
  z-index:2;
  padding:14px 18px 18px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(8,9,14,.94);
}
.home-v15 .ld-drawer-generate{
  width:100%;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:0;
  border-radius:15px;
  background:linear-gradient(180deg,#f3d18d,#dda94f);
  color:#181106;
  font-size:12px;
  font-weight:850;
  text-decoration:none;
  box-shadow:0 14px 30px rgba(221,169,79,.16),inset 0 1px 0 rgba(255,255,255,.48);
}
.home-v15 .ld-drawer-generate:disabled{opacity:.62;cursor:wait}
.home-v15 .ld-drawer-generate b{font-size:16px}
body.tool-drawer-open{overflow:hidden}

@media (max-width:760px){
  .home-v15 .ld-tool-drawer{
    top:0;right:0;bottom:0;
    width:100vw;
    max-width:none;
    border-radius:0;
    border:0;
  }
  .home-v15 .ld-tool-drawer-head{padding:24px 58px 19px 20px}
  .home-v15 .ld-tool-drawer-scroll{padding:14px 12px 24px}
  .home-v15 .ld-module-settings{grid-template-columns:1fr}
  .home-v15 .ld-tool-drawer .seg{grid-auto-flow:row;grid-template-columns:repeat(3,1fr)}
}


/* v15.16 slightly larger sidebar + keep laptop balance */
@media (min-width:761px){
  .home-v15 .ld-shell{grid-template-columns:94px minmax(0,1fr)}
  .home-v15 .ld-sidebar.ld-sidebar-reference{
    width:86px;
    padding-left:8px;
    padding-right:8px;
  }
  .home-v15 .ld-sidebar-reference .ld-logo{
    width:68px;
    height:64px;
    min-height:64px;
  }
  .home-v15 .ld-sidebar-reference .ld-logo .brand-mark{
    width:42px;
    height:42px;
    flex-basis:42px;
  }
  .home-v15 .ld-sidebar-reference .ld-nav-item{
    min-height:60px;
    padding:6px 4px;
    gap:4px;
  }
  .home-v15 .ld-sidebar-reference .ld-side-icon{
    width:36px;
    height:36px;
  }
  .home-v15 .ld-sidebar-reference .ld-side-icon svg{
    width:23px;
    height:23px;
  }
  .home-v15 .ld-sidebar-reference .ld-nav-item small{
    max-width:72px;
    font-size:9.6px;
  }
}
@media (max-height:820px) and (min-width:761px){
  .home-v15 .ld-sidebar-reference .ld-logo{height:52px;min-height:52px}
  .home-v15 .ld-sidebar-reference .ld-logo .brand-mark{width:36px;height:36px;flex-basis:36px}
  .home-v15 .ld-sidebar-reference .ld-nav-item{min-height:51px;gap:2px;padding:3px}
  .home-v15 .ld-sidebar-reference .ld-side-icon{width:30px;height:30px}
  .home-v15 .ld-sidebar-reference .ld-side-icon svg{width:20px;height:20px}
  .home-v15 .ld-sidebar-reference .ld-nav-item small{font-size:8.4px}
  .home-v15 .ld-sidebar-reference .ld-profile-button{height:36px}
  .home-v15 .ld-sidebar-reference .ld-profile-button span{width:33px;height:33px;font-size:14px}
}

/* v15.17 — Leonardo-style Library page */
.library-v17{
  --library-card-width:285px;
  background:#050506;
}
.library-v17 .ld-shell{background:#050506}
.library-v17 .ld-main.ld-library-main{
  padding:0 18px 34px;
  overflow:visible;
  background:#050506;
}
.library-v17 .ld-sidebar{
  z-index:120;
}
.library-v17 .ld-library-top{
  position:sticky;
  top:0;
  z-index:70;
  padding:16px 0 14px;
  background:linear-gradient(180deg,rgba(5,5,6,.99) 0%,rgba(5,5,6,.97) 82%,rgba(5,5,6,.84) 100%);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.035);
}
.library-v17 .ld-library-heading{
  min-height:34px;
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:4px;
}
.library-v17 .ld-library-heading h1{
  margin:0;
  color:#fff;
  font:800 24px/1 Inter,ui-sans-serif,system-ui,sans-serif;
  letter-spacing:-.035em;
}
.library-v17 .ld-library-heading>span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#777c87;
  font-size:10px;
}
.library-v17 .ld-library-heading>span b{color:#aeb3bf;font-weight:700}
.library-v17 .ld-library-tabs{
  display:flex;
  align-items:center;
  gap:24px;
  min-height:42px;
  overflow-x:auto;
  scrollbar-width:none;
}
.library-v17 .ld-library-tabs::-webkit-scrollbar{display:none}
.library-v17 .ld-library-tabs button{
  position:relative;
  min-height:42px;
  flex:0 0 auto;
  padding:0;
  border:0;
  background:transparent;
  color:#9a9da6;
  font-size:12px;
  font-weight:650;
  white-space:nowrap;
}
.library-v17 .ld-library-tabs button small{
  margin-left:4px;
  color:#666b76;
  font-size:9px;
}
.library-v17 .ld-library-tabs button::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,#7d62ff,#a58bff);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}
.library-v17 .ld-library-tabs button:hover,
.library-v17 .ld-library-tabs button.active{color:#fff}
.library-v17 .ld-library-tabs button.active::after{transform:scaleX(1)}

.library-v17 .ld-library-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:52px;
  padding-top:10px;
}
.library-v17 .ld-library-search{
  height:38px;
  width:min(390px,31vw);
  display:grid;
  grid-template-columns:30px minmax(0,1fr) 72px;
  align-items:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:9px;
  overflow:hidden;
  background:#18191d;
}
.library-v17 .ld-library-search>span{
  display:grid;
  place-items:center;
  color:#858994;
  font-size:18px;
}
.library-v17 .ld-library-search input{
  min-width:0;
  height:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#f5f5f7;
  font-size:12px;
}
.library-v17 .ld-library-search input::placeholder{color:#858994}
.library-v17 .ld-library-search button{
  align-self:stretch;
  border:0;
  border-left:1px solid rgba(255,255,255,.06);
  background:#24252a;
  color:#fff;
  font-size:11px;
  font-weight:750;
}
.library-v17 .ld-library-new{
  height:38px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 15px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:999px;
  background:#222329;
  color:#fff;
  font-size:11px;
  font-weight:750;
  white-space:nowrap;
}
.library-v17 .ld-library-new span{color:#cabfff}
.library-v17 .ld-library-new i{font-style:normal;color:#858994}
.library-v17 .ld-library-filters{
  height:38px;
  display:flex;
  align-items:center;
  gap:2px;
  padding:3px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:999px;
  background:#17181c;
  overflow-x:auto;
  scrollbar-width:none;
}
.library-v17 .ld-library-filters::-webkit-scrollbar{display:none}
.library-v17 .ld-library-filters button{
  height:30px;
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 11px;
  border:1px solid transparent;
  border-radius:999px;
  background:transparent;
  color:#9498a2;
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
}
.library-v17 .ld-library-filters button span{font-size:13px}
.library-v17 .ld-library-filters button:hover{color:#fff}
.library-v17 .ld-library-filters button.active{
  border-color:#7659ff;
  background:rgba(117,88,255,.16);
  color:#fff;
  box-shadow:0 0 20px rgba(117,88,255,.10);
}
.library-v17 .ld-library-view-controls{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:240px;
  color:#8c909a;
}
.library-v17 .ld-library-select-mode{
  display:flex;
  align-items:center;
  gap:7px;
  color:#dadce2;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}
.library-v17 .ld-library-select-mode input{position:absolute;opacity:0;pointer-events:none}
.library-v17 .ld-library-select-mode span{
  width:14px;
  height:14px;
  border:1px solid #616570;
  border-radius:3px;
  background:#0f1013;
}
.library-v17 .ld-library-select-mode input:checked+span{
  border-color:#8368ff;
  background:#7558ff;
  box-shadow:inset 0 0 0 3px #17181c;
}
.library-v17 #librarySelectedCount{
  min-width:18px;
  color:#8770ff;
  font-size:10px;
  opacity:0;
}
.library-v17.library-has-selection #librarySelectedCount{opacity:1}
.library-v17 .ld-library-size-mark{font-size:14px;color:#777b86}
.library-v17 #librarySizeRange{
  width:120px;
  accent-color:#8d72ff;
  cursor:pointer;
}
.library-v17 .ld-library-hidden-controls{display:none}

.library-v17 .ld-library-gallery{padding-top:0}
.library-v17 .ld-library-grid{
  display:block!important;
  grid-template-columns:none!important;
  gap:0!important;
  column-width:var(--library-card-width);
  column-gap:0;
  width:100%;
  line-height:0;
}
.library-v17 .library-project-card{
  position:relative;
  display:inline-block;
  width:100%;
  margin:0;
  break-inside:avoid;
  vertical-align:top;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:#050608;
  box-shadow:none;
  line-height:1.35;
}
.library-v17 .library-project-media{
  position:relative;
  width:100%;
  min-height:0;
  overflow:hidden;
  background:#050608;
}
.library-v17 .library-project-media>img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
  background:#050608;
  transition:filter .24s ease,transform .28s ease,opacity .2s ease;
}
.library-v17 .library-project-link{
  position:absolute;
  z-index:2;
  inset:0;
}
.library-v17 .library-card-select,
.library-v17 .library-visibility{
  position:absolute;
  z-index:6;
  top:10px;
  opacity:0;
  transform:translateY(-4px);
  transition:.18s ease;
}
.library-v17 .library-card-select{left:10px}
.library-v17 .library-card-select input{position:absolute;opacity:0;pointer-events:none}
.library-v17 .library-card-select span{
  display:block;
  width:18px;
  height:18px;
  border:1px solid rgba(255,255,255,.68);
  border-radius:5px;
  background:rgba(5,5,7,.55);
  backdrop-filter:blur(8px);
}
.library-v17 .library-card-select input:checked+span{
  border-color:#9a84ff;
  background:#7659ff;
  box-shadow:inset 0 0 0 4px rgba(20,20,25,.72);
}
.library-v17 .library-visibility{
  right:10px;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  background:rgba(10,10,13,.58);
  color:#fff;
  font-size:12px;
  backdrop-filter:blur(8px);
}
.library-v17 .library-card-overlay{
  position:absolute;
  z-index:5;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:46px 12px 12px;
  background:linear-gradient(180deg,rgba(0,0,0,.08) 20%,rgba(0,0,0,.22) 45%,rgba(0,0,0,.92) 100%);
  opacity:0;
  transition:opacity .2s ease;
  pointer-events:none;
}
.library-v17 .library-card-copy{
  transform:translateY(10px);
  transition:transform .22s ease;
}
.library-v17 .library-card-copy h3{
  margin:0 0 5px;
  color:#fff;
  font-size:13px;
  line-height:1.12;
  font-weight:850;
  text-shadow:0 2px 10px rgba(0,0,0,.6);
}
.library-v17 .library-card-copy p{
  display:-webkit-box;
  margin:0 0 9px;
  overflow:hidden;
  color:#e0e1e6;
  font-size:10px;
  line-height:1.35;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}
.library-v17 .library-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-bottom:8px;
}
.library-v17 .library-card-meta span{
  padding:4px 6px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:rgba(255,255,255,.055);
  color:#bec2cc;
  font-size:8px;
}
.library-v17 .library-card-actions{
  display:flex;
  align-items:center;
  gap:5px;
  pointer-events:auto;
}
.library-v17 .library-card-actions a,
.library-v17 .library-card-actions button{
  min-width:32px;
  height:28px;
  display:grid;
  place-items:center;
  padding:0 9px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:rgba(20,20,24,.78);
  color:#fff;
  font-size:9px;
  font-weight:750;
  text-decoration:none;
}
.library-v17 .library-card-actions a:first-child{
  background:#7458f4;
  border-color:#856cff;
}
.library-v17 .library-card-actions button.active{color:#ff678f}
.library-v17 .library-collection-select{
  width:100%;
  height:30px;
  margin-top:6px;
  padding:0 8px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  outline:0;
  background:rgba(18,18,22,.90);
  color:#dfe1e7;
  font-size:9px;
  pointer-events:auto;
}
.library-v17 .library-project-card:hover .library-project-media>img{
  filter:brightness(.68) saturate(.92);
  transform:scale(1.006);
}
.library-v17 .library-project-card:hover .library-card-overlay,
.library-v17 .library-project-card:focus-within .library-card-overlay{opacity:1}
.library-v17 .library-project-card:hover .library-card-copy,
.library-v17 .library-project-card:focus-within .library-card-copy{transform:translateY(0)}
.library-v17 .library-project-card:hover .library-card-select,
.library-v17 .library-project-card:hover .library-visibility,
.library-v17.library-selection-mode .library-card-select,
.library-v17 .library-project-card:focus-within .library-card-select,
.library-v17 .library-project-card:focus-within .library-visibility{opacity:1;transform:translateY(0)}
.library-v17 .library-card-dimmed{opacity:.24;filter:grayscale(.7)}
.library-v17 .library-card-dimmed:hover{opacity:.72}
.library-v17 .library-empty-state{
  display:grid;
  justify-items:center;
  gap:10px;
  width:min(520px,90vw);
  margin:60px auto;
  padding:38px;
  break-inside:avoid;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:#0d0e12;
  text-align:center;
}
.library-v17 .library-empty-state>span{font-size:30px;color:#8d72ff}
.library-v17 .library-empty-state h3{margin:0;font-size:18px}
.library-v17 .library-empty-state p{margin:0;color:#9297a2;font-size:12px}
.library-v17 .library-skeleton{
  min-height:320px;
  background:linear-gradient(105deg,#0e1015 20%,#171a22 40%,#0e1015 60%);
  background-size:220% 100%;
  animation:ld-shimmer 1.5s linear infinite;
}
.library-v17 .library-skeleton:nth-child(3n+2){min-height:410px}
.library-v17 .library-skeleton:nth-child(3n+3){min-height:260px}

@media (max-width:1320px){
  .library-v17 .ld-library-toolbar{flex-wrap:wrap}
  .library-v17 .ld-library-search{width:min(440px,48vw)}
  .library-v17 .ld-library-view-controls{margin-left:0}
}
@media (max-width:900px){
  .library-v17 .ld-main.ld-library-main{padding:0 10px 24px}
  .library-v17 .ld-library-top{padding-top:12px}
  .library-v17 .ld-library-toolbar{align-items:stretch}
  .library-v17 .ld-library-search{width:100%;flex-basis:100%}
  .library-v17 .ld-library-filters{max-width:100%;flex:1}
  .library-v17 .ld-library-view-controls{min-width:0}
}
@media (max-width:620px){
  .library-v17 .ld-library-tabs{gap:18px}
  .library-v17 .ld-library-filters{order:4;width:100%}
  .library-v17 .ld-library-view-controls{width:100%;justify-content:flex-end}
  .library-v17 #librarySizeRange{width:90px}
  .library-v17 .ld-library-grid{column-count:2;column-width:auto}
}
@media (max-width:430px){
  .library-v17 .ld-library-grid{column-count:1}
}


/* v15.18 AI hero upgrade */
.home-v15 .ld-hero{
  min-height:560px;
}
.home-v15 .ld-hero::before{
  content:'';
  position:absolute;
  inset:10% 12% auto;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(127,144,255,.22), rgba(71,223,255,.18), transparent);
  opacity:.8;
  z-index:1;
}
.home-v15 .ld-hero-content{
  min-height:560px;
  padding:62px 28px 42px;
}
.home-v15 .ld-hero-title{
  max-width:960px;
}
.home-v15 .ld-hero-title span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:linear-gradient(180deg, rgba(18,21,34,.62), rgba(10,12,20,.48));
  box-shadow:0 12px 26px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.05);
}
.home-v15 .ld-hero-title span::before{
  content:'';
  width:8px;
  height:8px;
  border-radius:50%;
  background:radial-gradient(circle, #8f8bff 0%, #4ee3ff 60%, rgba(78,227,255,0) 100%);
  box-shadow:0 0 16px rgba(78,227,255,.55);
  animation:ldHeroDotPulse 2.6s ease-in-out infinite;
}
.home-v15 .ld-hero-title h1{
  margin:18px 0 12px;
  letter-spacing:-.05em;
  font-size:clamp(56px, 7vw, 112px);
  line-height:.95;
}
.home-v15 .ld-hero-title p{
  max-width:760px;
  font-size:15px;
  line-height:1.6;
  color:#d7d9e2;
}
.home-v15 .ld-prompt-wrap{
  width:min(980px,100%);
  margin-top:30px;
}
.home-v15 .ld-prompt-bar{
  min-height:74px;
  border-radius:24px;
}
.home-v15 .ld-prompt-bar input{font-size:17px}
.home-v15 .ld-generate{min-width:168px;height:54px;border-radius:16px}

.home-v15 .ld-hero-ai-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  width:min(980px,100%);
  margin-top:18px;
}
.home-v15 .ld-ai-pill{
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(20,23,36,.72), rgba(12,14,23,.58));
  color:#eff1fa;
  border-radius:999px;
  padding:11px 16px;
  font:600 12px/1.1 Inter,system-ui,sans-serif;
  letter-spacing:.01em;
  box-shadow:0 10px 24px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.04);
  transition:transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.home-v15 .ld-ai-pill:hover{
  transform:translateY(-2px);
  border-color:rgba(120,114,255,.34);
  background:linear-gradient(180deg, rgba(28,31,49,.88), rgba(17,19,30,.72));
  box-shadow:0 16px 28px rgba(0,0,0,.22), 0 0 0 1px rgba(78,227,255,.05);
}

.home-v15 .ld-hero-insights{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  width:min(980px,100%);
  margin-top:18px;
}
.home-v15 .ld-insight-card{
  position:relative;
  padding:16px 16px 15px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(16,18,29,.78), rgba(10,12,18,.62));
  box-shadow:0 18px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04);
  overflow:hidden;
}
.home-v15 .ld-insight-card::before{
  content:'';
  position:absolute;
  inset:auto -10% 0 auto;
  width:72px;
  height:72px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(90,98,255,.18), transparent 68%);
  filter:blur(10px);
}
.home-v15 .ld-insight-card strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
  color:#f5f7ff;
  letter-spacing:-.01em;
}
.home-v15 .ld-insight-card small{
  display:block;
  color:#a6adbd;
  font-size:12px;
  line-height:1.45;
}
.home-v15 .ld-hero-note{
  margin-top:18px;
  color:#8d94a5;
}

@keyframes ldHeroDotPulse{
  0%,100%{transform:scale(.96);opacity:.8}
  50%{transform:scale(1.18);opacity:1}
}

@media (max-width:1200px){
  .home-v15 .ld-hero-insights{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .home-v15 .ld-hero{min-height:520px}
  .home-v15 .ld-hero-content{min-height:520px;padding:54px 18px 30px}
  .home-v15 .ld-hero-title p{font-size:13px}
  .home-v15 .ld-prompt-bar{min-height:68px}
  .home-v15 .ld-prompt-bar input{font-size:15px}
  .home-v15 .ld-generate{min-width:132px;height:50px}
  .home-v15 .ld-hero-insights{grid-template-columns:1fr}
  .home-v15 .ld-ai-pill{padding:10px 14px;font-size:11px}
}


/* v15.19 cleaner AI hero background */
.home-v15 .ld-nebula-live{display:none}
.home-v15 .ld-hero{
  background:#04050a;
  overflow:hidden;
}
.home-v15 .ld-hero-bg{
  background:
    radial-gradient(42% 58% at 18% 16%, rgba(88,101,255,.16) 0%, rgba(88,101,255,.06) 26%, transparent 62%),
    radial-gradient(34% 46% at 82% 18%, rgba(50,221,255,.14) 0%, rgba(50,221,255,.05) 24%, transparent 62%),
    radial-gradient(28% 34% at 52% 78%, rgba(255,174,97,.08) 0%, rgba(255,174,97,.03) 18%, transparent 58%),
    linear-gradient(180deg, #0b0d16 0%, #06070d 44%, #040507 100%);
  filter:none;
  animation:ldHeroAurora 18s ease-in-out infinite alternate;
}
.home-v15 .ld-hero-bg::before,
.home-v15 .ld-hero-bg::after{content:'';position:absolute;inset:0;pointer-events:none}
.home-v15 .ld-hero-bg::before{
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:48px 48px, 48px 48px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.95) 68%);
  opacity:.22;
}
.home-v15 .ld-hero-bg::after{
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,.03), transparent 38%),
    radial-gradient(18% 24% at 22% 42%, rgba(98,111,255,.14), transparent 70%),
    radial-gradient(16% 22% at 78% 44%, rgba(67,226,255,.12), transparent 72%),
    radial-gradient(18% 20% at 50% 68%, rgba(255,173,91,.08), transparent 72%);
  filter:blur(14px);
  opacity:.95;
  animation:ldHeroSoftPulse 12s ease-in-out infinite alternate;
}
.home-v15 .ld-hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.05) 0 1px, transparent 1.7px),
    radial-gradient(circle at 38% 24%, rgba(255,255,255,.04) 0 1px, transparent 1.7px),
    radial-gradient(circle at 62% 22%, rgba(255,255,255,.045) 0 1px, transparent 1.8px),
    radial-gradient(circle at 26% 32%, rgba(255,255,255,.035) 0 1px, transparent 1.7px),
    radial-gradient(circle at 74% 30%, rgba(255,255,255,.03) 0 1px, transparent 1.8px);
  opacity:.45;
  pointer-events:none;
  z-index:1;
}
.home-v15 .ld-hero-shade{
  background:
    radial-gradient(ellipse at center 18%, rgba(255,255,255,.015) 0%, rgba(0,0,0,.06) 34%, rgba(0,0,0,.38) 70%, rgba(0,0,0,.88) 100%),
    linear-gradient(90deg, rgba(3,4,8,.46), transparent 14%, transparent 86%, rgba(3,4,8,.46));
}
.home-v15 .ld-hero-title span{
  background:linear-gradient(180deg, rgba(16,19,31,.74), rgba(9,11,18,.56));
}
.home-v15 .ld-prompt-wrap::before{
  background:
    radial-gradient(18% 60% at 8% 50%, rgba(111,103,255,.28), transparent 74%),
    radial-gradient(18% 60% at 92% 50%, rgba(57,221,255,.24), transparent 74%),
    radial-gradient(12% 32% at 68% 18%, rgba(255,167,88,.10), transparent 74%);
  filter:blur(20px);
  animation:ldHeroAuraFloat 7s ease-in-out infinite;
}
.home-v15 .ld-prompt-wrap::after{
  background:linear-gradient(90deg, rgba(122,98,255,.14), rgba(65,222,255,.12), rgba(255,171,91,.08), rgba(122,98,255,.12));
  opacity:.6;
}
.home-v15 .ld-insight-card,
.home-v15 .ld-ai-pill,
.home-v15 .ld-hero-title span{backdrop-filter:blur(10px)}

@keyframes ldHeroAurora{
  0%{transform:scale(1) translate3d(0,0,0)}
  50%{transform:scale(1.015) translate3d(0,-1.2%,0)}
  100%{transform:scale(1.03) translate3d(0,1%,0)}
}
@keyframes ldHeroSoftPulse{
  0%{opacity:.72;transform:translate3d(0,0,0) scale(1)}
  50%{opacity:.92;transform:translate3d(0,-1.5%,0) scale(1.02)}
  100%{opacity:.8;transform:translate3d(0,1.2%,0) scale(1.01)}
}
@keyframes ldHeroAuraFloat{
  0%{transform:translate3d(0,0,0);opacity:.7}
  50%{transform:translate3d(.8%,-1.2%,0);opacity:.95}
  100%{transform:translate3d(-.6%,1%,0);opacity:.75}
}
@media (max-width:760px){
  .home-v15 .ld-hero-bg::before{background-size:32px 32px,32px 32px;opacity:.16}
}


/* v15.20 user-specific settings page */
.settings-v20{
  min-height:100vh;
  background:#070708;
  color:#fff;
  overflow-x:hidden;
}
.settings-v20 .ambient{display:none}
.settings-v20 .settings-topbar{
  position:sticky;
  top:0;
  z-index:90;
  height:58px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:0 18px;
  border-bottom:1px solid rgba(255,255,255,.09);
  background:rgba(7,7,8,.92);
  backdrop-filter:blur(18px);
}
.settings-v20 .settings-topbar h1{
  margin:0;
  font:800 17px/1 Inter,system-ui,sans-serif;
  letter-spacing:-.02em;
}
.settings-v20 .settings-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  color:#f7f7f8;
  text-decoration:none;
  font-size:16px;
}
.settings-v20 .settings-back strong{font-size:14px;letter-spacing:.01em}
.settings-v20 .settings-back span{
  color:#8f78ff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}
.settings-v20 .settings-credit{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:68px;
  height:30px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:#111216;
  font-size:12px;
}
.settings-v20 .settings-credit span{color:#53e184}
.settings-v20 .settings-shell{
  min-height:calc(100vh - 58px);
  display:grid;
  grid-template-columns:264px minmax(0,1fr);
  gap:0;
  padding:14px;
}
.settings-v20 .settings-nav{
  position:sticky;
  top:72px;
  align-self:start;
  min-height:calc(100vh - 86px);
  padding:18px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  background:linear-gradient(180deg,#161619,#111113 62%,#151517);
  box-shadow:0 18px 45px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.035);
}
.settings-v20 .settings-nav section+section{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
}
.settings-v20 .settings-nav section>small{
  display:block;
  margin:0 10px 10px;
  color:#9da0aa;
  font-size:9px;
  font-weight:800;
  letter-spacing:.14em;
}
.settings-v20 .settings-nav-item{
  width:100%;
  min-height:44px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:0 13px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:#e9e9ed;
  text-align:left;
  font-size:12px;
  font-weight:700;
  transition:.18s ease;
}
.settings-v20 .settings-nav-item span{font-size:16px;color:#c8cbd4}
.settings-v20 .settings-nav-item:hover,
.settings-v20 .settings-nav-item.active{
  border-color:rgba(128,99,255,.72);
  background:linear-gradient(180deg,rgba(91,66,173,.28),rgba(47,36,91,.30));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 0 0 1px rgba(103,77,219,.08);
}
.settings-v20 .settings-workspace-card{
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px;
  margin-bottom:10px;
  border-radius:14px;
  background:rgba(255,255,255,.025);
}
.settings-v20 .settings-workspace-card>div{display:grid;gap:3px;min-width:0}
.settings-v20 .settings-workspace-card strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.settings-v20 .settings-workspace-card small{font-size:10px;color:#9296a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.settings-v20 .settings-avatar{
  flex:0 0 auto;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(180deg,#37ccf6,#2ea6d4);
  color:#051218;
  font-weight:900;
  box-shadow:0 0 24px rgba(55,204,246,.16);
}
.settings-v20 .settings-avatar.large{width:58px;height:58px;font-size:20px}
.settings-v20 .settings-main{
  width:min(980px,calc(100% - 40px));
  margin:0 auto;
  padding:36px 0 80px;
}
.settings-v20 .settings-view{display:none}
.settings-v20 .settings-view.active{display:block;animation:settingsFade .18s ease}
.settings-v20 .settings-view-head{margin-bottom:24px}
.settings-v20 .settings-view-head>small{
  display:block;
  margin-bottom:9px;
  color:#8270ff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.18em;
}
.settings-v20 .settings-view-head h2{
  margin:0 0 8px;
  font:800 clamp(25px,3vw,34px)/1 Inter,system-ui,sans-serif;
  letter-spacing:-.04em;
}
.settings-v20 .settings-view-head p{
  margin:0;
  color:#9ea2ad;
  font-size:13px;
  line-height:1.6;
}
.settings-v20 .settings-card{
  margin-bottom:18px;
  padding:28px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:linear-gradient(180deg,#171719,#141416);
  box-shadow:0 20px 40px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
}
.settings-v20 .settings-card h3{margin:0 0 16px;font-size:14px}
.settings-v20 .settings-form-grid{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:20px;
}
.settings-v20 .settings-form-grid+.settings-form-grid{margin-top:20px}
.settings-v20 .settings-card label{display:grid;gap:9px}
.settings-v20 .settings-card label>span{
  color:#f0f1f4;
  font-size:12px;
  font-weight:700;
}
.settings-v20 .settings-card input,
.settings-v20 .settings-card select,
.settings-v20 .settings-card textarea{
  width:100%;
  min-height:43px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  background:#2a2a2d;
  color:#f4f4f7;
  outline:none;
  font:500 13px/1.3 Inter,system-ui,sans-serif;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.settings-v20 .settings-card input:focus,
.settings-v20 .settings-card select:focus,
.settings-v20 .settings-card textarea:focus{
  border-color:rgba(128,99,255,.72);
  box-shadow:0 0 0 3px rgba(111,82,231,.12);
  background:#252529;
}
.settings-v20 .settings-card input:disabled{color:#82858d;background:#242426}
.settings-v20 .settings-handle{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  min-height:43px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  background:#2a2a2d;
  overflow:hidden;
}
.settings-v20 .settings-handle i{display:grid;place-items:center;color:#969aa4;font-style:normal;font-weight:800}
.settings-v20 .settings-handle input{border:0;border-left:1px solid rgba(255,255,255,.06);border-radius:0;background:transparent}
.settings-v20 .settings-card-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:22px;
}
.settings-v20 .settings-primary-button,
.settings-v20 .settings-secondary-button,
.settings-v20 .settings-danger-button{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:10px;
  font-size:12px;
  font-weight:800;
}
.settings-v20 .settings-primary-button{
  border:1px solid #8c72ff;
  background:linear-gradient(180deg,#7860f2,#654add);
  color:#fff;
  box-shadow:0 10px 24px rgba(101,74,221,.20),inset 0 1px 0 rgba(255,255,255,.16);
}
.settings-v20 .settings-secondary-button{border:1px solid rgba(255,255,255,.12);background:#262629;color:#fff}
.settings-v20 .settings-danger-button{border:1px solid rgba(255,88,88,.25);background:#2a2223;color:#ff7777}
.settings-v20 .settings-danger-card,
.settings-v20 .settings-session-card,
.settings-v20 .settings-plan-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.settings-v20 .settings-danger-card h3,
.settings-v20 .settings-session-card h3,
.settings-v20 .settings-plan-card h3{margin:0 0 6px}
.settings-v20 .settings-danger-card p,
.settings-v20 .settings-session-card p,
.settings-v20 .settings-plan-card p,
.settings-v20 .settings-billing-note p{margin:0;color:#9da0aa;font-size:12px;line-height:1.55}
.settings-v20 .settings-interest-grid{display:flex;flex-wrap:wrap;gap:10px}
.settings-v20 .settings-interest-grid button{
  min-height:34px;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:#303034;
  color:#dedee5;
  font-size:11px;
  font-weight:700;
}
.settings-v20 .settings-interest-grid button.active{
  border-color:#7d65ef;
  background:#2a2541;
  color:#f3f0ff;
  box-shadow:0 0 0 1px rgba(125,101,239,.12),0 8px 22px rgba(0,0,0,.14);
}
.settings-v20 .settings-toggle-list{padding-top:10px;padding-bottom:10px}
.settings-v20 .settings-toggle-list label{
  grid-template-columns:minmax(0,1fr) 44px;
  align-items:center;
  gap:20px;
  padding:16px 4px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.settings-v20 .settings-toggle-list label:last-child{border-bottom:0}
.settings-v20 .settings-toggle-list label>span{display:grid;gap:4px}
.settings-v20 .settings-toggle-list label strong{font-size:12px}
.settings-v20 .settings-toggle-list label small{color:#8f939e;font-size:10px;font-weight:500;line-height:1.4}
.settings-v20 .settings-toggle-list input{position:absolute;opacity:0;pointer-events:none}
.settings-v20 .settings-toggle-list label>i{
  position:relative;
  width:38px;
  height:22px;
  border-radius:999px;
  background:#333338;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
  transition:.18s ease;
}
.settings-v20 .settings-toggle-list label>i::after{
  content:'';
  position:absolute;
  top:3px;
  left:3px;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#e8e8eb;
  transition:.18s ease;
}
.settings-v20 .settings-toggle-list input:checked+i{background:#7056e9}
.settings-v20 .settings-toggle-list input:checked+i::after{transform:translateX(16px);background:#fff}
.settings-v20 .settings-security-form{display:grid;gap:18px}
.settings-v20 .settings-workspace-hero{display:flex;align-items:center;gap:16px;margin-bottom:24px}
.settings-v20 .settings-workspace-hero small{color:#7f72e9;font-size:9px;font-weight:900;letter-spacing:.12em}
.settings-v20 .settings-workspace-hero h3{margin:5px 0 4px;font-size:22px}
.settings-v20 .settings-workspace-hero p{margin:0;color:#969aa4;font-size:11px}
.settings-v20 .settings-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.settings-v20 .settings-stat-grid>div{
  padding:18px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;
  background:#111215;
}
.settings-v20 .settings-stat-grid small{display:block;margin-bottom:8px;color:#8d919c;font-size:9px;text-transform:uppercase;letter-spacing:.11em}
.settings-v20 .settings-stat-grid strong{font-size:17px}
.settings-v20 .settings-plan-card>div>small{color:#8270ff;font-size:9px;font-weight:900;letter-spacing:.13em}
.settings-v20 .settings-plan-card h3{margin-top:8px;font-size:28px}

@keyframes settingsFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

@media(max-width:960px){
  .settings-v20 .settings-shell{grid-template-columns:220px minmax(0,1fr);padding:10px}
  .settings-v20 .settings-main{width:calc(100% - 26px);padding-top:26px}
  .settings-v20 .settings-form-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .settings-v20 .settings-topbar{grid-template-columns:1fr auto;height:56px}
  .settings-v20 .settings-topbar h1{display:none}
  .settings-v20 .settings-shell{display:block;padding:8px}
  .settings-v20 .settings-nav{position:static;min-height:auto;display:flex;overflow-x:auto;gap:8px;padding:10px;border-radius:16px}
  .settings-v20 .settings-nav section{display:flex;gap:8px;min-width:max-content;margin:0!important;padding:0!important;border:0!important}
  .settings-v20 .settings-nav section>small,.settings-v20 .settings-workspace-card{display:none}
  .settings-v20 .settings-nav-item{width:auto;min-height:40px;padding:0 12px;white-space:nowrap}
  .settings-v20 .settings-main{width:100%;padding:24px 4px 60px}
  .settings-v20 .settings-card{padding:20px;border-radius:16px}
  .settings-v20 .settings-danger-card,.settings-v20 .settings-session-card,.settings-v20 .settings-plan-card{align-items:flex-start;flex-direction:column}
  .settings-v20 .settings-stat-grid{grid-template-columns:1fr}
}


/* v15.21 credit hover card */
.home-v15 .ld-sidebar.ld-sidebar-reference{overflow-x:visible}
.home-v15 .ld-sidebar-reference .ld-credit-hover{
  position:relative;
  cursor:pointer;
  padding:2px 0 0;
}
.home-v15 .ld-sidebar-reference .ld-credit-pop{
  position:absolute;
  left:calc(100% + 12px);
  bottom:-10px;
  width:264px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(21,21,24,.98) 0%, rgba(13,13,16,.98) 100%);
  box-shadow:0 24px 54px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.06);
  opacity:0;
  visibility:hidden;
  transform:translate3d(0,8px,0) scale(.98);
  transform-origin:left bottom;
  transition:opacity .18s ease, transform .2s ease, visibility .18s ease;
  z-index:220;
  color:#fff;
  text-align:left;
}
.home-v15 .ld-sidebar-reference .ld-credit-pop::before{
  content:'';
  position:absolute;
  left:-8px;
  bottom:18px;
  width:14px;
  height:14px;
  border-left:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid rgba(255,255,255,.12);
  background:#111114;
  transform:rotate(45deg);
}
.home-v15 .ld-sidebar-reference .ld-credit-hover:hover .ld-credit-pop,
.home-v15 .ld-sidebar-reference .ld-credit-hover:focus-within .ld-credit-pop,
.home-v15 .ld-sidebar-reference .ld-credit-hover.open .ld-credit-pop{
  opacity:1;
  visibility:visible;
  transform:translate3d(0,0,0) scale(1);
}
.home-v15 .ld-sidebar-reference .ld-credit-pop-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;
}
.home-v15 .ld-sidebar-reference .ld-credit-pop-head span{
  color:#e6e6ea;font-size:11px;font-weight:800;letter-spacing:.02em;
}
.home-v15 .ld-sidebar-reference .ld-credit-pop-head strong{
  color:#23e45f;font-size:14px;font-weight:900;
}
.home-v15 .ld-sidebar-reference .ld-credit-pop-list{display:grid;gap:9px;margin-bottom:10px}
.home-v15 .ld-sidebar-reference .ld-credit-pop-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.home-v15 .ld-sidebar-reference .ld-credit-pop-row span{color:#d8d9df;font-size:12px;font-weight:650;line-height:1.25}
.home-v15 .ld-sidebar-reference .ld-credit-pop-row b{color:#fff;font-size:12px;font-weight:850;line-height:1.25;white-space:nowrap}
.home-v15 .ld-sidebar-reference .ld-credit-pop-row b strong{font-size:14px}
.home-v15 .ld-sidebar-reference .ld-credit-pop-note{
  margin:0 0 12px;
  color:#b4b6c1;
  font-size:11px;
  line-height:1.4;
}
.home-v15 .ld-sidebar-reference .ld-credit-pop-note a{color:#a996ff;font-weight:800}
.home-v15 .ld-sidebar-reference .ld-credit-pop-actions{display:grid;gap:8px}
.home-v15 .ld-sidebar-reference .ld-credit-pop-btn{
  min-height:38px;
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.06);
  color:#f2f3f6;
  font-size:12px;font-weight:850;
  text-decoration:none;
}
.home-v15 .ld-sidebar-reference .ld-credit-pop-btn.primary{
  background:linear-gradient(180deg,#1ff06c 0%, #10d45a 100%);
  border-color:rgba(31,240,108,.42);
  color:#04170a;
  box-shadow:0 10px 24px rgba(31,240,108,.18), inset 0 1px 0 rgba(255,255,255,.26);
}
.home-v15 .ld-sidebar-reference .ld-credit-pop-btn:hover{filter:brightness(1.04)}
@media (max-width:760px){
  .home-v15 .ld-sidebar-reference .ld-credit-pop{display:none}
}


/* v15.22 fixed global credit card */
.ld-credit-pop-global{
  position:fixed;
  width:290px;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(180deg, rgba(24,24,27,.985) 0%, rgba(13,13,16,.99) 100%);
  box-shadow:0 28px 70px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.06);
  color:#fff;
  text-align:left;
  z-index:9999;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate3d(-8px,8px,0) scale(.98);
  transform-origin:left bottom;
  transition:opacity .18s ease, transform .2s ease, visibility .18s ease;
}
.ld-credit-pop-global.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate3d(0,0,0) scale(1);
}
.ld-credit-pop-global::before{
  content:'';
  position:absolute;
  left:-8px;
  bottom:22px;
  width:14px;
  height:14px;
  background:#111114;
  border-left:1px solid rgba(255,255,255,.14);
  border-bottom:1px solid rgba(255,255,255,.14);
  transform:rotate(45deg);
}
.ld-credit-pop-global .ld-credit-pop-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.ld-credit-pop-global .ld-credit-pop-head span{font-size:14px;font-weight:900;color:#f1f2f5}
.ld-credit-pop-global .ld-credit-pop-head strong{font-size:16px;font-weight:900;color:#20e862}
.ld-credit-pop-global .ld-credit-pop-list{display:grid;gap:11px;margin-bottom:13px}
.ld-credit-pop-global .ld-credit-pop-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.ld-credit-pop-global .ld-credit-pop-row span{font-size:13px;font-weight:650;color:#d7d8de;white-space:nowrap}
.ld-credit-pop-global .ld-credit-pop-row b{font-size:13px;font-weight:850;color:#f7f7f9;white-space:nowrap}
.ld-credit-pop-global .ld-credit-pop-row b strong{font-size:15px}
.ld-credit-pop-global .ld-credit-pop-note{margin:0 0 14px;color:#b5b7c0;font-size:12px;line-height:1.45}
.ld-credit-pop-global .ld-credit-pop-note a{color:#a795ff;font-weight:850}
.ld-credit-pop-global .ld-credit-pop-actions{display:grid;gap:9px}
.ld-credit-pop-global .ld-credit-pop-btn{
  min-height:42px;
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.07);
  color:#f1f2f5;
  font-size:13px;font-weight:850;
  text-decoration:none;
}
.ld-credit-pop-global .ld-credit-pop-btn.primary{
  background:linear-gradient(180deg,#1ef06a 0%,#10d657 100%);
  border-color:rgba(30,240,106,.45);
  color:#03160a;
  box-shadow:0 12px 26px rgba(30,240,106,.18), inset 0 1px 0 rgba(255,255,255,.28);
}
.ld-credit-pop-global .ld-credit-pop-btn:hover{filter:brightness(1.05)}
.home-v15 .ld-sidebar-reference .ld-credit-hover{position:relative;cursor:pointer}
@media(max-width:760px){.ld-credit-pop-global{display:none}}


/* v15.23 — AI Creation workspace */
.home-v15 .ld-nav-item[href="/create.php"]{cursor:pointer}
.create-v15{background:#040507}
.create-v15 .ld-main{padding:0 18px 28px}
.create-v15 .ld-create-main{overflow:hidden}
.create-v15 .ld-create-topbar{
  min-height:56px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:16px;
  padding:14px 6px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.create-v15 .ld-create-topbar h1{margin:0;font-size:16px;font-weight:800;justify-self:center}
.create-v15 .ld-create-topbar-left,.create-v15 .ld-create-topbar-right{display:flex;align-items:center;gap:12px}
.create-v15 .ld-create-topbar-right{justify-content:flex-end}
.create-v15 .ld-create-back{display:inline-flex;align-items:center;gap:10px;color:#f2f4f8;font-size:12px;font-weight:700;letter-spacing:.04em}
.create-v15 .ld-create-back span{font-size:20px;line-height:1;color:#d8d9de}
.create-v15 .ld-create-credit-pill,.create-v15 .ld-create-login-link{
  display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid rgba(122,255,179,.18);border-radius:999px;background:rgba(8,17,12,.85);color:#8dffb6;font-size:13px;font-weight:800;
}
.create-v15 .ld-create-login-link{border-color:rgba(255,255,255,.12);background:#121318;color:#fff}
.create-v15 .ld-create-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;padding-top:18px}
.create-v15 .ld-create-leftpanel{display:flex;flex-direction:column;gap:12px;position:sticky;top:18px;align-self:start}
.create-v15 .ld-create-panel-card,
.create-v15 .ld-create-panel-block,
.create-v15 .ld-create-panel-accordion{
  border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(180deg,#101115 0%,#0d0f12 100%);box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.create-v15 .ld-create-panel-card{padding:13px 14px}
.create-v15 .ld-create-panel-label{display:block;font-size:13px;font-weight:700;color:#f6f7fb;margin-bottom:8px}
.create-v15 .ld-create-select,
.create-v15 .ld-create-field-block input,
.create-v15 .ld-create-field-block textarea,
.create-v15 .ld-create-field-block select{
  width:100%;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#191b21;color:#fff;min-height:42px;padding:10px 12px;font-size:14px;outline:0;
}
.create-v15 .ld-create-field-block textarea{min-height:92px;resize:vertical}
.create-v15 .ld-create-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 14px 0;font-size:14px;font-weight:800}
.create-v15 .ld-create-panel-head small{font-size:11px;color:#8e95a4;font-weight:600}
.create-v15 .ld-create-ratio-grid,
.create-v15 .ld-create-chip-grid{display:grid;gap:8px;padding:12px 14px 14px}
.create-v15 .ld-create-ratio-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.create-v15 .ld-create-ratio-grid button,
.create-v15 .ld-create-chip-grid button{
  border:1px solid rgba(255,255,255,.10);border-radius:12px;background:#14161b;color:#d8dce6;min-height:42px;padding:8px 6px;font-size:13px;font-weight:700;transition:.18s ease;
}
.create-v15 .ld-create-ratio-grid button.selected,
.create-v15 .ld-create-chip-grid button.selected,
.create-v15 .ld-create-ratio-grid button:hover,
.create-v15 .ld-create-chip-grid button:hover{background:#1c1f27;border-color:rgba(139,104,255,.48);box-shadow:0 0 0 1px rgba(139,104,255,.18) inset;color:#fff}
.create-v15 .ld-create-size-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.create-v15 .ld-create-size-grid button,
.create-v15 .ld-create-count-grid button{display:grid;justify-items:center;gap:2px}
.create-v15 .ld-create-size-grid small{font-size:10px;color:#9096a3;font-weight:600}
.create-v15 .ld-create-count-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.create-v15 .ld-create-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.create-v15 .ld-create-toggle-row small{display:block;color:#9196a4;font-size:11px;line-height:1.35}
.create-v15 .ld-create-switch{position:relative;width:46px;height:28px;display:block;flex:0 0 auto}
.create-v15 .ld-create-switch input{position:absolute;inset:0;opacity:0}
.create-v15 .ld-create-switch span{position:absolute;inset:0;border-radius:999px;background:#2a2d35;border:1px solid rgba(255,255,255,.08);transition:.18s ease}
.create-v15 .ld-create-switch span::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.18s ease}
.create-v15 .ld-create-switch input:checked + span{background:#7360ff}
.create-v15 .ld-create-switch input:checked + span::after{transform:translateX(18px)}
.create-v15 .ld-create-panel-accordion summary{list-style:none;cursor:pointer;padding:14px 16px;font-size:14px;font-weight:800}
.create-v15 .ld-create-panel-accordion summary::-webkit-details-marker{display:none}
.create-v15 .ld-create-advanced-fields{padding:0 14px 14px;display:grid;gap:12px}
.create-v15 .ld-create-field-block{display:grid;gap:8px}
.create-v15 .ld-create-field-block span{font-size:12px;color:#b8beca;font-weight:700}
.create-v15 .ld-create-field-block output{justify-self:end;color:#8b68ff;font-size:12px;font-weight:800}

.create-v15 .ld-create-workspace{min-width:0;display:flex;flex-direction:column;gap:14px}
.create-v15 .ld-create-inputbar{display:grid;grid-template-columns:40px minmax(0,1fr) 42px 156px;gap:10px;align-items:center;padding:7px 8px 7px 12px;border:1px solid rgba(255,255,255,.10);border-radius:18px;background:rgba(18,20,24,.88);box-shadow:0 12px 40px rgba(0,0,0,.24)}
.create-v15 .ld-create-inputicon,.create-v15 .ld-create-enhance{width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:#181a1f;color:#f1f2f7}
.create-v15 .ld-create-inputbar input{min-width:0;height:46px;border:0;background:transparent;color:#fff;font-size:16px;outline:0}
.create-v15 .ld-create-inputbar input::placeholder{color:#8f95a2}
.create-v15 .ld-create-generate{height:46px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:14px;background:linear-gradient(180deg,#1a1d22,#14171c);color:#fff;font-size:14px;font-weight:800;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.create-v15 .ld-create-generate small{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:24px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.06);font-size:12px;color:#aaa}
.create-v15 .ld-create-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.create-v15 .ld-create-tabs button{border:1px solid rgba(255,255,255,.10);border-radius:999px;background:#111318;color:#cad0db;font-size:14px;font-weight:700;padding:8px 14px;display:inline-flex;align-items:center;gap:6px}
.create-v15 .ld-create-tabs button.active{background:rgba(115,96,255,.18);border-color:rgba(139,104,255,.42);color:#fff}
.create-v15 .ld-create-tabs sup{font-size:10px;color:#fff;background:#2f323a;border-radius:999px;padding:2px 6px}
.create-v15 .ld-create-alert{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid rgba(122,255,179,.12);border-radius:16px;background:rgba(10,16,12,.8)}
.create-v15 .ld-create-alert>span{font-size:22px;color:#61f0a1}
.create-v15 .ld-create-alert b{display:block;font-size:15px;margin-bottom:3px}
.create-v15 .ld-create-alert small{color:#9facb1;font-size:12px;line-height:1.4}
.create-v15 .ld-create-feed-head{padding-top:4px;display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap}
.create-v15 .ld-create-feed-head strong{font-size:20px;font-weight:800}
.create-v15 .ld-create-feed-head small{color:#8f97a7;font-size:12px}
.create-v15 .ld-create-stage{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:start}
.create-v15 .ld-create-preview-card,
.create-v15 .ld-create-side-card{border:1px solid rgba(255,255,255,.08);border-radius:22px;background:#0b0d11;overflow:hidden}
.create-v15 .ld-create-feed-card{padding:18px}
.create-v15 .ld-create-feed-list{display:grid;gap:18px}
.create-v15 .ld-create-feed-item{border:1px solid rgba(255,255,255,.08);border-radius:20px;background:linear-gradient(180deg,#10141b,#0c0f15);overflow:hidden;cursor:pointer;transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease}
.create-v15 .ld-create-feed-item:hover{transform:translateY(-2px);border-color:rgba(255,210,112,.35);box-shadow:0 12px 30px rgba(0,0,0,.28)}
.create-v15 .ld-create-feed-item.active{border-color:rgba(126,95,255,.45);box-shadow:0 0 0 1px rgba(126,95,255,.18) inset}
.create-v15 .ld-create-feed-media{background:#090c11;display:grid;place-items:center;padding:14px}
.create-v15 .ld-create-feed-media img{display:block;max-width:100%;width:auto;height:auto;max-height:none;border-radius:14px;object-fit:contain}
.create-v15 .ld-create-feed-meta{padding:14px 16px 16px;display:grid;gap:10px}
.create-v15 .ld-create-feed-headline{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.create-v15 .ld-create-feed-headline h4{margin:0;font-size:16px;color:#fff}
.create-v15 .ld-create-feed-headline span{font-size:11px;color:#8f97a7;white-space:nowrap}
.create-v15 .ld-create-feed-meta p{margin:0;color:#c8ceda;font-size:13px;line-height:1.55}
.create-v15 .ld-create-feed-tags{display:flex;flex-wrap:wrap;gap:8px}
.create-v15 .ld-create-feed-tags span{padding:7px 10px;border-radius:999px;background:#171a20;border:1px solid rgba(255,255,255,.08);font-size:11px;color:#d7dce6;font-weight:700}
.create-v15 .ld-create-empty{max-width:420px;text-align:center;padding:52px 20px;color:#cbd1db;margin:0 auto}
.create-v15 .ld-create-empty strong{display:block;font-size:20px;margin-bottom:8px;color:#fff}
.create-v15 .ld-create-empty p{margin:0;color:#9298a5;line-height:1.45}
.create-v15 .ld-create-side-card{padding:18px;display:flex;flex-direction:column;gap:14px;position:sticky;top:18px}
.create-v15 .ld-create-side-card h3{margin:0;font-size:18px}
.create-v15 .ld-create-side-card p{margin:0;color:#d9dde6;font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden}
.create-v15 .ld-create-badges{display:flex;flex-wrap:wrap;gap:8px}
.create-v15 .ld-create-badges span{padding:7px 10px;border-radius:999px;background:#171a20;border:1px solid rgba(255,255,255,.08);font-size:12px;color:#cdd3dd;font-weight:700}
.create-v15 .ld-create-thumbs{display:grid;gap:10px}
.create-v15 .ld-create-thumb{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;align-items:center;padding:8px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:#12141a;color:#fff;text-align:left}
.create-v15 .ld-create-thumb img{width:56px;height:56px;object-fit:cover;border-radius:10px;background:#090b10}
.create-v15 .ld-create-thumb b{display:block;font-size:12px;margin-bottom:3px}
.create-v15 .ld-create-thumb small{display:block;font-size:11px;color:#8e95a4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.create-v15 .ld-create-thumb.active{border-color:rgba(139,104,255,.44);background:#171a22;box-shadow:0 0 0 1px rgba(139,104,255,.14) inset}
.create-v15 .ld-create-thumb.empty{grid-template-columns:1fr;justify-items:center;text-align:center;padding:20px}
.create-v15 .ld-create-thumb.empty img{display:none}
.create-v15 .ld-create-thumb.empty b,.create-v15 .ld-create-thumb.empty small{white-space:normal}

@media (max-width:1280px){
  .create-v15 .ld-create-layout{grid-template-columns:250px minmax(0,1fr)}
  .create-v15 .ld-create-stage{grid-template-columns:minmax(0,1fr) 230px}
}
@media (max-width:1080px){
  .create-v15 .ld-create-layout{grid-template-columns:1fr}
  .create-v15 .ld-create-leftpanel{position:relative;top:auto}
  .create-v15 .ld-create-stage{grid-template-columns:1fr}
  .create-v15 .ld-create-side-card{position:relative;top:auto}
}
@media (max-width:860px){
  .create-v15 .ld-create-topbar{grid-template-columns:1fr;justify-items:start}
  .create-v15 .ld-create-topbar h1{justify-self:start}
  .create-v15 .ld-create-topbar-right{justify-content:flex-start}
  .create-v15 .ld-create-inputbar{grid-template-columns:40px minmax(0,1fr);padding-bottom:12px}
  .create-v15 .ld-create-enhance,.create-v15 .ld-create-generate{grid-column:span 1}
  .create-v15 .ld-create-generate{grid-column:1 / -1}
}
@media (max-width:640px){
  .create-v15 .ld-main{padding:0 12px 22px}
  .create-v15 .ld-create-ratio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .create-v15 .ld-create-size-grid{grid-template-columns:1fr}
  .create-v15 .ld-create-count-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}


/* v15.26 create feed info rows */
.create-v15 .ld-create-stage-feed.ld-create-stage-stack{display:block}
.create-v15 .ld-create-feed-card{padding:18px 18px 20px}
.create-v15 .ld-create-feed-list{display:grid;gap:20px}
.create-v15 .ld-create-feed-item{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:stretch;gap:22px;border:1px solid rgba(255,255,255,.08);border-radius:24px;background:linear-gradient(180deg,rgba(15,18,25,.96),rgba(10,12,18,.98));padding:16px;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.24);cursor:default;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.create-v15 .ld-create-feed-item:hover{transform:translateY(-2px);border-color:rgba(255,210,112,.3);box-shadow:0 18px 48px rgba(0,0,0,.3)}
.create-v15 .ld-create-feed-item.active{border-color:rgba(255,210,112,.34);box-shadow:0 0 0 1px rgba(255,210,112,.12) inset,0 18px 48px rgba(0,0,0,.3)}
.create-v15 .ld-create-feed-media{padding:0;border-radius:18px;overflow:hidden;background:#090c11;display:flex;align-items:flex-start;justify-content:center;min-height:240px}
.create-v15 .ld-create-feed-media img{display:block;width:auto;max-width:100%;height:auto;max-height:720px;border-radius:16px;object-fit:contain}
.create-v15 .ld-create-feed-meta{padding:8px 4px 4px;display:flex;flex-direction:column;gap:14px;min-width:0}
.create-v15 .ld-create-feed-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.create-v15 .ld-create-feed-topline h4{margin:0;font-size:26px;line-height:1.15;color:#fff;font-weight:800;letter-spacing:-.02em}
.create-v15 .ld-create-feed-date{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#141821;border:1px solid rgba(255,255,255,.08);font-size:12px;color:#c7ceda;font-weight:700;white-space:nowrap}
.create-v15 .ld-create-feed-date::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 14px rgba(255,210,112,.6)}
.create-v15 .ld-create-feed-prompt{margin:0;padding:16px 18px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.07);font-size:14px;line-height:1.7;color:#d5dbe6}
.create-v15 .ld-create-feed-prompt b{display:block;margin:0 0 8px;color:#fff;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.create-v15 .ld-create-feed-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.create-v15 .ld-create-detail{padding:14px 16px;border-radius:16px;background:#10141b;border:1px solid rgba(255,255,255,.07);min-width:0}
.create-v15 .ld-create-detail small{display:block;margin-bottom:6px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8f97a7;font-weight:700}
.create-v15 .ld-create-detail b{display:block;color:#fff;font-size:14px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.create-v15 .ld-create-feed-tags{display:flex;flex-wrap:wrap;gap:8px}
.create-v15 .ld-create-feed-tags span{padding:8px 12px;border-radius:999px;background:#171a20;border:1px solid rgba(255,255,255,.08);font-size:11px;color:#d7dce6;font-weight:700}
.create-v15 .ld-create-feed-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:auto}
.create-v15 .ld-create-feed-status{font-size:12px;color:#8f97a7}
.create-v15 .ld-create-feed-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:14px;text-decoration:none;background:linear-gradient(180deg,#f3cf82,#d6a94d);color:#111;font-size:13px;font-weight:800;box-shadow:0 10px 26px rgba(214,169,77,.22)}
.create-v15 .ld-create-feed-open:hover{filter:brightness(1.03)}
.create-v15 .ld-create-feed-open::after{content:"↗";font-size:13px}
.create-v15 .ld-create-feed-refrow{display:flex;gap:8px;flex-wrap:wrap}
.create-v15 .ld-create-feed-refthumb{width:46px;height:46px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#0d1016}
.create-v15 .ld-create-feed-refthumb img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width: 1100px){
  .create-v15 .ld-create-feed-item{grid-template-columns:1fr}
  .create-v15 .ld-create-feed-media{justify-content:flex-start}
}
@media (max-width: 700px){
  .create-v15 .ld-create-feed-card{padding:12px}
  .create-v15 .ld-create-feed-item{padding:12px;border-radius:20px;gap:14px}
  .create-v15 .ld-create-feed-topline h4{font-size:21px}
  .create-v15 .ld-create-feed-details{grid-template-columns:1fr}
  .create-v15 .ld-create-feed-prompt{padding:14px}
}


/* v15.27 feed runtime fix */
.create-v15 .ld-create-feed-media.image-error::before{content:'Görsel dosyası yüklenemedi';display:grid;place-items:center;min-height:220px;width:100%;padding:24px;color:#aeb6c5;font-size:13px;text-align:center;background:linear-gradient(180deg,#11151d,#0b0e14)}
.create-v15 .ld-create-empty[hidden]{display:none!important}


/* v16.0 create workspace grouped output rows */
.create-v15 .ld-create-inputicon{cursor:pointer}
.create-v15 .ld-create-job-list{display:grid;gap:22px}
.create-v15 .ld-create-job-card{border:1px solid rgba(255,255,255,.08);border-radius:24px;background:linear-gradient(180deg,rgba(12,15,21,.98),rgba(8,10,15,.98));padding:18px;display:grid;gap:18px;box-shadow:0 18px 48px rgba(0,0,0,.28)}
.create-v15 .ld-create-job-card.active{border-color:rgba(255,210,112,.34);box-shadow:0 0 0 1px rgba(255,210,112,.12) inset,0 18px 48px rgba(0,0,0,.3)}
.create-v15 .ld-create-job-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap}
.create-v15 .ld-create-job-eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#9098aa;font-weight:800}
.create-v15 .ld-create-job-head h3{margin:8px 0 0;font-size:24px;line-height:1.15;color:#fff}
.create-v15 .ld-create-job-headbadges{display:flex;flex-wrap:wrap;gap:8px}
.create-v15 .ld-create-job-headbadges span{padding:8px 12px;border-radius:999px;background:#171a20;border:1px solid rgba(255,255,255,.08);font-size:11px;color:#d7dce6;font-weight:700}
.create-v15 .ld-create-job-prompt{padding:16px 18px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.07)}
.create-v15 .ld-create-job-prompt b{display:block;margin:0 0 8px;color:#fff;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.create-v15 .ld-create-job-prompt p{margin:0;color:#d5dbe6;font-size:14px;line-height:1.7}
.create-v15 .ld-create-job-stack{display:grid;gap:16px}
.create-v15 .ld-create-output-row{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);align-items:stretch;gap:20px;padding:14px;border-radius:20px;background:#0f131b;border:1px solid rgba(255,255,255,.06)}
.create-v15 .ld-create-output-media{border-radius:16px;background:#090c11;overflow:hidden;display:grid;place-items:center;min-height:220px}
.create-v15 .ld-create-output-media img{display:block;max-width:100%;width:auto;height:auto;max-height:640px;object-fit:contain;border-radius:14px}
.create-v15 .ld-create-output-meta{display:flex;flex-direction:column;gap:14px;min-width:0}
.create-v15 .ld-create-output-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.create-v15 .ld-create-output-topline h4{margin:0;font-size:20px;color:#fff;line-height:1.2}
.create-v15 .ld-create-output-details{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:1100px){
  .create-v15 .ld-create-output-row{grid-template-columns:1fr}
}
@media (max-width:700px){
  .create-v15 .ld-create-job-card{padding:14px;border-radius:20px}
  .create-v15 .ld-create-job-head h3{font-size:20px}
  .create-v15 .ld-create-output-row{padding:12px;gap:14px}
  .create-v15 .ld-create-output-details{grid-template-columns:1fr}
}

/* v16.1 — create workspace left panel refinement */
.create-v15 .ld-create-leftpanel-frame{display:grid;gap:12px}
.create-v15 .ld-create-leftpanel{
  width:100%;
}
.create-v15 .ld-create-panel-card,
.create-v15 .ld-create-panel-block,
.create-v15 .ld-create-panel-accordion{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.085);
  background:linear-gradient(180deg,rgba(24,26,31,.96),rgba(14,16,20,.98));
  box-shadow:0 18px 42px rgba(0,0,0,.22);
}
.create-v15 .ld-create-panel-card{padding:14px}
.create-v15 .ld-create-panel-label{
  margin-bottom:10px;
  font-size:13px;
  line-height:1.2;
  color:#f7f8fb;
}
.create-v15 .ld-create-panel-label em,
.create-v15 .ld-create-panel-head em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:15px;
  height:15px;
  margin-left:5px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  color:#9fa7b6;
  font-style:normal;
  font-size:10px;
  vertical-align:middle;
}
.create-v15 .ld-create-select-card .ld-create-panel-label{margin-bottom:8px}
.create-v15 .ld-create-select-wrap{position:relative}
.create-v15 .ld-create-select-wrap::after{
  content:'▾';
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:#b9c0cd;
  font-size:13px;
  pointer-events:none;
}
.create-v15 .ld-create-select-icon{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}
.create-v15 .ld-create-select-wrap--model .ld-create-select-icon{
  background:linear-gradient(180deg,#ff9538,#ff5238);
  color:#fff;
  box-shadow:0 10px 20px rgba(255,118,56,.18);
}
.create-v15 .ld-create-select{
  appearance:none;
  padding:0 42px 0 48px;
  min-height:54px;
  border-radius:14px;
  background:linear-gradient(180deg,#25272d,#1b1d23);
  border:1px solid rgba(255,255,255,.08);
  font-size:14px;
  font-weight:700;
  color:#f6f8fb;
}
.create-v15 .ld-create-panel-head{padding:14px 14px 0}
.create-v15 .ld-create-panel-head span{display:inline-flex;align-items:center;gap:0}
.create-v15 .ld-create-panel-head small{font-size:12px;font-weight:700;color:#9ca4b3}
.create-v15 .ld-create-ratio-grid,
.create-v15 .ld-create-chip-grid{gap:10px;padding:12px 14px 14px}
.create-v15 .ld-create-ratio-grid button,
.create-v15 .ld-create-chip-grid button{
  min-height:58px;
  border-radius:14px;
  background:#17191f;
  border:1px solid rgba(255,255,255,.09);
  color:#dde2ec;
  font-weight:800;
}
.create-v15 .ld-create-ratio-grid button{display:grid;justify-items:center;align-content:center;gap:6px;padding:8px 6px}
.create-v15 .ld-create-ratio-grid button b{font-size:13px;line-height:1.1}
.create-v15 .ld-create-ratio-grid button.selected,
.create-v15 .ld-create-chip-grid button.selected,
.create-v15 .ld-create-ratio-grid button:hover,
.create-v15 .ld-create-chip-grid button:hover{
  background:#22242d;
  border-color:rgba(136,104,255,.5);
  box-shadow:0 0 0 1px rgba(136,104,255,.18) inset,0 0 18px rgba(105,87,255,.08);
}
.create-v15 .ld-ratio-icon{
  display:block;
  position:relative;
  border:1.5px solid rgba(255,255,255,.58);
  border-radius:4px;
  opacity:.88;
}
.create-v15 .ld-ratio-23{width:16px;height:22px}
.create-v15 .ld-ratio-11{width:18px;height:18px}
.create-v15 .ld-ratio-169{width:24px;height:14px}
.create-v15 .ld-ratio-custom{width:18px;height:18px;border-style:dashed}
.create-v15 .ld-create-size-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.create-v15 .ld-create-size-grid button small{font-size:10px;color:#8e97a9}
.create-v15 .ld-create-size-grid button,
.create-v15 .ld-create-count-grid button{display:grid;justify-items:center;gap:3px;padding:8px 8px}
.create-v15 .ld-create-count-grid{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}
.create-v15 .ld-create-count-grid button{min-height:40px}
.create-v15 .ld-create-count-more{pointer-events:none;opacity:.72;font-size:18px;line-height:1}
.create-v15 .ld-create-toggle-row{padding-block:16px}
.create-v15 .ld-create-toggle-row .ld-create-panel-label{margin-bottom:0}
.create-v15 .ld-create-switch{width:48px;height:28px}
.create-v15 .ld-create-switch span{background:#2b2e37}
.create-v15 .ld-create-switch input:checked + span{background:#8e7bff}
.create-v15 .ld-create-panel-accordion summary{
  padding:16px;
  position:relative;
}
.create-v15 .ld-create-panel-accordion summary::after{
  content:'⌄';
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  color:#aab2c0;
  font-size:14px;
}
.create-v15 .ld-create-panel-accordion[open] summary::after{transform:translateY(-50%) rotate(180deg)}
.create-v15 .ld-create-reset-btn{
  width:100%;
  margin-top:4px;
  min-height:52px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:transparent;
  color:#f3f5f9;
  font-size:14px;
  font-weight:800;
  letter-spacing:-.01em;
}
.create-v15 .ld-create-reset-btn:hover{background:rgba(255,255,255,.04)}
@media (max-width:1280px){
  .create-v15 .ld-create-layout{grid-template-columns:294px minmax(0,1fr)}
}
@media (max-width:640px){
  .create-v15 .ld-create-count-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}


/* v16.2 — command workspace refinement */
.create-v15 .ld-create-workspace{gap:16px}
.create-v15 .ld-create-command-shell{position:sticky;top:10px;z-index:28;padding:10px;border-radius:22px;background:rgba(8,10,15,.88);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(18px);box-shadow:0 18px 52px rgba(0,0,0,.34)}
.create-v15 .ld-create-inputbar{grid-template-columns:40px minmax(0,1fr) auto 42px 166px;padding:6px 7px 6px 10px;border-radius:16px;background:linear-gradient(180deg,#171a20,#12151a);box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}
.create-v15 .ld-create-prompt-count{color:#737b8a;font-size:11px;font-weight:700;white-space:nowrap;padding:0 4px}
.create-v15 .ld-create-generate{background:linear-gradient(180deg,#f4d081,#d9aa4e);color:#12100b;box-shadow:0 12px 30px rgba(222,171,77,.2),inset 0 1px 0 rgba(255,255,255,.42)}
.create-v15 .ld-create-generate small{background:rgba(12,10,6,.12);color:#2a2113;gap:5px}
.create-v15 .ld-create-generate small i{font-style:normal;font-size:11px}
.create-v15 .ld-create-reference-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;padding:9px 10px 0}
.create-v15 .ld-create-reference-strip[hidden]{display:none!important}
.create-v15 .ld-create-reference-preview{display:flex;align-items:center;gap:10px;min-width:0}
.create-v15 .ld-create-reference-preview img{width:44px;height:44px;object-fit:cover;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:#0b0d12}
.create-v15 .ld-create-reference-preview div{display:grid;gap:2px;min-width:0}
.create-v15 .ld-create-reference-preview strong{font-size:12px;color:#f5f7fa}
.create-v15 .ld-create-reference-preview small{font-size:11px;color:#8f97a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}
.create-v15 .ld-create-reference-strip>button{border:1px solid rgba(255,255,255,.09);background:#161920;color:#d9dee7;border-radius:10px;padding:8px 12px;font-size:11px;font-weight:800}
.create-v15 .ld-create-tabs{padding:2px 0 0}
.create-v15 .ld-create-tabs button{padding:9px 15px;background:#101318}
.create-v15 .ld-create-tabs button.active{background:linear-gradient(180deg,rgba(126,95,255,.24),rgba(83,67,175,.2));border-color:rgba(139,104,255,.52)}
.create-v15 .ld-create-alert{justify-content:flex-start;padding:13px 16px;background:linear-gradient(180deg,rgba(8,18,12,.96),rgba(7,13,10,.96));border-color:rgba(92,238,145,.16)}
.create-v15 .ld-create-alert-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:rgba(73,230,132,.08);flex:0 0 auto}
.create-v15 .ld-create-alert-copy{min-width:0;flex:1}
.create-v15 .ld-create-alert-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.create-v15 .ld-create-alert-actions a{padding:9px 12px;border-radius:10px;color:#dfe6e2;font-size:11px;font-weight:800;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04)}
.create-v15 .ld-create-alert-actions a.primary{background:#14db63;color:#06180d;border-color:rgba(32,239,113,.34)}
.create-v15 .ld-create-feed-head{padding:8px 2px 2px}
.create-v15 .ld-create-feed-head strong{font-size:18px}
.create-v15 .ld-create-feed-card{background:transparent;border:0;padding:0;overflow:visible}
@media(max-width:980px){
  .create-v15 .ld-create-command-shell{position:relative;top:auto}
  .create-v15 .ld-create-inputbar{grid-template-columns:40px minmax(0,1fr) 42px}
  .create-v15 .ld-create-prompt-count{display:none}
  .create-v15 .ld-create-generate{grid-column:1/-1}
  .create-v15 .ld-create-alert{align-items:flex-start;flex-wrap:wrap}
  .create-v15 .ld-create-alert-actions{width:100%;margin-left:42px}
}


/* v16.2 — create results feed actions and metadata */
.create-v15 .ld-create-inline-prompt{padding:14px 16px;border-radius:16px}
.create-v15 .ld-create-output-richdetails{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.create-v15 .ld-create-detail--wide{grid-column:1 / -1}
.create-v15 .ld-create-output-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.create-v15 .ld-create-feed-open.secondary,
.create-v15 .ld-create-feed-open.ghost{background:#131820;border:1px solid rgba(255,255,255,.08);color:#e8edf7}
.create-v15 .ld-create-feed-open.secondary:hover,
.create-v15 .ld-create-feed-open.ghost:hover{background:#1a202a;border-color:rgba(255,255,255,.14)}
.create-v15 .ld-create-feed-open.ghost.danger{color:#ffb9b9;border-color:rgba(255,109,109,.22)}
.create-v15 .ld-create-feed-open.ghost.danger:hover{background:rgba(255,92,92,.08);border-color:rgba(255,109,109,.4)}
@media (max-width:1100px){
  .create-v15 .ld-create-output-richdetails{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:700px){
  .create-v15 .ld-create-output-richdetails{grid-template-columns:1fr}
  .create-v15 .ld-create-output-actions{flex-direction:column;align-items:stretch}
  .create-v15 .ld-create-feed-open,.create-v15 .ld-create-feed-open.secondary,.create-v15 .ld-create-feed-open.ghost{justify-content:center;text-align:center;width:100%}
}


/* v16.3 — prompt reference image uploader */
.create-v15 .ld-create-inputbar{grid-template-columns:auto minmax(0,1fr) auto 42px 156px}
.create-v15 .ld-create-reference-button{height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid rgba(139,104,255,.38);border-radius:12px;background:rgba(115,96,255,.12);color:#fff;font-size:12px;font-weight:800;white-space:nowrap}
.create-v15 .ld-create-reference-button span{display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:#7663ff;font-size:16px;line-height:1}
.create-v15 .ld-create-reference-button:hover{background:rgba(115,96,255,.2);border-color:rgba(139,104,255,.62)}
.create-v15 .ld-create-reference-strip{padding:10px 12px;margin-top:10px;border:1px solid rgba(139,104,255,.24);border-radius:14px;background:rgba(115,96,255,.07)}
.create-v15 .ld-create-reference-preview{display:flex;align-items:center;gap:10px;min-width:0}
.create-v15 .ld-create-reference-preview img{width:52px;height:52px;object-fit:cover;border-radius:10px;background:#0d1016;border:1px solid rgba(255,255,255,.1)}
.create-v15 .ld-create-reference-preview strong,.create-v15 .ld-create-reference-preview small{display:block}
.create-v15 .ld-create-reference-preview strong{font-size:12px;color:#fff;margin-bottom:3px}
.create-v15 .ld-create-reference-preview small{max-width:280px;color:#aeb5c2;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:860px){
  .create-v15 .ld-create-inputbar{grid-template-columns:auto minmax(0,1fr)}
  .create-v15 .ld-create-reference-button b{display:none}
  .create-v15 .ld-create-reference-button{width:42px;padding:0}
}


/* v16.4 — visible reference preview fix */
.create-v15 .ld-create-reference-strip[hidden]{display:none!important}
.create-v15 .ld-create-reference-strip.is-visible{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 14px;position:relative}
.create-v15 .ld-create-reference-thumb{width:58px;height:58px;flex:0 0 58px;border-radius:12px;overflow:hidden;background:#0b0e14;border:1px solid rgba(255,255,255,.12)}
.create-v15 .ld-create-reference-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.create-v15 .ld-create-reference-copy{min-width:0}
.create-v15 .ld-create-reference-copy span{display:block;margin-top:4px;color:#777f90;font-size:10px}
.create-v15 .ld-create-reference-strip>button{width:32px;height:32px;border-radius:10px;border:1px solid rgba(255,255,255,.1);background:#181b22;color:#fff;font-size:20px;line-height:1}
.create-v15 .ld-create-reference-strip>button:hover{background:#252936}
.create-v15 .ld-create-reference-progress{grid-column:1/-1;height:3px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.07)}
.create-v15 .ld-create-reference-progress[hidden]{display:none!important}
.create-v15 .ld-create-reference-progress i{display:block;width:42%;height:100%;border-radius:999px;background:#806cff;animation:ldReferenceLoad 1s ease-in-out infinite alternate}
.create-v15 .ld-create-reference-strip.is-error{border-color:rgba(255,95,95,.38);background:rgba(255,70,70,.06)}
.create-v15 .ld-create-command-shell.reference-drag{outline:2px dashed rgba(139,104,255,.7);outline-offset:4px;border-radius:18px}
@keyframes ldReferenceLoad{from{transform:translateX(-15%)}to{transform:translateX(145%)}}
@media(max-width:640px){.create-v15 .ld-create-reference-strip.is-visible{grid-template-columns:minmax(0,1fr) auto}.create-v15 .ld-create-reference-thumb{width:48px;height:48px;flex-basis:48px}}


/* v16.5 — compact reference thumbnail below prompt */
.create-v15 .ld-create-reference-strip{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:8px;
  padding:0;
  border:0;
  background:transparent;
  min-height:0;
}
.create-v15 .ld-create-reference-strip[hidden]{display:none!important}
.create-v15 .ld-create-reference-strip.is-visible{display:flex;align-items:flex-start;gap:8px;position:relative}
.create-v15 .ld-create-reference-mini-card{
  position:relative;
  width:74px;
  padding:5px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.11);
  background:#12151b;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
}
.create-v15 .ld-create-reference-thumb{
  width:64px;
  height:64px;
  border-radius:9px;
  overflow:hidden;
  background:#090c11;
  border:1px solid rgba(255,255,255,.08);
}
.create-v15 .ld-create-reference-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.create-v15 .ld-create-reference-mini-card>button{
  position:absolute;
  top:1px;
  right:1px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(5,7,10,.88);
  color:#fff;
  font-size:15px;
  line-height:1;
  padding:0;
  z-index:2;
}
.create-v15 .ld-create-reference-mini-card>button:hover{background:#272b35}
.create-v15 .ld-create-reference-mini-card>span,
.create-v15 .ld-create-reference-mini-card>small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.create-v15 .ld-create-reference-mini-card>span{margin-top:5px;color:#aeb5c2;font-size:9px;font-weight:700}
.create-v15 .ld-create-reference-mini-card>small{margin-top:2px;color:#7f8796;font-size:8px}
.create-v15 .ld-create-reference-progress{
  position:absolute;
  left:5px;
  top:66px;
  width:64px;
  height:2px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
}
.create-v15 .ld-create-reference-progress[hidden]{display:none!important}
.create-v15 .ld-create-reference-strip.is-error .ld-create-reference-mini-card{border-color:rgba(255,95,95,.42)}
@media(max-width:640px){
  .create-v15 .ld-create-reference-mini-card{width:68px}
  .create-v15 .ld-create-reference-thumb{width:58px;height:58px}
  .create-v15 .ld-create-reference-progress{width:58px;top:60px}
}

/* v16.6 — guaranteed compact reference card below prompt */
.create-v15 #createReferenceStrip{width:100%;margin-top:10px;align-items:center;gap:8px}
.create-v15 #createReferenceStrip.is-visible{display:flex!important}
.create-v15 .ld-create-reference-card{
  position:relative;
  display:grid;
  grid-template-columns:58px minmax(0,1fr) 28px;
  align-items:center;
  gap:10px;
  width:min(100%,360px);
  min-height:70px;
  padding:6px 8px 6px 6px;
  border:1px solid rgba(139,104,255,.32);
  border-radius:14px;
  background:#14171d;
  box-shadow:0 10px 28px rgba(0,0,0,.24);
  overflow:hidden;
}
.create-v15 .ld-create-reference-card .ld-create-reference-thumb{width:58px;height:58px;border-radius:10px;overflow:hidden;background:#090c11;border:1px solid rgba(255,255,255,.09)}
.create-v15 .ld-create-reference-card .ld-create-reference-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.create-v15 .ld-create-reference-info{min-width:0}
.create-v15 .ld-create-reference-info strong,.create-v15 .ld-create-reference-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.create-v15 .ld-create-reference-info strong{font-size:12px;color:#fff;margin-bottom:4px}
.create-v15 .ld-create-reference-info small{font-size:10px;color:#9ea7b6}
.create-v15 .ld-create-reference-card>button{width:26px;height:26px;border-radius:999px;border:1px solid rgba(255,255,255,.13);background:#20242c;color:#fff;font-size:16px;line-height:1;padding:0}
.create-v15 .ld-create-reference-card .ld-create-reference-progress{position:absolute;left:6px;right:8px;bottom:3px;width:auto;height:2px;background:rgba(255,255,255,.07);border-radius:999px;overflow:hidden}
.create-v15 .ld-create-reference-card .ld-create-reference-progress i{display:block;width:42%;height:100%;background:#806cff;animation:ldReferenceLoad 1s ease-in-out infinite alternate}
@media(max-width:640px){.create-v15 .ld-create-reference-card{width:100%;grid-template-columns:52px minmax(0,1fr) 28px}.create-v15 .ld-create-reference-card .ld-create-reference-thumb{width:52px;height:52px}}

/* v20 — cinematic video hero */
.home-v15 .ld-hero-video{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  background:#04050a;
  pointer-events:none;
  user-select:none;
}
.home-v15 .ld-hero-bg{
  z-index:0;
  opacity:.18;
  mix-blend-mode:screen;
}
.home-v15 .ld-hero-shade{
  z-index:2;
  background:
    linear-gradient(180deg,rgba(2,3,7,.30) 0%,rgba(2,3,7,.20) 30%,rgba(3,4,8,.52) 65%,rgba(4,4,5,.96) 100%),
    linear-gradient(90deg,rgba(3,4,8,.56),transparent 22%,transparent 78%,rgba(3,4,8,.50));
}
.home-v15 .ld-hero-content{z-index:3}
@media (max-width:760px){
  .home-v15 .ld-hero-video{object-position:center center}
  .home-v15 .ld-hero-bg{opacity:.12}
  .home-v15 .ld-hero-shade{background:linear-gradient(180deg,rgba(2,3,7,.34) 0%,rgba(2,3,7,.28) 32%,rgba(3,4,8,.62) 68%,rgba(4,4,5,.97) 100%)}
}
@media (prefers-reduced-motion:reduce){
  .home-v15 .ld-hero-video{display:none}
  .home-v15 .ld-hero-bg{opacity:1;mix-blend-mode:normal}
}

/* v22 — focused Leonardo-style product rail */
.home-v15 .ld-sidebar.ld-sidebar-reference.ld-sidebar-v22{
  width:76px;
  margin:4px 5px;
  padding:8px 6px 10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:21px 21px 0 0;
  background:linear-gradient(180deg,#131210 0%,#0d0d0d 58%,#111 100%);
  box-shadow:12px 0 36px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.035);
}
.home-v15 .ld-sidebar-v22 .ld-logo{margin-bottom:5px}
.home-v15 .ld-sidebar-v22 .ld-nav-primary{gap:1px;padding-right:0;scrollbar-width:none}
.home-v15 .ld-sidebar-v22 .ld-nav-item{
  min-height:55px;
  padding:5px 2px;
  border:1px solid transparent;
  border-radius:15px;
  color:#e7e7e7;
}
.home-v15 .ld-sidebar-v22 .ld-nav-item .ld-side-icon{width:27px;height:27px;color:#e8e8e8}
.home-v15 .ld-sidebar-v22 .ld-nav-item .ld-side-icon svg{width:19px;height:19px;stroke-width:1.55}
.home-v15 .ld-sidebar-v22 .ld-nav-item small{max-width:66px;color:#e8e8e8;font-size:9px;font-weight:750;line-height:1.05;letter-spacing:-.01em}
.home-v15 .ld-sidebar-v22 .ld-nav-item:hover,
.home-v15 .ld-sidebar-v22 .ld-nav-item.active{
  border-color:rgba(255,255,255,.055);
  background:linear-gradient(180deg,#2a2927,#232220);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 8px 20px rgba(0,0,0,.22);
}
.home-v15 .ld-sidebar-v22 .ld-nav-item.active[data-select-tool]{
  border-color:rgba(255,255,255,.055);
  background:linear-gradient(180deg,#2a2927,#232220);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 8px 20px rgba(0,0,0,.22);
}
.home-v15 .ld-sidebar-v22 .ld-nav-item:hover .ld-side-icon,
.home-v15 .ld-sidebar-v22 .ld-nav-item.active .ld-side-icon,
.home-v15 .ld-sidebar-v22 .ld-nav-item.active[data-select-tool] .ld-side-icon{color:#fff;box-shadow:none}
.home-v15 .ld-sidebar-v22 .ld-sidebar-bottom{padding-top:6px;border-top:1px solid rgba(255,255,255,.10)}
@media(max-height:760px) and (min-width:761px){
  .home-v15 .ld-sidebar-v22 .ld-nav-item{min-height:49px;padding:3px 2px}
  .home-v15 .ld-sidebar-v22 .ld-nav-item .ld-side-icon{height:24px}
  .home-v15 .ld-sidebar-v22 .ld-nav-item small{font-size:8px}
}
/* v24 official logo */
.home-v15 .ld-logo .brand-mark{overflow:hidden;border-radius:50%;background:#050505}
.home-v15 .ld-logo .brand-mark img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}


/* v25 - larger, clearer product rail */
@media (min-width:761px){
  .home-v15 .ld-shell{grid-template-columns:104px minmax(0,1fr)}
  .home-v15 .ld-sidebar.ld-sidebar-reference.ld-sidebar-v22{width:92px;margin:5px 6px;padding:10px 7px 12px;border-radius:24px 24px 0 0}
  .home-v15 .ld-sidebar-v22 .ld-logo{min-height:58px;height:58px;margin-bottom:7px}
  .home-v15 .ld-sidebar-v22 .ld-logo .brand-mark{width:45px;height:45px;flex-basis:45px;box-shadow:0 0 0 1px rgba(255,255,255,.24),0 8px 22px rgba(0,0,0,.45)}
  .home-v15 .ld-sidebar-v22 .ld-nav-primary{gap:3px}
  .home-v15 .ld-sidebar-v22 .ld-nav-item{min-height:62px;padding:6px 3px;border-radius:17px;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
  .home-v15 .ld-sidebar-v22 .ld-nav-item .ld-side-icon{width:35px;height:35px;border-radius:11px;background:rgba(255,255,255,.025)}
  .home-v15 .ld-sidebar-v22 .ld-nav-item .ld-side-icon svg{width:25px;height:25px;stroke-width:1.8;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
  .home-v15 .ld-sidebar-v22 .ld-nav-item small{max-width:78px;font-size:10px;font-weight:800;line-height:1.1}
  .home-v15 .ld-sidebar-v22 .ld-nav-item:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.13);background:linear-gradient(180deg,#343331,#272624)}
  .home-v15 .ld-sidebar-v22 .ld-nav-item.active{border-color:rgba(143,124,255,.34);background:linear-gradient(180deg,#34313c,#26242d);box-shadow:inset 3px 0 0 #8d79ff,inset 0 1px 0 rgba(255,255,255,.08),0 9px 24px rgba(0,0,0,.28)}
  .home-v15 .ld-sidebar-v22 .ld-nav-item:hover .ld-side-icon,.home-v15 .ld-sidebar-v22 .ld-nav-item.active .ld-side-icon{background:rgba(255,255,255,.07)}
  .home-v15 .ld-sidebar-v22 .ld-credit-line{min-height:32px}
  .home-v15 .ld-sidebar-v22 .ld-credit-icon{width:28px;height:28px}
  .home-v15 .ld-sidebar-v22 .ld-credit-icon svg{width:20px;height:20px}
  .home-v15 .ld-sidebar-v22 .ld-profile-button{width:76px;height:44px}
  .home-v15 .ld-sidebar-v22 .ld-profile-button span{width:39px;height:39px;font-size:17px}
}
@media (min-width:761px) and (max-height:760px){
  .home-v15 .ld-sidebar-v22 .ld-logo{min-height:48px;height:48px}
  .home-v15 .ld-sidebar-v22 .ld-logo .brand-mark{width:37px;height:37px;flex-basis:37px}
  .home-v15 .ld-sidebar-v22 .ld-nav-primary{gap:1px}
  .home-v15 .ld-sidebar-v22 .ld-nav-item{min-height:49px;padding:3px 2px}
  .home-v15 .ld-sidebar-v22 .ld-nav-item .ld-side-icon{width:29px;height:29px}
  .home-v15 .ld-sidebar-v22 .ld-nav-item .ld-side-icon svg{width:21px;height:21px}
  .home-v15 .ld-sidebar-v22 .ld-nav-item small{font-size:8.5px}
}
/* v26 - Leonardo-inspired image settings panel */
.create-v15 .ld-create-layout{grid-template-columns:258px minmax(0,1fr);gap:16px;padding-top:10px}
.create-v15 .ld-create-leftpanel{position:sticky;top:8px;height:calc(100vh - 16px);z-index:24}
.create-v15 .ld-create-leftpanel-frame{height:100%;display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid rgba(255,255,255,.23);border-radius:22px;background:#101010;box-shadow:0 18px 42px rgba(0,0,0,.28);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3e3e43 transparent}
.create-v15 .ld-create-control-tile{width:100%;min-height:56px;display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:8px 11px;border:0;border-radius:12px;background:#2a2a2a;color:#f7f7f8;text-align:left;cursor:pointer}
.create-v15 .ld-create-control-tile:hover{background:#323232}
.create-v15 .ld-create-control-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.create-v15 .model-gradient{background:linear-gradient(145deg,#39d0db,#754eff 54%,#e54bce)}
.create-v15 .style-brush{position:relative;background:transparent;box-shadow:none}
.create-v15 .style-brush::before{content:'';width:10px;height:20px;border:2px solid #f5f5f7;border-radius:2px 2px 7px 7px;transform:rotate(-8deg);clip-path:polygon(20% 0,80% 0,100% 62%,76% 62%,92% 100%,8% 100%,24% 62%,0 62%)}
.create-v15 .ld-create-control-copy{display:grid;gap:1px;min-width:0}
.create-v15 .ld-create-control-copy small{color:#c6c6c9;font-size:10px;line-height:1}
.create-v15 .ld-create-control-copy strong{font-size:13px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.create-v15 .ld-create-control-chevron{color:#d4d4d6;font-size:14px;transition:transform .18s ease}
.create-v15 details[open]>.ld-create-control-tile .ld-create-control-chevron{transform:rotate(180deg)}
.create-v15 .ld-create-style-menu{position:relative}
.create-v15 .ld-create-style-menu>summary{list-style:none}
.create-v15 .ld-create-style-menu>summary::-webkit-details-marker{display:none}
.create-v15 .ld-create-style-options{position:absolute;z-index:55;top:calc(100% + 6px);left:0;right:0;padding:5px 0;border:1px solid rgba(255,255,255,.24);border-radius:12px;background:rgba(20,20,20,.98);box-shadow:0 18px 46px rgba(0,0,0,.5);overflow:hidden}
.create-v15 .ld-create-style-options button{width:100%;min-height:36px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border:0;background:transparent;color:#d8d8dc;font-size:12px;text-align:left;cursor:pointer}
.create-v15 .ld-create-style-options button:hover,.create-v15 .ld-create-style-options button.selected{background:#303030;color:#fff}
.create-v15 .ld-create-style-options button span{font-size:15px}
.create-v15 .ld-create-compact-section{display:grid;gap:9px;padding-top:7px}
.create-v15 .ld-create-compact-section h3,.create-v15 .ld-create-private-row h3{display:flex;align-items:center;gap:5px;margin:0;color:#f2f2f4;font-size:12px;font-weight:850}
.create-v15 .ld-help-dot{width:14px;height:14px;display:inline-grid;place-items:center;border:1px solid #85858b;border-radius:50%;color:#a9a9af;font-size:9px;font-style:normal;font-weight:750;line-height:1}
.create-v15 .ld-create-ratio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0}
.create-v15 .ld-create-ratio-grid button{min-height:59px;padding:7px 3px;display:grid;align-content:center;justify-items:center;gap:6px;border:1px solid transparent;border-radius:9px;background:#292929;color:#cfcfd3;cursor:pointer}
.create-v15 .ld-create-ratio-grid button b{font-size:10px}
.create-v15 .ld-create-ratio-grid button:hover,.create-v15 .ld-create-ratio-grid button.selected{border-color:#7059ff;background:#2d2d32;box-shadow:0 0 0 1px rgba(112,89,255,.2) inset;color:#fff}
.create-v15 .ld-create-resolution-pill{justify-self:start;padding:5px 7px;border:1px solid #725cff;border-radius:7px;color:#fff;font-size:10px;font-weight:850;background:#202025}
.create-v15 .ld-create-count-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:0}
.create-v15 .ld-create-count-grid button{min-height:34px;padding:0;border:1px solid transparent;border-radius:8px;background:#292929;color:#d8d8dc;font-size:11px;font-weight:800;cursor:pointer}
.create-v15 .ld-create-count-grid button:hover,.create-v15 .ld-create-count-grid button.selected{border-color:#715aff;background:#2d2d34;color:#fff}
.create-v15 .ld-create-private-row{min-height:51px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08)}
.create-v15 .ld-create-switch{width:31px;height:18px}
.create-v15 .ld-create-switch span::after{width:14px;height:14px;left:2px;top:2px}
.create-v15 .ld-create-switch input:checked+span::after{transform:translateX(13px)}
.create-v15 .ld-create-collection-panel{border:0;background:transparent;box-shadow:none;border-radius:0}
.create-v15 .ld-create-collection-panel>summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;list-style:none;color:#f3f3f5;font-size:12px;font-weight:850;cursor:pointer}
.create-v15 .ld-create-collection-panel>summary::-webkit-details-marker{display:none}
.create-v15 .ld-create-collection-panel>summary span{display:flex;align-items:center;gap:6px}
.create-v15 .ld-create-collection-panel>summary b{font-size:13px;transition:transform .18s ease}
.create-v15 .ld-create-collection-panel[open]>summary b{transform:rotate(180deg)}
.create-v15 .ld-create-collection-body{display:grid;gap:8px;padding:1px 2px 10px}
.create-v15 .ld-create-collection-search{height:34px;display:grid;grid-template-columns:20px 1fr;align-items:center;padding:0 9px;border-radius:8px;background:#292929;color:#a7a7ac}
.create-v15 .ld-create-collection-search input{width:100%;border:0;outline:0;background:transparent;color:#fff;font-size:11px}
.create-v15 .ld-create-collection-list{display:grid;gap:3px;max-height:145px;overflow:auto}
.create-v15 .ld-create-collection-list p{margin:8px;color:#898990;font-size:10px}
.create-v15 .ld-create-collection-choice{min-height:38px;display:grid;grid-template-columns:10px 28px minmax(0,1fr) 14px;align-items:center;gap:7px;padding:3px 5px;border:0;border-radius:8px;background:transparent;color:#eee;text-align:left;cursor:pointer}
.create-v15 .ld-create-collection-choice:hover,.create-v15 .ld-create-collection-choice.selected{background:#292929}
.create-v15 .collection-folder{width:27px;height:25px;display:block;border:1px solid #777780;border-radius:4px;position:relative}
.create-v15 .collection-folder::before{content:'';position:absolute;left:3px;top:-4px;width:10px;height:5px;border:1px solid #777780;border-bottom:0;border-radius:3px 3px 0 0;background:#101010}
.create-v15 .ld-create-collection-choice strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.create-v15 .ld-create-collection-choice i:last-child{width:13px;height:13px;border:1px solid #57575e;border-radius:3px}
.create-v15 .ld-create-collection-choice.selected i:last-child{border-color:#806cff;background:#806cff;box-shadow:inset 0 0 0 3px #292929}
.create-v15 .ld-create-new-collection{min-height:36px;display:grid;grid-template-columns:16px 28px 1fr;align-items:center;gap:6px;padding:0 5px;color:#f0f0f2;font-size:11px}
.create-v15 .ld-create-view-all{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 9px;border-radius:7px;background:#2a2a2a;color:#c9c9ce;font-size:10px;font-weight:750}
.create-v15 .ld-create-advanced-panel{border:0;border-top:1px solid rgba(255,255,255,.08);border-radius:0;background:transparent;box-shadow:none}
.create-v15 .ld-create-advanced-panel summary{padding:14px 0;font-size:11px}
.create-v15 .ld-create-reset-btn{margin-top:auto;min-height:38px;border:0;border-radius:9px;background:transparent;font-size:11px;color:#efeff2}
.create-v15 .ld-create-reset-btn:hover{background:#292929}
.create-v15 .ld-create-reset-btn span{font-size:15px;margin-right:4px}
.ld-model-modal{position:fixed;inset:0;z-index:300;display:none;padding:12px;background:rgba(0,0,0,.38);backdrop-filter:blur(5px)}
.ld-model-modal.open{display:flex;align-items:stretch;justify-content:flex-start;padding-left:calc(104px + 270px)}
.ld-model-dialog{width:min(560px,calc(100vw - 400px));height:calc(100vh - 24px);display:flex;flex-direction:column;padding:14px;border:1px solid rgba(255,255,255,.28);border-radius:20px;background:#101010;color:#f7f7f8;box-shadow:0 26px 80px rgba(0,0,0,.65)}
.ld-model-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:14px}
.ld-model-dialog h2{display:flex;align-items:center;gap:7px;margin:0;font-size:16px}
.ld-model-dialog>header button{width:26px;height:26px;border:0;border-radius:6px;background:#292929;color:#bcbcc1;font-size:18px;cursor:pointer}
.ld-model-tabs{display:flex;gap:8px;margin-top:12px;border-bottom:1px solid rgba(255,255,255,.08)}
.ld-model-tabs button{height:34px;padding:0 8px;border:0;border-bottom:2px solid transparent;background:transparent;color:#aaaab0;font-size:11px;cursor:pointer}
.ld-model-tabs button.active{border-color:#745eff;color:#fff}
.ld-model-search{height:38px;margin-top:10px;display:grid;grid-template-columns:22px 1fr;align-items:center;padding:0 10px;border:2px solid #6954df;border-radius:7px;background:#2b2b2b;color:#aaaab0}
.ld-model-search input{border:0;outline:0;background:transparent;color:#fff;font-size:11px}
.ld-model-featured{margin:9px 2px 6px;color:#b7b7bc;font-size:10px}
.ld-model-list{display:grid;gap:7px;overflow:auto;padding-right:3px}
.ld-model-card{min-height:91px;display:grid;grid-template-columns:78px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:8px;border:1px solid transparent;border-radius:15px;background:#242424;color:#fff;text-align:left;cursor:pointer}
.ld-model-card:hover{background:#2b2b2b}.ld-model-card.selected{border-color:#755fff;background:#251f3b}
.ld-model-thumb{width:76px;height:74px;display:grid;place-items:center;border-radius:12px;color:#fff;font-size:20px;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.ideogram-thumb{background:repeating-radial-gradient(circle at 30% 20%,#d9ff22 0 4px,#111 5px 9px)}
.gpt-thumb{background:radial-gradient(circle,#b9efe5,#5fb2ad 40%,#423a82)}
.banana-thumb{background:linear-gradient(145deg,#e51313,#ff8a00 56%,#6524a0)}
.banana-lite-thumb{background:linear-gradient(145deg,#6937c2,#d9b5ff 48%,#76e17c)}
.recraft-thumb{background:#b9f300;color:#111}
.ld-model-card>span:nth-child(2){display:block;min-width:0}.ld-model-card b{display:block;font-size:12px}.ld-model-card b em{padding:2px 5px;border-radius:999px;background:#fff;color:#161616;font-size:8px;font-style:normal}.ld-model-card small{display:block;margin-top:5px;color:#aaaab2;font-size:10px;line-height:1.3}.ld-model-card u{display:inline-block;margin-top:6px;padding:2px 6px;border-radius:5px;background:#444;color:#ddd;font-size:8px;text-decoration:none}.ld-model-card>i{font-style:normal;color:#9b8bff}
@media(max-width:1100px){.create-v15 .ld-create-layout{grid-template-columns:240px minmax(0,1fr)}.ld-model-modal.open{padding-left:calc(104px + 250px)}.ld-model-dialog{width:min(520px,calc(100vw - 370px))}}
@media(max-width:820px){.create-v15 .ld-create-leftpanel{position:relative;top:auto;height:auto}.create-v15 .ld-create-leftpanel-frame{max-height:none}.ld-model-modal.open{padding:10px}.ld-model-dialog{width:100%;height:calc(100vh - 20px)}}
/* v26.1 - custom image dimensions panel */
.ld-dimensions-modal{position:fixed;inset:0;z-index:310;display:none;padding:12px;background:rgba(0,0,0,.3);backdrop-filter:blur(4px)}
.ld-dimensions-modal.open{display:flex;align-items:stretch;justify-content:flex-start;padding-left:calc(104px + 270px)}
.ld-dimensions-dialog{width:min(350px,calc(100vw - 400px));height:calc(100vh - 24px);padding:14px;border:1px solid rgba(255,255,255,.27);border-radius:20px;background:#101010;color:#f6f6f7;box-shadow:0 26px 80px rgba(0,0,0,.62)}
.ld-dimensions-dialog>header{height:38px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ld-dimensions-dialog h2{margin:2px 0 0;font-size:16px;line-height:1.1}
.ld-dimensions-dialog>header button{width:25px;height:25px;border:0;border-radius:5px;background:#292929;color:#c5c5ca;font-size:17px;cursor:pointer}
.ld-dimensions-card{margin-top:10px;padding:16px;border-radius:13px;background:#1c1c1c}
.ld-dimensions-card h3{display:flex;align-items:center;gap:6px;margin:0;font-size:12px}
.ld-aspect-preview-wrap{height:90px;display:grid;place-items:center;margin:9px 0 5px}
.ld-aspect-preview{width:64px;height:64px;display:grid;place-items:center;border:1px dashed #b2b2b7;background:#252525;transition:width .16s ease,height .16s ease}
.ld-aspect-preview span{padding:5px 8px;border:1px solid #c0c0c5;color:#bbbcc1;font-size:10px;white-space:nowrap}
.ld-aspect-slider-row{display:grid;grid-template-columns:28px minmax(0,1fr) 24px;align-items:center;gap:8px;color:#cacacf;font-size:9px}
.ld-aspect-slider-row input{width:100%;height:4px;accent-color:#745fff;cursor:pointer}
.ld-aspect-presets{margin-top:17px}.ld-aspect-presets h4{margin:0 0 7px;color:#c9c9ce;font-size:10px;font-weight:650}
.ld-aspect-presets>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.ld-aspect-presets button{min-height:29px;padding:4px 8px;border:1px solid transparent;border-radius:7px;background:#373737;color:#cfcfd4;font-size:9px;font-weight:750;cursor:pointer}
.ld-aspect-presets button:hover,.ld-aspect-presets button.selected{border-color:#725cff;background:#312d48;color:#fff}
.ld-aspect-presets button:nth-child(3){grid-column:1/2}
body.dimensions-picker-open{overflow:hidden}
@media(max-width:820px){.ld-dimensions-modal.open{padding:10px}.ld-dimensions-dialog{width:100%;height:calc(100vh - 20px)}}
/* v27 - Featured Blueprints below hero */
.home-v15 .ld-featured-blueprints{position:relative;z-index:5;margin:-54px -20px 22px;padding:58px 22px 22px;background:linear-gradient(180deg,transparent 0,#050505 54px,#050505 100%);overflow:hidden}
.home-v15 .ld-featured-blueprints-head{display:flex;align-items:center;gap:18px;margin-bottom:13px}
.home-v15 .ld-featured-blueprints-head h2{margin:0;color:#fff;font-size:20px;line-height:1.15;font-weight:900;letter-spacing:-.025em}
.home-v15 .ld-featured-blueprints-head a{display:inline-flex;align-items:center;gap:6px;color:#e2e2e5;font-size:10px;font-weight:800;text-decoration:none}
.home-v15 .ld-featured-blueprints-head a:hover{color:#9b88ff}
.home-v15 .ld-featured-blueprints-head a span{transition:transform .18s ease}.home-v15 .ld-featured-blueprints-head a:hover span{transform:translateX(3px)}
.home-v15 .ld-featured-blueprints-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(162px,1fr);gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#34343a transparent;padding-bottom:5px}
.home-v15 .ld-featured-blueprint-card{position:relative;min-width:0;height:270px;overflow:hidden;border:1px solid rgba(255,255,255,.07);border-radius:13px;background:#121216;color:#fff;text-decoration:none;scroll-snap-align:start;isolation:isolate;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.home-v15 .ld-featured-blueprint-card::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,transparent 38%,rgba(4,4,6,.15) 58%,rgba(4,4,6,.94) 100%)}
.home-v15 .ld-featured-blueprint-card img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease,filter .3s ease}
.home-v15 .ld-featured-blueprint-card>span{position:absolute;z-index:2;left:12px;right:10px;bottom:12px;display:grid;gap:4px}
.home-v15 .ld-featured-blueprint-card b{font-size:13px;line-height:1.15;font-weight:900;text-shadow:0 2px 10px rgba(0,0,0,.75)}
.home-v15 .ld-featured-blueprint-card small{color:#c8c8cf;font-size:9px;line-height:1.2;opacity:0;transform:translateY(5px);transition:opacity .2s ease,transform .2s ease}
.home-v15 .ld-featured-blueprint-card:hover{transform:translateY(-3px);border-color:rgba(139,113,255,.5);box-shadow:0 17px 36px rgba(0,0,0,.36)}
.home-v15 .ld-featured-blueprint-card:hover img{transform:scale(1.045);filter:saturate(1.08)}
.home-v15 .ld-featured-blueprint-card:hover small{opacity:1;transform:none}
@media(max-width:1180px){.home-v15 .ld-featured-blueprints-track{grid-auto-columns:190px}.home-v15 .ld-featured-blueprint-card{height:255px}}
@media(max-width:760px){.home-v15 .ld-featured-blueprints{margin:-34px -10px 18px;padding:43px 12px 18px}.home-v15 .ld-featured-blueprints-head h2{font-size:17px}.home-v15 .ld-featured-blueprints-track{grid-auto-columns:164px;gap:8px}.home-v15 .ld-featured-blueprint-card{height:226px}.home-v15 .ld-featured-blueprint-card small{display:none}}
/* v28 - sidebar user account popover */
.home-v15 .ld-profile-button{cursor:pointer;border-radius:999px;transition:background .18s ease,box-shadow .18s ease}
.home-v15 .ld-profile-button:hover,.home-v15 .ld-profile-button.open{background:rgba(255,255,255,.075);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.home-v15 .ld-profile-button i{transition:transform .18s ease}.home-v15 .ld-profile-button.open i{transform:rotate(180deg);color:#fff}
.ld-user-popover{position:fixed;z-index:260;left:106px;bottom:5px;width:216px;display:none;padding:10px;border:1px solid rgba(255,255,255,.32);border-radius:10px;background:#171717;color:#f4f4f5;box-shadow:0 24px 70px rgba(0,0,0,.64),inset 0 1px 0 rgba(255,255,255,.04)}
.ld-user-popover.open{display:block;animation:ldUserMenuIn .16s ease-out}
@keyframes ldUserMenuIn{from{opacity:0;transform:translateX(-5px) scale(.98)}to{opacity:1;transform:none}}
.ld-user-popover-head{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:2px 2px 8px}
.ld-user-popover-avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(180deg,#31c3f4,#21addd);color:#06202b;font-size:13px;font-weight:950}
.ld-user-popover-head>span:nth-child(2){display:grid;gap:2px;min-width:0}.ld-user-popover-head strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ld-user-popover-head small{color:#99999f;font-size:9px}.ld-user-popover-head>i{font-size:16px;font-style:normal;color:#fff}
.ld-user-popover-row{width:100%;min-height:39px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:7px;padding:0 2px;border:0;border-radius:7px;background:transparent;color:#d7d7da;text-align:left;text-decoration:none;cursor:pointer}
.ld-user-popover-row:hover{background:#252525;color:#fff}.ld-user-popover-row>span{width:27px;height:27px;display:grid;place-items:center;color:#bfc0c5;font-size:18px}.ld-user-popover-row>b{font-size:11px;font-weight:800}
.ld-user-popover-row.ld-user-team>span{border:1px solid #b6b6bb;border-radius:50%;font-size:20px;font-weight:300}.ld-user-popover-row.ld-user-team>b{color:#f0f0f2}
.ld-user-popover-divider{height:1px;margin:2px 0 3px;background:rgba(255,255,255,.12)}
.ld-user-popover-email{margin:5px -2px -2px;padding:8px 3px 3px;border-top:1px solid rgba(255,255,255,.08);font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f0f0f2}
.ld-user-popover.busy{pointer-events:none;opacity:.72}
@media(max-width:760px){.ld-user-popover{left:10px;bottom:68px;width:min(240px,calc(100vw - 20px))}}
/* v29 - compact image prompt command bar */
.create-v15 .ld-create-workspace{gap:8px}
.create-v15 .ld-create-command-shell{position:sticky;top:8px;z-index:28;padding:0;border:0;border-radius:18px;background:transparent;backdrop-filter:none;box-shadow:none}
.create-v15 .ld-create-inputbar{min-height:52px;display:grid;grid-template-columns:42px minmax(0,1fr) 38px 118px;align-items:center;gap:5px;padding:5px 6px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:#121212;box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 10px 28px rgba(0,0,0,.18)}
.create-v15 .ld-create-reference-button{width:40px;height:40px;padding:0;display:grid;place-items:center;border:0;border-radius:12px;background:transparent;color:#d5d5da}
.create-v15 .ld-create-reference-button:hover{border:0;background:#242424}
.create-v15 .ld-create-reference-button b{display:none}
.create-v15 .ld-create-reference-button .ld-create-add-image-icon{position:relative;width:22px;height:19px;display:block;border:1.5px solid #c6c6cb;border-radius:2px;background:transparent}
.create-v15 .ld-create-reference-button .ld-create-add-image-icon::before{content:'';position:absolute;left:4px;bottom:3px;width:11px;height:7px;border-left:1.5px solid #c6c6cb;border-top:1.5px solid #c6c6cb;transform:skewY(-35deg)}
.create-v15 .ld-create-reference-button .ld-create-add-image-icon::after{content:'+';position:absolute;right:-5px;top:-8px;width:12px;height:12px;display:grid;place-items:center;border-radius:50%;background:#121212;color:#fff;font-size:12px;line-height:1}
.create-v15 .ld-create-inputbar>input#promptInput{height:40px;padding:0 6px;border:0;background:transparent;color:#f4f4f6;font-size:13px;outline:0}
.create-v15 .ld-create-inputbar>input#promptInput::placeholder{color:#8d8d93}
.create-v15 .ld-create-prompt-count{display:none}
.create-v15 .ld-create-enhance{width:36px;height:36px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:#1b1b1b;color:#fff;font-size:17px;box-shadow:none}
.create-v15 .ld-create-enhance:hover{border-color:#7060d8;background:#242134;color:#fff}
.create-v15 .ld-create-generate{height:40px;min-width:112px;display:flex;align-items:center;justify-content:center;padding:0 15px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:#1e1e1e;color:#65656a;box-shadow:none;font-size:12px;font-weight:850;transition:background .18s ease,color .18s ease,border-color .18s ease}
.create-v15 .ld-create-generate small{display:none}
.create-v15 .ld-create-generate.ready{border-color:rgba(125,102,255,.45);background:linear-gradient(180deg,#7664ed,#5c49cb);color:#fff;box-shadow:0 8px 22px rgba(91,69,205,.24)}
.create-v15 .ld-create-tabs{width:max-content;max-width:100%;display:flex;align-items:center;gap:2px;margin:6px 0 0;padding:3px;border:1px solid rgba(255,255,255,.05);border-radius:999px;background:#171717;overflow-x:auto;scrollbar-width:none}
.create-v15 .ld-create-tabs::-webkit-scrollbar{display:none}
.create-v15 .ld-create-tabs button{height:31px;display:inline-flex;align-items:center;gap:5px;padding:0 11px;border:1px solid transparent;border-radius:999px;background:transparent;color:#919197;font-size:10px;white-space:nowrap}
.create-v15 .ld-create-tabs button:hover{color:#dddde1;background:#202020}
.create-v15 .ld-create-tabs button.active{border-color:#745eff;background:#292533;color:#fff;box-shadow:0 0 0 1px rgba(116,94,255,.14) inset}
.create-v15 .ld-create-tabs button sup{padding:2px 5px;border-radius:999px;background:#fff;color:#171717;font-size:7px}
.create-v15 .ld-create-reference-strip{margin-top:7px}
@media(max-width:720px){.create-v15 .ld-create-inputbar{grid-template-columns:38px minmax(0,1fr) 36px 92px;gap:3px;padding:4px}.create-v15 .ld-create-reference-button{width:36px}.create-v15 .ld-create-generate{min-width:88px;padding:0 10px}.create-v15 .ld-create-tabs button{padding:0 9px}}
/* v31 - live generation waiting card */
.create-v15 .ld-create-feed-head{padding:18px 1px 7px}
.create-v15 .ld-create-feed-head strong{font-size:12px;font-weight:750;color:#e7e7ea}
.create-v15 .ld-create-feed-head small{display:none}
.create-v15 .ld-create-pending-job{min-height:410px;display:grid;grid-template-columns:minmax(280px,32%) minmax(0,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.055);border-radius:22px;background:#171717;box-shadow:0 18px 48px rgba(0,0,0,.28)}
.create-v15 .ld-pending-media{position:relative;min-height:410px;display:grid;place-items:center;overflow:hidden;background:#121011}
.create-v15 .ld-pending-sheen{position:absolute;inset:-35%;background:linear-gradient(115deg,transparent 38%,rgba(255,255,255,.035) 48%,rgba(255,255,255,.075) 50%,rgba(255,255,255,.035) 52%,transparent 62%);animation:ldPendingSheen 2.2s linear infinite}
@keyframes ldPendingSheen{from{transform:translateX(-45%)}to{transform:translateX(45%)}}
.create-v15 .ld-pending-mark{position:relative;width:102px;height:74px;display:grid;place-items:center;color:#242124;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}
.create-v15 .ld-pending-mark span{font-size:66px;line-height:1;animation:ldPendingPulse 1.35s ease-in-out infinite}
.create-v15 .ld-pending-mark i{position:absolute;width:58px;height:36px;right:-4px;bottom:4px;background:#282428;clip-path:polygon(8% 100%,28% 14%,47% 46%,65% 0,100% 100%)}
@keyframes ldPendingPulse{0%,100%{opacity:.32;transform:scale(.96)}50%{opacity:.7;transform:scale(1.04)}}
.create-v15 .ld-pending-time{position:absolute;bottom:30%;left:50%;transform:translateX(-50%);color:#aaa7aa;font-size:10px;font-weight:650;letter-spacing:.03em}
.create-v15 .ld-pending-info{min-width:0;display:flex;flex-direction:column;padding:26px 20px 17px}
.create-v15 .ld-pending-info>header{display:flex;align-items:flex-start;justify-content:flex-end;gap:18px}
.create-v15 .ld-pending-info>header>div:first-child{display:grid;justify-items:start;gap:8px;max-width:360px}
.create-v15 .ld-pending-info>header strong{max-width:360px;color:#eeeef0;font-size:11px;font-weight:750;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.create-v15 .ld-pending-info>header span{display:flex;flex-wrap:wrap;gap:5px}
.create-v15 .ld-pending-info>header span b{padding:3px 6px;border-radius:999px;background:#515155;color:#e1e1e4;font-size:8px;font-weight:750}
.create-v15 .ld-pending-top-actions{display:flex;gap:12px;color:#aaaab0}.create-v15 .ld-pending-top-actions i{font-style:normal;font-size:13px}
.create-v15 .ld-pending-status{margin:auto;display:grid;justify-items:center;gap:5px;color:#8d8d93;text-align:center}
.create-v15 .ld-pending-status>span{width:8px;height:8px;border-radius:50%;background:#725cff;box-shadow:0 0 16px rgba(114,92,255,.85);animation:ldPendingDot 1s ease-in-out infinite}
@keyframes ldPendingDot{50%{opacity:.35;transform:scale(.7)}}
.create-v15 .ld-pending-status b{font-size:11px;color:#bdbdc2}.create-v15 .ld-pending-status small{font-size:9px}
.create-v15 .ld-pending-info>footer{display:flex;justify-content:flex-end;gap:17px;color:#69696e}.create-v15 .ld-pending-info>footer i{font-style:normal;font-size:13px}
.create-v15 .ld-create-pending-job.failed{border-color:rgba(255,90,90,.28)}.create-v15 .ld-create-pending-job.failed .ld-pending-status>span{background:#ff6565;box-shadow:0 0 15px rgba(255,80,80,.55);animation:none}.create-v15 .ld-create-pending-job.failed .ld-pending-sheen,.create-v15 .ld-create-pending-job.failed .ld-pending-mark span{animation:none}
@media(max-width:900px){.create-v15 .ld-create-pending-job{grid-template-columns:1fr;min-height:0}.create-v15 .ld-pending-media{min-height:300px}.create-v15 .ld-pending-info{min-height:230px;padding:18px}.create-v15 .ld-pending-info>header{justify-content:space-between}.create-v15 .ld-pending-time{bottom:22%}}
/* v32 - completed generation result */
.create-v15 .ld-create-job-card-v32{padding:0;border:0;background:transparent;box-shadow:none;gap:0}.create-v15 .ld-create-job-card-v32.active{border-color:transparent;box-shadow:none}.create-v15 .ld-create-job-card-v32 .ld-create-job-stack{gap:18px}.create-v15 .ld-completed-generation{position:relative;min-height:410px;display:grid;grid-template-columns:minmax(300px,32%) minmax(0,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.055);border-radius:22px;background:#171717;box-shadow:0 18px 48px rgba(0,0,0,.28)}.create-v15 .ld-completed-media{display:flex;align-items:stretch;justify-content:center;min-height:410px;background:#111;overflow:hidden}.create-v15 .ld-completed-media img{display:block;width:100%;height:100%;min-height:410px;max-height:620px;object-fit:cover}.create-v15 .ld-completed-summary{position:relative;min-width:0;padding:28px 30px 70px;display:flex;flex-direction:column;align-items:flex-end}.create-v15 .ld-completed-summary>p{width:min(100%,255px);margin:0;color:#e6e6e6;font-size:14px;line-height:1.35;text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.create-v15 .ld-completed-tags{width:min(100%,255px);margin-top:10px;display:flex;gap:5px;flex-wrap:wrap}.create-v15 .ld-completed-tags span{padding:3px 7px;border-radius:7px;background:#4a4a4a;color:#ededed;font-size:10px;line-height:1.1;white-space:nowrap}.create-v15 .ld-completed-menu{position:absolute;right:25px;top:145px;z-index:3}.create-v15 .ld-completed-menu summary{list-style:none;width:30px;height:30px;display:grid;place-items:center;color:#aaa;font-size:12px;letter-spacing:2px;cursor:pointer;border-radius:8px}.create-v15 .ld-completed-menu summary::-webkit-details-marker{display:none}.create-v15 .ld-completed-menu summary:hover{background:#292929;color:#fff}.create-v15 .ld-completed-menu>div{position:absolute;right:0;top:34px;width:170px;padding:7px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#252525;box-shadow:0 15px 35px rgba(0,0,0,.45)}.create-v15 .ld-completed-menu a,.create-v15 .ld-completed-menu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#eee;font:inherit;font-size:12px;text-align:left;text-decoration:none;cursor:pointer}.create-v15 .ld-completed-menu a:hover,.create-v15 .ld-completed-menu button:hover{background:#353535}.create-v15 .ld-completed-menu .danger{color:#ff8888}@media(max-width:900px){.create-v15 .ld-completed-generation{grid-template-columns:1fr;min-height:0}.create-v15 .ld-completed-media,.create-v15 .ld-completed-media img{min-height:0;max-height:none;aspect-ratio:1/1}.create-v15 .ld-completed-summary{min-height:190px;padding:18px 18px 58px;align-items:flex-start}.create-v15 .ld-completed-summary>p,.create-v15 .ld-completed-tags{width:100%}.create-v15 .ld-completed-menu{top:auto;right:16px;bottom:16px}.create-v15 .ld-completed-menu>div{top:auto;bottom:34px}}
/* v33 - compact completed result sizing fix */
.create-v15 .ld-completed-generation{min-height:290px;grid-template-columns:clamp(230px,28vw,330px) minmax(0,1fr);border-radius:18px}
.create-v15 .ld-completed-media{min-height:290px;height:290px}
.create-v15 .ld-completed-media img{width:100%;height:290px;min-height:0;max-height:none;object-fit:cover}
.create-v15 .ld-completed-summary{min-height:290px;padding:22px 24px 56px}
.create-v15 .ld-completed-summary>p,.create-v15 .ld-completed-tags{width:min(100%,235px)}
.create-v15 .ld-completed-menu{right:20px;top:120px}
@media(max-width:900px){.create-v15 .ld-completed-generation{grid-template-columns:minmax(180px,42%) minmax(0,1fr);min-height:240px}.create-v15 .ld-completed-media{height:240px;min-height:240px}.create-v15 .ld-completed-media img{height:240px;min-height:0;aspect-ratio:auto}.create-v15 .ld-completed-summary{min-height:240px;padding:16px 16px 50px}.create-v15 .ld-completed-menu{right:12px;bottom:12px}}
@media(max-width:620px){.create-v15 .ld-completed-generation{grid-template-columns:1fr}.create-v15 .ld-completed-media{height:auto;min-height:0;aspect-ratio:4/3}.create-v15 .ld-completed-media img{height:100%;aspect-ratio:4/3}.create-v15 .ld-completed-summary{min-height:150px}.create-v15 .ld-completed-summary>p,.create-v15 .ld-completed-tags{width:100%}}
/* v35 - white world home hero */
.home-v15 .ld-hero{min-height:520px;margin:0 -20px;background:#bfc5ca}.home-v15 .ld-hero-bg{z-index:0;background:url('../images/hero-architect-dark.webp') center 50%/cover no-repeat;filter:none;transform:none;opacity:1}.home-v15 .ld-hero-shade{z-index:1;background:linear-gradient(180deg,rgba(3,5,8,.10) 0%,rgba(3,5,8,.04) 38%,rgba(3,5,8,.16) 70%,#060709 100%),linear-gradient(90deg,rgba(5,7,10,.20),transparent 22%,transparent 76%,rgba(5,7,10,.18))}.home-v15 .ld-hero-content{min-height:520px;padding:70px 28px 42px;justify-content:flex-start}.home-v15 .ld-hero-title h1{margin:0;color:#fff;font-size:clamp(58px,6.4vw,104px);line-height:.9;font-weight:950;letter-spacing:-.065em;text-shadow:0 5px 28px rgba(0,0,0,.42)}.home-v15 .ld-prompt-wrap{width:min(980px,100%);margin-top:42px}.home-v15 .ld-prompt-bar{position:relative;min-height:64px;grid-template-columns:42px minmax(0,1fr) 44px 0 138px;padding:6px 7px 6px 12px;border-color:rgba(255,255,255,.18);border-radius:22px;background:rgba(14,15,17,.82);box-shadow:0 20px 55px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(18px)}.home-v15 .ld-prompt-bar>small{width:0;overflow:hidden;opacity:0}.home-v15 .ld-prompt-icon{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.04);font-size:20px}.home-v15 .ld-prompt-ai{width:38px;height:38px;font-size:17px;background:rgba(255,255,255,.035)}.home-v15 .ld-generate{height:50px;border:1px solid rgba(255,255,255,.06);border-radius:15px;background:rgba(255,255,255,.055);color:rgba(255,255,255,.44);box-shadow:none}.home-v15 .ld-generate:hover{background:rgba(255,255,255,.11);color:#fff}.home-v15 .ld-v35-tool-row{display:flex;align-items:flex-start;justify-content:center;gap:20px;margin-top:28px}.home-v15 .ld-v35-tool{width:62px;display:grid;justify-items:center;gap:7px;padding:0;border:0;background:transparent;color:#fff;text-decoration:none;cursor:pointer;font:inherit}.home-v15 .ld-v35-tool>span{width:52px;height:52px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:17px;background:rgba(14,15,17,.66);box-shadow:0 10px 28px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(12px);font-size:22px;transition:.2s}.home-v15 .ld-v35-tool>small{color:#fff;font-size:10px;text-shadow:0 2px 8px rgba(0,0,0,.7)}.home-v15 .ld-v35-tool:hover>span,.home-v15 .ld-v35-tool.active>span{transform:translateY(-2px);border-color:rgba(255,255,255,.34);background:rgba(20,21,24,.78)}
@media(max-width:760px){.home-v15 .ld-hero{min-height:500px}.home-v15 .ld-hero-content{min-height:500px;padding:66px 14px 32px}.home-v15 .ld-hero-bg{background-position:58% center}.home-v15 .ld-hero-title h1{font-size:clamp(43px,13vw,68px)}.home-v15 .ld-prompt-wrap{margin-top:34px}.home-v15 .ld-prompt-bar{grid-template-columns:36px minmax(0,1fr) 38px 104px;min-height:58px;padding-left:8px}.home-v15 .ld-prompt-bar>small{display:none}.home-v15 .ld-generate{height:46px}.home-v15 .ld-v35-tool-row{gap:8px;margin-top:24px}.home-v15 .ld-v35-tool{width:56px}.home-v15 .ld-v35-tool>span{width:46px;height:46px;border-radius:15px;font-size:19px}.home-v15 .ld-v35-tool>small{font-size:8px}}
@media(max-width:440px){.home-v15 .ld-hero-title h1{font-size:41px}.home-v15 .ld-prompt-bar{grid-template-columns:34px minmax(0,1fr) 38px}.home-v15 .ld-generate{position:absolute;left:10px;right:10px;top:68px;width:calc(100% - 20px)}.home-v15 .ld-prompt-wrap{margin-bottom:56px}.home-v15 .ld-v35-tool-row{gap:4px}.home-v15 .ld-v35-tool{width:52px}}
/* v37 - remove legacy hero fog layers */
.home-v15 .ld-hero::before,.home-v15 .ld-hero::after,.home-v15 .ld-hero-bg::before,.home-v15 .ld-hero-bg::after{content:none!important;display:none!important;background:none!important;opacity:0!important;filter:none!important;animation:none!important}
.home-v15 .ld-hero-bg{background-image:url('../images/hero-architect-dark.webp')!important;background-position:center 50%!important;background-size:cover!important;background-repeat:no-repeat!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;animation:none!important;transform:none!important}
.home-v15 .ld-hero-shade{background:linear-gradient(180deg,transparent 0%,transparent 58%,rgba(3,4,7,.22) 76%,#060709 100%)!important;opacity:1!important;filter:none!important;mix-blend-mode:normal!important}
@media(max-width:760px){.home-v15 .ld-hero-bg{background-position:55% center!important}}
/* v38 - expanding hero prompt controls */
.home-v15 .ld-prompt-bar{transition:min-height .22s ease,border-color .2s ease,box-shadow .2s ease}
.home-v15 .ld-v38-prompt-settings{grid-column:1/-1;max-height:0;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:14px;overflow:hidden;opacity:0;transform:translateY(-5px);pointer-events:none;transition:max-height .22s ease,opacity .18s ease,transform .22s ease,padding .22s ease;padding:0 6px}
.home-v15 .ld-prompt-bar:focus-within{min-height:126px;border-color:rgba(255,255,255,.30);box-shadow:0 22px 60px rgba(0,0,0,.40),0 0 0 1px rgba(111,94,255,.24) inset}
.home-v15 .ld-prompt-bar:focus-within .ld-v38-prompt-settings{max-height:56px;min-height:50px;padding:5px 6px 1px;opacity:1;transform:none;pointer-events:auto}
.home-v15 .ld-v38-mode-tabs,.home-v15 .ld-v38-option-row{display:flex;align-items:center;gap:7px}
.home-v15 .ld-v38-mode-tabs{padding:3px;border-radius:15px;background:rgba(255,255,255,.06)}
.home-v15 .ld-v38-mode-tabs a,.home-v15 .ld-v38-mode-tabs button,.home-v15 .ld-v38-option-row button{height:38px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:1px solid transparent;border-radius:13px;background:transparent;color:#a9a9ae;text-decoration:none;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.home-v15 .ld-v38-mode-tabs a.active{border-color:#795eff;background:rgba(93,72,203,.20);color:#fff;box-shadow:0 0 0 1px rgba(121,94,255,.12) inset}
.home-v15 .ld-v38-option-row button{border-radius:999px;background:rgba(255,255,255,.085);color:#dedee2;padding:0 15px}
.home-v15 .ld-v38-option-row button:hover,.home-v15 .ld-v38-mode-tabs button:hover{background:rgba(255,255,255,.13);color:#fff}
.home-v15 .ld-v38-option-row button b{margin-left:2px;color:#9b9ba1;font-size:11px}
@media(max-width:720px){.home-v15 .ld-prompt-bar:focus-within{min-height:174px}.home-v15 .ld-v38-prompt-settings{flex-wrap:wrap}.home-v15 .ld-prompt-bar:focus-within .ld-v38-prompt-settings{max-height:108px;min-height:98px;align-content:center}.home-v15 .ld-v38-mode-tabs,.home-v15 .ld-v38-option-row{width:100%}.home-v15 .ld-v38-option-row{overflow-x:auto}.home-v15 .ld-v38-mode-tabs a,.home-v15 .ld-v38-mode-tabs button{flex:1}.home-v15 .ld-v38-option-row button{flex:1;padding:0 10px}}
@media(max-width:440px){.home-v15 .ld-prompt-bar:focus-within{min-height:174px}.home-v15 .ld-prompt-bar:focus-within .ld-generate{top:184px}.home-v15 .ld-prompt-wrap:has(.ld-prompt-bar:focus-within){margin-bottom:174px}}
/* v40 - balanced hero generate button */
.home-v15 .ld-prompt-bar{grid-template-columns:42px minmax(0,1fr) 44px 0 118px}
.home-v15 .ld-generate{width:auto;min-width:108px;height:44px;padding:0 15px;gap:6px;border-radius:13px;font-size:12px;line-height:1;justify-self:end;align-self:center}
.home-v15 .ld-generate b{font-size:11px}.home-v15 .ld-generate span{white-space:nowrap}
@media(max-width:760px){.home-v15 .ld-prompt-bar{grid-template-columns:36px minmax(0,1fr) 38px 96px}.home-v15 .ld-generate{min-width:92px;height:42px;padding:0 11px;border-radius:12px;font-size:11px}}
@media(max-width:440px){.home-v15 .ld-prompt-bar{grid-template-columns:34px minmax(0,1fr) 38px}.home-v15 .ld-generate{left:auto;right:10px;width:104px;min-width:104px;height:42px;padding:0 10px}.home-v15 .ld-prompt-bar:focus-within .ld-generate{top:184px}}
/* v44 - focused Image Reference interaction */
.home-v15 .ld-prompt-bar{overflow:visible}
.home-v15 .ld-prompt-icon.ld-ref-trigger{position:relative;width:36px;height:36px;padding:0;display:grid;place-items:center;border:0;border-radius:10px;background:rgba(255,255,255,.035);color:#d7d7dc;cursor:pointer}
.home-v15 .ld-prompt-icon.ld-ref-trigger:hover,.home-v15 .ld-prompt-icon.ld-ref-trigger[aria-expanded="true"]{background:rgba(255,255,255,.09);color:#fff}
.home-v15 .ld-ref-trigger svg{width:23px;height:23px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.home-v15 .ld-ref-trigger svg .plus{stroke-width:1.55}
.home-v15 .ld-prompt-bar.reference-open{min-height:64px!important;border-color:rgba(255,255,255,.22);box-shadow:0 20px 55px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.05)}
.home-v15 .ld-prompt-bar.reference-open .ld-v38-prompt-settings{max-height:0!important;min-height:0!important;padding:0 6px!important;opacity:0!important;pointer-events:none!important}
.home-v15 .ld-reference-popover{position:absolute;z-index:120;left:8px;top:59px;width:315px;padding:10px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(24,24,25,.985);box-shadow:0 20px 45px rgba(0,0,0,.5);backdrop-filter:blur(20px)}
.home-v15 .ld-reference-popover[hidden]{display:none!important}
.home-v15 .ld-reference-popover header{height:27px;display:flex;align-items:flex-start;justify-content:space-between;padding:0 1px;color:#f3f3f5}
.home-v15 .ld-reference-popover header strong{font-size:13px;line-height:22px;font-weight:800}
.home-v15 .ld-reference-popover header button{width:24px;height:24px;padding:0;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#aaaab0;font-size:17px;line-height:1;cursor:pointer}
.home-v15 .ld-reference-popover header button:hover{background:#333336;color:#fff}
.home-v15 .ld-reference-choice{width:100%;min-height:94px;display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:0;border-radius:7px;background:#29292b;color:#f4f4f5;text-align:left;cursor:pointer}
.home-v15 .ld-reference-choice:hover{background:#303033}
.home-v15 .ld-reference-preview{width:72px;height:72px;display:block;overflow:hidden;border-radius:3px;background:linear-gradient(135deg,#26a9c0,#9b69cf)}
.home-v15 .ld-reference-preview img{width:100%;height:100%;display:block;object-fit:cover}
.home-v15 .ld-reference-copy b{display:block;margin-bottom:3px;color:#fff;font-size:12px;font-weight:800}
.home-v15 .ld-reference-copy small{display:block;color:#b6b6bb;font-size:10px;line-height:1.23}
.home-v15 .ld-ref-trigger.has-reference{color:#fff;box-shadow:0 0 0 1px #765cf0 inset,0 0 18px rgba(118,92,240,.22)}
@media(max-width:440px){.home-v15 .ld-reference-popover{left:4px;top:57px;width:min(315px,calc(100vw - 42px))}.home-v15 .ld-reference-choice{grid-template-columns:62px minmax(0,1fr)}.home-v15 .ld-reference-preview{width:62px;height:62px}}
/* v45 - Select Media modal */
body.media-picker-open{overflow:hidden}
.home-v15 .ld-media-picker{position:fixed;z-index:1000;inset:0;padding:clamp(8px,2vw,24px);display:grid;place-items:center;background:rgba(0,0,0,.72);backdrop-filter:blur(7px)}
.home-v15 .ld-media-picker[hidden]{display:none!important}
.home-v15 .ld-media-picker-dialog{width:min(900px,100%);height:min(920px,calc(100vh - 18px));display:grid;grid-template-rows:58px 48px minmax(0,1fr) 64px;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:22px;background:#101010;box-shadow:0 30px 90px rgba(0,0,0,.72)}
.home-v15 .ld-media-picker-head{display:flex;align-items:center;justify-content:space-between;padding:0 18px}.home-v15 .ld-media-picker-head h2{margin:0;color:#f2f2f4;font-size:14px}.home-v15 .ld-media-picker-head button{width:32px;height:32px;border:0;border-radius:9px;background:transparent;color:#8e8e93;font-size:18px;cursor:pointer}.home-v15 .ld-media-picker-head button:hover{background:#252525;color:#fff}
.home-v15 .ld-media-picker-tabs{display:flex;align-items:flex-end;gap:8px;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.1)}.home-v15 .ld-media-picker-tabs button{height:48px;padding:0 10px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8d8d92;font-size:12px;font-weight:750;cursor:pointer}.home-v15 .ld-media-picker-tabs button.active{border-color:#745cff;color:#fff}
.home-v15 .ld-media-picker-scroll{min-height:0;overflow-y:auto;padding:20px;scrollbar-color:#555 transparent;scrollbar-width:thin}.home-v15 .ld-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}.home-v15 .ld-media-loading,.home-v15 .ld-media-empty{grid-column:1/-1;padding:80px 20px;color:#85858b;text-align:center}
.home-v15 .ld-media-upload-tile{min-height:122px;display:grid;place-items:center;align-content:center;gap:6px;padding:13px;border:1px solid transparent;border-radius:7px;background:#303030;color:#fff;cursor:pointer}.home-v15 .ld-media-upload-tile:hover{border-color:#7058ec;background:#393939}.home-v15 .ld-media-upload-tile svg{width:42px;height:42px;fill:none;stroke:#ddd;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.home-v15 .ld-media-upload-tile b{font-size:12px}.home-v15 .ld-media-upload-tile small{color:#d0d0d3;font-size:10px;text-align:center}
.home-v15 .ld-media-item{position:relative;min-height:150px;padding:0;overflow:hidden;border:3px solid transparent;border-radius:7px;background:#252525;cursor:pointer}.home-v15 .ld-media-item img{width:100%;height:auto;min-height:150px;max-height:330px;display:block;object-fit:cover}.home-v15 .ld-media-item:hover{border-color:rgba(116,92,255,.45)}.home-v15 .ld-media-item.selected{border-color:#775cff;box-shadow:0 0 0 1px #775cff}.home-v15 .ld-media-item.selected::after{content:'✓';position:absolute;right:8px;top:8px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#735aff;color:#fff;font-size:13px;font-weight:900}
.home-v15 .ld-media-picker-footer{display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:12px;padding:9px 18px;border-top:1px solid rgba(255,255,255,.08);background:#181818}.home-v15 .ld-media-delete{width:34px;height:34px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:transparent;color:#555}.home-v15 .ld-media-count{justify-self:center;display:flex;align-items:center;gap:8px;color:#a9a9ae}.home-v15 .ld-media-count i{width:20px;height:20px;display:grid;place-items:center;border:1px solid #5d7cff;border-radius:50%;color:#7190ff;font-size:11px;font-style:normal}.home-v15 .ld-media-count b{font-size:11px}.home-v15 .ld-media-picker-footer>div{display:flex;gap:8px}.home-v15 .ld-media-picker-footer>div button{height:38px;padding:0 18px;border:0;border-radius:9px;background:#333;color:#ddd;font-weight:750;cursor:pointer}.home-v15 .ld-media-picker-footer>div .confirm{background:#7057e7;color:#fff}.home-v15 .ld-media-picker-footer>div .confirm:disabled{background:#242424;color:#555;cursor:not-allowed}
@media(max-width:760px){.home-v15 .ld-media-picker{padding:0}.home-v15 .ld-media-picker-dialog{height:100vh;border-radius:0;border-left:0;border-right:0}.home-v15 .ld-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-v15 .ld-media-picker-scroll{padding:12px}.home-v15 .ld-media-picker-footer{grid-template-columns:1fr auto}.home-v15 .ld-media-delete{display:none}.home-v15 .ld-media-count{justify-self:start}.home-v15 .ld-media-picker-footer>div button{padding:0 13px}}
/* v46 - compact selected references below prompt */
.home-v15 .ld-hero-reference-strip{grid-column:1/-1;min-width:0;display:flex;align-items:center;gap:8px;min-height:78px;padding:4px 7px 7px;overflow-x:auto;scrollbar-width:none}
.home-v15 .ld-hero-reference-strip::-webkit-scrollbar{display:none}.home-v15 .ld-hero-reference-strip[hidden]{display:none!important}
.home-v15 .ld-hero-reference-thumb-item{position:relative;flex:0 0 68px;width:68px;height:68px;padding:0;overflow:visible;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#222;box-shadow:0 7px 18px rgba(0,0,0,.28)}
.home-v15 .ld-hero-reference-thumb-item img{width:100%;height:100%;display:block;object-fit:cover;border-radius:7px}
.home-v15 .ld-hero-reference-thumb-item button{position:absolute;z-index:2;right:-5px;top:-5px;width:19px;height:19px;padding:0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:#202023;color:#fff;font-size:12px;line-height:1;cursor:pointer;opacity:0;transition:opacity .16s ease,transform .16s ease}
.home-v15 .ld-hero-reference-thumb-item:hover button,.home-v15 .ld-hero-reference-thumb-item button:focus-visible{opacity:1}.home-v15 .ld-hero-reference-thumb-item button:hover{transform:scale(1.08);background:#4a3034}
.home-v15 .ld-prompt-bar.has-references{min-height:148px}
.home-v15 .ld-prompt-bar.has-references:focus-within{min-height:206px}
.home-v15 .ld-prompt-bar.has-references.reference-open{min-height:148px!important}
@media(max-width:720px){.home-v15 .ld-hero-reference-strip{min-height:70px;padding-left:4px}.home-v15 .ld-hero-reference-thumb-item{flex-basis:60px;width:60px;height:60px}.home-v15 .ld-prompt-bar.has-references{min-height:138px}.home-v15 .ld-prompt-bar.has-references:focus-within{min-height:246px}}
@media(max-width:440px){.home-v15 .ld-prompt-bar.has-references{min-height:136px}.home-v15 .ld-prompt-bar.has-references:focus-within{min-height:246px}.home-v15 .ld-prompt-wrap:has(.ld-prompt-bar.has-references:focus-within){margin-bottom:214px}}
/* v48 - home hero Generate ready state */
.home-v15 .ld-generate.ready{border-color:rgba(142,119,255,.72);background:linear-gradient(135deg,#8068f1 0%,#654bd3 52%,#543abf 100%);color:#fff;box-shadow:0 10px 28px rgba(92,65,210,.36),inset 0 1px 0 rgba(255,255,255,.20);transform:translateY(-1px)}
.home-v15 .ld-generate.ready:hover{border-color:rgba(169,150,255,.9);background:linear-gradient(135deg,#8c76f7,#7157df 54%,#6045cc);box-shadow:0 13px 34px rgba(96,68,220,.45),0 0 0 1px rgba(151,128,255,.16)}
.home-v15 .ld-generate.ready:active{transform:translateY(0);box-shadow:0 6px 18px rgba(88,61,201,.32)}
.home-v15 .ld-generate.ready b{color:#fff}
/* v49 - reference previews in completed result info */
.create-v15 .ld-completed-references{width:min(100%,235px);margin-top:13px;display:grid;gap:7px;align-self:flex-end}
.create-v15 .ld-completed-references>small{color:#8d8d93;font-size:9px;font-weight:750;letter-spacing:.02em}
.create-v15 .ld-completed-references>div{display:flex;align-items:center;justify-content:flex-start;gap:6px;overflow-x:auto;scrollbar-width:none}
.create-v15 .ld-completed-references>div::-webkit-scrollbar{display:none}
.create-v15 .ld-completed-references img{flex:0 0 42px;width:42px;height:42px;display:block;object-fit:cover;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:#222;box-shadow:0 6px 14px rgba(0,0,0,.24)}
.create-v15 .ld-completed-references img:first-child{border-color:rgba(126,101,255,.6);box-shadow:0 0 0 1px rgba(126,101,255,.2),0 6px 14px rgba(0,0,0,.24)}
@media(max-width:900px){.create-v15 .ld-completed-references{width:100%;align-self:flex-start}.create-v15 .ld-completed-references img{width:38px;height:38px;flex-basis:38px}}
/* v50 - hero Dynamic style menu */
.home-v15 .ld-hero-style-wrap{position:relative;display:flex}
.home-v15 .ld-hero-style-wrap>button strong{font:inherit;font-weight:700}
.home-v15 .ld-hero-style-wrap.open>button{background:rgba(255,255,255,.14);color:#fff}
.home-v15 .ld-hero-style-menu{position:absolute;z-index:140;left:0;top:44px;width:122px;padding:5px;overflow:hidden;border:1px solid rgba(255,255,255,.15);border-radius:11px;background:rgba(20,20,21,.97);box-shadow:0 18px 45px rgba(0,0,0,.52);backdrop-filter:blur(18px)}
.home-v15 .ld-hero-style-menu[hidden]{display:none!important}
.home-v15 .ld-v38-option-row .ld-hero-style-menu button{width:100%;height:33px;min-height:33px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:#b9b9be;font:inherit;font-size:11px;font-weight:550;text-align:left;cursor:pointer}
.home-v15 .ld-v38-option-row .ld-hero-style-menu button:hover{background:#29292c;color:#fff}
.home-v15 .ld-v38-option-row .ld-hero-style-menu button.selected{background:#303033;color:#fff}
.home-v15 .ld-hero-style-menu button span{margin-left:auto;color:#d9d9dd;font-size:12px}
@media(max-width:720px){.home-v15 .ld-hero-style-menu{top:42px;left:0;width:132px}.home-v15 .ld-v38-option-row .ld-hero-style-menu button{flex:none;height:34px}}
/* v51 - style dropdown interaction hotfix */
.home-v15 .ld-prompt-bar:focus-within .ld-v38-prompt-settings,.home-v15 .ld-prompt-bar.style-menu-open .ld-v38-prompt-settings{overflow:visible!important;pointer-events:auto!important;z-index:130}
.home-v15 .ld-v38-option-row,.home-v15 .ld-hero-style-wrap,.home-v15 #heroStyleButton{pointer-events:auto!important}
.home-v15 .ld-hero-style-wrap{z-index:145}
.home-v15 .ld-hero-style-menu{z-index:220!important;overflow:visible!important;pointer-events:auto!important;isolation:isolate}
.home-v15 .ld-hero-style-menu button{pointer-events:auto!important}
.home-v15 .ld-v35-tool-row{position:relative;z-index:2}
.home-v15 .ld-prompt-wrap,.home-v15 .ld-prompt-bar{z-index:20}
/* v52 - prevent hero tools from blocking lower style options */
.home-v15 .ld-prompt-wrap:has(.ld-prompt-bar.style-menu-open){position:relative;z-index:1000!important}
.home-v15 .ld-prompt-bar.style-menu-open{position:relative;z-index:1001!important;overflow:visible!important}
.home-v15 .ld-prompt-bar.style-menu-open .ld-v38-prompt-settings,.home-v15 .ld-prompt-bar.style-menu-open .ld-v38-option-row,.home-v15 .ld-prompt-bar.style-menu-open .ld-hero-style-wrap{position:relative;z-index:1002!important;overflow:visible!important}
.home-v15 .ld-prompt-bar.style-menu-open .ld-hero-style-menu{z-index:10000!important;pointer-events:auto!important}
.home-v15 .ld-hero-content:has(.style-menu-open) .ld-v35-tool-row,.home-v15 .ld-hero-content:has(.style-menu-open) .ld-v35-tool{pointer-events:none!important}
.home-v15 .ld-hero-content:has(.style-menu-open) .ld-v35-tool-row{z-index:0!important}
.home-v15 .ld-hero-content:has(.style-menu-open) .ld-hero-style-menu button{pointer-events:auto!important;opacity:1!important;filter:none!important}
/* v53 - portalized style menu, isolated from hero stacking */
.home-v15 .ld-hero-style-menu.is-portal{position:fixed!important;z-index:2147483000!important;display:block!important;max-height:286px!important;overflow-y:auto!important;pointer-events:auto!important;transform:none!important;opacity:1!important;visibility:visible!important}
.home-v15 .ld-hero-style-menu.is-portal button{width:100%!important;height:33px!important;min-height:33px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 9px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#b9b9be!important;font:inherit!important;font-size:11px!important;font-weight:550!important;text-align:left!important;cursor:pointer!important;pointer-events:auto!important;opacity:1!important;visibility:visible!important}
.home-v15 .ld-hero-style-menu.is-portal button:hover{background:#29292c!important;color:#fff!important}
.home-v15 .ld-hero-style-menu.is-portal button.selected{background:#303033!important;color:#fff!important}
.home-v15 .ld-hero-style-menu.is-portal button span{margin-left:auto!important;color:#fff!important}
/* v54 - hero aspect ratio selector */
.home-v15 .ld-hero-ratio-wrap{position:relative;display:flex;flex:0 0 auto}
.home-v15 .ld-hero-ratio-wrap>button{min-width:78px!important}
.home-v15 .ld-ratio-icon{width:15px;height:12px;display:inline-block;border:1.5px solid currentColor;border-radius:2px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.05)}
.home-v15 .ld-hero-ratio-menu.is-portal{position:fixed!important;z-index:2147483000!important;display:flex!important;flex-direction:column!important;gap:1px!important;padding:7px!important;max-height:220px!important;overflow-y:auto!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:12px!important;background:rgba(20,20,22,.97)!important;box-shadow:0 18px 45px rgba(0,0,0,.62)!important;backdrop-filter:blur(18px)!important;pointer-events:auto!important;opacity:1!important;visibility:visible!important}
.home-v15 .ld-hero-ratio-menu.is-portal button{width:100%!important;height:31px!important;min-height:31px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 8px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#b9b9be!important;font:inherit!important;font-size:11px!important;font-weight:550!important;text-align:left!important;cursor:pointer!important;pointer-events:auto!important}
.home-v15 .ld-hero-ratio-menu.is-portal button:hover{background:#29292d!important;color:#fff!important}
.home-v15 .ld-hero-ratio-menu.is-portal button.selected{background:#303034!important;color:#fff!important}
.home-v15 .ld-hero-ratio-menu.is-portal button span{margin-left:auto;color:#fff}
/* v55 - hero Auto model card */
.home-v15 .ld-hero-model-wrap{position:relative;display:flex;flex:0 0 auto}
.home-v15 .ld-hero-model-wrap>button{min-width:112px!important}
.home-v15 .ld-model-cube{font-size:17px;color:#d7d8dd}
.home-v15 .ld-hero-model-menu.is-portal{position:fixed!important;z-index:2147483000!important;display:block!important;overflow:hidden!important;padding:0!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:12px!important;background:rgba(20,20,22,.98)!important;box-shadow:0 20px 55px rgba(0,0,0,.62)!important;backdrop-filter:blur(20px)!important;pointer-events:auto!important;opacity:1!important;visibility:visible!important}
.home-v15 .ld-hero-model-card{width:100%!important;min-height:116px!important;display:grid!important;grid-template-columns:84px minmax(0,1fr) 20px!important;align-items:center!important;gap:13px!important;padding:13px!important;border:0!important;background:transparent!important;color:#fff!important;text-align:left!important;cursor:pointer!important}
.home-v15 .ld-hero-model-card:hover{background:rgba(255,255,255,.035)!important}
.home-v15 .ld-auto-model-art{position:relative;width:84px;height:84px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#3e31e8 0%,#7647ef 42%,#d64fd5 72%,#47d5d8 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.24)}
.home-v15 .ld-auto-model-art i{font-style:normal;font-size:34px}.home-v15 .ld-auto-model-art em{position:absolute;right:17px;top:20px;font-style:normal;font-size:18px}
.home-v15 .ld-auto-model-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.home-v15 .ld-auto-model-copy b{font-size:14px}.home-v15 .ld-auto-model-copy small{color:#b7b7bc;font-size:11px;line-height:1.35}
.home-v15 .ld-auto-model-check{color:#fff;font-size:15px;text-align:center}
.home-v15 .ld-hero-model-more{width:100%!important;height:42px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 14px!important;border:0!important;border-top:1px solid rgba(255,255,255,.12)!important;background:transparent!important;color:#ddd!important;font:inherit!important;font-size:12px!important;cursor:pointer!important}
.home-v15 .ld-hero-model-more:hover{background:#29292d!important;color:#fff!important}.home-v15 .ld-hero-model-more span{font-size:22px;font-weight:300}
@media(max-width:560px){.home-v15 .ld-hero-model-card{grid-template-columns:72px minmax(0,1fr) 18px!important}.home-v15 .ld-auto-model-art{width:72px;height:72px}.home-v15 .ld-auto-model-copy small{font-size:10px}}
/* v56 - direct Image page link */
.home-v15 a.ld-hero-model-more{text-decoration:none!important;box-sizing:border-box!important}

/* v57 - slightly narrower desktop sidebar */
@media (min-width:761px){
  .home-v15 .ld-shell{grid-template-columns:96px minmax(0,1fr)}
  .home-v15 .ld-sidebar.ld-sidebar-reference.ld-sidebar-v22{width:84px;margin-left:5px;margin-right:5px;padding-left:6px;padding-right:6px}
  .home-v15 .ld-sidebar-reference .ld-logo{width:68px}
  .home-v15 .ld-sidebar-reference .ld-nav-item small{max-width:72px}
  .home-v15 .ld-sidebar-reference .ld-profile-button{width:70px}
  .home-v15 .ld-sidebar-reference .ld-auth-pill{width:70px}
}
/* v58 - Image/Video stay inside hero */
.home-v15 .ld-v38-mode-tabs button.active{border-color:#795eff;background:rgba(93,72,203,.20);color:#fff;box-shadow:0 0 0 1px rgba(121,94,255,.12) inset}
.home-v15 .ld-v38-mode-tabs button:focus-visible{outline:2px solid rgba(137,113,255,.85);outline-offset:2px}

/* v59 - video-specific hero controls */
.home-v15 .ld-v38-video-options[hidden],.home-v15 .ld-v38-image-options[hidden]{display:none!important}
.home-v15 .ld-v38-video-options{margin-left:auto}.home-v15 .ld-video-select-wrap{position:relative;display:flex}.home-v15 .ld-video-select-wrap>button strong{font:inherit;font-weight:750}.home-v15 .ld-video-model-wrap>button{min-width:150px}.home-v15 .ld-duration-icon{font-size:17px;color:#ddd}
.home-v15 .ld-video-select-menu.is-portal{position:fixed!important;z-index:2147483000!important;display:flex!important;flex-direction:column!important;gap:1px!important;padding:7px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:11px!important;background:rgba(20,20,22,.98)!important;box-shadow:0 18px 45px rgba(0,0,0,.62)!important;backdrop-filter:blur(18px)!important;pointer-events:auto!important}
.home-v15 .ld-video-select-menu.is-portal button{width:100%!important;height:32px!important;min-height:32px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 9px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#babac0!important;font:inherit!important;font-size:11px!important;font-weight:650!important;cursor:pointer!important;text-align:left!important}.home-v15 .ld-video-select-menu.is-portal button:hover,.home-v15 .ld-video-select-menu.is-portal button.selected{background:#303034!important;color:#fff!important}.home-v15 .ld-video-select-menu.is-portal button span{margin-left:auto;color:#fff}
@media(max-width:720px){.home-v15 .ld-v38-video-options{overflow-x:auto}.home-v15 .ld-v38-video-options .ld-video-select-wrap{flex:1}.home-v15 .ld-v38-video-options .ld-video-select-wrap>button{width:100%;min-width:max-content}}
/* v60 - Hailuo 2.3 descriptive model card */
.home-v15 .ld-video-model-menu.is-portal{padding:0!important;overflow:hidden!important;border-radius:12px!important}
.home-v15 .ld-video-model-menu.is-portal .ld-video-model-card{width:100%!important;min-height:116px!important;display:grid!important;grid-template-columns:88px minmax(0,1fr) 18px!important;align-items:center!important;gap:13px!important;padding:13px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#fff!important;text-align:left!important;cursor:pointer!important}
.home-v15 .ld-video-model-menu.is-portal .ld-video-model-card:hover{background:rgba(255,255,255,.035)!important}
.home-v15 .ld-hailuo-art{position:relative;width:88px;height:88px;display:block;overflow:hidden;border-radius:10px;background:radial-gradient(circle at 70% 18%,rgba(40,225,255,.9),transparent 20%),linear-gradient(145deg,#072765 0%,#004fd1 44%,#00aaf2 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.23)}
.home-v15 .ld-hailuo-art::before,.home-v15 .ld-hailuo-art::after,.home-v15 .ld-hailuo-art i,.home-v15 .ld-hailuo-art em{content:"";position:absolute;display:block;border-radius:70% 20% 65% 35%;background:linear-gradient(135deg,rgba(0,255,255,.8),rgba(0,70,255,.18));filter:drop-shadow(0 0 8px rgba(0,190,255,.55));transform:rotate(-24deg)}
.home-v15 .ld-hailuo-art::before{width:70px;height:23px;left:8px;top:30px}.home-v15 .ld-hailuo-art::after{width:64px;height:18px;left:18px;top:49px;transform:rotate(-14deg)}.home-v15 .ld-hailuo-art i{width:44px;height:13px;left:28px;top:19px}.home-v15 .ld-hailuo-art em{width:47px;height:12px;left:10px;top:65px}
.home-v15 .ld-hailuo-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.home-v15 .ld-hailuo-copy b{font-size:14px;color:#fff}.home-v15 .ld-hailuo-copy small{font-size:11px;line-height:1.35;color:#aaaab0}
.home-v15 .ld-video-model-card>.ld-video-option-check{margin-left:auto!important;color:#fff!important;font-size:14px!important}
.home-v15 .ld-video-model-more{width:100%;height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-top:1px solid rgba(255,255,255,.12);background:transparent;color:#ddd;text-decoration:none;font-size:12px;font-weight:700;box-sizing:border-box}.home-v15 .ld-video-model-more:hover{background:#29292d;color:#fff}.home-v15 .ld-video-model-more span{font-size:22px;font-weight:300}
@media(max-width:420px){.home-v15 .ld-video-model-menu.is-portal .ld-video-model-card{grid-template-columns:72px minmax(0,1fr) 16px!important}.home-v15 .ld-hailuo-art{width:72px;height:72px}.home-v15 .ld-hailuo-copy small{font-size:10px}}
/* v61 - remove thin animated line above hero prompt bar */
.home-v15 .ld-prompt-wrap::after{content:none!important;display:none!important;background:none!important;animation:none!important}

/* v62 - remove the actual top stroke from the hero prompt */
.home-v15 .ld-prompt-bar{border-top-color:transparent!important;box-shadow:0 20px 55px rgba(0,0,0,.34),0 0 30px rgba(91,109,255,.08)!important}
.home-v15 .ld-prompt-bar::before{content:none!important;display:none!important;box-shadow:none!important}
.home-v15 .ld-prompt-bar:focus-within{border-top-color:transparent!important;box-shadow:0 22px 60px rgba(0,0,0,.40)!important}
.home-v15 .ld-prompt-bar.reference-open{border-top-color:transparent!important;box-shadow:0 20px 55px rgba(0,0,0,.38)!important}
/* v63 - restore a contained inner hairline around the prompt bar */
.home-v15 .ld-prompt-bar{border-color:transparent!important}
.home-v15 .ld-prompt-bar::before{content:""!important;display:block!important;position:absolute!important;inset:1px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:20px!important;box-shadow:none!important;background:transparent!important;pointer-events:none!important}
.home-v15 .ld-prompt-bar:focus-within::before{border-color:rgba(135,113,255,.46)!important}
.home-v15 .ld-prompt-bar.reference-open::before{border-color:rgba(255,255,255,.18)!important}
/* v64 - restore the real four-sided prompt border */
.home-v15 .ld-prompt-bar{border:1px solid rgba(255,255,255,.18)!important}
.home-v15 .ld-prompt-bar::before{content:none!important;display:none!important;border:0!important;box-shadow:none!important}
.home-v15 .ld-prompt-bar:focus-within{border:1px solid rgba(135,113,255,.52)!important}
.home-v15 .ld-prompt-bar.reference-open{border:1px solid rgba(255,255,255,.20)!important}
/* v65 - fixed desktop sidebar with four rounded corners */
@media (min-width:761px){
  .home-v15 .ld-main{grid-column:2;min-width:0}
  .home-v15 .ld-sidebar.ld-sidebar-reference.ld-sidebar-v22{
    position:fixed!important;
    left:5px!important;
    top:5px!important;
    bottom:5px!important;
    z-index:220!important;
    width:84px!important;
    height:auto!important;
    max-height:calc(100vh - 10px)!important;
    margin:0!important;
    box-sizing:border-box!important;
    border-radius:24px!important;
  }
}
/* v66 - refined Settings icon */
.home-v15 .ld-sidebar-v22 .ld-settings-icon{border:1px solid rgba(255,255,255,.055);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));color:#e7e7ec;transition:transform .22s ease,background .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease}
.home-v15 .ld-sidebar-v22 .ld-settings-icon svg{width:23px!important;height:23px!important;stroke-width:1.65!important;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.home-v15 .ld-sidebar-v22 .ld-settings-item:hover .ld-settings-icon{border-color:rgba(156,138,255,.34);background:linear-gradient(180deg,rgba(132,108,255,.20),rgba(92,70,190,.10));color:#fff;box-shadow:0 0 18px rgba(118,92,240,.14)}
.home-v15 .ld-sidebar-v22 .ld-settings-item:hover .ld-settings-icon svg{transform:rotate(24deg)}
.home-v15 .ld-sidebar-v22 .ld-settings-item.active .ld-settings-icon{border-color:rgba(156,138,255,.54);background:linear-gradient(180deg,#514383,#332c55);color:#fff;box-shadow:0 0 0 1px rgba(150,128,255,.14),0 8px 18px rgba(56,39,126,.28)}
/* v68 - first-time user onboarding */
body.onboarding-open{overflow:hidden}.ld-onboarding[hidden],.ld-onboarding-step[hidden]{display:none!important}.ld-onboarding{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:20px;opacity:0;transition:opacity .18s}.ld-onboarding.open{opacity:1}.ld-onboarding-backdrop{position:absolute;inset:0;background:rgba(3,3,5,.72);backdrop-filter:blur(7px)}.ld-onboarding-dialog{position:relative;width:min(430px,calc(100vw - 32px));overflow:hidden;color:#f7f7fa;background:#111114;border:1px solid rgba(255,255,255,.24);border-radius:20px;box-shadow:0 28px 90px #000b}.ld-onboarding-close{position:absolute;z-index:2;top:15px;right:17px;border:0;background:none;color:#999;font-size:20px;cursor:pointer}.ld-onboarding-step header{padding:29px 30px 14px}.ld-onboarding-step h2{margin:0 30px 7px 0;font-size:16px}.ld-onboarding-step header p{margin:0;color:#aaa;font-size:13px}.ld-onboarding-consent{display:flex;gap:10px;margin:10px 30px 19px;color:#ccc;font-size:12px}.ld-onboarding-legal{margin:0;padding:0 30px 25px;color:#d0d0d5;font-size:12px;line-height:1.5}.ld-onboarding-legal a{color:#8c73ff}.ld-onboarding-step footer{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:14px 16px 14px 30px;border-top:1px solid #ffffff14}.ld-onboarding-dots{display:flex;gap:4px}.ld-onboarding-dots i{width:5px;height:5px;border-radius:9px;background:#4b4b54}.ld-onboarding-dots i.active{width:13px;background:#7659ff}.ld-onboarding-primary,.ld-onboarding-skip{min-height:38px;border:0;border-radius:9px;padding:0 17px;font-weight:700;cursor:pointer}.ld-onboarding-primary{color:#fff;background:#7357f2}.ld-onboarding-primary:disabled{color:#666;background:#242428;cursor:not-allowed}.ld-onboarding-skip{margin-right:7px;color:#ddd;background:#29292e}.ld-onboarding-choices{display:grid;gap:8px;padding:5px 30px 25px}.ld-onboarding-choices button{min-height:39px;padding:8px 14px;border:1px solid transparent;border-radius:8px;color:#eee;background:#29292d;font-weight:600;cursor:pointer}.ld-onboarding-choices button.selected{border-color:#7659ff;background:#271f4a}@media(max-width:520px){.ld-onboarding-step header,.ld-onboarding-choices{padding-left:20px;padding-right:20px}.ld-onboarding-consent{margin-left:20px;margin-right:20px}.ld-onboarding-legal{padding-left:20px;padding-right:20px}}
/* v70 - compact sidebar token and upgrade */
.ld-sidebar-reference .ld-token-upgrade-block{width:58px;display:grid;gap:4px;justify-items:center;margin:1px auto 3px}
.ld-sidebar-reference .ld-token-upgrade-block .ld-credit-line{width:100%;min-height:24px;padding:1px 4px;display:flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:6px;background:transparent;color:#fff;cursor:pointer}
.ld-sidebar-reference .ld-token-upgrade-block .ld-credit-line:hover,.ld-sidebar-reference .ld-token-upgrade-block .ld-credit-line:focus{background:rgba(255,255,255,.06);outline:none}
.ld-sidebar-reference .ld-token-upgrade-block .ld-credit-icon{width:17px;height:17px;display:grid;place-items:center;color:#12e66e}
.ld-sidebar-reference .ld-token-upgrade-block .ld-credit-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.ld-sidebar-reference .ld-token-upgrade-block .ld-credit-line b{color:#fff;font-size:12px;font-weight:850;line-height:1}
.ld-sidebar-reference .ld-token-upgrade-button{display:flex;align-items:center;justify-content:center;width:54px;height:20px;border:1px solid #14ef6d;border-radius:3px;background:linear-gradient(180deg,#15e966,#08bd4e);box-shadow:0 0 0 1px rgba(0,0,0,.35),0 3px 10px rgba(11,220,91,.2);color:#041309!important;font-size:10px;font-weight:800;line-height:1;text-decoration:none;transition:filter .15s,transform .15s}
.ld-sidebar-reference .ld-token-upgrade-button:hover{filter:brightness(1.1);transform:translateY(-1px)}
/* v71 - plans and pricing */
.plans-v71{background:#080909;color:#f5f5f7}.plans-v71 .ld-main{display:none}.plans-shell{min-height:100vh}.plans-main{margin-left:82px;padding:20px 24px 90px;min-width:0}.plans-back{position:fixed;top:13px;left:96px;z-index:5;color:#aaa;font-size:20px;text-decoration:none}.plans-hero{text-align:center;padding:44px 20px 30px}.plans-kicker{margin:0 0 8px;color:#8b8b94;font-size:11px;font-weight:800;letter-spacing:.16em}.plans-hero h1{max-width:780px;margin:0 auto 14px;font-size:clamp(38px,5.2vw,78px);line-height:.9;letter-spacing:-.055em;font-weight:950}.plans-hero>p:not(.plans-kicker){color:#aaa;font-size:13px}.plans-billing{display:inline-flex;margin-top:18px;padding:3px;border:1px solid #333;border-radius:999px;background:#151517}.plans-billing button{min-height:32px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:#999;font-weight:700;cursor:pointer}.plans-billing button.active{background:#282330;color:#fff;box-shadow:inset 0 0 0 1px #8a73ff}.plans-billing b{margin-left:7px;font-size:10px}.plans-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;max-width:1180px;margin:0 auto 70px;align-items:stretch}.plan-card{position:relative;min-height:610px;padding:23px 13px 18px;border:1px solid #45454a;border-radius:17px;background:#111112;display:flex;flex-direction:column}.plan-card.featured{border:3px solid #a18cff;padding:21px 11px 16px;box-shadow:0 0 0 1px #5645ac,0 18px 55px #6d50ff18}.plan-tag{position:absolute;left:-3px;right:-3px;top:-25px;height:25px;display:grid;place-items:center;border-radius:12px 12px 0 0;background:#a18cff;color:#0c0b10;font-size:10px;font-weight:900}.plan-card h2{text-align:center;margin:0 0 22px;font-size:20px;font-weight:950}.plan-card h2.gold{color:#ffc64a}.plan-card h2.green{color:#20ed78}.plan-card h2.red{color:#ff635d}.plan-price{height:72px;display:flex;align-items:center;justify-content:center}.plan-price strong{font-size:34px}.plan-price small{margin:12px 0 0 4px;color:#aaa}.teams-symbol{color:#8066ff;font-size:52px}.plan-subscribe,.plan-current{height:34px;display:flex;align-items:center;justify-content:center;margin:4px 0 25px;border-radius:8px;font-size:11px;font-weight:850;text-decoration:none}.plan-subscribe{background:#6f57ee;color:#fff}.plan-subscribe.team{background:#29292c}.plan-current{color:#777;border:1px solid #29292d}.plan-perfect{text-align:center;min-height:80px}.plan-perfect small{color:#866cff}.plan-perfect p{margin:6px 0;color:#ddd;font-size:11px;line-height:1.4}.plan-card ul{list-style:none;margin:0;padding:12px 9px;background:#1e1e20;border-radius:9px;display:grid;gap:10px;flex:1;align-content:start}.plan-card li{display:flex;gap:7px;color:#ddd;font-size:10px;line-height:1.35}.plan-card li i{font-style:normal;color:#999}.compare-section{max-width:1220px;margin:0 auto 52px}.compare-section>h2{margin:0 0 22px;font-size:22px}.compare-scroll{overflow:auto;border:1px solid #303034;border-radius:13px}.plans-compare{width:100%;min-width:930px;border-collapse:collapse;table-layout:fixed;background:#0d0e0e}.plans-compare th,.plans-compare td{padding:14px 12px;border-right:1px solid #242426;border-bottom:1px solid #202023;color:#eee;font-size:10px;text-align:center;vertical-align:middle}.plans-compare th:first-child{width:25%;text-align:left}.plans-compare thead th{position:sticky;top:0;z-index:1;background:#131314;font-size:13px}.plans-compare tr.group th{padding:22px 18px;background:#0b0c0c;font-size:14px}.plans-compare td:nth-child(4){background:#141414}.plans-note{max-width:1180px;margin:0 auto 60px;padding:16px;border-radius:8px;background:#252527;color:#eee;font-size:11px;line-height:1.4}.plans-faq{max-width:1180px;margin:0 auto}.plans-faq h2{text-align:center;margin:0 0 28px;font-size:38px;font-weight:950}.plans-faq details{border-bottom:1px solid #38383c}.plans-faq summary{display:flex;align-items:center;justify-content:space-between;padding:20px 2px;color:#eee;font-size:14px;font-weight:750;cursor:pointer;list-style:none}.plans-faq summary::-webkit-details-marker{display:none}.plans-faq details p{max-width:850px;margin:0;padding:0 2px 20px;color:#aaa;font-size:13px;line-height:1.6}.plans-faq details[open] summary span{transform:rotate(180deg)}@media(max-width:1000px){.plans-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-card{min-height:520px}.plans-main{margin-left:78px}}@media(max-width:700px){.plans-main{margin-left:0;padding:72px 12px 60px}.plans-back{left:18px;top:18px}.plans-cards{grid-template-columns:1fr}.plans-hero{padding-top:15px}.plans-hero h1{font-size:42px}.plans-faq h2{font-size:28px}.plan-card{min-height:auto}.plans-v71 .ld-sidebar{display:none}}
/* v72 - plans layout containment and responsive fix */
.home-v15.plans-v77 .ld-shell.plans-shell{display:block!important;min-height:100vh;width:100%;max-width:none;overflow:visible;background:#080909}
.home-v15.plans-v77 .plans-shell>.ld-sidebar{position:fixed!important;left:0;top:0;bottom:0;width:96px;height:100vh;z-index:90}
.home-v15.plans-v77 .plans-main{display:block;width:calc(100% - 96px);max-width:none;min-width:0;margin-left:96px;padding:32px clamp(16px,2.6vw,42px) 90px;box-sizing:border-box;overflow:hidden}
.home-v15.plans-v77 .plans-hero{width:100%;box-sizing:border-box}
.home-v15.plans-v77 .plans-hero h1{overflow-wrap:normal;word-break:normal;font-size:clamp(34px,5vw,74px)}
.home-v15.plans-v77 .plans-cards{width:100%;max-width:1240px;grid-template-columns:repeat(auto-fit,minmax(min(205px,100%),1fr));align-items:stretch}
.home-v15.plans-v77 .plan-card{min-width:0;width:auto;box-sizing:border-box}
.home-v15.plans-v77 .compare-section,.home-v15.plans-v77 .plans-note,.home-v15.plans-v77 .plans-faq{width:100%;box-sizing:border-box}
@media(max-width:760px){.home-v15.plans-v77 .plans-shell>.ld-sidebar{display:none!important}.home-v15.plans-v77 .plans-main{width:100%!important;margin-left:0!important;padding:64px 14px 60px!important}.home-v15.plans-v77 .plans-back{left:16px;top:15px}.home-v15.plans-v77 .plans-hero{padding:12px 4px 28px}.home-v15.plans-v77 .plans-hero h1{font-size:clamp(32px,11vw,46px);line-height:.92}.home-v15.plans-v77 .plans-hero>p:not(.plans-kicker){max-width:300px;margin-left:auto;margin-right:auto}.home-v15.plans-v77 .plans-billing{max-width:100%}.home-v15.plans-v77 .plans-billing button{padding:0 11px;font-size:11px}.home-v15.plans-v77 .plans-cards{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:34px;margin-bottom:50px}.home-v15.plans-v77 .plan-card{width:100%!important;min-height:0!important}.home-v15.plans-v77 .compare-section>h2{font-size:20px}.home-v15.plans-v77 .plans-faq h2{font-size:27px}.home-v15.plans-v77 .plans-faq summary{font-size:13px}}
/* v73 - unified lightweight sidebar icon system */
.home-v15 .ld-sidebar-reference .ld-nav-item .ld-side-icon,.home-v15 .ld-sidebar-reference .ld-nav-item:hover .ld-side-icon,.home-v15 .ld-sidebar-reference .ld-nav-item.active .ld-side-icon,.home-v15 .ld-sidebar-reference .ld-nav-item.active[data-select-tool] .ld-side-icon{width:29px!important;height:29px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;color:#d9d9df!important;filter:none!important}
.home-v15 .ld-sidebar-reference .ld-nav-item:hover .ld-side-icon,.home-v15 .ld-sidebar-reference .ld-nav-item.active .ld-side-icon{color:#fff!important}
.home-v15 .ld-sidebar-reference .ld-nav-item .ld-side-icon svg{width:21px!important;height:21px!important;overflow:visible;fill:none!important;stroke:currentColor!important;stroke-width:1.35!important;stroke-linecap:round!important;stroke-linejoin:round!important;filter:none!important}
.home-v15 .ld-sidebar-reference .ld-nav-item .ld-side-icon svg *{vector-effect:non-scaling-stroke}
.home-v15 .ld-sidebar-reference .ld-settings-icon svg{width:21px!important;height:21px!important;stroke-width:1.35!important}
.home-v15 .ld-sidebar-reference .ld-settings-icon{border:0!important;background:transparent!important;box-shadow:none!important}
.home-v15 .ld-sidebar-reference .ld-nav-item{transition:background-color .16s ease,border-color .16s ease,color .16s ease}
@media(max-height:820px){.home-v15 .ld-sidebar-reference .ld-nav-item .ld-side-icon{width:25px!important;height:25px!important}.home-v15 .ld-sidebar-reference .ld-nav-item .ld-side-icon svg{width:18px!important;height:18px!important}}
/* v75 - unified lightweight hero tool icons */
.home-v15 .ld-v35-tool>span{color:#e7e7eb}
.home-v15 .ld-v35-tool>span svg{width:22px;height:22px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;filter:none}
.home-v15 .ld-v35-tool>span svg *{vector-effect:non-scaling-stroke}
.home-v15 .ld-v35-tool:hover>span svg,.home-v15 .ld-v35-tool.active>span svg{stroke-width:1.35}
@media(max-width:760px){.home-v15 .ld-v35-tool>span svg{width:20px;height:20px}}
/* v76 - slow white neon snake around prompt border */
@property --ld-snake-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes ldPromptSnake{to{--ld-snake-angle:360deg}}
.home-v15 .ld-prompt-bar{isolation:isolate;border:1px solid rgba(255,255,255,.15)!important;box-shadow:0 20px 55px rgba(0,0,0,.34),0 0 24px rgba(255,255,255,.025)!important}
.home-v15 .ld-prompt-bar::before{content:""!important;display:block!important;position:absolute!important;z-index:4!important;inset:-2px!important;padding:1.5px!important;border:0!important;border-radius:24px!important;background:conic-gradient(from var(--ld-snake-angle),transparent 0deg,transparent 294deg,rgba(255,255,255,.05) 306deg,rgba(255,255,255,.6) 317deg,#fff 326deg,rgba(255,255,255,.82) 334deg,rgba(255,255,255,.08) 346deg,transparent 360deg)!important;box-shadow:none!important;pointer-events:none!important;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;-webkit-mask-composite:xor!important;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;mask-composite:exclude!important;filter:drop-shadow(0 0 3px rgba(255,255,255,.95)) drop-shadow(0 0 7px rgba(210,225,255,.55));animation:ldPromptSnake 9s linear infinite}
.home-v15 .ld-prompt-bar:focus-within::before{filter:drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px rgba(190,215,255,.75));animation-duration:7s}
@media(max-width:760px){.home-v15 .ld-prompt-bar::before{inset:-1.5px!important;border-radius:22px!important;padding:1.25px!important}}
@media(prefers-reduced-motion:reduce){.home-v15 .ld-prompt-bar::before{animation:none;background:linear-gradient(90deg,rgba(255,255,255,.2),rgba(255,255,255,.75),rgba(255,255,255,.2))!important;filter:none}}
/* v77 - cross-browser SVG neon border runner */
@keyframes ldPromptSvgSnake{from{stroke-dashoffset:0}to{stroke-dashoffset:-100}}
.home-v15 .ld-prompt-bar::before{content:none!important;display:none!important;animation:none!important}
.home-v15 .ld-prompt-snake{position:absolute;z-index:6;inset:-2px;width:calc(100% + 4px);height:calc(100% + 4px);overflow:visible;pointer-events:none;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 7px rgba(205,222,255,.78))}
.home-v15 .ld-prompt-snake rect{x:2px;y:2px;width:calc(100% - 4px);height:calc(100% - 4px);rx:22px;ry:22px;fill:none;stroke:#fff;stroke-width:1.7px;stroke-linecap:round;stroke-dasharray:9 91;stroke-dashoffset:0;vector-effect:non-scaling-stroke;animation:ldPromptSvgSnake 8s linear infinite}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake{filter:drop-shadow(0 0 3px #fff) drop-shadow(0 0 10px rgba(190,215,255,.95))}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake rect{animation-duration:6.5s;stroke-width:1.9px}
@media(max-width:760px){.home-v15 .ld-prompt-snake rect{rx:20px;ry:20px;stroke-width:1.5px}}
@media(prefers-reduced-motion:reduce){.home-v15 .ld-prompt-snake rect{animation:none;stroke-dasharray:100 0;stroke-opacity:.3}.home-v15 .ld-prompt-snake{filter:none}}
/* v78 - dual, slower, counter-rotating neon runners */
@keyframes ldPromptSvgSnakeForward{from{stroke-dashoffset:0}to{stroke-dashoffset:-100}}
@keyframes ldPromptSvgSnakeReverse{from{stroke-dashoffset:50}to{stroke-dashoffset:150}}
.home-v15 .ld-prompt-snake{filter:drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 0 7px rgba(190,220,255,.62)) drop-shadow(0 0 14px rgba(113,151,255,.24))}
.home-v15 .ld-prompt-snake rect{stroke-width:1.45px;stroke-dasharray:7 93;animation:none}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a{stroke:#fff;animation:ldPromptSvgSnakeForward 18s linear infinite}
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{stroke:#b9dcff;stroke-width:1.25px;stroke-dasharray:6 94;opacity:.92;animation:ldPromptSvgSnakeReverse 22s linear infinite}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake{filter:drop-shadow(0 0 3px #fff) drop-shadow(0 0 10px rgba(188,220,255,.85)) drop-shadow(0 0 18px rgba(119,155,255,.34))}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-a{animation-duration:16s;stroke-width:1.6px}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-b{animation-duration:20s;stroke-width:1.4px}
@media(prefers-reduced-motion:reduce){.home-v15 .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-snake .ld-prompt-snake-b{animation:none;stroke-dasharray:100 0;stroke-opacity:.22}}
/* v79 - matched dual neon runners, same direction and speed */
@keyframes ldPromptDualNeonFlow{from{stroke-dashoffset:0}to{stroke-dashoffset:-100}}
.home-v15 .ld-prompt-snake{filter:drop-shadow(0 0 1.5px rgba(255,255,255,1)) drop-shadow(0 0 5px rgba(220,235,255,.88)) drop-shadow(0 0 11px rgba(151,190,255,.52)) drop-shadow(0 0 19px rgba(101,132,255,.22))}
.home-v15 .ld-prompt-snake rect{stroke:#fff;stroke-width:1.55px;stroke-linecap:round;stroke-dasharray:8 92;opacity:1;animation:ldPromptDualNeonFlow 20s linear infinite}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a{stroke:#fff;stroke-dashoffset:0;animation:ldPromptDualNeonFlow 20s linear infinite}
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{stroke:#fff;stroke-width:1.55px;stroke-dasharray:8 92;stroke-dashoffset:50;opacity:1;animation:ldPromptDualNeonFlow 20s linear infinite;animation-delay:-10s}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake{filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 7px rgba(225,240,255,.95)) drop-shadow(0 0 14px rgba(150,190,255,.68)) drop-shadow(0 0 23px rgba(105,135,255,.3))}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-b{animation-duration:20s;stroke-width:1.7px}
@media(prefers-reduced-motion:reduce){.home-v15 .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-snake .ld-prompt-snake-b{animation:none;stroke-dasharray:8 42;stroke-opacity:.5}}
/* v80 - polished sidebar account trigger */
.home-v15 .ld-sidebar-reference .ld-profile-button{position:relative;width:70px;height:48px;padding:4px 7px;gap:7px;justify-content:flex-start;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:linear-gradient(145deg,rgba(35,37,42,.96),rgba(13,14,17,.98));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 22px rgba(0,0,0,.3);transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,transform .2s ease}
.home-v15 .ld-sidebar-reference .ld-profile-button:hover,.home-v15 .ld-sidebar-reference .ld-profile-button.open{border-color:rgba(92,190,255,.48);background:linear-gradient(145deg,rgba(40,43,50,.98),rgba(16,18,22,.99));box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 0 0 1px rgba(49,177,245,.08),0 10px 26px rgba(0,0,0,.38),0 0 18px rgba(33,160,231,.12);transform:translateY(-1px)}
.home-v15 .ld-sidebar-reference .ld-profile-button span{position:relative;width:36px;height:36px;flex:0 0 36px;border:1px solid rgba(142,224,255,.72);background:radial-gradient(circle at 34% 25%,#55d5ff 0,#24afe9 42%,#087ac6 100%);color:#04131d;font-size:16px;font-weight:900;line-height:1;text-shadow:0 1px 0 rgba(255,255,255,.22);box-shadow:inset 0 1px 1px rgba(255,255,255,.48),inset 0 -7px 12px rgba(0,72,152,.2),0 4px 12px rgba(0,0,0,.32),0 0 13px rgba(30,169,239,.18)}
.home-v15 .ld-sidebar-reference .ld-profile-button i{position:relative;width:9px;height:9px;flex:0 0 9px;font-size:0;color:transparent;transition:transform .2s ease}
.home-v15 .ld-sidebar-reference .ld-profile-button i::before{content:"";position:absolute;left:1px;top:2px;width:5px;height:5px;border-right:1.5px solid #aeb5c0;border-top:1.5px solid #aeb5c0;transform:rotate(-45deg);transition:border-color .2s ease}
.home-v15 .ld-sidebar-reference .ld-profile-button:hover i::before,.home-v15 .ld-sidebar-reference .ld-profile-button.open i::before{border-color:#e8f7ff}
.home-v15 .ld-sidebar-reference .ld-profile-button.open i{transform:rotate(180deg)}
.home-v15 .ld-sidebar-reference .ld-profile-button:focus-visible{outline:2px solid rgba(82,190,255,.82);outline-offset:3px}
@media(max-height:760px) and (min-width:761px){.home-v15 .ld-sidebar-reference .ld-profile-button{height:42px}.home-v15 .ld-sidebar-reference .ld-profile-button span{width:32px;height:32px;flex-basis:32px;font-size:14px}}
/* v81 - softer, diffused hero neon */
.home-v15 .ld-prompt-snake{opacity:.74;filter:blur(.28px) drop-shadow(0 0 3px rgba(235,245,255,.62)) drop-shadow(0 0 9px rgba(177,210,255,.42)) drop-shadow(0 0 18px rgba(102,139,235,.20))}
.home-v15 .ld-prompt-snake rect{stroke:rgba(244,249,255,.76);stroke-width:1.25px}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-snake .ld-prompt-snake-b{stroke:rgba(244,249,255,.76);stroke-width:1.25px}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake{opacity:.84;filter:blur(.22px) drop-shadow(0 0 4px rgba(244,250,255,.72)) drop-shadow(0 0 11px rgba(183,214,255,.52)) drop-shadow(0 0 21px rgba(110,145,240,.24))}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-b{stroke-width:1.35px}
/* v82 - visible soft glow layers behind both neon runners */
.home-v15 .ld-prompt-snake{opacity:1;filter:none}
.home-v15 .ld-prompt-snake rect{stroke-linecap:round;stroke-dasharray:8 92;vector-effect:non-scaling-stroke}
.home-v15 .ld-prompt-snake .ld-prompt-glow{stroke:rgba(132,190,255,.72);stroke-width:6px;opacity:.72;filter:blur(5px)}
.home-v15 .ld-prompt-snake .ld-prompt-glow-a{animation:ldPromptDualNeonFlow 20s linear infinite}
.home-v15 .ld-prompt-snake .ld-prompt-glow-b{animation:ldPromptDualNeonFlow 20s linear infinite;animation-delay:-10s}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-snake .ld-prompt-snake-b{stroke:rgba(250,253,255,.82);stroke-width:1.15px;opacity:.84;filter:blur(.35px) drop-shadow(0 0 3px rgba(230,245,255,.78));animation:ldPromptDualNeonFlow 20s linear infinite}
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{animation-delay:-10s}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-glow{stroke:rgba(143,199,255,.84);stroke-width:7px;opacity:.82;filter:blur(6px)}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-b{stroke:rgba(255,255,255,.9);stroke-width:1.25px;opacity:.92}
@media(prefers-reduced-motion:reduce){.home-v15 .ld-prompt-snake .ld-prompt-glow-a,.home-v15 .ld-prompt-snake .ld-prompt-glow-b{animation:none;stroke-dasharray:8 42;opacity:.38}}
/* v87 - Image page uses the same full-width AI Creation studio shell */
.image-studio-v87 .ambient,.image-studio-v87 .legal-footer{display:none!important}
.image-studio-v87 .image-studio-shell{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.image-studio-v87 .ld-create-main{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0 0 28px!important;box-sizing:border-box!important;overflow:visible!important}
.image-studio-v87 .ld-create-topbar{position:sticky;z-index:100;top:0;height:58px;min-height:58px;grid-template-columns:1fr auto 1fr;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.12);background:#090a0a;box-sizing:border-box}
.image-studio-v87 .ld-create-topbar-left b{font-size:18px;letter-spacing:-.4px}.image-studio-v87 .ld-create-topbar h1{font-size:17px}.image-studio-v87 .ld-create-credit-pill{min-width:50px;justify-content:center;padding:7px 10px;border-color:#ffffff20;border-radius:18px;color:#eee;background:#0d0f0f}
.image-studio-v87 .ld-create-layout{display:grid!important;grid-template-columns:288px minmax(0,1fr)!important;gap:30px!important;width:100%!important;margin:0!important;padding:14px 16px 0!important;box-sizing:border-box!important}
.image-studio-v87 .ld-create-leftpanel{position:sticky!important;top:72px!important;width:288px!important;height:calc(100vh - 86px)!important;align-self:start!important}
.image-studio-v87 .ld-create-leftpanel-frame{height:100%!important;box-sizing:border-box!important}
.image-studio-v87 .ld-create-workspace{min-width:0!important;width:100%!important}
.image-studio-v87 .ld-create-command-shell{top:72px!important}
@media(max-width:1100px) and (min-width:761px){.image-studio-v87 .ld-create-layout{grid-template-columns:258px minmax(0,1fr)!important;gap:16px!important}.image-studio-v87 .ld-create-leftpanel{width:258px!important}}
@media(max-width:760px){.image-studio-v87 .mobile-top{display:flex!important}.image-studio-v87 .ld-create-topbar{display:none!important}.image-studio-v87 .ld-create-main{padding-top:64px!important}.image-studio-v87 .ld-create-layout{grid-template-columns:1fr!important;padding:10px 12px 0!important}.image-studio-v87 .ld-create-leftpanel{position:relative!important;inset:auto!important;width:100%!important;height:auto!important}.image-studio-v87 .ld-create-command-shell{position:relative!important;top:auto!important}}
/* v88 - soft travelling light blooms; no visible neon line */
@keyframes ldPromptLightGlide{0%{stroke-dashoffset:0;opacity:.52}45%{opacity:.82}100%{stroke-dashoffset:-100;opacity:.52}}
.home-v15 .ld-prompt-snake{opacity:1!important;filter:none!important;mix-blend-mode:screen}
.home-v15 .ld-prompt-snake rect{stroke-linecap:round!important;stroke-dasharray:5 95!important;vector-effect:non-scaling-stroke!important}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-snake .ld-prompt-snake-b{stroke:rgba(255,255,255,.12)!important;stroke-width:2px!important;opacity:.16!important;filter:blur(1.8px)!important;animation:ldPromptLightGlide 20s linear infinite!important}
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{animation-delay:-10s!important}
.home-v15 .ld-prompt-snake .ld-prompt-glow{stroke:rgba(190,224,255,.58)!important;stroke-width:11px!important;opacity:.68!important;filter:blur(8px)!important;animation:ldPromptLightGlide 20s linear infinite!important}
.home-v15 .ld-prompt-snake .ld-prompt-glow-b{animation-delay:-10s!important}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-b{stroke:rgba(255,255,255,.15)!important;stroke-width:2px!important;opacity:.2!important}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-glow{stroke:rgba(202,231,255,.68)!important;stroke-width:13px!important;opacity:.78!important;filter:blur(9px)!important}
@media(prefers-reduced-motion:reduce){.home-v15 .ld-prompt-snake rect{animation:ldPromptLightGlide 20s linear infinite!important}}
/* v89 - longer defined neon trails with controlled bloom */
.home-v15 .ld-prompt-snake rect{stroke-dasharray:11 89!important;stroke-linecap:round!important}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-snake .ld-prompt-snake-b{stroke:rgba(252,254,255,.88)!important;stroke-width:1.45px!important;opacity:.92!important;filter:blur(.45px) drop-shadow(0 0 2px rgba(255,255,255,.96)) drop-shadow(0 0 5px rgba(186,222,255,.72))!important;animation:ldPromptLightGlide 20s linear infinite!important}
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{animation-delay:-10s!important}
.home-v15 .ld-prompt-snake .ld-prompt-glow{stroke:rgba(142,199,255,.72)!important;stroke-width:7px!important;opacity:.74!important;filter:blur(4.5px)!important;animation:ldPromptLightGlide 20s linear infinite!important}
.home-v15 .ld-prompt-snake .ld-prompt-glow-b{animation-delay:-10s!important}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-a,.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-b{stroke:rgba(255,255,255,.96)!important;stroke-width:1.6px!important;opacity:1!important;filter:blur(.35px) drop-shadow(0 0 3px #fff) drop-shadow(0 0 7px rgba(175,216,255,.82))!important}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-glow{stroke:rgba(153,207,255,.82)!important;stroke-width:8px!important;opacity:.82!important;filter:blur(5px)!important}
/* v92 - shared AI Creation token trigger and plan popover */
.studio-token-wrap{position:relative;display:inline-flex;z-index:360}
.studio-token-trigger{height:34px;min-width:72px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#0c0e0e;color:#eee;cursor:pointer;transition:.18s}
.studio-token-trigger:hover,.studio-token-trigger.open{border-color:rgba(12,220,103,.45);background:#111514}.studio-token-trigger svg{width:18px;height:18px;fill:none;stroke:#05dc68;stroke-width:1.55}.studio-token-trigger b{font-size:12px}
.studio-token-popover{position:absolute;z-index:500;top:calc(100% + 10px);left:50%;width:330px;display:none;padding:17px;border:1px solid rgba(255,255,255,.26);border-radius:16px;background:#181919;color:#f3f3f4;box-shadow:0 25px 70px #000b,inset 0 1px 0 rgba(255,255,255,.04);transform:translateX(-50%)}
.studio-token-popover.open{display:block;animation:studioTokenIn .16s ease-out}@keyframes studioTokenIn{from{opacity:0;transform:translateX(-50%) translateY(-5px) scale(.98)}to{opacity:1;transform:translateX(-50%)}}
.studio-token-popover header{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px}.studio-token-popover header span{font-size:14px}.studio-token-popover header strong{color:#0be36b;font-size:14px}.studio-token-rows{display:grid;gap:12px}.studio-token-rows>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.studio-token-rows span{color:#d6d6da;font-size:13px}.studio-token-rows b{color:#d9d9dc;font-size:12px}.studio-token-rows i{display:inline-grid;place-items:center;width:14px;height:14px;border:1px solid #999;border-radius:50%;font-size:9px;font-style:normal}.studio-token-popover>p{margin:14px 0 18px;color:#ddd;font-size:12px}.studio-token-popover>p a{color:#806cff}.studio-token-manage,.studio-token-upgrade{height:38px;display:flex;align-items:center;justify-content:center;border-radius:7px;text-decoration:none;font-size:12px;font-weight:850}.studio-token-manage{margin-bottom:7px;color:#ddd;background:#303131}.studio-token-upgrade{color:#07150d;background:#08e56b}
.image-studio-v87 .ld-create-topbar-right{overflow:visible}.image-studio-v87 .ld-create-topbar-right .studio-token-popover{left:auto;right:0;transform:none}.image-studio-v87 .ld-create-topbar-right .studio-token-popover.open{animation:studioTokenRightIn .16s ease-out}@keyframes studioTokenRightIn{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:520px){.studio-token-popover{position:fixed;top:66px;left:10px;right:10px;width:auto;transform:none}.studio-token-popover.open{animation:studioTokenRightIn .16s ease-out}}
/* v93 - Image studio header mirrors Video studio header */
.image-studio-v87 .image-studio-title{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;overflow:visible}
.image-studio-v87 .image-studio-title h1{margin:0;font-size:17px;white-space:nowrap}
.image-studio-v87 .image-studio-help{width:18px;height:18px;display:grid;place-items:center;border:1px solid #aaa;border-radius:50%;color:#eee;font-size:11px}
.image-studio-v87 .image-studio-title .studio-token-wrap{margin-left:2px}
.image-studio-v87 .image-studio-legacy{justify-self:end;display:flex;align-items:center;gap:8px;color:#eee;font-size:12px;font-weight:800;white-space:nowrap}
.image-studio-v87 .image-studio-legacy>span{width:14px;height:14px;display:grid;place-items:center;border:1px solid #888;border-radius:50%;font-size:9px}
.image-studio-v87 .image-studio-legacy input{position:absolute;opacity:0}
.image-studio-v87 .image-studio-legacy>i{position:relative;width:31px;height:17px;border-radius:99px;background:#2c2d2e;cursor:pointer}
.image-studio-v87 .image-studio-legacy>i::after{content:"";position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#eee;transition:left .2s ease}
.image-studio-v87 .image-studio-legacy input:checked+i{background:#7057ee}.image-studio-v87 .image-studio-legacy input:checked+i::after{left:16px}
.image-studio-v87 .image-studio-title .studio-token-popover{left:50%;right:auto;transform:translateX(-50%)}
.image-studio-v87 .image-studio-title .studio-token-popover.open{animation:studioTokenIn .16s ease-out}
@media(max-width:760px){.image-studio-v87 .image-studio-title{display:none}.image-studio-v87 .image-studio-legacy{display:none}}
/* v107 - multiple generations stay inside one shared card */
.create-v15 .ld-create-pending-job-group,.create-v15 .ld-completed-generation-group{grid-template-columns:minmax(0,72%) minmax(220px,28%);min-height:420px}.create-v15 .ld-pending-media-grid,.create-v15 .ld-completed-media-grid{height:420px;min-height:420px;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:3px;background:#09090a}.create-v15 .ld-pending-media-grid.count-1,.create-v15 .ld-completed-media-grid.count-1{grid-template-columns:1fr;grid-template-rows:1fr}.create-v15 .ld-pending-media-grid.count-2,.create-v15 .ld-completed-media-grid.count-2{grid-template-columns:repeat(2,1fr);grid-template-rows:1fr}.create-v15 .ld-pending-media-grid.count-3 .ld-pending-slot:first-child,.create-v15 .ld-completed-media-grid.count-3 .ld-completed-media-item:first-child{grid-row:1/span 2}.create-v15 .ld-pending-slot{position:relative;min-width:0;min-height:0;display:grid;place-items:center;overflow:hidden;background:#121011}.create-v15 .ld-pending-slot .ld-pending-time{position:absolute;left:50%;bottom:18px;transform:translateX(-50%)}.create-v15 .ld-completed-media-item{position:relative;min-width:0;min-height:0;display:block;overflow:hidden;background:#111}.create-v15 .ld-completed-media-item img{width:100%;height:100%;min-height:0!important;max-height:none!important;display:block;object-fit:cover;transition:transform .25s ease}.create-v15 .ld-completed-media-item:hover img{transform:scale(1.025)}.create-v15 .ld-completed-media-item>span{position:absolute;left:9px;top:9px;min-width:22px;height:22px;display:grid;place-items:center;border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font-size:10px;font-weight:800;backdrop-filter:blur(8px)}.create-v15 .ld-completed-generation-group .ld-completed-summary{min-height:420px}.create-v15 .ld-completed-generation-group .ld-completed-summary>p,.create-v15 .ld-completed-generation-group .ld-completed-tags{width:100%}@media(max-width:900px){.create-v15 .ld-create-pending-job-group,.create-v15 .ld-completed-generation-group{grid-template-columns:1fr}.create-v15 .ld-pending-media-grid,.create-v15 .ld-completed-media-grid{height:min(72vw,440px);min-height:280px}.create-v15 .ld-completed-generation-group .ld-completed-summary{min-height:170px}}@media(max-width:520px){.create-v15 .ld-pending-media-grid,.create-v15 .ld-completed-media-grid{height:92vw;min-height:320px}}
/* v108 - restore the original single-result width and keep multi-result cards compact */
.create-v15 .ld-create-pending-job-group.output-count-1,.create-v15 .ld-completed-generation-group.output-count-1{grid-template-columns:clamp(230px,28vw,330px) minmax(0,1fr)!important;min-height:290px!important}.create-v15 .ld-create-pending-job-group.output-count-1 .ld-pending-media-grid,.create-v15 .ld-completed-generation-group.output-count-1 .ld-completed-media-grid{height:290px!important;min-height:290px!important}.create-v15 .ld-create-pending-job-group:not(.output-count-1),.create-v15 .ld-completed-generation-group:not(.output-count-1){grid-template-columns:minmax(0,58%) minmax(280px,42%)!important;min-height:380px!important}.create-v15 .ld-create-pending-job-group:not(.output-count-1) .ld-pending-media-grid,.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-media-grid{height:380px!important;min-height:380px!important}.create-v15 .ld-completed-generation-group.output-count-1 .ld-completed-summary{min-height:290px!important}.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-summary{min-height:380px!important}@media(max-width:900px){.create-v15 .ld-create-pending-job-group,.create-v15 .ld-completed-generation-group{grid-template-columns:1fr!important}.create-v15 .ld-create-pending-job-group.output-count-1 .ld-pending-media-grid,.create-v15 .ld-completed-generation-group.output-count-1 .ld-completed-media-grid{height:min(70vw,360px)!important}.create-v15 .ld-create-pending-job-group:not(.output-count-1) .ld-pending-media-grid,.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-media-grid{height:min(82vw,440px)!important}}/* v118 - completed multi-generation results use one horizontal gallery */
.create-v15 .ld-completed-generation-group:not(.output-count-1){grid-template-columns:minmax(0,1fr) clamp(220px,17vw,270px)!important;min-height:0!important;padding:10px;gap:10px;border-radius:22px;background:#171717}
.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-media-grid{display:grid!important;grid-template-columns:repeat(var(--generation-columns,4),minmax(0,1fr))!important;grid-template-rows:1fr!important;height:clamp(250px,20vw,330px)!important;min-height:250px!important;gap:9px;overflow:visible;background:transparent}
.create-v15 .ld-completed-generation-group.output-count-2 .ld-completed-media-grid{--generation-columns:2}.create-v15 .ld-completed-generation-group.output-count-3 .ld-completed-media-grid{--generation-columns:3}.create-v15 .ld-completed-generation-group.output-count-4 .ld-completed-media-grid{--generation-columns:4}
.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-media-item{grid-column:auto!important;grid-row:auto!important;border-radius:14px;background:#0c0d0e}.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-media-item img{width:100%;height:100%;object-fit:cover}
.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-summary{min-height:0!important;padding:19px 14px 48px 10px;align-items:flex-start}.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-summary>p{width:100%;font-size:13px;line-height:1.4;-webkit-line-clamp:4}.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-tags{width:100%;margin-top:9px}.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-menu{top:auto;right:12px;bottom:12px}
@media(max-width:1100px){.create-v15 .ld-completed-generation-group:not(.output-count-1){grid-template-columns:minmax(0,1fr) 210px!important}.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-media-grid{height:280px!important;min-height:240px!important}}
@media(max-width:900px){.create-v15 .ld-completed-generation-group:not(.output-count-1){grid-template-columns:1fr!important}.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;height:min(88vw,560px)!important}.create-v15 .ld-completed-generation-group.output-count-2 .ld-completed-media-grid{grid-template-rows:1fr!important;height:min(48vw,330px)!important}.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-summary{min-height:145px!important;padding:14px 14px 48px}}
@media(max-width:520px){.create-v15 .ld-completed-generation-group:not(.output-count-1){padding:7px;gap:6px}.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-media-grid{gap:6px}.create-v15 .ld-completed-generation-group:not(.output-count-1) .ld-completed-media-item{border-radius:10px}}
/* v119 - keep the completed-card action menu above the card */
.create-v15 .ld-create-job-card-v32,.create-v15 .ld-create-job-stack{overflow:visible}
.create-v15 .ld-completed-menu[open]{z-index:100}
.create-v15 .ld-completed-menu>div{top:auto;bottom:34px;z-index:110;box-shadow:0 20px 55px rgba(0,0,0,.72)}
/* v120 - immersive generated image detail viewer */
.result-detail-v120{margin:0;overflow:hidden;background:#080909;color:#f3f3f4}.result-detail-v120 .ambient,.result-detail-v120 .legal-footer{display:none!important}.result-viewer{height:100vh;min-height:620px;background:radial-gradient(circle at 53% 48%,#172127 0,#0b0e10 38%,#070808 72%);overflow:hidden}.result-viewer-top{position:relative;height:60px;border-bottom:1px solid #ffffff12;background:#080909;display:flex;align-items:center;justify-content:center}.result-back,.result-close{position:absolute;display:grid;place-items:center;text-decoration:none}.result-back{left:18px;color:#aaa;font-size:24px}.result-close{right:365px;width:38px;height:38px;border:0;border-radius:6px;background:#222;color:#bbb;font-size:25px;cursor:pointer}.result-token{height:34px;min-width:70px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #ffffff22;border-radius:20px;color:#eee;text-decoration:none;background:#0b0d0d}.result-token span{color:#00df6a}.result-viewer-body{height:calc(100vh - 60px);display:grid;grid-template-columns:92px minmax(0,1fr) 320px;gap:0}.result-thumbs{padding:17px 15px;display:flex;flex-direction:column;gap:7px;overflow-y:auto;background:#070808}.result-thumbs button{flex:0 0 auto;width:54px;height:64px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:8px;background:#151719;cursor:pointer;opacity:.72;transition:.18s}.result-thumbs button:hover,.result-thumbs button.active{opacity:1;border-color:#735cff;box-shadow:0 0 0 1px #9d8cff55}.result-thumbs img{width:100%;height:100%;display:block;object-fit:cover}.result-stage{min-width:0;position:relative;padding:20px 32px 118px;display:flex;align-items:center;justify-content:center}.result-stage-image{position:relative;width:min(68vh,720px);height:min(68vh,720px);display:grid;place-items:center;border-radius:7px;overflow:hidden;background:#101214;box-shadow:0 24px 80px #0008}.result-stage-image img{width:100%;height:100%;display:block;object-fit:contain;background:#101214}.result-like{position:absolute;top:14px;right:14px;height:38px;padding:0 14px;border:0;border-radius:20px;background:#222a36cc;color:#fff;font:inherit;font-weight:800;cursor:pointer;backdrop-filter:blur(10px)}.result-iterate{position:absolute;left:50%;bottom:18px;width:min(800px,calc(100% - 64px));min-height:92px;padding:15px;border:1px solid #ffffff0d;border-radius:14px;background:#141516e8;box-shadow:0 15px 50px #0008;transform:translateX(-50%);backdrop-filter:blur(16px)}.result-iterate input{width:100%;border:0;outline:0;color:#ddd;background:transparent;font:inherit}.result-iterate>div{margin-top:14px;display:flex;align-items:center;gap:10px}.result-iterate button,.result-iterate span{min-height:36px;padding:0 14px;display:flex;align-items:center;border:0;border-radius:9px;background:#1b1c1f;color:#777}.result-iterate span{margin-left:auto;display:block;font-size:10px}.result-iterate span b{display:block;color:#aaa;font-size:12px}.result-iterate button:last-child{color:#777;background:#1e1f21}.result-inspector{height:calc(100vh - 78px);margin:16px 14px 0 0;padding:30px;display:flex;flex-direction:column;border:1px solid #ffffff25;border-radius:22px;background:#111212;box-sizing:border-box}.result-author{padding-bottom:24px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #ffffff12}.result-author>span{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:#06151a;background:#27c9ee;font-weight:900}.result-author small,.result-author b{display:block}.result-author small{margin-bottom:4px;color:#aaa;font-size:11px}.result-author b{font-size:13px}.result-prompt-info{padding:28px 0 22px}.result-prompt-title{display:flex;align-items:center;gap:8px;color:#999}.result-prompt-title b{margin-right:auto}.result-prompt-title button{border:0;border-radius:6px;padding:5px 7px;color:#bbb;background:#252629;cursor:pointer}.result-prompt-info p{margin:14px 0 10px;color:#f0f0f0;font-size:13px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.result-tags{display:flex;gap:7px}.result-tags span{padding:4px 8px;border-radius:8px;color:#ddd;background:#3a3b3c;font-size:10px}.result-tools{display:grid;gap:8px}.result-tools button,.result-tools a{height:37px;display:flex;align-items:center;justify-content:center;border:0;border-radius:7px;color:#ddd;background:#2a2b2d;text-decoration:none;font:inherit;font-size:12px;font-weight:750;cursor:pointer}.result-tools button:hover,.result-tools a:hover{background:#35363a}.result-actions{margin-top:auto;padding-top:24px;display:flex;align-items:center;justify-content:space-between}.result-actions a,.result-actions button{width:28px;height:28px;display:grid;place-items:center;border:0;color:#ddd;background:transparent;text-decoration:none;font-size:17px;cursor:pointer}.result-actions a:hover,.result-actions button:hover{color:#fff}.result-detail-v120 .modal{z-index:1000}
@media(max-width:1100px){.result-viewer-body{grid-template-columns:76px minmax(0,1fr) 280px}.result-close{right:315px}.result-inspector{padding:20px}.result-stage{padding-left:18px;padding-right:18px}.result-stage-image{width:min(62vh,620px);height:min(62vh,620px)}}
@media(max-width:820px){.result-detail-v120{overflow:auto}.result-viewer{height:auto;min-height:100vh;overflow:visible}.result-viewer-top{position:sticky;top:0;z-index:20}.result-close{right:14px}.result-viewer-body{height:auto;grid-template-columns:1fr}.result-thumbs{padding:10px;flex-direction:row;overflow-x:auto}.result-thumbs button{width:58px;height:58px}.result-stage{min-height:72vh;padding:18px 14px 125px}.result-stage-image{width:min(90vw,620px);height:min(90vw,620px)}.result-iterate{width:calc(100% - 28px)}.result-inspector{height:auto;margin:0 12px 18px;padding:22px}.result-actions{margin-top:24px}}
/* v127 - dismiss stale pending generation card */
.create-v15 .ld-pending-top-actions{display:flex;align-items:center;gap:8px}.create-v15 .ld-pending-dismiss{width:26px;height:26px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:#26272a;color:#cfcfd4;font-size:18px;line-height:1;cursor:pointer}.create-v15 .ld-pending-dismiss:hover{border-color:rgba(255,105,105,.45);background:#382326;color:#fff}
/* v128 - subtle dark scrollbar for the result thumbnail rail */
.result-detail-v120 .result-thumbs{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#505258 #0b0c0d;scrollbar-gutter:stable}
.result-detail-v120 .result-thumbs::-webkit-scrollbar{width:6px;height:0}
.result-detail-v120 .result-thumbs::-webkit-scrollbar-track{background:#0b0c0d;border-radius:999px}
.result-detail-v120 .result-thumbs::-webkit-scrollbar-thumb{min-height:44px;border-radius:999px;background:linear-gradient(180deg,#555860,#36383d);border:1px solid #151619}
.result-detail-v120 .result-thumbs::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#6d7078,#484a50)}
.result-detail-v120 .result-thumbs::-webkit-scrollbar-corner{background:transparent}
@media(max-width:820px){.result-detail-v120 .result-thumbs{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.result-detail-v120 .result-thumbs::-webkit-scrollbar{width:0;height:5px}}

/* v132 - Custom Dimensions opens beside the settings sidebar without page dimming */
.image-studio-v87 .ld-dimensions-modal{
  inset:auto;
  top:70px;
  right:auto;
  bottom:12px;
  left:320px;
  width:350px;
  height:auto;
  padding:0;
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  pointer-events:none;
}
.image-studio-v87 .ld-dimensions-modal.open{display:block;padding:0}
.image-studio-v87 .ld-dimensions-dialog{
  width:100%;
  height:100%;
  box-sizing:border-box;
  pointer-events:auto;
  box-shadow:0 22px 70px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.035);
}
body.image-studio-v87.dimensions-picker-open{overflow:auto}
@media(max-width:1100px) and (min-width:761px){
  .image-studio-v87 .ld-dimensions-modal{left:282px;width:min(350px,calc(100vw - 294px))}
}
@media(max-width:760px){
  .image-studio-v87 .ld-dimensions-modal{top:74px;right:12px;bottom:12px;left:12px;width:auto}
  .image-studio-v87 .ld-dimensions-dialog{width:100%;height:100%}
}
/* v140 - Model picker opens beside the settings sidebar without page dimming */
.image-studio-v87 .ld-model-modal{
  inset:auto;
  top:70px;
  right:auto;
  bottom:12px;
  left:320px;
  width:min(560px,calc(100vw - 332px));
  height:auto;
  padding:0;
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  pointer-events:none;
}
.image-studio-v87 .ld-model-modal.open{display:block;padding:0}
.image-studio-v87 .ld-model-dialog{
  width:100%;
  height:100%;
  box-sizing:border-box;
  pointer-events:auto;
  box-shadow:0 22px 70px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.035);
}
body.image-studio-v87.model-picker-open{overflow:auto}
@media(max-width:1100px) and (min-width:761px){
  .image-studio-v87 .ld-model-modal{left:282px;width:min(520px,calc(100vw - 294px))}
}
@media(max-width:760px){
  .image-studio-v87 .ld-model-modal{top:74px;right:12px;bottom:12px;left:12px;width:auto}
  .image-studio-v87 .ld-model-dialog{width:100%;height:100%}
}
/* v141 - Image prompt grows downward as the prompt wraps */
.create-v15 .ld-create-inputbar{align-items:start;transition:min-height .18s ease}
.create-v15 .ld-create-inputbar>textarea#promptInput{
  width:100%;
  min-width:0;
  height:40px;
  min-height:40px;
  max-height:112px;
  box-sizing:border-box;
  padding:10px 6px;
  border:0;
  outline:0;
  resize:none;
  overflow-y:hidden;
  background:transparent;
  color:#f4f4f6;
  font:inherit;
  font-size:13px;
  line-height:20px;
  scrollbar-width:thin;
  scrollbar-color:#494a50 transparent;
  transition:height .12s ease;
}
.create-v15 .ld-create-inputbar>textarea#promptInput::placeholder{color:#8d8d93}
.create-v15 .ld-create-inputbar>textarea#promptInput.prompt-scroll{overflow-y:auto}
.create-v15 .ld-create-inputbar>textarea#promptInput::-webkit-scrollbar{width:5px}
.create-v15 .ld-create-inputbar>textarea#promptInput::-webkit-scrollbar-track{background:transparent}
.create-v15 .ld-create-inputbar>textarea#promptInput::-webkit-scrollbar-thumb{border-radius:999px;background:#494a50}
.create-v15 .ld-create-reference-button,
.create-v15 .ld-create-enhance,
.create-v15 .ld-create-generate{margin-top:0}
/* v142 - keep the information column fixed at the right for one-image cards */
.create-v15 .ld-create-pending-job-group.output-count-1,
.create-v15 .ld-completed-generation-group.output-count-1{
  grid-template-columns:minmax(0,1fr) clamp(220px,17vw,270px)!important;
}
.create-v15 .ld-create-pending-job-group.output-count-1 .ld-pending-media-grid,
.create-v15 .ld-completed-generation-group.output-count-1 .ld-completed-media-grid{
  width:clamp(230px,28vw,330px);
  max-width:100%;
  justify-self:start;
}
.create-v15 .ld-completed-generation-group.output-count-1 .ld-completed-summary,
.create-v15 .ld-create-pending-job-group.output-count-1 .ld-pending-info{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
@media(max-width:900px){
  .create-v15 .ld-create-pending-job-group.output-count-1,
  .create-v15 .ld-completed-generation-group.output-count-1{grid-template-columns:1fr!important}
  .create-v15 .ld-create-pending-job-group.output-count-1 .ld-pending-media-grid,
  .create-v15 .ld-completed-generation-group.output-count-1 .ld-completed-media-grid{width:100%}
}
/* v144 - unified Image / Video settings inside AI Creation */
.create-v15 .ld-image-settings-panel,
.create-v15 .ld-video-settings-panel{min-height:100%;display:flex;flex-direction:column;gap:10px}
.create-v15 .ld-image-settings-panel[hidden],
.create-v15 .ld-video-settings-panel[hidden]{display:none!important}
.create-v15 .ld-video-model-wrap{position:relative}
.create-v15 .ld-video-model-art{background:radial-gradient(circle at 30% 25%,#27b8ff,transparent 34%),linear-gradient(145deg,#09233d,#117dcc 55%,#5c44ec)}
.create-v15 .ld-create-video-model-menu{position:absolute;z-index:60;top:calc(100% + 6px);left:0;right:0;padding:7px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#191919;box-shadow:0 18px 46px rgba(0,0,0,.62)}
.create-v15 .ld-create-video-model-menu[hidden]{display:none}
.create-v15 .ld-create-video-model-menu button{width:100%;min-height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border:1px solid transparent;border-radius:9px;background:#242424;color:#eee;text-align:left;font:inherit;font-size:12px;cursor:pointer}
.create-v15 .ld-create-video-model-menu button.selected{border-color:#705cff;background:#29243b}
.create-v15 .ld-video-style-section header{display:flex;align-items:center;justify-content:space-between}
.create-v15 .ld-video-style-section header h3{margin:0}
.create-v15 .ld-video-style-section header button{border:0;background:transparent;color:#777;font:inherit;font-size:10px;cursor:pointer}
.create-v15 .ld-create-video-style{width:100%;min-height:44px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;padding:0;border:1px solid transparent;border-radius:9px;background:#2a2a2a;color:#ddd;text-align:left;cursor:pointer}
.create-v15 .ld-create-video-style>i{height:100%;display:grid;place-items:center;border-radius:9px 0 0 9px;background:#3a3a3a;font-size:17px;font-style:normal}
.create-v15 .ld-create-video-style>span{display:grid;padding:0 10px}.create-v15 .ld-create-video-style small{color:#9d9da3;font-size:10px}.create-v15 .ld-create-video-style b{font-size:11px}
.create-v15 .ld-create-video-style.active{border-color:#715cff;background:#302b43}.create-v15 .ld-create-video-style.active>i{background:#4a416f;color:#fff}
.create-v15 .ld-create-video-segment{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.create-v15 .ld-create-video-segment button,
.create-v15 .ld-create-video-quality button{min-height:32px;border:1px solid transparent;border-radius:8px;background:#2a2a2a;color:#d0d0d4;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.create-v15 .ld-create-video-segment button.selected,
.create-v15 .ld-create-video-quality button.selected{border-color:#725cff;background:#302b43;color:#fff}
.create-v15 .ld-create-video-ratios{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.create-v15 .ld-create-video-ratios button{min-height:66px;display:grid;place-items:center;align-content:center;gap:6px;border:1px solid transparent;border-radius:9px;background:#292929;color:#96969c;cursor:pointer}
.create-v15 .ld-create-video-ratios button.selected{border-color:#725cff;background:#302b43;color:#fff}
.create-v15 .ld-create-video-ratios i{display:block;border:1px solid currentColor}.create-v15 .ld-create-video-ratios i.square{width:20px;height:20px}.create-v15 .ld-create-video-ratios i.wide{width:25px;height:15px}.create-v15 .ld-create-video-ratios i.tall{width:13px;height:24px}
.create-v15 .ld-create-video-ratios b{font-size:10px}.create-v15 .ld-create-video-quality{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.create-v15 .ld-create-video-quality button{min-height:42px;display:grid;place-items:center;align-content:center}.create-v15 .ld-create-video-quality b,.create-v15 .ld-create-video-quality small{display:block}.create-v15 .ld-create-video-quality small{margin-top:2px;color:#aaa;font-size:9px}
.create-v15 .ld-video-collection-note{margin:0;color:#96969d;font-size:10px;line-height:1.45}
.create-v15.creation-mode-video .ld-create-reference-button{opacity:.55}
.create-v15.creation-mode-video .ld-create-inputbar>textarea#promptInput::placeholder{color:#999}
/* v150 - Model category filtering must override card layout display. */
.ld-model-card[hidden]{display:none!important}

/* v154 - requested aspect ratio in generation cards */
.create-v15 .ld-completed-generation-group .ld-completed-media-grid,.create-v15 .ld-create-pending-job-group .ld-pending-media-grid{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:var(--generation-group-aspect,1 / 1);align-self:start}
.create-v15 .ld-completed-generation-group .ld-completed-media-item,.create-v15 .ld-create-pending-job-group .ld-pending-slot{aspect-ratio:var(--generation-aspect,1 / 1)}
.create-v15 .ld-completed-generation-group .ld-completed-media-item img{width:100%;height:100%;object-fit:cover}
.create-v15 .ld-completed-generation-group.output-count-1 .ld-completed-media-grid,.create-v15 .ld-create-pending-job-group.output-count-1 .ld-pending-media-grid{width:clamp(230px,28vw,430px)!important;max-width:100%}
@media(max-width:900px){.create-v15 .ld-completed-generation-group .ld-completed-media-grid,.create-v15 .ld-create-pending-job-group .ld-pending-media-grid{height:auto!important;min-height:0!important}.create-v15 .ld-completed-generation-group.output-count-1 .ld-completed-media-grid,.create-v15 .ld-create-pending-job-group.output-count-1 .ld-pending-media-grid{width:min(100%,430px)!important}}

/* v155 - let the media container control ratio; fill it without side gaps. */
.create-v15 .ld-completed-generation-group .ld-completed-media-item,.create-v15 .ld-create-pending-job-group .ld-pending-slot{width:100%!important;height:100%!important;aspect-ratio:auto!important;align-self:stretch;justify-self:stretch}
.create-v15 .ld-completed-generation-group.output-count-1 .ld-completed-media-item,.create-v15 .ld-create-pending-job-group.output-count-1 .ld-pending-slot{grid-column:1!important;grid-row:1!important}

/* v156 - preserve the complete generated image without cropping. */
.create-v15 .ld-completed-generation-group .ld-completed-media-item img{object-fit:contain!important;object-position:center!important;background:#0b0b0c}

/* v163 - reference-matched futuristic hero wordmark */
.home-v15 .ld-hero-title .ld-futuristic-wordmark{
  display:block;
  width:min(1120px,94vw);
  aspect-ratio:6.7/1;
  margin:0 auto;
  overflow:hidden;
  color:transparent;
  font-size:0;
  line-height:0;
  background-image:url('/assets/images/hero-title-pink-neon.png?v=164');
  background-repeat:no-repeat;
  background-position:center 50%;
  background-size:100% auto;
  mix-blend-mode:screen;
  filter:drop-shadow(0 0 12px rgba(255,74,223,.34));
  text-shadow:none;
  animation:none;
}
@media(max-width:700px){
  .home-v15 .ld-hero-title .ld-futuristic-wordmark{
    width:min(96vw,680px);
    aspect-ratio:5.8/1;
    background-size:114% auto;
  }
}
/* v165 - centered responsive transparent hero wordmark */
.home-v15 .ld-hero-title{
  width:100%;
  max-width:none;
  display:flex;
  justify-content:center;
  align-items:center;
}
.home-v15 .ld-hero-title .ld-futuristic-wordmark{
  display:block;
  width:min(1180px,88vw);
  max-width:100%;
  aspect-ratio:8491/788;
  margin:0 auto;
  background-image:url('/assets/images/hero-title-centered.png?v=165');
  background-repeat:no-repeat;
  background-position:center center;
  background-size:contain;
  mix-blend-mode:normal;
  filter:drop-shadow(0 0 9px rgba(255,255,255,.12));
}
@media(max-width:700px){
  .home-v15 .ld-hero-title .ld-futuristic-wordmark{
    width:94vw;
    aspect-ratio:8491/788;
    background-size:contain;
  }
}
/* v166 - slightly smaller centered hero wordmark */
.home-v15 .ld-hero-title .ld-futuristic-wordmark{
  width:min(980px,80vw);
}
@media(max-width:700px){
  .home-v15 .ld-hero-title .ld-futuristic-wordmark{
    width:88vw;
  }
}
/* v199 - Nono Banana model cover artwork */
.ld-model-thumb.ld-model-cover{
  overflow:hidden;
  padding:0;
  background:#09090d;
}
.ld-model-thumb.ld-model-cover img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}
.ld-model-card.selected .ld-model-cover{
  box-shadow:0 0 0 1px rgba(117,95,255,.92),0 0 22px rgba(117,95,255,.28);
}

/* v203 - selected model cover thumbnail */
.create-v15 .ld-create-control-icon.ld-selected-model-cover{
  overflow:hidden;
  padding:0;
  background:#09090d;
}
.create-v15 .ld-create-control-icon.ld-selected-model-cover img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}
/* v204 - hero alpha dream image wordmark */
.home-v15 .ld-hero-title{
  width:min(92vw,1120px);
  margin:0 auto 18px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.home-v15 .ld-hero-title .ld-hero-wordmark-img{
  display:block;
  width:clamp(280px,58vw,980px);
  max-width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 18px 45px rgba(0,0,0,.42));
  opacity:.96;
  user-select:none;
  pointer-events:none;
}
.home-v15 .ld-hero-title h1.ld-futuristic-wordmark{
  display:none;
}
@media (max-width:900px){
  .home-v15 .ld-hero-title{width:min(94vw,760px);margin-bottom:14px}
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:clamp(250px,76vw,680px)}
}
@media (max-width:520px){
  .home-v15 .ld-hero-title{width:96vw;margin-bottom:12px}
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:clamp(220px,88vw,430px);filter:drop-shadow(0 12px 28px rgba(0,0,0,.38))}
}
/* v205 - hero wordmark prompt spacing */
.home-v15 .ld-hero-content{
  justify-content:center;
  padding-top:38px;
  padding-bottom:42px;
  gap:14px;
}
.home-v15 .ld-hero-title{
  margin:0 auto 8px;
  transform:translateY(-12px);
}
.home-v15 .ld-hero-title .ld-hero-wordmark-img{
  width:clamp(300px,44vw,780px);
}
.home-v15 .ld-prompt-wrap{
  margin-top:0;
  transform:translateY(-4px);
}
@media (max-width:900px){
  .home-v15 .ld-hero-content{padding-top:34px;padding-bottom:34px;gap:12px}
  .home-v15 .ld-hero-title{margin-bottom:6px;transform:translateY(-8px)}
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:clamp(260px,68vw,620px)}
  .home-v15 .ld-prompt-wrap{transform:translateY(-2px)}
}
@media (max-width:520px){
  .home-v15 .ld-hero-content{padding-top:30px;padding-bottom:30px;gap:10px}
  .home-v15 .ld-hero-title{margin-bottom:4px;transform:translateY(-4px)}
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:clamp(220px,82vw,390px)}
  .home-v15 .ld-prompt-wrap{width:min(94vw,620px);transform:none}
}
/* v206 - stronger hero vertical balance */
.home-v15 .ld-hero-content{
  justify-content:flex-start !important;
  padding-top:clamp(118px,15vh,168px) !important;
  padding-bottom:34px !important;
  gap:0 !important;
}
.home-v15 .ld-hero-title{
  width:min(94vw,1220px) !important;
  margin:0 auto 22px !important;
  transform:none !important;
}
.home-v15 .ld-hero-title .ld-hero-wordmark-img{
  width:clamp(420px,55vw,980px) !important;
  max-height:150px !important;
  object-fit:contain !important;
}
.home-v15 .ld-prompt-wrap{
  margin-top:0 !important;
  transform:none !important;
  width:min(78vw,1040px) !important;
}
@media (max-width:900px){
  .home-v15 .ld-hero-content{
    padding-top:clamp(92px,13vh,130px) !important;
    padding-bottom:30px !important;
  }
  .home-v15 .ld-hero-title{margin-bottom:18px !important;width:min(94vw,760px) !important}
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:clamp(330px,78vw,720px) !important;max-height:120px !important}
  .home-v15 .ld-prompt-wrap{width:min(90vw,860px) !important}
}
@media (max-width:520px){
  .home-v15 .ld-hero-content{
    padding-top:78px !important;
    padding-bottom:26px !important;
  }
  .home-v15 .ld-hero-title{margin-bottom:14px !important;width:96vw !important}
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:min(92vw,440px) !important;max-height:90px !important}
  .home-v15 .ld-prompt-wrap{width:94vw !important}
}
/* v207 - cropped hero wordmark scale */
.home-v15 .ld-hero-title{
  width:min(96vw,1320px) !important;
  margin:0 auto 18px !important;
}
.home-v15 .ld-hero-title .ld-hero-wordmark-img{
  width:clamp(620px,66vw,1180px) !important;
  max-height:210px !important;
  object-fit:contain !important;
}
.home-v15 .ld-prompt-wrap{
  margin-top:-4px !important;
}
@media (max-width:900px){
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:clamp(420px,88vw,820px) !important;max-height:170px !important}
  .home-v15 .ld-hero-title{margin-bottom:14px !important}
}
@media (max-width:520px){
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:96vw !important;max-height:118px !important}
  .home-v15 .ld-hero-title{margin-bottom:12px !important}
  .home-v15 .ld-prompt-wrap{margin-top:0 !important}
}
/* v208 - tight alpha dream wordmark */
.home-v15 .ld-hero-title{
  width:min(98vw,1380px) !important;
  margin:0 auto 22px !important;
}
.home-v15 .ld-hero-title .ld-hero-wordmark-img{
  width:clamp(760px,68vw,1240px) !important;
  max-height:230px !important;
  object-fit:contain !important;
  opacity:.98 !important;
}
.home-v15 .ld-hero-content{
  padding-top:clamp(108px,14vh,150px) !important;
}
.home-v15 .ld-prompt-wrap{
  margin-top:-2px !important;
}
@media (max-width:900px){
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:94vw !important;max-height:150px !important}
  .home-v15 .ld-hero-content{padding-top:clamp(86px,12vh,118px) !important}
}
@media (max-width:520px){
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:96vw !important;max-height:92px !important}
  .home-v15 .ld-hero-title{margin-bottom:14px !important}
  .home-v15 .ld-hero-content{padding-top:72px !important}
}
/* v209 - slightly smaller alpha dream wordmark */
.home-v15 .ld-hero-title .ld-hero-wordmark-img{
  width:clamp(700px,61vw,1120px) !important;
  max-height:205px !important;
}
@media (max-width:900px){
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:90vw !important;max-height:142px !important}
}
@media (max-width:520px){
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:92vw !important;max-height:86px !important}
}
/* v212 - futuristic prompt neon runners */
@keyframes ldPromptTechPulse{
  0%,100%{opacity:.82;filter:drop-shadow(0 0 8px rgba(218,241,255,.38)) drop-shadow(0 0 20px rgba(98,185,255,.18))}
  50%{opacity:1;filter:drop-shadow(0 0 12px rgba(235,249,255,.58)) drop-shadow(0 0 28px rgba(108,196,255,.32))}
}
.home-v15 .ld-prompt-bar{
  border-color:rgba(190,218,255,.18)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.38),inset 0 0 0 1px rgba(255,255,255,.045),0 0 28px rgba(88,160,255,.08)!important;
}
.home-v15 .ld-prompt-snake{
  inset:-5px!important;
  width:calc(100% + 10px)!important;
  height:calc(100% + 10px)!important;
  mix-blend-mode:screen!important;
  opacity:1!important;
  filter:drop-shadow(0 0 8px rgba(218,241,255,.38)) drop-shadow(0 0 20px rgba(98,185,255,.18))!important;
  animation:ldPromptTechPulse 4.8s ease-in-out infinite!important;
}
.home-v15 .ld-prompt-snake rect{
  x:5px!important;y:5px!important;width:calc(100% - 10px)!important;height:calc(100% - 10px)!important;
  rx:23px!important;ry:23px!important;
  stroke-linecap:round!important;
  vector-effect:non-scaling-stroke!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-glow{
  stroke:rgba(108,196,255,.70)!important;
  stroke-width:13px!important;
  stroke-dasharray:18 82!important;
  opacity:.62!important;
  filter:blur(7px)!important;
  animation:ldPromptLightGlide 18s linear infinite!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-glow-b{animation-delay:-9s!important;stroke:rgba(232,246,255,.58)!important}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a,
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{
  stroke:rgba(246,253,255,.92)!important;
  stroke-width:1.22px!important;
  stroke-dasharray:16 84!important;
  opacity:.9!important;
  filter:blur(.18px) drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 0 8px rgba(123,206,255,.72)) drop-shadow(0 0 16px rgba(78,145,255,.28))!important;
  animation:ldPromptLightGlide 18s linear infinite!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{animation-delay:-9s!important;stroke:rgba(204,236,255,.88)!important}
.home-v15 .ld-prompt-bar:focus-within{
  border-color:rgba(210,235,255,.24)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.42),inset 0 0 0 1px rgba(255,255,255,.065),0 0 34px rgba(95,180,255,.13)!important;
}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-glow{stroke-width:15px!important;opacity:.78!important;filter:blur(8.5px)!important}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-a,
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-b{stroke-width:1.38px!important;opacity:1!important}
@media(max-width:760px){
  .home-v15 .ld-prompt-snake{inset:-4px!important;width:calc(100% + 8px)!important;height:calc(100% + 8px)!important}
  .home-v15 .ld-prompt-snake rect{x:4px!important;y:4px!important;width:calc(100% - 8px)!important;height:calc(100% - 8px)!important;rx:20px!important;ry:20px!important}
  .home-v15 .ld-prompt-snake .ld-prompt-glow{stroke-width:10px!important;filter:blur(6px)!important}
}
/* v213 - premium cyber energy prompt border */
@keyframes ldPromptCyberRun{
  from{stroke-dashoffset:0}
  to{stroke-dashoffset:-100}
}
@keyframes ldPromptCyberBreath{
  0%,100%{opacity:.78;filter:drop-shadow(0 0 8px rgba(168,221,255,.28)) drop-shadow(0 0 22px rgba(80,170,255,.14))}
  45%{opacity:1;filter:drop-shadow(0 0 14px rgba(232,250,255,.62)) drop-shadow(0 0 32px rgba(104,205,255,.28)) drop-shadow(0 0 46px rgba(130,96,255,.16))}
}
.home-v15 .ld-prompt-bar{
  border:1px solid rgba(210,232,255,.145)!important;
  background:linear-gradient(90deg,rgba(10,12,17,.84),rgba(16,18,24,.72),rgba(10,12,17,.84))!important;
  box-shadow:0 24px 70px rgba(0,0,0,.44),inset 0 0 0 1px rgba(255,255,255,.035),inset 0 0 26px rgba(110,180,255,.035),0 0 34px rgba(80,170,255,.075)!important;
}
.home-v15 .ld-prompt-bar::after{
  content:""!important;
  position:absolute!important;
  inset:1px!important;
  border-radius:21px!important;
  pointer-events:none!important;
  background:linear-gradient(105deg,transparent 0%,rgba(120,210,255,.035) 38%,rgba(255,255,255,.075) 50%,rgba(135,92,255,.035) 62%,transparent 100%)!important;
  opacity:.55!important;
  mix-blend-mode:screen!important;
}
.home-v15 .ld-prompt-snake{
  inset:-8px!important;
  width:calc(100% + 16px)!important;
  height:calc(100% + 16px)!important;
  opacity:1!important;
  mix-blend-mode:screen!important;
  filter:drop-shadow(0 0 9px rgba(180,226,255,.34)) drop-shadow(0 0 25px rgba(78,177,255,.18))!important;
  animation:ldPromptCyberBreath 5.6s ease-in-out infinite!important;
}
.home-v15 .ld-prompt-snake rect{
  x:8px!important;y:8px!important;width:calc(100% - 16px)!important;height:calc(100% - 16px)!important;
  rx:24px!important;ry:24px!important;
  fill:none!important;
  stroke-linecap:round!important;
  vector-effect:non-scaling-stroke!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-glow{
  stroke-width:18px!important;
  stroke-dasharray:24 76!important;
  opacity:.42!important;
  filter:blur(11px)!important;
  animation:ldPromptCyberRun 22s linear infinite!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-glow-a{stroke:rgba(72,190,255,.78)!important}
.home-v15 .ld-prompt-snake .ld-prompt-glow-b{stroke:rgba(166,118,255,.46)!important;animation-delay:-11s!important}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a,
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{
  stroke-width:1.05px!important;
  stroke-dasharray:20 80!important;
  opacity:.96!important;
  filter:blur(.08px) drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 0 7px rgba(110,215,255,.76)) drop-shadow(0 0 18px rgba(98,132,255,.23))!important;
  animation:ldPromptCyberRun 22s linear infinite!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a{stroke:rgba(250,254,255,.96)!important}
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{stroke:rgba(142,225,255,.74)!important;stroke-width:1.35px!important;stroke-dasharray:9 91!important;animation-delay:-11s!important;opacity:.7!important;filter:blur(1.1px) drop-shadow(0 0 13px rgba(86,190,255,.42))!important}
.home-v15 .ld-prompt-bar:focus-within{
  border-color:rgba(220,242,255,.26)!important;
  box-shadow:0 26px 78px rgba(0,0,0,.46),inset 0 0 0 1px rgba(255,255,255,.06),inset 0 0 34px rgba(110,190,255,.055),0 0 42px rgba(92,190,255,.12)!important;
}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-glow{opacity:.58!important;stroke-width:20px!important;filter:blur(12px)!important;animation-duration:18s!important}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-a{stroke-width:1.2px!important;animation-duration:18s!important}
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-b{stroke-width:1.55px!important;animation-duration:18s!important}
@media(max-width:760px){
  .home-v15 .ld-prompt-snake{inset:-6px!important;width:calc(100% + 12px)!important;height:calc(100% + 12px)!important}
  .home-v15 .ld-prompt-snake rect{x:6px!important;y:6px!important;width:calc(100% - 12px)!important;height:calc(100% - 12px)!important;rx:21px!important;ry:21px!important}
  .home-v15 .ld-prompt-snake .ld-prompt-glow{stroke-width:13px!important;filter:blur(8px)!important;opacity:.42!important}
  .home-v15 .ld-prompt-snake .ld-prompt-snake-a{stroke-width:1px!important}
  .home-v15 .ld-prompt-snake .ld-prompt-snake-b{stroke-width:1.2px!important}
}
@media(prefers-reduced-motion:reduce){
  .home-v15 .ld-prompt-snake,.home-v15 .ld-prompt-snake rect{animation:none!important}
}
/* v214 - minimal premium laboratory prompt border */
@keyframes ldPromptDataDrift{from{transform:translateX(-28%);opacity:.18}42%{opacity:.62}to{transform:translateX(28%);opacity:.18}}
@keyframes ldPromptScanLine{0%{transform:translateX(-120%);opacity:0}18%{opacity:.72}54%{opacity:.32}100%{transform:translateX(120%);opacity:0}}
@keyframes ldPromptNodePulse{0%,100%{opacity:.28;transform:scale(.88)}50%{opacity:.82;transform:scale(1.04)}}
.home-v15 .ld-prompt-bar{
  isolation:isolate!important;
  overflow:visible!important;
  border:1px solid rgba(196,220,242,.13)!important;
  background:linear-gradient(180deg,rgba(18,21,28,.78),rgba(9,11,16,.82))!important;
  backdrop-filter:blur(18px) saturate(128%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(128%)!important;
  box-shadow:0 22px 68px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.055),inset 0 -18px 30px rgba(0,0,0,.24),inset 0 0 34px rgba(110,165,220,.035)!important;
}
.home-v15 .ld-prompt-snake{
  inset:-9px!important;
  width:calc(100% + 18px)!important;
  height:calc(100% + 18px)!important;
  opacity:1!important;
  mix-blend-mode:screen!important;
  filter:none!important;
  animation:none!important;
}
.home-v15 .ld-prompt-snake rect{
  x:9px!important;y:9px!important;width:calc(100% - 18px)!important;height:calc(100% - 18px)!important;
  rx:23px!important;ry:23px!important;
  fill:none!important;
  vector-effect:non-scaling-stroke!important;
  stroke-linecap:round!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-glow{
  stroke-width:8px!important;
  stroke-dasharray:18 12 6 20 28 16!important;
  opacity:.18!important;
  filter:blur(7px)!important;
  animation:none!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-glow-a{stroke:rgba(82,196,255,.52)!important;stroke-dashoffset:10!important}
.home-v15 .ld-prompt-snake .ld-prompt-glow-b{stroke:rgba(138,105,255,.34)!important;stroke-dashoffset:58!important}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a{
  stroke:rgba(232,250,255,.88)!important;
  stroke-width:1px!important;
  stroke-dasharray:32 18 14 34 6 18!important;
  stroke-dashoffset:6!important;
  opacity:.78!important;
  filter:drop-shadow(0 0 2px rgba(236,250,255,.46)) drop-shadow(0 0 7px rgba(99,205,255,.28))!important;
  animation:none!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{
  stroke:rgba(145,222,255,.48)!important;
  stroke-width:1px!important;
  stroke-dasharray:10 34 4 14 22 36!important;
  stroke-dashoffset:47!important;
  opacity:.52!important;
  filter:drop-shadow(0 0 8px rgba(116,204,255,.18))!important;
  animation:none!important;
}
.home-v15 .ld-prompt-bar::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:7!important;
  pointer-events:none!important;
  left:22px!important;right:22px!important;top:-2px!important;height:1px!important;
  border:0!important;border-radius:999px!important;padding:0!important;
  background:linear-gradient(90deg,transparent 0%,rgba(210,245,255,.18) 9%,rgba(244,253,255,.92) 21%,rgba(92,204,255,.38) 34%,transparent 45%,rgba(148,114,255,.22) 54%,rgba(236,250,255,.74) 68%,rgba(100,205,255,.2) 82%,transparent 100%)!important;
  box-shadow:0 0 5px rgba(222,248,255,.34),0 0 14px rgba(84,196,255,.18),0 0 24px rgba(138,106,255,.08)!important;
  -webkit-mask:none!important;mask:none!important;
  animation:none!important;
  opacity:.82!important;
}
.home-v15 .ld-prompt-bar::after{
  content:""!important;
  position:absolute!important;
  z-index:7!important;
  pointer-events:none!important;
  left:34px!important;right:42px!important;bottom:-2px!important;height:1px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,transparent 0%,rgba(128,220,255,.16) 8%,rgba(238,252,255,.58) 17%,transparent 25%,transparent 39%,rgba(120,209,255,.34) 47%,rgba(164,120,255,.18) 54%,transparent 62%,rgba(239,252,255,.66) 73%,rgba(102,204,255,.18) 82%,transparent 100%)!important;
  box-shadow:0 0 5px rgba(118,210,255,.25),0 0 14px rgba(126,100,255,.08)!important;
  opacity:.66!important;
  mix-blend-mode:screen!important;
}
.home-v15 .ld-prompt-wrap::before,
.home-v15 .ld-prompt-wrap::after{
  content:""!important;
  position:absolute!important;
  z-index:9!important;
  pointer-events:none!important;
  width:4px!important;height:4px!important;
  border-radius:50%!important;
  background:rgba(232,250,255,.88)!important;
  box-shadow:0 0 6px rgba(230,250,255,.7),0 0 14px rgba(72,200,255,.28)!important;
  animation:ldPromptNodePulse 4.6s ease-in-out infinite!important;
}
.home-v15 .ld-prompt-wrap::before{left:34px!important;top:calc(50% - 33px)!important}
.home-v15 .ld-prompt-wrap::after{right:38px!important;bottom:calc(50% - 33px)!important;animation-delay:-2.2s!important;background:rgba(168,225,255,.78)!important}
.home-v15 .ld-prompt-bar .ld-prompt-input-wrap::before{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  pointer-events:none!important;
  inset:-1px 84px -1px 58px!important;
  background:repeating-linear-gradient(90deg,transparent 0 38px,rgba(124,210,255,.055) 39px,transparent 41px),linear-gradient(90deg,transparent,rgba(230,250,255,.14),rgba(120,210,255,.08),transparent)!important;
  opacity:.22!important;
  transform:translateX(-28%)!important;
  animation:ldPromptDataDrift 13s ease-in-out infinite alternate!important;
  mask-image:linear-gradient(90deg,transparent,black 20%,black 78%,transparent)!important;
  -webkit-mask-image:linear-gradient(90deg,transparent,black 20%,black 78%,transparent)!important;
}
.home-v15 .ld-prompt-bar:hover .ld-prompt-input-wrap::after,
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-input-wrap::after{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  top:0!important;bottom:0!important;width:34%!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,transparent,rgba(235,251,255,.10),rgba(90,200,255,.16),transparent)!important;
  transform:translateX(-120%)!important;
  animation:ldPromptScanLine 4.8s ease-in-out infinite!important;
  mix-blend-mode:screen!important;
}
.home-v15 .ld-prompt-bar:hover::before,
.home-v15 .ld-prompt-bar:focus-within::before{opacity:.94!important;box-shadow:0 0 6px rgba(232,250,255,.46),0 0 18px rgba(92,205,255,.26),0 0 28px rgba(145,104,255,.1)!important}
.home-v15 .ld-prompt-bar:hover::after,
.home-v15 .ld-prompt-bar:focus-within::after{opacity:.8!important}
@media(max-width:760px){
  .home-v15 .ld-prompt-snake{inset:-6px!important;width:calc(100% + 12px)!important;height:calc(100% + 12px)!important}
  .home-v15 .ld-prompt-snake rect{x:6px!important;y:6px!important;width:calc(100% - 12px)!important;height:calc(100% - 12px)!important;rx:20px!important;ry:20px!important}
  .home-v15 .ld-prompt-snake .ld-prompt-glow{stroke-width:6px!important;opacity:.14!important;filter:blur(6px)!important}
  .home-v15 .ld-prompt-snake .ld-prompt-snake-b{display:none!important}
  .home-v15 .ld-prompt-wrap::before,.home-v15 .ld-prompt-wrap::after{display:none!important}
  .home-v15 .ld-prompt-bar .ld-prompt-input-wrap::before{display:none!important}
  .home-v15 .ld-prompt-bar::before{left:18px!important;right:18px!important;opacity:.72!important}
  .home-v15 .ld-prompt-bar::after{left:28px!important;right:30px!important;opacity:.48!important}
}
@media(prefers-reduced-motion:reduce){
  .home-v15 .ld-prompt-wrap::before,.home-v15 .ld-prompt-wrap::after,.home-v15 .ld-prompt-bar .ld-prompt-input-wrap::before,.home-v15 .ld-prompt-bar .ld-prompt-input-wrap::after{animation:none!important}
}
/* v215 - restore subtle motion for premium prompt neon */
@keyframes ldPromptPremiumStrokeFlow{
  from{stroke-dashoffset:0}
  to{stroke-dashoffset:-120}
}
@keyframes ldPromptPremiumGlowFlow{
  from{stroke-dashoffset:44;opacity:.14}
  45%{opacity:.28}
  to{stroke-dashoffset:-76;opacity:.14}
}
@keyframes ldPromptMicroDataFlow{
  0%{transform:translate3d(-34%,0,0);opacity:.10}
  35%{opacity:.44}
  72%{opacity:.28}
  100%{transform:translate3d(34%,0,0);opacity:.10}
}
@keyframes ldPromptFocusSweep{
  0%{transform:translate3d(-130%,0,0);opacity:0}
  12%{opacity:.72}
  45%{opacity:.34}
  100%{transform:translate3d(130%,0,0);opacity:0}
}
.home-v15 .ld-prompt-bar,
.home-v15 .ld-prompt-bar .ld-prompt-input-wrap{position:relative!important}
.home-v15 .ld-prompt-snake .ld-prompt-glow-a{
  animation:ldPromptPremiumGlowFlow 19s linear infinite!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-glow-b{
  animation:ldPromptPremiumGlowFlow 24s linear infinite reverse!important;
  animation-delay:-7s!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-snake-a{
  animation:ldPromptPremiumStrokeFlow 18s linear infinite!important;
}
.home-v15 .ld-prompt-snake .ld-prompt-snake-b{
  animation:ldPromptPremiumStrokeFlow 26s linear infinite!important;
  animation-delay:-9s!important;
}
.home-v15 .ld-prompt-bar .ld-prompt-input-wrap::before{
  display:block!important;
  animation:ldPromptMicroDataFlow 10.5s ease-in-out infinite alternate!important;
  will-change:transform,opacity!important;
}
.home-v15 .ld-prompt-bar:hover .ld-prompt-input-wrap::after,
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-input-wrap::after{
  animation:ldPromptFocusSweep 3.8s cubic-bezier(.22,.72,.2,1) infinite!important;
  will-change:transform,opacity!important;
}
.home-v15 .ld-prompt-wrap::before,
.home-v15 .ld-prompt-wrap::after{will-change:transform,opacity!important}
.home-v15 .ld-prompt-bar:hover .ld-prompt-snake .ld-prompt-snake-a,
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-snake-a{animation-duration:15s!important}
.home-v15 .ld-prompt-bar:hover .ld-prompt-snake .ld-prompt-glow-a,
.home-v15 .ld-prompt-bar:focus-within .ld-prompt-snake .ld-prompt-glow-a{animation-duration:16s!important;opacity:.34!important}
@media(max-width:760px){
  .home-v15 .ld-prompt-bar .ld-prompt-input-wrap::before{display:none!important}
  .home-v15 .ld-prompt-snake .ld-prompt-glow-a{animation-duration:22s!important}
  .home-v15 .ld-prompt-snake .ld-prompt-snake-a{animation-duration:21s!important}
}
@media(prefers-reduced-motion:reduce){
  .home-v15 .ld-prompt-snake .ld-prompt-glow-a,
  .home-v15 .ld-prompt-snake .ld-prompt-glow-b,
  .home-v15 .ld-prompt-snake .ld-prompt-snake-a,
  .home-v15 .ld-prompt-snake .ld-prompt-snake-b,
  .home-v15 .ld-prompt-bar .ld-prompt-input-wrap::before,
  .home-v15 .ld-prompt-bar .ld-prompt-input-wrap::after{animation:none!important}
}
/* v216 - real moving premium energy rails for hero prompt */
@keyframes ldEnergyRailSlide{
  0%{transform:translate3d(-42%,0,0);opacity:.34}
  22%{opacity:.78}
  58%{opacity:.48}
  100%{transform:translate3d(42%,0,0);opacity:.34}
}
@keyframes ldEnergyPulseTravel{
  0%{transform:translate3d(-120%,0,0) scaleX(.55);opacity:0}
  14%{opacity:.9}
  48%{opacity:.46}
  100%{transform:translate3d(120%,0,0) scaleX(1.05);opacity:0}
}
@keyframes ldEnergyNodeBreathe{
  0%,100%{opacity:.36;transform:scale(.92)}
  50%{opacity:.92;transform:scale(1.12)}
}
.home-v15 .ld-prompt-bar{overflow:visible!important;isolation:isolate!important}
.home-v15 .ld-prompt-snake{display:none!important}
.home-v15 .ld-energy-line{
  position:absolute!important;
  left:28px!important;
  right:28px!important;
  height:12px!important;
  z-index:8!important;
  pointer-events:none!important;
  overflow:hidden!important;
  opacity:.96!important;
  mix-blend-mode:screen!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 9%,#000 91%,transparent 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,#000 9%,#000 91%,transparent 100%)!important;
}
.home-v15 .ld-energy-top{top:-7px!important}
.home-v15 .ld-energy-bottom{bottom:-7px!important;left:42px!important;right:54px!important;opacity:.78!important}
.home-v15 .ld-energy-line::before,
.home-v15 .ld-energy-line::after,
.home-v15 .ld-energy-line i,
.home-v15 .ld-energy-line b{
  content:""!important;
  position:absolute!important;
  left:-36%!important;
  width:172%!important;
  pointer-events:none!important;
  will-change:transform,opacity!important;
}
.home-v15 .ld-energy-line::before{
  top:5px!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent 0%,rgba(215,245,255,.18) 10%,rgba(246,253,255,.96) 20%,rgba(82,204,255,.18) 29%,transparent 38%,rgba(154,116,255,.22) 47%,rgba(240,252,255,.82) 62%,transparent 72%,rgba(120,220,255,.26) 83%,transparent 100%)!important;
  box-shadow:0 0 5px rgba(232,250,255,.42),0 0 14px rgba(80,205,255,.26),0 0 24px rgba(150,110,255,.12)!important;
  animation:ldEnergyRailSlide 12.5s cubic-bezier(.42,0,.25,1) infinite alternate!important;
}
.home-v15 .ld-energy-line::after{
  top:2px!important;
  height:7px!important;
  background:linear-gradient(90deg,transparent 0%,rgba(82,210,255,0) 18%,rgba(156,226,255,.34) 24%,rgba(246,253,255,.7) 27%,rgba(135,98,255,.26) 31%,transparent 39%,transparent 100%)!important;
  filter:blur(5px)!important;
  transform-origin:center!important;
  animation:ldEnergyPulseTravel 8.8s cubic-bezier(.25,.72,.2,1) infinite!important;
}
.home-v15 .ld-energy-line i{
  top:4px!important;
  height:3px!important;
  background:repeating-linear-gradient(90deg,transparent 0 46px,rgba(230,250,255,.42) 47px,rgba(230,250,255,.42) 50px,transparent 52px 82px,rgba(117,218,255,.2) 83px,transparent 86px)!important;
  opacity:.42!important;
  animation:ldEnergyRailSlide 18s linear infinite reverse!important;
}
.home-v15 .ld-energy-line b{
  top:1px!important;
  height:10px!important;
  background:radial-gradient(circle at 12% 50%,rgba(235,252,255,.86) 0 1px,transparent 3px),radial-gradient(circle at 74% 50%,rgba(119,216,255,.66) 0 1px,transparent 3px),radial-gradient(circle at 88% 50%,rgba(160,120,255,.48) 0 1px,transparent 3px)!important;
  animation:ldEnergyNodeBreathe 4.8s ease-in-out infinite!important;
}
.home-v15 .ld-energy-bottom::before{
  background:linear-gradient(90deg,transparent 0%,rgba(236,252,255,.58) 12%,transparent 20%,transparent 33%,rgba(96,205,255,.34) 42%,rgba(156,116,255,.18) 52%,transparent 58%,rgba(244,253,255,.68) 72%,transparent 82%,rgba(104,214,255,.18) 90%,transparent 100%)!important;
  animation-duration:15.5s!important;
}
.home-v15 .ld-energy-bottom::after{animation-delay:-3.6s!important;animation-duration:10.5s!important;opacity:.72!important}
.home-v15 .ld-prompt-bar:hover .ld-energy-line::after,
.home-v15 .ld-prompt-bar:focus-within .ld-energy-line::after{animation-duration:5.8s!important;opacity:.9!important}
@media(max-width:760px){
  .home-v15 .ld-energy-line{left:18px!important;right:18px!important;height:9px!important}
  .home-v15 .ld-energy-bottom{left:30px!important;right:34px!important}
  .home-v15 .ld-energy-line i,.home-v15 .ld-energy-line b{display:none!important}
  .home-v15 .ld-energy-line::after{filter:blur(4px)!important;opacity:.58!important}
}
@media(prefers-reduced-motion:reduce){
  .home-v15 .ld-energy-line::before,
  .home-v15 .ld-energy-line::after,
  .home-v15 .ld-energy-line i,
  .home-v15 .ld-energy-line b{animation:none!important}
}

/* v217 - slightly reduce Alpha Dream hero wordmark */
.home-v15 .ld-hero-title .ld-hero-wordmark-img{
  width:min(88vw,1050px)!important;
  max-height:185px!important;
}
@media(max-width:760px){
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:88vw!important;max-height:134px!important}
}
@media(max-width:440px){
  .home-v15 .ld-hero-title .ld-hero-wordmark-img{width:90vw!important;max-height:82px!important}
}
/* v218 - model based dynamic size row */
.create-v15 #sizeButtons.ld-model-size-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:6px;max-width:100%}
.create-v15 #sizeButtons.ld-model-size-row[hidden]{display:none!important}
.create-v15 #sizeButtons.ld-model-size-row button{min-height:26px;border:1px solid transparent;border-radius:7px;background:#292929;color:#d5d5da;font:700 7.5px/1 inherit;cursor:pointer;padding:3px 1px;text-align:center;letter-spacing:-.035em;white-space:normal;overflow:hidden;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease}
.create-v15 #sizeButtons.ld-model-size-row button:hover,.create-v15 #sizeButtons.ld-model-size-row button.selected{border-color:#7059ff;background:#2d2d32;color:#fff;box-shadow:0 0 0 1px rgba(112,89,255,.16) inset,0 0 7px rgba(112,89,255,.08)}
.create-v15 #sizeButtons.ld-model-size-row button br{display:block}
.create-v15 #sizeButtons.ld-model-size-row:has(button:only-child){grid-template-columns:1fr 1fr 1fr}
.create-v15 #sizeButtons.ld-model-size-row button:only-child{grid-column:1/2}
@media (max-width:720px){.create-v15 #sizeButtons.ld-model-size-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:6px;max-width:100%}.create-v15 #sizeButtons.ld-model-size-row button:only-child{grid-column:auto}}
/* v222 - force compact model size controls */
.create-v15 #imageSettingsPanel #sizeButtons.ld-model-size-row{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:4px!important;
  margin-top:5px!important;
}
.create-v15 #imageSettingsPanel #sizeButtons.ld-model-size-row[hidden]{display:none!important}
.create-v15 #imageSettingsPanel #sizeButtons.ld-model-size-row button{
  min-height:30px!important;
  height:30px!important;
  max-height:30px!important;
  padding:4px 2px!important;
  border-radius:6px!important;
  font-size:9px!important;
  line-height:1.05!important;
  font-weight:700!important;
  letter-spacing:-.025em!important;
  white-space:normal!important;
  overflow:hidden!important;
}
.create-v15 #imageSettingsPanel #sizeButtons.ld-model-size-row button br{display:block!important}
.create-v15 #imageSettingsPanel #sizeButtons.ld-model-size-row button:hover,
.create-v15 #imageSettingsPanel #sizeButtons.ld-model-size-row button.selected{
  border-color:#7059ff!important;
  box-shadow:0 0 0 1px rgba(112,89,255,.14) inset!important;
}


/* Progressive history loading */
.ld-history-load-more{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:178px;
  width:auto;
  max-width:calc(100% - 32px);
  min-height:38px;
  padding:0 22px;
  margin:22px auto 8px;
  border:1px solid rgba(154,137,255,.42);
  border-radius:999px;
  background:
    radial-gradient(circle at 50% 0%,rgba(116,96,255,.18),transparent 42%),
    linear-gradient(180deg,rgba(29,29,36,.84),rgba(12,12,17,.9));
  color:#f5f4ff;
  font-size:13px;
  line-height:1;
  font-weight:760;
  letter-spacing:.01em;
  text-shadow:0 1px 0 rgba(0,0,0,.45);
  box-shadow:
    0 14px 34px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.035) inset,
    0 0 22px rgba(117,91,255,.12);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.ld-history-load-more::after{
  content:'\2193';
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:999px;
  color:#cfc8ff;
  font-size:12px;
  font-weight:700;
  background:rgba(255,255,255,.055);
  box-shadow:0 0 12px rgba(125,99,255,.16) inset;
}
.ld-history-load-more:hover{
  transform:translateY(-1px);
  border-color:rgba(177,161,255,.72);
  background:
    radial-gradient(circle at 50% 0%,rgba(129,111,255,.25),transparent 46%),
    linear-gradient(180deg,rgba(38,38,48,.9),rgba(15,15,22,.94));
  box-shadow:
    0 18px 44px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 28px rgba(118,87,255,.2);
}
.ld-history-load-more:active{transform:translateY(0)}
.ld-history-load-more:disabled{opacity:.62;cursor:progress;transform:none}
.ld-history-load-more:disabled::after{content:'...'}
.ld-history-load-more[hidden]{display:none!important}
.create-v15 .ld-create-load-more{display:flex;margin:16px auto 42px}
.library-v17 .ld-library-load-more{display:flex;break-inside:avoid;grid-column:1/-1}
@media (max-width:640px){
  .ld-history-load-more{min-width:156px;min-height:36px;padding:0 18px;font-size:12px;margin-top:18px}
}
