/* Keep the published floating-navigation layout. Brand and motion only:
 * geometry, typography, card arrangement and responsive rules stay in the
 * original home/download/mobile/account stylesheets.
 */
:root, html[data-public-page] {
  --color-ambient-brand: color-mix(in oklab,var(--color-accent-vivid) 16%,transparent);
  --color-shadow-space: color-mix(in oklab,var(--color-paper) 72%,transparent);
}
body, html[data-public-page] body { background:var(--color-paper); }
.button:not(.secondary):not(.text), .nav-login {
  background:var(--gradient-brand); color:var(--color-accent-ink);
}
.account-menu-trigger { background:var(--color-paper-3); border-color:var(--color-rule-strong); }
.account-menu-avatar { color:var(--color-accent); }
/* The central VaS mark floats without an extra frame around its own artwork. */
.planet-core .planet-symbol,
.planet-core:is([aria-pressed=true],:hover) .planet-symbol {
  border-color:transparent;
  background:transparent;
  box-shadow:none;
}
.language-menu, .account-menu-panel {
  border-color:var(--color-rule-strong);
  box-shadow:0 var(--space-md) var(--space-xl) var(--color-shadow-space);
  transform-origin:top right;
  animation:brand-menu-enter var(--dur-menu) var(--ease-menu);
}
.language-option[aria-checked=true] { color:var(--color-accent); background:var(--color-surface-soft); }
.account-menu-item:is(:hover,:focus-visible), .language-option:is(:hover,:focus-visible) { background:var(--color-surface-soft); }
.language-menu:not([hidden]) > *, .account-menu-panel:not([hidden]) > * {
  animation:brand-menu-item var(--dur-menu) var(--ease-menu) both;
}
.language-menu > :nth-child(2), .account-menu-panel > :nth-child(2) { animation-delay:25ms; }
.account-menu-panel > :nth-child(3) { animation-delay:45ms; }
@keyframes brand-menu-enter {
  from { opacity:0; transform:translateY(-6px) scale(.96); }
  to { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes brand-menu-item {
  from { opacity:0; transform:translateY(-3px); }
  to { opacity:1; transform:translateY(0); }
}
/* Keep demonstration lighting inside the mobile painting boundary. */
@media(max-width:55rem) {
  html[data-public-page] .app-card .card-art.app-demo::before { inset-inline:0; }
}
@media(prefers-reduced-motion:reduce) {
  .language-menu, .account-menu-panel,
  .language-menu:not([hidden]) > *, .account-menu-panel:not([hidden]) > * { animation:none; }
}
@media(forced-colors:active) {
  .button:not(.secondary):not(.text), .nav-login { background:ButtonFace; color:ButtonText; border:1px solid ButtonText; }
}
