/* Shared neutral palette. Media, project icons and the brand spectrum stay intact. */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000;
  --background: #000;
  --text: #f3f3f3;
  --secondary: #929297;
  --muted: #85858b;
  --line: #28282b;
  --surface: #101012;
  --theme-copy: #c0c0c6;
  --theme-subtle: #737379;
  --theme-control: #d7d7dc;
  --theme-hover: #242427;
  --theme-border: #343438;
  --theme-menu: rgba(0, 0, 0, .7);
  --theme-header-fade: linear-gradient(180deg, #000, #000000c9 25%, #00000061 60%, #0000);
  --theme-action: #fff;
  --theme-action-ink: #000;
  --theme-action-hover: #e6e6eb;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fff;
  --background: #fff;
  --text: #171719;
  --secondary: #64646a;
  --muted: #707077;
  --line: #dedee2;
  --surface: #f5f5f7;
  --theme-copy: #45454b;
  --theme-subtle: #707077;
  --theme-control: #37373c;
  --theme-hover: #e9e9ed;
  --theme-border: #d0d0d5;
  --theme-menu: rgba(255, 255, 255, .7);
  --theme-header-fade: linear-gradient(180deg, #fff, #ffffffc9 25%, #ffffff61 60%, #fff0);
  --theme-action: #171719;
  --theme-action-ink: #fff;
  --theme-action-hover: #36363c;
}

html, body { background-color: var(--bg); color: var(--text); }
/* The sky stays in the document and stops moving before Explore covers it. */
body[data-theme-page="home"] {
  position: relative;
  isolation: isolate;
  --home-sky-height: max(86svh, 500px);
  --home-decoration-fade-start: calc(100% - var(--home-sky-fade-height, 32px));
  --home-sky-paint:
    url("./sky-dither.png") 0 0 / 128px 128px repeat,
    linear-gradient(180deg, var(--home-sky-stops, #071126, #182d4e, #304a6a)) top / 100% var(--home-sky-height) no-repeat;
}
:root.sky-time-updating {
  transition-property: var(--home-sky-stop-names, none);
  transition-duration: 5s;
  transition-timing-function: linear;
}
body[data-theme-page="home"] .hero { background-color: var(--bg); }
[data-home-mode="auto"] body[data-theme-page="home"]:not([data-home-view="content"]) .hero {
  background-color: transparent;
}
.home-sky-track {
  position: absolute;
  inset: var(--home-sky-origin, 0px) 0 0;
  z-index: -1;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 360ms ease, visibility 0s 360ms;
  background-color: var(--home-sky-horizon, #304a6a);
}
[data-home-mode="auto"] body:not([data-home-view="content"]) .home-sky-track {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.home-sky-scene {
  --sky-travel: calc(var(--home-sky-height) * var(--sky-scroll-limit, var(--home-sky-scroll-limit, .65)));
  position: sticky;
  top: calc(-1 * var(--sky-travel));
  height: calc(var(--home-sky-height) + var(--sky-travel));
  background: var(--home-sky-paint);
  background-color: var(--home-sky-horizon, #304a6a);
}
@media (max-width: 767px), (pointer: coarse) and (max-height: 480px) and (orientation: landscape) {
  .home-sky-scene { --sky-scroll-limit: var(--home-sky-mobile-scroll-limit, .5); }
}
.home-environment {
  position: absolute;
  inset: 0 0 auto;
  height: var(--home-sky-height);
  z-index: 0;
  overflow: hidden;
  overflow: clip;
  -webkit-mask-image: linear-gradient(#000 var(--home-decoration-fade-start), transparent);
  mask-image: linear-gradient(#000 var(--home-decoration-fade-start), transparent);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 0s 250ms;
}
[data-home-mode="auto"] body:not([data-home-environment="inactive"]) .home-environment {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.home-environment-stars {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: var(--home-stars-opacity, 0);
  transition: opacity 1200ms linear;
}
.home-sky-star {
  position: absolute;
  width: var(--star-size);
  height: var(--star-size);
  border-radius: 50%;
  background: radial-gradient(circle, var(--star-color) 0 45%, transparent 76%);
  transform: translate(-50%, -50%);
  opacity: .85;
  animation: home-star-twinkle var(--star-period) ease-in-out var(--star-delay) infinite paused;
}
.home-constellation {
  position: absolute;
  width: min(48%, 28svh, 240px);
  height: auto;
  overflow: visible;
  pointer-events: none;
  animation: home-constellation-out 1800ms ease-in-out var(--constellation-fade-delay) both;
}
.home-constellation-star {
  fill: #eff5ff;
  opacity: 0;
  animation: home-constellation-star-in 760ms ease-in-out var(--constellation-star-delay) both;
}
.home-constellation-links {
  fill: none;
  stroke: #dbe7fb;
  stroke-width: .85px;
  stroke-opacity: .38;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  animation: home-constellation-links-in 1400ms ease-in-out var(--constellation-line-delay) both;
}
@keyframes home-constellation-star-in {
  from { opacity: 0; }
  62% { opacity: var(--constellation-star-brightness); }
  to { opacity: calc(var(--constellation-star-brightness) * .82); }
}
@keyframes home-constellation-links-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes home-constellation-out { from { opacity: 1; } to { opacity: 0; } }
.home-environment-haze {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: var(--home-thin-cloud-opacity, .12);
  transition: opacity 1200ms linear;
}
.home-thin-cloud {
  --cloud-display-width: min(clamp(230px, var(--cloud-width), 790px), 144svh);
  --cloud-travel-height: max(0px, calc(100% - var(--cloud-display-width) * 5 / 12 - var(--home-sky-fade-height, 32px) - 16px));
  position: absolute;
  top: calc(var(--cloud-travel-height) * var(--cloud-height-position));
  left: 0;
  width: var(--cloud-display-width);
  aspect-ratio: 12 / 5;
  background: var(--cloud-image) center / contain no-repeat;
  filter: blur(.6px);
  opacity: 0;
  animation: home-thin-cloud-drift var(--cloud-period) linear var(--cloud-delay) both paused;
}
body[data-night-motion="running"] .home-sky-star,
body[data-cloud-motion="running"] .home-thin-cloud { animation-play-state: running; }
:root:is([data-home-motion="reduced"], [data-home-motion="off"]) .home-sky-star {
  animation: none;
  opacity: .65;
}
@keyframes home-star-twinkle {
  0%, 6%, 100% { opacity: 0; }
  19% { opacity: .94; }
  43% { opacity: .62; }
  64% { opacity: 1; }
  81% { opacity: .84; }
  95% { opacity: 0; }
}
@keyframes home-thin-cloud-drift {
  from { transform: translate3d(102vw, 0, 0) rotate(0deg) scale(1); opacity: 0; }
  14% { opacity: .55; }
  32% { transform: translate3d(calc(67vw - 33%), var(--cloud-lift), 0) rotate(-1deg) scale(1.04, .94); opacity: .9; }
  62% { opacity: .82; }
  82% { transform: translate3d(calc(18vw - 82%), var(--cloud-drift), 0) rotate(.8deg) scale(1.12, .92); opacity: .62; }
  to { transform: translate3d(-120%, var(--cloud-lift), 0) rotate(1deg) scale(1.15, .9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-environment-stars, .home-environment-haze { transition: none; }
  .home-sky-star { animation: none; }
  .home-constellation { display: none; }
  .home-thin-cloud { animation: none; }
}
/* In automatic mode the fixed navigation sees the same sky and Explore layers. */
body[data-theme-page="home"] .site-header::before,
body[data-theme-page="home"] .site-header::after { content: none; }
.home-header-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--site-header-size) + var(--home-header-fade-height, 38px));
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--bg);
  opacity: 1;
  -webkit-mask-image: linear-gradient(#000 0, #000 calc(var(--site-header-size) + var(--home-header-fade-height, 38px) * .35), #000000c9 calc(var(--site-header-size) + var(--home-header-fade-height, 38px) * .65), transparent 100%);
  mask-image: linear-gradient(#000 0, #000 calc(var(--site-header-size) + var(--home-header-fade-height, 38px) * .35), #000000c9 calc(var(--site-header-size) + var(--home-header-fade-height, 38px) * .65), transparent 100%);
  transition: opacity 140ms ease-out, background-color 360ms ease-out;
}
[data-home-mode="auto"] body:not([data-home-view="content"]) .home-header-mask,
.theme-explore-flight .home-header-mask {
  background-color: transparent;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
:root:is(.theme-orbit-running, .theme-environment-returning) body[data-theme-page="home"] .home-header-mask,
body.menu-open .home-header-mask { opacity: 0; transition: none; }
/* Keep the browser tint separate from the painted header so it cannot
   reappear below the scrolling sky surface. */
html:has(body[data-theme-page="home"]), body[data-theme-page="home"] { background-color: var(--home-browser-chrome, var(--bg)); }
body[data-theme-page="home"] .home-brand-header { background-color: transparent; }
[data-home-mode="auto"] body[data-theme-page="home"]:not([data-home-view="content"]) {
  --home-project-surface: rgb(0 0 0 / .28);
}
.home-content-surface {
  position: relative;
  isolation: isolate;
  background-color: var(--bg);
  transition: background-color 360ms ease-out;
}
.home-content-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 360ms ease-out;
  background: var(--home-sky-fade, linear-gradient(transparent, rgb(0 0 0 / .6) 32px));
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
[data-home-mode="auto"] body:not([data-home-view="content"]) .home-content-surface {
  background-color: transparent;
}
[data-home-mode="auto"] body:not([data-home-view="content"]) .home-content-surface::before {
  opacity: 1;
}
.home-theme-settings { min-width: 0; padding: 0; margin: 28px 0 0; border: 0; }
.home-theme-settings legend { padding: 0; margin-bottom: 8px; color: var(--secondary); font-size: 12px; line-height: 1.8; }
.home-theme-options { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.home-theme-options label { display: flex; align-items: center; gap: 9px; min-height: 44px; color: var(--theme-copy); font-size: 13px; cursor: pointer; }
.home-theme-options input { margin: 0; width: 16px; height: 16px; accent-color: var(--text); cursor: inherit; }
.home-theme-options input:checked + span { color: var(--text); }
.home-theme-options input:focus-visible { outline: 2px solid var(--secondary); outline-offset: 4px; }
@media (max-width: 650px) {
  body[data-theme-page="home"] { --home-sky-height: max(85svh, 450px); }
}
.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:focus-visible { outline: 1px solid var(--secondary); outline-offset: 3px; }
.theme-toggle:disabled { cursor: default; }
.theme-symbol { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-sun { display: none; }
.theme-toggle .theme-auto { display: none; }
[data-theme="light"] .theme-toggle .theme-sun { display: block; }
[data-theme="light"] .theme-toggle .theme-moon { display: none; }
[data-home-mode="auto"] body:not([data-home-view="content"]) .theme-toggle :is(.theme-sun, .theme-moon) { display: none; }
[data-home-mode="auto"] body:not([data-home-view="content"]) .theme-toggle .theme-auto { display: block; }
.theme-orbit-running .theme-toggle .theme-symbol { visibility: hidden; }
.header-actions { width: 76px; gap: 12px; }
.header-actions .menu-button { flex: 0 0 32px; }
.menu-header .menu-actions { margin-right: 44px; }
body.menu-open .site-header { pointer-events: none; }
body.menu-open .site-header :is(.theme-toggle, .menu-button) { pointer-events: auto; }
.template-header-actions, .phone-header-actions { display: flex; align-items: center; gap: 12px; }
.phone-header-actions { gap: 8px; }
.phone-header-actions .template-switch { white-space: nowrap; }

/* Keep the menu blur and use the theme's neutral wordmark ink. */
.site-header { background: transparent; }
/* Fade the background mask independently so navigation stays visible and usable. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  opacity: 1;
  pointer-events: none;
  transition: opacity .3s ease-out;
}
.site-header::after { background: var(--theme-header-fade); transition: opacity .3s ease-out; }
body.menu-open .site-header::before { opacity: 0; }
.theme-orbit-running .site-header::before,
.theme-orbit-running .site-header::after,
.theme-color-changing .site-header::before,
.theme-color-changing .site-header::after { opacity: 0; transition: none; }
:root.theme-environment-returning body[data-theme-page="home"] .site-header::before,
:root.theme-environment-returning body[data-theme-page="home"] .site-header::after { opacity: 0; transition: none; }
body.menu-open .site-header { background: transparent; }
.menu-overlay { background: var(--theme-menu); }
/* The open menu owns its full-viewport tint; the Home sky header must not
   add a different band across the top of that surface. */
:root body[data-theme-page="home"].menu-open .site-header::before,
:root body[data-theme-page="home"].menu-open .site-header::after { opacity: 0; }
.brand-wordmark .brand-wordmark-text { color: var(--text); -webkit-text-fill-color: var(--text); }
body[data-theme-page="home"] .home-brand-header .brand-wordmark-text { -webkit-text-fill-color: currentColor; }
.touch-brand-star { color: var(--text); }
.index-number, .index-state, .subpage-kicker, .about-small, .menu-build,
.archive-empty span, footer { color: var(--muted); }
.about-text { color: var(--theme-copy); }
.language-toggle::after { background: var(--secondary); }
html[lang="zh-CN"] .language-en, html[lang="en"] .language-zh { color: var(--secondary); }
html, .subpage { scrollbar-color: var(--theme-border) var(--bg); }
html::-webkit-scrollbar-track, .subpage::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb, .subpage::-webkit-scrollbar-thumb { background: var(--theme-border); }

/* Detail controls use the same palette; actual preview images remain unmodified. */
.template-switch:hover, .breadcrumb a:hover, .text-link:hover { color: var(--text); }
.app-icon { color: #f5f5f7; }
.gallery-controls button { border-color: var(--theme-border); color: var(--theme-control); }
.gallery-controls button:hover { background: var(--theme-hover); }
.preview-gallery { scrollbar-color: var(--theme-border) transparent; }
.preview-item { border-color: var(--theme-border); background: var(--surface); }
.preview-caption, .template-footer { color: var(--theme-subtle); }
.description-copy, .body-copy, .information-list dd { color: var(--theme-copy); }
.text-button { color: var(--text); }
.text-link, .version-history, .phone-header .back-link { color: var(--secondary); }
.information-list > div { border-color: var(--line); }
.preview-dialog, .dialog-toolbar { background: var(--surface); color: var(--text); border-color: var(--theme-border); }
.dialog-toolbar button { color: var(--theme-copy); }
.get-button, .get-button:disabled { background: var(--theme-action); color: var(--theme-action-ink); }
.get-button:hover:not(:disabled) { background: var(--theme-action-hover); }

/* Short-lived transitions avoid replacing existing menu/brand transform transitions. */
.theme-color-changing :is(body, .menu-overlay, .site-header, .hero-message p,
 .template-header, .phone-header, .page-section, .information-list > div,
 .description-copy, .body-copy, .information-list dd, .text-button, .text-link,
 .developer-name, .release-meta, .muted-note, .template-footer, .template-switch,
 .template-label, .phone-template-label, .breadcrumb, .section-heading,
 .version-history, .history-content, .preview-caption, .dialog-toolbar,
 .dialog-toolbar button, .preview-dialog, .gallery-controls button, .get-button,
 .back-link, .template-wordmark, .product-identity, .theme-toggle,
 .subpage, .menu-item, .language-toggle, .about-text, .about-small, footer) {
  transition-property: color, background-color, border-color;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}
.theme-color-changing { transition: background-color 180ms ease-out, color 180ms ease-out; }
.theme-color-changing[data-home-mode],
.theme-color-changing body[data-theme-page="home"] { transition-duration: 360ms; }
.theme-color-changing body[data-theme-page="home"] .hero {
  transition: background-color 360ms ease-out;
}
.theme-color-changing body[data-theme-page="home"] :is(.theme-toggle,
  .home-explore-title, .home-category-toggle, .home-media-switch button, .home-project-heading h3, .home-project-number,
  .home-project-toggle, .home-media-entry, .home-search, .home-search-result, .site-copyright) {
  transition: color 180ms step-end, -webkit-text-fill-color 180ms step-end;
}
.theme-color-changing body[data-theme-page="home"] .home-brand-header .brand-wordmark-text {
  transition: color 360ms ease-out, filter 420ms ease;
}
.theme-color-changing .home-content-surface { transition: background-color 360ms ease-out, color 180ms step-end; }
.theme-color-changing .home-brand-header .menu-button span { transition: background-color 180ms step-end; }
.theme-color-changing .menu-overlay {
  transition: opacity .4s ease, visibility .4s ease, background-color 180ms ease-out;
}
.theme-color-changing .menu-item {
  transition: opacity .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1), color 180ms ease-out, border-color 180ms ease-out;
}
.theme-color-changing .subpage {
  transition: opacity .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1), visibility 0s .6s, color 180ms ease-out;
}
.theme-color-changing .subpage.active { transition-delay: 0s; }

/* This isolated, clipped layer never changes document geometry or scroll position. */
.theme-day-night, .theme-orbit-viewport {
  position: fixed;
  inset: 0;
  z-index: 900;
  overflow: hidden;
  pointer-events: none;
  contain: layout style;
}
.theme-day-night { background: #000; }
.theme-day-night[data-layer="explore"] { z-index: -1; }
.theme-orbit-viewport {
  --theme-orbit-mask: linear-gradient(to bottom, #000 calc(var(--theme-orbit-horizon, 50%) - 48px), transparent var(--theme-orbit-horizon, 50%));
  z-index: 1200;
  -webkit-mask-image: var(--theme-orbit-mask);
  mask-image: var(--theme-orbit-mask);
}
.theme-day-night[data-target="dark"] { background: #fff; }
.theme-day-night.theme-environment-return { background: transparent; }
.theme-sky { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
/* Light changes in place: sunrise warms the left/eastern horizon, sunset the
   right/western horizon. No horizon line or moving sky texture is drawn. */
.theme-sky-day { background: linear-gradient(#2866a4, #8fbde0 65%, #dfebf2); }
.theme-sky-dawn {
  background: radial-gradient(ellipse at 12% 100%, #f4cb9bd9, #dfa08766 32%, #dfa08700 67%), linear-gradient(#182c50, #677d9f 50%, #c8b9b2 82%, #efd1ad);
}
.theme-sky-dusk {
  background: radial-gradient(ellipse at 88% 100%, #f2bc83d9, #ce836d66 34%, #ce836d00 68%), linear-gradient(#284565, #777c99 44%, #b9918c 79%, #ddad8c);
}
.theme-sky-night { background: #000; }
.theme-sky-blue-hour { background: linear-gradient(#071126, #182d4e 64%, #304a6a); }
.theme-sky-day::after, .theme-sky-dawn::after,
.theme-sky-dusk::after, .theme-sky-blue-hour::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./sky-dither.png") 0 0 / 128px 128px repeat;
  pointer-events: none;
}
.theme-sky-white { background: #fff; }
.theme-cloud {
  position: absolute;
  aspect-ratio: 8 / 5;
  transform-origin: left center;
  will-change: transform, opacity;
  /* Textures already taper in alpha. A second edge mask clipped the wind
     trace and produced separate rectangular banks in Safari. */
}
/* Bank size and placement use the visible viewport once at the click. */
.theme-cloud-trail {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.theme-cloud-texture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.theme-cloud-texture--dusk, .theme-cloud-texture--night { opacity: 0; }
.theme-cloud-light {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: #fff;
  -webkit-mask-image: var(--cloud-mask);
  mask-image: var(--cloud-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  mask-mode: alpha;
}
.theme-day-night[data-target="dark"] .theme-cloud-light {
  background: radial-gradient(ellipse at 65% 25%, #c2d8ee, #83a1c055 55%, #83a1c000);
}
.theme-orbit { position: absolute; width: 0; height: 0; transform-origin: 0 0; will-change: transform; }
.theme-orbit-position { position: absolute; width: 0; height: 0; }
.theme-orbit-upright { width: 0; height: 0; transform-origin: 0 0; }
.theme-orbit-body { position: absolute; width: 22px; height: 22px; left: -11px; top: -11px; color: #f3f3f3; }
.theme-orbit-body[data-body="sun"] { color: #f4c567; }
.theme-orbit-body .theme-symbol { display: block; }
.theme-orbit-halo { position: absolute; inset: -24px; opacity: 0; border-radius: 50%; background: radial-gradient(circle, #fff9 0, #fff3 32%, #fff0 70%); }
.theme-orbit-body[data-body="sun"] .theme-orbit-halo { background: radial-gradient(circle, #ffe5aacc, #ffd37a55 32%, #ffd37a00 70%); }
.theme-orbit-rays { position: absolute; inset: -17px; width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: .65; opacity: 0; }
.theme-orbit-solid { position: absolute; inset: 0; opacity: 0; }
.theme-orbit-solid .theme-symbol { fill: currentColor; stroke: none; }

@media (max-width: 650px), (any-pointer: coarse) {
  .header-actions { width: 132px; gap: 12px; }
}
@media (max-width: 650px) {
  .header-actions { width: 126px; gap: 9px; }
  .menu-header .menu-actions { margin-right: 41px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-environment { transition: opacity 80ms ease, visibility 0s 80ms; }
  .home-header-mask,
  body[data-theme-page="home"] .home-brand-header { transition: none; }
  :root:not([data-home-mode]).theme-color-changing,
  :root:not([data-home-mode]).theme-color-changing * { transition-duration: 80ms !important; }
  .site-header::before { transition: none; }
}

/* Off removes motion from site controls and decorations. The appearance
   transition opts colour and the shared backdrop back in explicitly. */
:root[data-home-motion="none"] { scroll-behavior: auto !important; }
:root[data-home-motion="none"] :is(
  .menu-overlay, .menu-overlay *, .home-brand-header, .home-brand-header *,
  .home-explore, .home-explore *, .home-explore-cue, .home-explore-cue *,
  .home-sky-track, .home-environment, .home-environment *, .home-content-surface,
  .access-shell *, .access-startup, .music-player *, .music-rights, .music-rights *,
  .media-header, .media-header *, .site-footer, .site-footer *, .video-info *,
  .template-header, .phone-header, .product-page, .phone-page, .detail-reveal, .history-indicator,
  .product-download *, .project-back-arrow
) { transition: none !important; animation: none !important; }
:root[data-home-motion="none"] :is(.home-brand-header, .product-download)::before,
:root[data-home-motion="none"] :is(.home-brand-header, .product-download)::after,
:root[data-home-motion="none"] :is(.menu-button span, .back-button)::before,
:root[data-home-motion="none"] :is(.menu-button span, .back-button, .home-category-toggle, .home-media-switch button)::after,
:root[data-home-motion="none"] :is(.home-content-surface, .home-project-list, .home-search-surface, .music-player)::before,
:root[data-home-motion="none"] .music-rights::backdrop {
  transition: none !important;
  animation: none !important;
}
:root[data-home-motion="none"].theme-color-changing :is(
  .home-content-surface, .home-header-mask, .menu-overlay, .site-footer, .template-header, .phone-header
) { transition: background-color 360ms ease-out, color 180ms step-end !important; }
:root[data-home-motion="none"].theme-color-changing .home-sky-track,
:root[data-home-motion="none"].theme-color-changing .home-content-surface::before {
  transition: opacity 360ms ease-out, visibility 0s 360ms !important;
}
:root[data-home-motion="none"].theme-color-changing[data-home-mode="auto"] .home-sky-track {
  transition-delay: 0s !important;
}
:root[data-home-motion="none"].theme-color-changing :is(
  .theme-toggle, .menu-item, .home-category-toggle, .home-media-switch button,
  .home-project-heading h3, .home-project-number, .home-project-toggle, .home-media-entry, .home-search,
  .home-search-result, .site-copyright
) { transition: color 180ms step-end, -webkit-text-fill-color 180ms step-end !important; }
:root[data-home-motion="none"].theme-color-changing .home-brand-header .brand-wordmark-text {
  transition: color 360ms ease-out !important;
}
:root[data-home-motion="none"].theme-color-changing .home-brand-header .menu-button span {
  transition: background-color 180ms step-end !important;
}

.home-thin-cloud--fire{filter:blur(.6px) sepia(calc(.32 + .4 * var(--cloud-fire,0))) saturate(calc(1.35 + 1.8 * var(--cloud-fire,0))) hue-rotate(calc(var(--cloud-fire-hue,0) * 1deg)) brightness(1.04)}
.home-sky-fire{display:none}
.home-environment-stars{animation:home-sky-drift 720s linear infinite;will-change:transform}
@keyframes home-sky-drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-1.8%,0,0)}}
@media(prefers-reduced-motion:reduce){.home-environment-stars{animation:none}}
:root[data-home-motion="none"] .home-environment-stars{animation:none}
.home-environment-stars{animation:home-sky-drift 180s linear infinite}
@keyframes home-sky-drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-6%,-1.2%,0)}}

.home-star-trails{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:var(--home-stars-opacity,0);transition:opacity 1.2s linear;transform-origin:50% -28%;animation:home-trails-turn 300s linear infinite}
.home-star-trails svg{display:block;width:100%;height:100%}
.home-environment-stars{animation:home-sky-rotate 300s linear infinite;transform-origin:50% -28%}
@keyframes home-sky-rotate{from{transform:rotate(-1.6deg)}to{transform:rotate(1.6deg)}}
@keyframes home-trails-turn{from{transform:rotate(-1.6deg)}to{transform:rotate(1.6deg)}}
@media(prefers-reduced-motion:reduce){.home-star-trails,.home-environment-stars{animation:none}}
:root[data-home-motion="none"] .home-star-trails,:root[data-home-motion="none"] .home-environment-stars{animation:none}

.home-meteor{position:absolute;width:var(--meteor-length,120px);height:1px;border-radius:2px;background:linear-gradient(90deg,rgba(255,255,255,0),#fff);opacity:0;pointer-events:none;transform:rotate(var(--meteor-angle,120deg));animation:home-meteor-fly var(--meteor-duration,1s) ease-in forwards}
@keyframes home-meteor-fly{0%{opacity:0;transform:rotate(var(--meteor-angle,120deg)) translateX(0)}12%{opacity:1}100%{opacity:0;transform:rotate(var(--meteor-angle,120deg)) translateX(var(--meteor-travel,40vw))}}
.home-star-trails path{stroke:rgba(228,238,255,.38)!important;stroke-width:.2!important}
@media(prefers-reduced-motion:reduce){.home-meteor{display:none}}

.home-star-trails{z-index:4;opacity:var(--home-stars-opacity,0)}
.home-star-trails path{stroke:rgba(226,238,255,.55)!important;stroke-width:1!important}

.home-star-trails{display:none!important}
.home-environment-stars{animation:home-sky-arc 1800s linear infinite;transform-origin:50% 260%;will-change:transform}
@keyframes home-sky-arc{from{transform:rotate(0deg)}to{transform:rotate(-360deg)}}
@media(prefers-reduced-motion:reduce){.home-environment-stars{animation:none}}
:root[data-home-motion="none"] .home-environment-stars{animation:none}
@keyframes home-sky-arc{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.home-environment-stars{animation-duration:3600s}
