/* Keep the same identity with less compositing and a calmer phone layout. */
@media(max-width:760px){
 .portrait-halo{display:none!important}
 .hero-art,.theme-scene,.portrait-person{transform:none!important;will-change:auto!important}
 .portrait-hero{overflow:hidden}
 .portrait-copy h1{font-size:clamp(34px,9vw,44px)}
 .theme-dots{max-width:100%;flex-wrap:nowrap;justify-content:center;background:#000}
 .ab-card{padding:24px 16px!important}
 .ab-card button{min-height:40px}
}

.product-intro{display:grid;grid-template-columns:1fr 1.25fr;gap:60px;padding-top:90px;padding-bottom:60px}.product-intro h2,.feature-heading h2{font-size:clamp(30px,4vw,48px);line-height:1.1;margin:15px 0}.product-intro p,.feature-summary-grid p,.feature-detail-grid p,.feature-development p,.feature-ending p{color:var(--text-secondary);line-height:1.8;max-width:700px}.feature-overview{padding-top:35px;padding-bottom:85px}.feature-heading{display:flex;justify-content:space-between;align-items:center;gap:25px}.feature-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:35px}.feature-summary-grid article,.feature-detail-grid article{border-top:1px solid #36383c;padding:26px 0}.feature-summary-grid span,.feature-detail-grid span{font-size:10px;letter-spacing:.13em;color:var(--gold-bright)}.feature-summary-grid h3{font-size:22px;margin:20px 0 8px}.features-hero{padding-top:100px;padding-bottom:65px}.features-hero h1{font-size:clamp(42px,6vw,76px);line-height:1.05;margin:20px 0}.features-hero p{max-width:580px;color:var(--text-secondary);font-size:20px;line-height:1.6;margin-bottom:30px}.feature-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px 70px;padding-bottom:60px}.feature-detail-grid h2{font-size:30px;line-height:1.2;max-width:400px}.feature-development{padding-top:50px;padding-bottom:50px;border-top:1px solid #36383c}.feature-development h2,.feature-ending h2{font-size:38px}.feature-ending{padding-top:55px;padding-bottom:80px}.feature-note{font-size:12px}.features-page{background:var(--bg-dark)}.simple-nav{gap:18px}
@media(max-width:1100px){.simple-nav{display:none}.mobile-navigation{display:block}}
@media(max-width:760px){.product-intro{grid-template-columns:1fr;gap:10px;padding-top:50px;padding-bottom:25px}.feature-summary-grid,.feature-detail-grid{grid-template-columns:1fr;gap:8px}.feature-heading{align-items:flex-start;flex-direction:column}.feature-overview{padding-bottom:40px}.features-hero{padding-top:55px;padding-bottom:30px}.features-hero p{font-size:18px}.feature-detail-grid h2{font-size:27px}.feature-development h2,.feature-ending h2{font-size:30px}.feature-development{padding-top:30px;padding-bottom:30px}}

/* New couple photos already contain restrained light: avoid a second colored wash. */
html:is([data-theme="rustic"],[data-theme="purplehaze"]) .studio-page .room-hero .hero-art{background:#06080b!important}
html:is([data-theme="rustic"],[data-theme="purplehaze"]) .studio-page .room-hero .hero-art::before{display:none!important}

/* Full-width theme rows, with a selection indicator independent of palette color. */
.studio-themes .mockup-theme-switcher-bar{display:block;width:100%;max-width:none;padding-inline:0}
.studio-themes .theme-pill-selector.modern-toggle{display:flex;flex-wrap:wrap;gap:12px;width:100%;max-width:none;margin-inline:0;justify-content:flex-start}
.studio-themes .theme-pill-selector .theme-btn{position:relative;display:flex;align-items:center;justify-content:center;flex:1 1 calc(20% - 12px);min-width:140px;min-height:48px;padding:12px 30px;transform:none}
.studio-themes .theme-btn::after{content:"✓";position:absolute;right:10px;font-size:14px;font-weight:800;visibility:hidden}
.studio-themes .theme-btn.active::after{visibility:visible}
html body .studio-themes .theme-btn.active[data-theme="neutral"]{background:#e5e7eb!important;color:#111827!important;border:2px solid #111827!important;box-shadow:0 0 0 2px #fff,inset 0 0 0 1px #fff!important}
.studio-themes .theme-btn:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:600px){.studio-themes .theme-pill-selector .theme-btn{flex-basis:calc(50% - 12px);min-width:0;padding-inline:22px;font-size:12px}}

/* Reach the player before the feature overview; align the intro on a shared row. */
.product-intro{column-gap:60px;row-gap:15px;align-items:start}
.product-intro>.portrait-kicker{grid-column:1/-1}
.product-intro h2,.product-intro>p{margin:0}
.feature-ending .portrait-actions{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0 14px}
.feature-ending p{margin-top:16px}
.eq-selection-tools{gap:12px}
@media(max-width:760px){.product-intro{gap:15px}.product-intro>.portrait-kicker{grid-column:1}}

.feature-development>.btn{margin-top:18px}
.feature-ending .portrait-actions{gap:16px;margin-top:20px;margin-bottom:18px}
.feature-ending .feature-note{display:block;margin-top:16px;line-height:1.7}

.curve-history{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:10px 0}
.curve-history>button{min-height:40px;padding:8px 14px;border:1px solid #657080;border-radius:8px;background:#181b22;color:#fff;font:inherit;cursor:pointer;white-space:nowrap}
.curve-history>button:disabled{opacity:.4;cursor:default}
.curve-history>button:focus-visible{outline:2px solid var(--gold-glow);outline-offset:3px}
.ab-edit-row{flex-wrap:wrap}.ab-edit-row .curve-history{margin:0}
@media(max-width:600px){.ab-edit-row>span{flex-basis:100%}.ab-edit-row .curve-history{width:100%}.curve-history{gap:12px}}

/* Keep desktop sentence rows; let the introduction flow naturally on phones. */
.product-intro>p{min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word}
.product-intro>p>span{display:block}
@media(max-width:760px){.product-intro>p>span{display:inline}.product-intro>p{text-wrap:pretty}}

/* White & Gray uses a light mobile picker, including its expanded row. */
@media(max-width:760px){
 html[data-theme="neutral"] .navbar .theme-dots{background:transparent!important}
 html[data-theme="neutral"] .navbar .theme-dots .extra-themes{background:#fff!important;border-color:#d9d9d6!important;color:#191a1d}
 html[data-theme="neutral"] .navbar .theme-dots .more-themes>summary,
 html[data-theme="neutral"] .navbar .theme-dots .more-themes>summary:hover{background:transparent!important;color:#191a1d!important;border-color:#9b9ba0}
 html[data-theme="neutral"] .navbar .theme-dots .more-themes>summary svg{stroke:#191a1d!important;color:#191a1d!important}
 html[data-theme="neutral"] .navbar .theme-choice[aria-pressed="true"] span{outline:2px solid #202124;outline-offset:3px;box-shadow:none!important}
}

/* Give the White & Gray demo its own visible panel without darkening the page. */
html[data-theme="neutral"] .original-home .ab-demo-card{background:#e5e5e5!important;border:1px solid #cdcdcd;border-radius:24px;box-shadow:0 10px 28px #0000000a}
/* Keep theme names readable while hovering in every palette. */
html[data-theme] body .studio-themes .theme-pill-selector .theme-btn:hover{color:#fff!important}html[data-theme] body .studio-themes .theme-pill-selector .theme-btn[data-theme="neutral"]:hover{background:#202225!important;border-color:#aeb5c2!important}

/* Hover uses the brighter shade of each button's own palette. */
.studio-themes .theme-btn[data-theme="blue"]{--theme-hover-bright:#75baff}.studio-themes .theme-btn[data-theme="emerald"]{--theme-hover-bright:#66edba}.studio-themes .theme-btn[data-theme="orange"]{--theme-hover-bright:#ffc17d}.studio-themes .theme-btn[data-theme="purple"]{--theme-hover-bright:#c5a3ff}.studio-themes .theme-btn[data-theme="red"]{--theme-hover-bright:#ff8a8a}.studio-themes .theme-btn[data-theme="yellow"]{--theme-hover-bright:#ffe963}.studio-themes .theme-btn[data-theme="spectrum"]{--theme-hover-bright:#b8afff}.studio-themes .theme-btn[data-theme="light"]{--theme-hover-bright:#ffd28a}.studio-themes .theme-btn[data-theme="neutral"]{--theme-hover-bright:#ffffff}.studio-themes .theme-btn[data-theme="greenheaven"]{--theme-hover-bright:#d7fa91}.studio-themes .theme-btn[data-theme="purplehaze"]{--theme-hover-bright:#7ddcff}.studio-themes .theme-btn[data-theme="monochrome"]{--theme-hover-bright:#ffffff}.studio-themes .theme-btn[data-theme="rustic"]{--theme-hover-bright:#ffadd7}.studio-themes .theme-btn[data-theme="neonrose"]{--theme-hover-bright:#ff99c6}
html[data-theme] body .studio-themes .theme-pill-selector .theme-btn:hover{color:var(--theme-hover-bright,#fff)!important;border-color:var(--theme-hover-bright,#fff)!important;background:color-mix(in srgb,var(--theme-hover-bright,#fff) 13%,#10141c)!important;box-shadow:0 0 12px color-mix(in srgb,var(--theme-hover-bright,#fff) 20%,transparent)!important}

.sp-motion-readout{display:flex;align-items:center;gap:12px;padding:14px 0 5px;color:var(--text-secondary);font:11px system-ui}.sp-motion-readout[hidden]{display:none}.sp-motion-track{position:relative;height:3px;flex:1;background:#ffffff28;border-radius:3px}.sp-motion-track::before{content:'';position:absolute;left:50%;top:-3px;width:1px;height:9px;background:#89909d}.sp-motion-dot{position:absolute;top:50%;width:10px;height:10px;transform:translate(-50%,-50%);background:var(--gold-glow);border:1px solid #fff;border-radius:50%;box-shadow:0 0 10px var(--gold-glow)}.sp-motion-readout output{min-width:130px;text-align:right;color:var(--text-primary)}@media(max-width:600px){.sp-motion-readout{flex-wrap:wrap}.sp-motion-readout output{flex-basis:100%;text-align:center}}
/* Audit repair: keep the Studio transport inside narrow phone panels. */
@media(max-width:700px){.studio-page .studio-player{grid-template-columns:minmax(0,1fr)}.studio-page .studio-player>*{min-width:0;max-width:100%;box-sizing:border-box}.studio-player .mini-player-seekbar-row input{min-width:0;width:0;flex:1}.studio-player .volume-slider-group{gap:8px;padding:0 8px;box-sizing:border-box}.studio-player .volume-slider-group input{min-width:0;width:0;flex:1}.studio-player .now-playing-badge,.studio-player .track-info{min-width:0;max-width:100%}.studio-player .track-name{overflow-wrap:anywhere}}
html[data-theme="neutral"] .draw-mode button[aria-pressed="true"],html[data-theme="monochrome"] .draw-mode button[aria-pressed="true"]{background:#303642;border-color:#fff;box-shadow:inset 0 0 0 1px #fff;color:#fff}
