/* The same light falling across the top of every LiberAI workspace. */
body[data-page] {
  background: radial-gradient(ellipse 84% 440px at 85% 0%,#075c45a6,transparent 74%),
              radial-gradient(ellipse 70% 560px at 0 8%,#08745455,transparent 78%),#020b08;
}
html[data-theme=light] body[data-page] {
  background: radial-gradient(ellipse 90% 520px at 78% 0,#c5f2d9,transparent 78%),#f3f9f6;
}
body[data-page] .v26-language-menu {width:max-content;min-width:0}
body[data-page] .v26-language-menu>summary {
  box-sizing:border-box;display:grid;place-items:center;width:36px!important;min-width:0;
  height:32px;min-height:32px;padding:4px!important;border:1px solid var(--line);border-radius:8px;
  color:var(--text);background:var(--surface);list-style:none
}
body[data-page] .v26-language-menu>summary:after {content:none}
body[data-page] .v26-language-menu[open] .v26-language-list {display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:6px}
body[data-page] .v26-language-list button {display:grid;place-items:center;min-width:0;min-height:38px;padding:3px}
.header-language>span:first-child,.header-theme>span {display:none!important}
.v26-footer-tools {display:flex;align-items:center;gap:8px}
.v26-socials a {display:inline-grid;place-items:center;min-width:36px;height:38px;color:var(--text)}
.v26-socials a svg {width:22px;height:22px}
.v26-footer-tools button[data-action=theme],.header-theme button[data-action=theme] {color:var(--text)!important}
[data-studio-reel-toggle].button {width:36px;height:36px;min-height:36px;display:grid;place-items:center;padding:6px!important}
[data-studio-reel-toggle] span {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.v22-reel-window {overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;cursor:grab}
.v22-reel-window:active {cursor:grabbing}
.v22-reel-track {animation:none!important}
.v22-reel-frame img {user-select:none;-webkit-user-drag:none}
html[data-theme=light] :is(.public-chat,.music-studio-v22,.studio-controls,.video-prompt,.creation-box,.v26-creator-shell){
  --surface:#fff;--text:#092e20;--line:#bad3c7;--muted:#3b574b;
  color:#092e20!important;background:#fafffc!important;border-color:#b6cebf!important
}
html[data-theme=light] .v26-creator-shell :is(.composer,textarea,input,select,.segmented),
html[data-theme=light] .public-chat .composer {color:#102e23!important;background:#edf6f0!important;border-color:#adc7b8!important}
html[data-theme=light] .v26-creator-shell :is(label,.field>span,textarea::placeholder){color:#385645}
body[data-page] {position:relative;isolation:isolate}
body[data-page]:before {
  content:"";position:absolute;inset:0 0 auto;width:100%;height:340px;z-index:-1;pointer-events:none;
  border:0;border-radius:0;box-shadow:none;
  background:radial-gradient(ellipse at 65% 0%,#05bd8129,transparent 70%);
  animation:liber-top-light 12s ease-in-out infinite alternate;
}
@keyframes liber-top-light {from{opacity:.45}to{opacity:1}}
@media(prefers-reduced-motion:reduce){body[data-page]:before{animation:none}}
html[data-theme=light] .v26-creator-shell label,html[data-theme=light] .v26-creator-shell .field>span,
html[data-theme=light] .v26-creator-shell textarea::placeholder {color:#385645!important}
.provider-mask {overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.provider-track {animation:none!important}
.v21-motion-global {display:inline-grid;place-items:center;width:36px;height:36px;min-height:36px;padding:5px}
.v21-motion-global [data-motion-label] {display:none}
.h26-banners {touch-action:pan-y;user-select:none}
.h26-banners img,.h26-banners a {-webkit-user-drag:none}

/* The picker is attached to the document's top layer so a fixed header cannot clip it. */
body .v35-language {
 display:inline-grid;place-items:center;width:42px;height:42px;min-width:42px;padding:0;
 border:1px solid var(--line);border-radius:8px;background:var(--surface);vertical-align:middle
}
.v35-language img,.v35-flag-grid img {width:25px;height:18px;object-fit:cover;border-radius:2px}
.v35-language:focus-visible,.v35-flag-grid a:focus-visible {outline:2px solid var(--accent);outline-offset:-2px}
dialog.v35-language-panel {
 position:fixed;inset:auto;margin:0;padding:6px;width:min(240px,calc(100vw - 16px));
 max-width:none;max-height:calc(100dvh - 16px);overflow:auto;overscroll-behavior:contain;
 border:1px solid var(--line);border-radius:14px;color:var(--text);background:var(--surface,#102219);
 box-shadow:0 12px 32px #0005
}
dialog.v35-language-panel::backdrop {background:transparent;backdrop-filter:none}
.v35-flag-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px}
.v35-flag-grid a {display:grid;place-items:center;min-height:44px;padding:3px;border-radius:7px}
.v35-flag-grid a:hover,.v35-flag-grid a:focus-visible {background:var(--surface-2)}
.v35-flag-grid a[aria-current] {box-shadow:inset 0 0 0 1px var(--accent)}
@media(max-width:760px){.site-header .v35-language{grid-column:2;grid-row:1;justify-self:end}}
