/* Final shared identity and responsive controls, after legacy theme layers. */
.v26-language-flag img{display:block;width:24px;height:16px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px #ffffff40}
.header-theme>span{display:none!important}.header-theme{flex-direction:row!important}
.header-theme .icon-button,.header-controls>[data-action=theme]{display:grid!important;place-items:center;width:36px;height:36px;padding:8px;background:transparent;border-color:transparent;color:#f5faf7}
.v26-language-menu>summary{cursor:pointer;min-height:40px}.v26-language-menu>summary::-webkit-details-marker{display:none}
.v26-language-menu>summary::after{content:'⌄';margin-inline-start:auto;font-size:14px}
.v26-language-list{z-index:1000;overscroll-behavior:contain;scrollbar-width:thin;box-sizing:border-box}
.v26-language-list button{text-align:start;min-height:44px}.v26-language-list button:focus-visible,.v26-language-menu summary:focus-visible{outline:2px solid #8df2c4;outline-offset:2px}
.v32-workspace-tools{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:15px}
.v26-socials a{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.public-chat,.music-studio-v22,.studio-controls,.v26-creator-shell,.video-prompt,.creation-box{
 --bg:#050806;--surface:#080d0b;--surface-2:#101813;--raised:#17261e;--text:#f7fbf8;--muted:#c2d0c7;--faint:#a5b7ad;--line:#ffffff29;--accent:#72e8b2;--accent-strong:#72e8b2;--on-accent:#041009;
 color:#f7fbf8!important;background:#070b09!important;border:1px solid #ffffff30!important;border-radius:22px;box-shadow:inset 0 1px 0 #ffffff0c!important;text-align:start;
}
.v26-creator-shell .composer,.v26-creator-shell textarea,.v26-creator-shell input,.v26-creator-shell select,.public-chat .composer{background:#0b100e!important;color:#fff!important;border-color:#ffffff30!important}
.v26-creator-shell textarea::placeholder,.public-chat textarea::placeholder{color:#bac8c0;opacity:1}
.v26-creator-shell label,.v26-creator-shell .field>span{color:#f7fbf8}
.h26-hero .public-chat{max-width:980px!important}.h26-hero .composer textarea{min-height:76px;max-height:200px}
.v26-creator-shell .segmented{background:#0b100e!important;border:1px solid #ffffff2b;border-radius:40px}
.v26-creator-shell .segmented button[aria-pressed=true]{background:#24332b!important;color:#fff!important;border-radius:30px;box-shadow:inset 0 0 0 1px #ffffff29}
[dir=rtl] .header-inner,[dir=rtl] .app-header{direction:rtl}[dir=rtl] .public-chat,[dir=rtl] .composer,[dir=rtl] .studio-controls{text-align:start}
[dir=rtl] .field-row{direction:rtl}[dir=rtl] .mode-control{direction:rtl}
.header-controls .v26-create-account{display:inline-flex!important}
@media(max-width:760px){
 .site-header .header-inner{display:grid!important;grid-template-columns:112px minmax(0,1fr) 38px 38px;grid-template-rows:auto auto;min-height:112px;padding:10px 16px!important;gap:8px}
 .site-header .header-inner>a:first-of-type{grid-column:1;grid-row:1;min-width:0}.site-header .header-inner>a:first-of-type .brand{width:108px;max-width:100%}
 .site-header .desktop-nav{display:none!important}.site-header .header-controls,.site-header .header-language{display:contents!important}
 .site-header .header-language>.v26-language-menu,.site-header .header-controls>.v26-language-menu{grid-column:2;grid-row:1;min-width:0;display:block!important}
 .site-header .v26-language-menu>summary{width:100%;max-width:none;box-sizing:border-box;padding:6px;gap:5px;font-size:10px}
 .site-header .header-theme,.site-header .header-controls>[data-action=theme]{grid-column:3;grid-row:1;display:flex!important}
 .site-header .mobile-menu{display:block;grid-column:4;grid-row:1}.site-header .mobile-menu>summary{width:38px;height:38px;padding:8px}
 .site-header .header-controls>a.button{display:flex!important;grid-row:2;grid-column:1/5;min-height:40px;width:calc(50% - 4px);font-size:12px;padding:8px 10px}
 .site-header .header-controls>a.button:not(.v26-create-account){justify-self:start}.site-header .header-controls>a.v26-create-account{justify-self:end}
 .site-header .header-language>span{display:none!important}.site-header .header-theme>span{display:none!important}
 .public-chat.v26-creator-shell{padding:8px!important;border-radius:18px!important}.h26-hero .composer textarea{min-height:54px!important;max-height:140px;font-size:16px}.h26-hero .mode-control{margin-bottom:6px}.h26-hero .public-chat .segmented button{padding:7px 10px}
 .app-header .header-controls{display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:6px}.app-header .v26-language-menu summary{max-width:145px}.app-header{gap:10px}
}
@media(prefers-reduced-motion:reduce){.v26-socials a{transition:none!important}}
