
/* XEYLAAI / NOVA EDITION
   Complete visual identity overhaul. Functional DOM, form IDs, account,
   billing and generation handlers are intentionally unchanged.
   Obsidian · porcelain · electric citron · glacier · copper. */
:root {
  --gold:#d7ff62!important;--gold2:#f7ffe0!important;--gold3:#8ce8da!important;
  --ink:#f4f5ed!important;--ink2:#d1e0dd!important;--bg:#071116!important;
  --card:#122329!important;--soft:#192d30!important;--muted:#a7bfbd!important;
  --line:#365257!important;--shadow:0 18px 50px #01070d85!important;
  --xa-lime:#d7ff62;--xa-ivory:#eff3eb;--xa-ink:#091d22;--xa-glacier:#99dce5;
  --xa-copper:#ef926d;--xa-paper:#dfece4;
}
html{scroll-behavior:smooth}
body.xa-desktop{background:#071116!important;color:#ecf3ed!important;font-family:Inter,'Avenir Next',system-ui,-apple-system,sans-serif!important;letter-spacing:-.008em}
body.xa-desktop .app{background:transparent!important}
body.xa-desktop .panel{color:#e6f0e9!important}
body.xa-desktop .panel:not(#explore){
  --gold:#d7ff62;--gold2:#eff3eb;--gold3:#9cdbd9;--ink:#f2f6ed;--ink2:#e0ebdf;
  --muted:#a3bcb8;--line:#344d50;--rose-gold:#9cdbd9;--rose-metal:linear-gradient(120deg,#a5e3df,#e9f9e4,#6b999e);
}
body.xa-desktop .panel:not(#explore) :is(h2,h3,h4,h5,b,strong,label.field,.asset-eyebrow,.pack-kicker){color:#f2f7ef!important}
body.xa-desktop .panel:not(#explore) :is(p,small,.micro,.section-title p,.saved-info,.asset-meta,.calendar-caption){color:#a9c1bd!important}
body.xa-desktop .panel:not(#explore) :is(.card,.stat,.saved-item,.character-card,.episode-card,.scene-card,.calendar-card,.show-chip,.effect,.credit-pack,.empty-state,.empty-mini,.status-box,.studio-access,.asset-card){
 background:#112429!important;border-color:#38555b!important;color:#e9f4ee!important;box-shadow:none!important
}
body.xa-desktop .panel:not(#explore) :is(.pill,.context-card,.cloud-status,.halloween-brief){background:#172b2f!important;border-color:#46676b!important;color:#d4e6df!important;box-shadow:none!important}
body.xa-desktop .panel:not(#explore) :is(input[type=text],input[type=email],input[type=password],input[type=url],input[type=datetime-local],input[type=search],textarea,select){
 background:#071b20!important;border-color:#456165!important;color:#f5fbf6!important;border-radius:9px!important;box-shadow:none!important
}
body.xa-desktop .panel:not(#explore) :is(input,textarea)::placeholder{color:#9db5b0!important}
body.xa-desktop .panel:not(#explore) :is(textarea,input,select):focus{outline:2px solid #9cdece!important;outline-offset:2px;box-shadow:none!important}
body.xa-desktop .panel:not(#explore) :is(.btn.primary,.btn.pink,.credit-pack.featured .btn,.xeyla-topup-launch,.asset-view-btn.active){
 background:#d7ff62!important;background-image:none!important;border:1px solid #d7ff62!important;color:#10261f!important;box-shadow:none!important
}
body.xa-desktop .panel:not(#explore) :is(.btn.ghost,.asset-view-btn){background:#193337!important;color:#e0f3ee!important;border-color:#577476!important}
body.xa-desktop .panel:not(#explore) :is(.model.active,.show-chip.active){background:#23403f!important;border-color:#d7ff62!important;box-shadow:inset 3px 0 #d7ff62!important;color:#fff!important}
body.xa-desktop .panel:not(#explore) .progress>span{background:linear-gradient(90deg,#4abfc2,#d7ff62)!important}
body.xa-desktop .panel:not(#explore) button:focus-visible,body.xa-desktop .panel:not(#explore) a:focus-visible{outline:3px solid #d7ff62!important;outline-offset:3px!important}
::selection{background:#d7ff62;color:#0c1d21}

/* WORKSPACE SHELL — same architecture, entirely new finish */
body.xa-desktop .xa-sidebar{
 background:linear-gradient(165deg,#11262b 0,#07161c 68%,#08151a 100%)!important;
 border-right:1px solid #3b666342!important;box-shadow:inset -1px 0 #d7ff620f
}
body.xa-desktop .xa-sidelogo{border-color:#496267!important;padding-bottom:22px!important}
body.xa-desktop .xa-sidelogo strong{
 font-family:Inter,'Arial Black',system-ui,sans-serif!important;font-style:normal!important;font-weight:950!important;
 font-size:31px!important;letter-spacing:-.095em!important;background:none!important;color:#f0f7ee!important;
 -webkit-text-fill-color:#f0f7ee!important
}
body.xa-desktop .xa-sidelogo em{font-style:normal!important;-webkit-text-fill-color:#d7ff62!important;color:#d7ff62!important}
body.xa-desktop .xa-sidelogo small{color:#8baea9!important;letter-spacing:.19em!important;font-size:8px!important}
body.xa-desktop .xa-railcaption{color:#7ea4a1!important;letter-spacing:.18em!important;font-size:9px!important}
body.xa-desktop .xa-nav-sep{border-top:1px solid #2c4a4b!important}
body.xa-desktop .xa-nav-glyph{color:#91c5bd!important}
body.xa-desktop .xa-sidebar-nav .tab{color:#b6d0c9!important;border-color:transparent!important;border-radius:6px!important;font-weight:730!important;transition:background .16s,color .16s}
body.xa-desktop .xa-sidebar-nav .tab:hover{background:#214047!important;color:#fff!important;border-color:#426b6e!important}
body.xa-desktop .xa-sidebar-nav .tab.active{
 background:#d7ff62!important;color:#0e2424!important;border-color:#d7ff62!important;
 box-shadow:5px 0 0 #d7ff62!important;font-weight:850!important
}
body.xa-desktop .xa-sidebar-nav .tab.active .xa-nav-glyph{color:#173733!important}
body.xa-desktop .xa-sidebarbottom{background:#173233!important;border:1px solid #4a7570!important;border-radius:8px!important}
body.xa-desktop .xa-sidebarbottom b{font-family:Inter,system-ui,sans-serif!important;font-style:normal!important;color:#f7f7ed!important}
body.xa-desktop .xa-sidebarbottom p{color:#b1cfc7!important}
body.xa-desktop .xa-sidebarbottom button{background:#d7ff62!important;color:#0c2b26!important;border-radius:5px!important}
body.xa-desktop .app>header{
 background:#e8eee7!important;color:#081c24!important;border-bottom:1px solid #a8c0b9!important;
 box-shadow:0 5px 28px #00121933!important;backdrop-filter:blur(20px)
}
body.xa-desktop .xeyla-wordmark{
 background:none!important;background-image:none!important;color:#0a2228!important;-webkit-text-fill-color:#0a2228!important;
 text-shadow:none!important;filter:none!important;font-family:Inter,system-ui,sans-serif!important;
 font-style:normal!important;font-weight:950!important;letter-spacing:-.075em!important
}
body.xa-desktop .xeyla-wordmark em{color:#3c8c7c!important;-webkit-text-fill-color:#3c8c7c!important;text-shadow:none!important}
body.xa-desktop .xeyla-site-header .xeyla-search{background:#f7faf6!important;border:1px solid #aac2b7!important;border-radius:8px!important}
body.xa-desktop #exploreSearch{color:#203c3d!important;background:transparent!important}
body.xa-desktop #exploreSearch::placeholder{color:#748b87!important}
body.xa-desktop .xeyla-avatar{background:#102f36!important;border:1px solid #255b61!important;color:#f3ffef!important}
body.xa-desktop .xeyla-account-dropdown{background:#10262b!important;color:#f0f8f3!important;border-color:#4f7373!important}
body.xa-desktop .xeyla-account-dropdown small{color:#bbd4c8!important}
body.xa-desktop .founder-pill{background:#c9f89b!important;color:#11312e!important;border:1px solid #6ab98c!important}
body.xa-desktop .xeyla-top-nav .tab.active{color:#215a51!important}
body.xa-desktop .xeyla-top-nav .tab.active:after{background:#4f9182!important;box-shadow:none!important}

/* TYPE SYSTEM — no more ubiquitous glowing italic headline */
body.xa-desktop :is(.xa-section-kicker,.asset-eyebrow,.xv-head span,.xfmarket-eyebrow,.xa-kicker){font-family:Inter,system-ui,sans-serif!important;font-style:normal!important;letter-spacing:.19em!important;color:#9be5ca!important;font-size:10px!important;font-weight:850!important}
body.xa-desktop :is(.section-title h3,.xa-panel-inner h3,.xfmarket h2){font-family:Inter,system-ui,sans-serif!important;font-style:normal!important;font-weight:900!important;letter-spacing:-.055em!important}
body.xa-desktop .section-title{border-bottom:1px solid #315158!important;padding-bottom:16px!important;margin-bottom:24px!important}
body.xa-desktop .section-title h3{font-size:clamp(31px,4vw,56px)!important;line-height:1!important}
body.xa-desktop .section-title p{line-height:1.6!important}
body.xa-desktop :is(.xa-ui-button,.btn,.studio-product,.xa-tool-shortcuts button){transition:transform .16s,background .16s,border-color .16s}

/* HOME: EDITORIAL OPENER — porcelain and ink vs the old purple card */
body.xa-desktop #explore .xa-section-kicker{color:#9ddbbd!important}
body.xa-desktop #explore .xa-discovery-hero{
 position:relative!important;min-height:430px!important;border:0!important;border-radius:5px!important;
 background:#edf2e9!important;box-shadow:0 25px 55px #010b1042!important
}
body.xa-desktop #explore .xa-discovery-hero:before{
 content:"XEYLA / 001";position:absolute;top:17px;right:19px;z-index:3;
 font:800 9px Inter,system-ui,sans-serif;color:#42665c;letter-spacing:.22em
}
body.xa-desktop #explore .xa-hero-copy{padding:clamp(30px,5vw,65px)!important}
body.xa-desktop #explore .xa-hero-copy .xa-section-kicker{color:#417f70!important}
body.xa-desktop #explore .xa-discovery-hero h2{
 font-family:Inter,'Arial Black',system-ui,sans-serif!important;font-style:normal!important;
 font-size:clamp(53px,6.2vw,105px)!important;line-height:.89!important;letter-spacing:-.088em!important;
 color:#0b2529!important;background:none!important;background-image:none!important;
 -webkit-text-fill-color:#0b2529!important;max-width:750px
}
body.xa-desktop #explore .xa-discovery-hero p{color:#43605b!important;font-size:15px!important;line-height:1.65!important}
body.xa-desktop #explore .xa-hero-visual{
 background:linear-gradient(130deg,#bed9c952 0,#0a303434 74%),url('/assets/hero-v1.webp') center/cover!important;
 filter:saturate(.77) hue-rotate(85deg)
}
body.xa-desktop #explore .xa-hero-visual:before{background:linear-gradient(90deg,#e9f0e7,transparent 57%)!important}
body.xa-desktop #explore .xa-hero-visual:after{color:#f2fff3!important}
body.xa-desktop #explore .xa-discovery-hero .xa-ui-button{border-radius:5px!important;box-shadow:none!important;background:#d9e4df!important;border:1px solid #8eaca2!important;color:#0c2b29!important;font-weight:850!important}
body.xa-desktop #explore .xa-discovery-hero .xa-ui-button.primary{background:#112b30!important;color:#edfff6!important;border-color:#112b30!important}
body.xa-desktop #explore .xa-discovery-hero .xa-ui-button:hover{transform:translateY(-3px)}
body.xa-desktop #explore .xf-home-index{background:#0b2227!important;border:1px solid #355657!important;border-radius:4px!important;box-shadow:none!important}
body.xa-desktop #explore .xf-home-index :is(a,button){color:#c8e7df!important;background:transparent!important;border-color:transparent!important}
body.xa-desktop #explore .xf-home-index :is(a,button):hover{color:#d7ff62!important}
body.xa-desktop #explore .xf-index-lead{color:#d7ff62!important}
body.xa-desktop #explore .xa-fastgrid{grid-template-columns:1.6fr 1fr 1fr 1fr!important;gap:9px!important}
body.xa-desktop #explore .xa-fastgrid button{
 border-radius:4px!important;border:1px solid #30545c!important;min-height:140px;
 background:#102b31!important;color:#f0f9f1!important;position:relative;overflow:hidden!important
}
body.xa-desktop #explore .xa-fastgrid button:first-child{background:#d7ff62!important;color:#13302a!important;border-color:#d7ff62!important}
body.xa-desktop #explore .xa-fastgrid button:nth-child(2){background:#294c52!important}
body.xa-desktop #explore .xa-fastgrid button:nth-child(3){background:#18303b!important}
body.xa-desktop #explore .xa-fastgrid button:nth-child(4){background:#1e4042!important}
body.xa-desktop #explore .xa-fastgrid button:first-child :is(span,b,small){color:#12312f!important}
body.xa-desktop #explore .xa-fastgrid button span{color:#a5e7d9!important}
body.xa-desktop #explore .xa-fastgrid button:hover{transform:translateY(-3px);border-color:#d7ff62!important}

/* DISCOVERY GRID: mixed editorial spans, not same-sized rectangles */
body.xa-desktop #explore .xa-gallery{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:11px!important}
body.xa-desktop #explore .xa-look{grid-column:span 3;border:1px solid #34545a!important;background:#112a2d!important;border-radius:5px!important;overflow:hidden}
body.xa-desktop #explore .xa-look:nth-child(8n+1),body.xa-desktop #explore .xa-look:nth-child(8n+5){grid-column:span 6}
body.xa-desktop #explore .xa-look:nth-child(8n+2),body.xa-desktop #explore .xa-look:nth-child(8n+3),body.xa-desktop #explore .xa-look:nth-child(8n+4){grid-column:span 2}
body.xa-desktop #explore .xa-look:nth-child(8n+6),body.xa-desktop #explore .xa-look:nth-child(8n+7),body.xa-desktop #explore .xa-look:nth-child(8n+8){grid-column:span 2}
body.xa-desktop #explore .xa-look-image{aspect-ratio:1.2!important}
body.xa-desktop #explore .xa-look:nth-child(8n+1) .xa-look-image{aspect-ratio:1.9!important}
body.xa-desktop #explore .xa-look-info{background:#10292f!important;color:#f0f9f6!important}
body.xa-desktop #explore .xa-look-info b{color:#f0f9f6!important}
body.xa-desktop #explore .xa-look-info small{color:#a8c9c0!important}
body.xa-desktop #explore .xa-look-actions button{background:#1a4449!important;border-color:#4e7372!important;color:#f0f7ed!important;border-radius:4px!important}
body.xa-desktop #explore .xa-gallery-title h2{font-weight:900!important;font-style:normal!important;letter-spacing:-.06em!important}

/* DIFFERENT HOME SECTION TREATMENTS — deliberate rhythm */
body.xa-desktop #explore .xv-discover{
 background:#edf2e9!important;background-image:none!important;border:0!important;
 border-radius:5px!important;color:#132a2f!important;box-shadow:0 18px 50px #0002!important
}
body.xa-desktop #explore .xv-head h2{font-style:normal!important;color:#112b32!important;letter-spacing:-.075em!important}
body.xa-desktop #explore .xv-head h2 em{color:#427c6a!important}
body.xa-desktop #explore .xv-head span{color:#527e70!important}
body.xa-desktop #explore .xv-head p{color:#4f6967!important}
body.xa-desktop #explore .xv-head button{background:#0b2e34!important;color:#eaffed!important;border-radius:4px!important}
body.xa-desktop #explore .xv-tabs button{background:#d7e4df!important;color:#264547!important;border:1px solid #97b3af!important;border-radius:4px!important}
body.xa-desktop #explore .xv-tabs button[aria-pressed=true]{background:#c8f76b!important;color:#122d2c!important;border-color:#9bb54f!important}
body.xa-desktop #explore .xv-toolbar input{background:#fafff6!important;color:#14383a!important;border-color:#8eaaa7!important}
body.xa-desktop #explore .xv-masonry{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:12px!important}
body.xa-desktop #explore .xv-tile{grid-column:span 3;background:#163339!important;border:1px solid #284950!important;border-radius:3px!important;box-shadow:none!important}
body.xa-desktop #explore .xv-tile:nth-child(6n+1){grid-column:span 5}
body.xa-desktop #explore .xv-tile:nth-child(6n+2){grid-column:span 4}
body.xa-desktop #explore .xv-tile:nth-child(6n+3){grid-column:span 3}
body.xa-desktop #explore .xv-tile:nth-child(6n+4){grid-column:span 3}
body.xa-desktop #explore .xv-tile:nth-child(6n+5){grid-column:span 5}
body.xa-desktop #explore .xv-tile:nth-child(6n+6){grid-column:span 4}
body.xa-desktop #explore .xv-tile-media{aspect-ratio:1.25!important}
body.xa-desktop #explore .xv-tile:nth-child(6n+1) .xv-tile-media{aspect-ratio:1.4!important}
body.xa-desktop #explore .xv-tile:hover{border-color:#7ec6b6!important}
body.xa-desktop #explore .xv-more button{background:#16393c!important;color:#eafff5!important;border-color:#567e7e!important}
body.xa-desktop #explore .xeyla-trending{background:#0e242c!important;border:1px solid #34525d!important;border-radius:4px!important}
body.xa-desktop #explore .coverflow-hero{background:#050e16!important;border:1px solid #325763!important;border-radius:2px!important}
body.xa-desktop #explore .coverflow-kicker{color:#dbff80!important}
body.xa-desktop #explore .coverflow-copy h2{font-family:Inter,'Arial Black',system-ui,sans-serif!important;font-style:normal!important;letter-spacing:-.06em!important}
body.xa-desktop #explore .coverflow-action,body.xa-desktop #explore .coverflow-copy .btn{background:#d7ff62!important;color:#132826!important;border-radius:4px!important}
body.xa-desktop #explore .xeyla-editorial,body.xa-desktop #explore .conversion-section{border-radius:4px!important;background:#153039!important;border-color:#385b66!important}
body.xa-desktop #explore .conversion-intro h2{color:#e9f4ee!important}
body.xa-desktop #explore .conversion-intro p{color:#b1cfca!important}
body.xa-desktop #explore .xeyla-dark-footer{background:#0a2229!important;border:1px solid #3d6461!important;color:#d0e9e0!important;border-radius:4px!important}

/* TREND CONTENT — cinematic rows rather than uniform dark cards */
body.xa-desktop .xa-trends{color:#e5f5ea!important}
body.xa-desktop .xa-trend-heading h2{font-family:Inter,system-ui,sans-serif!important;font-style:normal!important;letter-spacing:-.06em!important}
body.xa-desktop .xa-trend-card{background:#0d2b31!important;border:1px solid #3b676c!important;border-radius:4px!important}
body.xa-desktop .xa-trend-card:hover{border-color:#d7ff62!important}
body.xa-desktop .xa-trend-art{background:#14323b!important}
body.xa-desktop .xa-trend-copy{background:#142d34!important}
body.xa-desktop .xa-trend-meta{color:#9ee7cf!important}
body.xa-desktop .xa-filters button{border-radius:4px!important;background:#1b3639!important;color:#d8f3ea!important;border-color:#456a65!important}
body.xa-desktop .xa-filters button[aria-pressed=true]{background:#d7ff62!important;color:#102e2c!important}

/* FRONTIER — pale architectural feature + dark working gallery */
body.xa-desktop #frontier .xfmarket{--xfbg:#081d24;--xfpanel:#132f35;--xfline:#31555b;--xfpink:#d7ff62;color:#f3faf3!important}
body.xa-desktop #frontier .xfmarket-head{
 background:#d7e8e3!important;background-image:linear-gradient(145deg,#eff4ed,#c4ddd5)!important;
 border:0!important;border-radius:5px!important;padding:clamp(26px,5vw,60px)!important
}
body.xa-desktop #frontier .xfmarket-head h2{color:#0d2e34!important;font-family:Inter,system-ui,sans-serif!important;font-style:normal!important}
body.xa-desktop #frontier .xfmarket-head h2 em{color:#337c6b!important}
body.xa-desktop #frontier .xfmarket-head p{color:#365958!important}
body.xa-desktop #frontier .xfmarket-eyebrow{color:#427f6d!important}
body.xa-desktop #frontier .xfmarket-shortcuts button{background:#14363a!important;color:#f6fdf3!important;border:1px solid #15363a!important;border-radius:4px!important}
body.xa-desktop #frontier .xfmarket-demo{background:#0b2530!important;border:1px solid #355a60!important;border-radius:4px!important}
body.xa-desktop #frontier .xfmarket-demo-top h3{color:#eaf4ed!important}
body.xa-desktop #frontier .xfmarket-reels>div{border-radius:2px!important}
body.xa-desktop #frontier .xfmarket-grid{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:11px!important}
body.xa-desktop #frontier .xfmodel{grid-column:span 3;background:#142d33!important;border:1px solid #30585d!important;border-radius:4px!important}
body.xa-desktop #frontier .xfmodel:nth-child(9n+1),body.xa-desktop #frontier .xfmodel:nth-child(9n+7){grid-column:span 6}
body.xa-desktop #frontier .xfmodel:nth-child(9n+2),body.xa-desktop #frontier .xfmodel:nth-child(9n+3),body.xa-desktop #frontier .xfmodel:nth-child(9n+4){grid-column:span 2}
body.xa-desktop #frontier .xfmodel:nth-child(9n+5),body.xa-desktop #frontier .xfmodel:nth-child(9n+6){grid-column:span 3}
body.xa-desktop #frontier .xfmodel:nth-child(9n+8),body.xa-desktop #frontier .xfmodel:nth-child(9n+9){grid-column:span 3}
body.xa-desktop #frontier .xfmodel:hover{border-color:#b2f2a3!important}
body.xa-desktop #frontier .xfmodel-body small{color:#aadcca!important}
body.xa-desktop #frontier .xfmarket-tabs button{border-radius:4px!important;color:#d7efea!important;background:#15363b!important;border-color:#456768!important}

/* LAB TOOLS — three distinct modes rather than three identical panels */
body.xa-desktop :is(#muse,#remix,#portal) .xa-panel-inner{
 background:#0d232a!important;border:1px solid #305a60!important;border-radius:4px!important;
 padding:clamp(20px,3vw,42px)!important;min-height:500px
}
body.xa-desktop :is(#muse,#remix,#portal) .xa-panel-inner h3{font-size:clamp(38px,5.2vw,72px)!important;line-height:.95!important}
body.xa-desktop :is(#muse,#remix,#portal) .xa-toolbox{background:#152d33!important;border:1px solid #33575c!important;border-radius:3px!important}
body.xa-desktop :is(#muse,#remix,#portal) .xa-toolbox h4{color:#edf9ef!important}
body.xa-desktop :is(#muse,#remix,#portal) .xa-toolbox label{color:#c0d9cd!important}
body.xa-desktop :is(#muse,#remix,#portal) .xa-toolbox :is(input,textarea,select){background:#081c23!important;color:#ecfff6!important;border:1px solid #4b7372!important;border-radius:3px!important}
body.xa-desktop :is(#muse,#remix,#portal) .xa-ui-button.primary{background:#d7ff62!important;color:#102d28!important;border:1px solid #d7ff62!important;border-radius:4px!important}
body.xa-desktop :is(#muse,#remix,#portal) .xa-ui-button:not(.primary){background:#183b40!important;color:#ecffed!important;border:1px solid #547674!important;border-radius:4px!important}
body.xa-desktop #muse .xa-toolgrid{grid-template-columns:1.3fr .7fr!important}
body.xa-desktop #muse .xa-panel-inner{background:linear-gradient(135deg,#113038,#071c24 69%)!important}
body.xa-desktop #muse .xa-toolbox:last-child{background:#214443!important}
body.xa-desktop #muse .xa-textoutput{background:#0b2d32!important;border-color:#709488!important;color:#dff3e5!important}
body.xa-desktop #remix .xa-toolgrid{grid-template-columns:.75fr 1.25fr!important}
body.xa-desktop #remix .xa-panel-inner{background:linear-gradient(130deg,#2e3023,#12252b 50%,#09222b)!important;border-color:#82775d!important}
body.xa-desktop #remix .xa-toolbox:first-child{border-left:4px solid #f0a16e!important;background:#27352e!important}
body.xa-desktop #remix .xa-toolbox:last-child{background:#19363b!important}
body.xa-desktop #portal .xa-panel-inner{background:linear-gradient(130deg,#102b36,#082124 80%)!important;border-color:#4e7b79!important}
body.xa-desktop #portal .xa-portallayout{grid-template-columns:1.25fr .75fr!important}
body.xa-desktop #portal .xa-portalart{
 border:1px solid #487f7b!important;border-radius:3px!important;
 background:radial-gradient(circle at 48% 45%,#75b3a45a,#102f39 50%,#061c27 90%)!important
}
body.xa-desktop #portal .xa-portalorb{filter:hue-rotate(110deg) saturate(.76);box-shadow:0 0 95px #85e4c965,inset -24px -20px 35px #0008!important}
body.xa-desktop #portal .xa-worlds button{border-radius:3px!important}

/* IMAGE STUDIO — split operating console */
body.xa-desktop #image .studio-product-nav,body.xa-desktop #create .studio-product-nav{background:#102b30!important;border:1px solid #365c60!important;border-radius:4px!important}
body.xa-desktop #image .studio-product,body.xa-desktop #create .studio-product{border-radius:3px!important}
body.xa-desktop :is(#image,#create) .studio-product.active{background:#d7ff62!important;color:#102825!important;border-color:#d7ff62!important}
body.xa-desktop #image .image-studio-wrap{gap:13px!important}
body.xa-desktop #image .image-studio-panel{
 background:#112e34!important;color:#edf7ef!important;border:1px solid #426567!important;
 border-radius:4px!important;box-shadow:none!important;padding:clamp(18px,3vw,29px)!important
}
body.xa-desktop #image .image-studio-panel:last-child{background:#1b3435!important;border-top:4px solid #d7ff62!important}
body.xa-desktop #image .image-studio-panel h4{color:#f3f8ee!important;font-weight:900!important}
body.xa-desktop #image .image-studio-panel :is(label,p){color:#b9d2c7!important}
body.xa-desktop #image .image-generate-cta{background:#d7ff62!important;color:#102b25!important;border-radius:4px!important}
body.xa-desktop :is(#image,#create) .xa-tool-shortcuts button{background:#153238!important;color:#dfefe7!important;border:1px solid #45686b!important;border-radius:3px!important}
body.xa-desktop #create .workspace{gap:13px!important}
body.xa-desktop #create :is(.studio-panel,.workspace-panel,.card){border-radius:4px!important}
body.xa-desktop #create .studio-access{background:#183336!important;border-color:#486b69!important}

/* OPERATIONS: shows, calendar, assets, account, billing, help */
body.xa-desktop :is(#shows,#calendar,#saved,#signin,#account,#credits,#help) .section-title h3{font-family:Inter,system-ui,sans-serif!important}
body.xa-desktop :is(#shows,#calendar,#saved,#signin,#account,#credits,#help) .card{border-radius:4px!important}
body.xa-desktop #saved .asset-page-head{border-bottom:2px solid #83ccb3!important;padding-bottom:22px!important;margin-bottom:19px!important}
body.xa-desktop #saved .asset-page-head h3{font-family:Inter,system-ui,sans-serif!important;font-style:normal!important;font-weight:900!important;letter-spacing:-.065em!important}
body.xa-desktop #saved .saved-item{border-radius:4px!important;box-shadow:none!important}
body.xa-desktop #saved .saved-item:nth-child(5n+1){border-top:3px solid #d7ff62!important}
body.xa-desktop #saved .saved-item:nth-child(5n+3){border-top:3px solid #8dd9e1!important}
body.xa-desktop #saved .saved-thumb{background:#1a3b3d!important}
body.xa-desktop #credits .credit-pack{border-radius:4px!important}
body.xa-desktop #credits .credit-pack.featured{border:2px solid #c8f665!important;background:#1d3932!important;box-shadow:0 20px 35px #07181770!important}
body.xa-desktop :is(#account,#credits,#signin) .card{background:#122c31!important}
body.xa-desktop #calendar .calendar-card:nth-child(odd){border-left:4px solid #d7ff62!important}
body.xa-desktop #shows .show-chip:nth-child(even){border-left:3px solid #91dade!important}
body.xa-desktop :is(#signin,#account,#credits,#help) :is(a,.text-link){color:#b9f1ab!important}

/* PHOTO EFFECTS: editorial magazine gallery with genuine mixed sizes */
body.xa-desktop #effects .xeyla-starter-intro{
 background:#e7f0e6!important;border:0!important;border-radius:4px!important;color:#12312e!important
}
body.xa-desktop #effects .xeyla-starter-top :is(h3,p){color:#17322d!important}
body.xa-desktop #effects .xeyla-starter-top h3{font-family:Inter,system-ui,sans-serif!important;font-style:normal!important;font-weight:900!important;letter-spacing:-.06em!important}
body.xa-desktop #effects .xeyla-starter-top h3 em{font-style:normal!important;color:#477f6c!important}
body.xa-desktop #effects .xeyla-starter-eyebrow{color:#41796b!important}
body.xa-desktop #effects .xeyla-starter-disclaimer{color:#526f67!important}
body.xa-desktop #effects .xeyla-starter-grid{gap:11px!important}
body.xa-desktop #effects .xeyla-starter-look{border-radius:4px!important;box-shadow:none!important}
body.xa-desktop #effects .xeyla-starter-look.sapphire{background:linear-gradient(135deg,#123e52,#1c6675)!important;border:0!important}
body.xa-desktop #effects .xeyla-starter-look.cover{background:linear-gradient(135deg,#50412c,#92734f)!important;border:0!important}
body.xa-desktop #effects #xaFutureLibrary{
 background:#e8f0e8!important;background-image:radial-gradient(circle at 100% 0%,#b5e4d777,transparent 43%)!important;
 border:0!important;border-radius:5px!important;box-shadow:0 18px 65px #010d1040!important;color:#123137!important
}
body.xa-desktop #effects #xaFutureLibrary:before{
 background-image:linear-gradient(#4c84791b 1px,transparent 1px),linear-gradient(90deg,#4c84791b 1px,transparent 1px)!important
}
body.xa-desktop #effects #xaFutureLibrary :is(.xf-eyebrow){color:#396e5f!important}
body.xa-desktop #effects #xaFutureLibrary .xf-heading h2{color:#0c272b!important;font-family:Inter,system-ui,sans-serif!important}
body.xa-desktop #effects #xaFutureLibrary .xf-heading h2 span{
 background:none!important;background-image:none!important;color:#31846f!important;-webkit-text-fill-color:#31846f!important
}
body.xa-desktop #effects #xaFutureLibrary .xf-heading p{color:#51706a!important}
body.xa-desktop #effects #xaFutureLibrary .xf-pill{background:#d4e4d8!important;color:#234e49!important;border-color:#aec6b7!important}
body.xa-desktop #effects #xaFutureLibrary .xf-hero{
 background:linear-gradient(110deg,#0a232a,#1c4544 78%)!important;border:1px solid #1d4647!important;
 border-radius:3px!important;min-height:335px!important
}
body.xa-desktop #effects #xaFutureLibrary .xf-hero-main h3{color:#f5f8ec!important}
body.xa-desktop #effects #xaFutureLibrary .xf-hero-main p{color:#c8ded3!important}
body.xa-desktop #effects #xaFutureLibrary .xf-hero-art{background:radial-gradient(circle,#d7ff62b0,transparent 68%)!important}
body.xa-desktop #effects #xaFutureLibrary .xf-hero-art:before,body.xa-desktop #effects #xaFutureLibrary .xf-hero-art:after{border-color:#ddffac87!important}
body.xa-desktop #effects #xaFutureLibrary .xf-button{background:#d7ff62!important;color:#102820!important;border:0!important;border-radius:4px!important}
body.xa-desktop #effects #xaFutureLibrary .xf-tools strong{color:#152e32!important}
body.xa-desktop #effects #xaFutureLibrary .xf-search{background:#f7faf1!important;border:1px solid #9bb6ae!important;color:#173734!important;border-radius:4px!important}
body.xa-desktop #effects #xaFutureLibrary .xf-search::placeholder{color:#738b87!important}
body.xa-desktop #effects #xaFutureLibrary .xf-nav>span:first-child{color:#52796d!important}
body.xa-desktop #effects #xaFutureLibrary .xf-chip{color:#3c665e!important;border-radius:4px!important}
body.xa-desktop #effects #xaFutureLibrary .xf-chip small{color:#518276!important}
body.xa-desktop #effects #xaFutureLibrary .xf-chip:hover{background:#d4e5da!important}
body.xa-desktop #effects #xaFutureLibrary .xf-chip.is-selected{background:#113b3b!important;color:#e8fff4!important;border:1px solid #143f40!important}
body.xa-desktop #effects #xaFutureLibrary .xf-chip.is-selected small{color:#c9fa93!important}
body.xa-desktop #effects #xaFutureLibrary .xf-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:11px!important}
body.xa-desktop #effects #xaFutureLibrary .xf-tile{
 grid-column:span 4;min-height:300px!important;border-radius:3px!important;border:1px solid #86a8a3!important;
 background:#123037!important;box-shadow:none!important;color:#eaf8ec!important
}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+1){grid-column:span 7}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+2){grid-column:span 5}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+3),body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+4),body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+5){grid-column:span 4}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+6){grid-column:span 8}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+7){grid-column:span 4}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+8){grid-column:span 12}
body.xa-desktop #effects #xaFutureLibrary .xf-visual{
 background:radial-gradient(circle at 42% 28%,#5f9c8f88,#17363a 69%,#091b27)!important
}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+1) .xf-visual{background:radial-gradient(circle at 50% 30%,#e4fba8,#548f7e 55%,#143f46)!important}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+2) .xf-visual{background:linear-gradient(135deg,#c3e3de,#4a8691)!important}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+3) .xf-visual{background:linear-gradient(130deg,#f0ceac,#a66045)!important}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+4) .xf-visual{background:linear-gradient(150deg,#b5d8cf,#396b6b)!important}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+5) .xf-visual{background:linear-gradient(145deg,#b6dde0,#647c8f)!important}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+6) .xf-visual{background:linear-gradient(145deg,#e5dcb5,#747856)!important}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+7) .xf-visual{background:linear-gradient(120deg,#bad8a0,#657a69)!important}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(8n+8) .xf-visual{background:linear-gradient(130deg,#b8dbe1,#3b7d91)!important}
body.xa-desktop #effects #xaFutureLibrary .xf-visual img{opacity:.92!important;mix-blend-mode:normal!important}
body.xa-desktop #effects #xaFutureLibrary .xf-visual:has(img) .xf-icon{position:absolute;right:14px;bottom:9px;font-size:41px;opacity:.85}
body.xa-desktop #effects #xaFutureLibrary .xf-flag{border-radius:2px!important;background:#0b2a2bda!important;color:#c9ff85!important;border-color:#9ad2b77a!important}
body.xa-desktop #effects #xaFutureLibrary .xf-copy{background:#133339!important;border-radius:0!important}
body.xa-desktop #effects #xaFutureLibrary .xf-copy strong{color:#f4f8ef!important}
body.xa-desktop #effects #xaFutureLibrary .xf-copy small{color:#b5d0c8!important}
body.xa-desktop #effects #xaFutureLibrary .xf-meta{color:#d7ff62!important}
body.xa-desktop #effects #xaFutureLibrary .xf-tile:hover{border-color:#367967!important;transform:translateY(-4px)}
body.xa-desktop #effects #xaFutureLibrary .xf-footer{color:#567a72!important}
body.xa-desktop #effects #xaFutureLibrary .xf-footer button{background:#13383c!important;color:#ecfff1!important;border:1px solid #426a69!important;border-radius:4px!important}
body.xa-desktop #xaPresetDialog,body.xa-desktop #photoSceneDialog{
 background:#0e252b!important;border:1px solid #6e9691!important;color:#f0f8ed!important;border-radius:5px!important
}
body.xa-desktop #xaPresetDialog .xf-modal-art{background:radial-gradient(circle at 35% 30%,#aad5bc,#163f45)!important}
body.xa-desktop #xaPresetDialog .xf-button{background:#d7ff62!important;color:#122b27!important;border-radius:4px!important}
body.xa-desktop #xaPresetDialog .xf-close{background:#183d41!important;border-color:#668a86!important;color:#f1fff0!important}
body.xa-desktop #xaPresetDialog .xf-cost{color:#d7ff62!important}
body.xa-desktop #xaPresetDialog .xf-upload{background:#15373b!important;border-color:#a0c6b1!important;border-radius:4px!important}

/* DETAILS: consistent interaction without same cards */
body.xa-desktop :is(.xa-ui-button,.btn,.xf-button,.xfmarket button,.studio-product,.credit-pack button):hover:not(:disabled){filter:brightness(1.08)}
body.xa-desktop :is(button,a,input,select,textarea):focus-visible{outline:3px solid #bbf888!important;outline-offset:3px}
body.xa-desktop :is(.xa-look,.xv-tile,.xfmodel,.xf-tile,.saved-item){transition:transform .2s,border-color .2s}
body.xa-desktop :is(.xa-look,.xv-tile,.xfmodel,.xf-tile,.saved-item):hover{transform:translateY(-3px)}
/* Intentionally leave content positions, routes, buttons, dialogs and billing unchanged. */

/* RESPONSIVE: preserve existing sidebar breakpoints and avoid mosaic overflows */
@media(max-width:1280px){
 body.xa-desktop #explore .xa-fastgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.xa-desktop #explore .xa-gallery .xa-look,body.xa-desktop #explore .xa-gallery .xa-look:nth-child(n){grid-column:span 4!important}
 body.xa-desktop #explore .xv-tile,body.xa-desktop #explore .xv-tile:nth-child(n){grid-column:span 4!important}
 body.xa-desktop #frontier .xfmodel,body.xa-desktop #frontier .xfmodel:nth-child(n){grid-column:span 4!important}
}
@media(max-width:1050px){
 body.xa-desktop #muse .xa-toolgrid,body.xa-desktop #remix .xa-toolgrid,body.xa-desktop #portal .xa-portallayout{grid-template-columns:1fr!important}
 body.xa-desktop #explore .xa-hero-visual{display:none!important}
 body.xa-desktop #explore .xa-discovery-hero{grid-template-columns:1fr!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-tile,body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(n){grid-column:span 6}
}
@media(max-width:850px){
 body.xa-desktop .xa-sidebar{background:#0e2329!important;box-shadow:0 6px 20px #01101766!important}
 body.xa-desktop .xa-sidebar .xa-sidebar-nav{max-width:calc(100% - 105px)!important;gap:4px!important}
 body.xa-desktop .xa-sidebar-nav .tab.active{box-shadow:none!important}
 body.xa-desktop .app>header{background:#e8eee7!important}
 body.xa-desktop #explore .xa-gallery .xa-look,body.xa-desktop #explore .xa-gallery .xa-look:nth-child(n){grid-column:span 6!important}
 body.xa-desktop #explore .xv-tile,body.xa-desktop #explore .xv-tile:nth-child(n){grid-column:span 6!important}
 body.xa-desktop #frontier .xfmodel,body.xa-desktop #frontier .xfmodel:nth-child(n){grid-column:span 6!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-tile,body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(n){grid-column:span 6!important}
}
@media(max-width:560px){
 body.xa-desktop #explore .xa-discovery-hero{min-height:auto!important}
 body.xa-desktop #explore .xa-discovery-hero h2{font-size:clamp(44px,14vw,68px)!important}
 body.xa-desktop #explore .xa-hero-copy{padding:25px!important}
 body.xa-desktop #explore .xa-fastgrid{grid-template-columns:1fr 1fr!important;gap:7px!important}
 body.xa-desktop #explore .xa-fastgrid button{padding:14px 11px!important;min-height:130px}
 body.xa-desktop #explore .xv-discover{padding:18px 12px!important}
 body.xa-desktop #explore .xv-masonry{gap:7px!important}
 body.xa-desktop #explore .xv-tile{border-radius:2px!important}
 body.xa-desktop #explore .xa-gallery{gap:7px!important}
 body.xa-desktop #frontier .xfmodel,body.xa-desktop #frontier .xfmodel:nth-child(n){grid-column:span 12!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-tile,body.xa-desktop #effects #xaFutureLibrary .xf-tile:nth-child(n){grid-column:span 6!important;min-height:225px!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-visual{height:145px!important;min-height:140px!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-icon{font-size:64px!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-copy strong{font-size:14px!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-copy small{font-size:10px!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-heading h2{font-size:38px!important}
 body.xa-desktop #effects .xeyla-starter-grid{grid-template-columns:1fr!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-hero{grid-template-columns:1fr!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-hero-art{grid-row:1;min-height:170px!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-hero-main{padding:22px!important}
 body.xa-desktop #effects #xaFutureLibrary .xf-hero-art span{font-size:135px!important}
 body.xa-desktop #image .image-studio-wrap{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){
 body.xa-desktop .xf-hero-art span,body.xa-desktop .xf-hero-art:after{animation:none!important}
 html{scroll-behavior:auto}
}
