@charset "UTF-8";

/* Tokens and orbit composition adapted from the v0 export. */
.a2 {
  --bg: #0d101c;
  --sidebar: #111522;
  --panel: #161b2b;
  --line: #30384e;
  --text: #edeefd;
  --muted: #b2b9d0;
  --accent: #b9caff;
  --button: #b4c7ff;
  --a2-violet: #b394fc;
  --a2-cyan: #81e4f1;
  background: radial-gradient(ellipse at 80% 0, #191f39, var(--bg) 60%);
}
.a2 [hidden] { display: none !important; }
.a2 :focus-visible { outline-color: var(--a2-cyan); }
.a2 .shell, .a2.guest .main { position: relative; }
.a2 .sidebar { padding: 1.75rem 1rem 1rem; }
.a2 .sidebar nav { margin: 1.5rem 0 .7rem; }
.a2 .sidebar .brand { letter-spacing: .08em; font-weight: 650; }
.a2-nav-header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.a2 .a2-menu-toggle { display: none; }
.a2 .nav-item span { color: var(--a2-cyan); }
.a2 .nav-item:hover, .a2 .nav-item[aria-current] { background: #25314c; }
.a2 .nav-item[aria-current] { box-shadow: inset 2px 0 var(--a2-cyan); }
.a2 .avatar, .a2 .brand-mark, .a2 .quiet-button { background: #222a44; border-color: #485878; }
.a2 .main { padding-top: clamp(.7rem, 2.3vw, 2.2rem); }
.a2-topbar, .a2-topbar > div, .a2-motion { display: flex; align-items: center; gap: .7rem; }
.a2-topbar { justify-content: space-between; margin-bottom: 1.35rem; min-height: 3rem; }
.a2-motion { color: var(--muted); font-size: .87rem; }
.a2-motion select { width: auto; font-size: .87rem; }
.a2-profile { text-align: end; max-width: 12rem; }
.a2 .panel, .a2 .section-tile { border-color: var(--line); background: linear-gradient(142deg, #1c2337, var(--panel) 60%); }
.a2 .hero {
  border-color: #465579;
  min-height: clamp(15rem, 25vw, 24rem);
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, #0c1329, #12182bd9 40%, #17203936 100%),
              url('./aether-hero.webp') 70% center / cover no-repeat #161c30;
}
.a2 .hero-content { z-index: 1; }
.a2 .hero h1 { text-wrap: balance; line-height: .99; }
.a2 .search input, .a2 .edit-form input:not([type=checkbox]), .a2 textarea, .a2 select {
  background: #111728;
  border-color: #4a5778;
}
.a2 .search input::placeholder { color: #aab3cd; }
.a2 .button { border-color: #4b5b82; }
.a2 .button.primary { background: var(--button); color: #11172b; border-color: var(--button); }
.a2 .button:disabled { cursor: not-allowed; opacity: .55; }
.a2-quick { margin: -1.15rem 0 1.8rem; }
.a2 .section-tile { min-height: 6.1rem; }
.a2 .tile-icon { color: var(--a2-cyan); }
.a2 .material-card h3 a span { color: var(--a2-cyan); font-weight: 400; }
.a2 .material-card p { color: var(--muted); }
.a2 .material-card h3 a::after { content: ''; position: absolute; inset: 0; }
.a2 .material-card { position: relative; }
.a2 .material-card > a:focus-visible { position: relative; z-index: 1; }
.a2 .album-cover { object-fit: cover; width: 100%; }
.a2 .button.a2-pending { cursor: progress; }
.a2 .a2-pending::after {
  content: '';
  width: .8rem;
  height: .8rem;
  margin-inline-start: .45rem;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}
.a2-logo { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; position: relative; flex: none; }
.a2-logo::before, .a2-logo i { content: ''; position: absolute; border-radius: 50%; }
.a2-logo::before { inset: 2px; border: 1px solid #81e4f17d; }
.a2-logo i { inset: 35% -2px; transform: rotate(-24deg); border: 1px solid #b394fcb0; }
.a2-logo b { width: .55rem; height: .55rem; border-radius: 50%; background: var(--a2-cyan); box-shadow: 0 0 .8rem var(--a2-violet); }
.a2-orbit { position: absolute; inset: 50% 1% auto auto; width: min(47%, 27rem); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.a2-orbit svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.a2-planet { position: absolute; inset: 38%; border-radius: 50%; background: radial-gradient(circle at 31% 28%, #9ee7ff, #5d69e5 39%, #111735 76%); box-shadow: 0 0 2.5rem #8295ec88; }

.a2-space { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.a2-stars { position: absolute; inset: 0; opacity: .49;
  background-image: radial-gradient(circle, #c9d4f296 0 1px, transparent 1.5px),
                    radial-gradient(circle, #9daaf677 0 1px, transparent 1.5px);
  background-size: 143px 109px, 197px 179px;
  background-position: 32px 23px, 90px 50px;
}
.a2-galaxy {
  position: absolute; top: -20vw; right: -18vw; width: min(67vw, 59rem); aspect-ratio: 1;
  opacity: .48;
  background: radial-gradient(ellipse at center, #d1d4ff80 0%, #8978ee78 12%, transparent 57%),
    conic-gradient(from 10deg, transparent 5%, #7b91ee66 19%, transparent 33%,
      #8761e22c 50%, #ac8ff96b 62%, transparent 79%, #647de65c 96%, transparent);
  mask-image: radial-gradient(ellipse 48% 35% at center, #000 5%, transparent 100%);
}
.a2-comet, .a2-alien { display: none; position: absolute; opacity: 0; }
.a2-comet {
  top: 14%; right: 4%; width: 7rem; height: .16rem; border-radius: 50%;
  background: linear-gradient(90deg, transparent, #819df3, #eefbff);
  box-shadow: 0 0 .5rem #92ddf5;
}
.a2-alien {
  bottom: 3%; right: 2%; width: 2.1rem; height: 2.6rem;
  background: linear-gradient(125deg, #b6eee9, #4f8fa6);
  border-radius: 65% 65% 62% 62% / 54% 54% 85% 85%;
  box-shadow: 0 0 1rem #8ed7e977;
}
.a2-alien i { position: absolute; background: #15213e; top: 42%; left: 22%; width: 23%; height: 28%; border-radius: 65%; transform: rotate(-28deg); }
.a2-alien i + i { left: auto; right: 22%; transform: rotate(28deg); }
.a2-gallery {
  color: var(--text); background: #121828; border: 1px solid #4b5b82; border-radius: 1rem;
  width: min(94vw, 60rem); max-height: 92dvh; padding: 1rem;
}
.a2-gallery::backdrop { background: #080b14e6; }
.a2-gallery img, .a2-gallery video { margin: .7rem auto; max-height: 65dvh; object-fit: contain; }
.a2-gallery header, .a2-gallery footer { display: flex; gap: .5rem; justify-content: space-between; align-items: center; }

@media (prefers-reduced-motion: no-preference) {
  :root:is([data-a2-motion="live"], [data-a2-motion="space"]) .a2 .button,
  :root:is([data-a2-motion="live"], [data-a2-motion="space"]) .a2 .material-card,
  :root:is([data-a2-motion="live"], [data-a2-motion="space"]) .a2 .section-tile {
    transition: transform 160ms ease-out, border-color 160ms, box-shadow 160ms;
  }
  :root:is([data-a2-motion="live"], [data-a2-motion="space"]) .a2 .main { animation: a2-enter 220ms ease-out both; }
  :root:is([data-a2-motion="live"], [data-a2-motion="space"]) .a2 .button:active { transform: scale(.97); }
  :root:is([data-a2-motion="live"], [data-a2-motion="space"]) .a2-pending::after { animation: a2-rotate .65s linear infinite; }
  @media (hover: hover) {
    :root:is([data-a2-motion="live"], [data-a2-motion="space"]) .a2 :is(.material-card,.section-tile,.button):hover {
      transform: translateY(-2px); border-color: #839dd2; box-shadow: 0 .55rem 1.4rem #06091366;
    }
  }
  @media (min-width: 651px) {
    :root:is([data-a2-motion="live"], [data-a2-motion="space"]) .a2-orbit-forward { animation: a2-rotate 60s linear infinite; }
    :root:is([data-a2-motion="live"], [data-a2-motion="space"]) .a2-orbit-reverse { animation: a2-rotate 90s linear infinite reverse; }
    :root:is([data-a2-motion="live"], [data-a2-motion="space"]) .a2-galaxy { animation: a2-rotate 190s linear infinite; }
    :root[data-a2-motion="space"] .a2-comet { display: block; animation: a2-comet 53s 4s linear infinite; }
    :root[data-a2-motion="space"] .a2-alien { display: block; animation: a2-alien 69s 9s ease-in-out infinite; }
  }
}
@keyframes a2-enter { from { opacity: .78; translate: 0 .3rem; } to { opacity: 1; translate: 0; } }
@keyframes a2-rotate { to { transform: rotate(1turn); } }
@keyframes a2-comet { 0% { opacity: 0; transform: translateX(14vw) rotate(-17deg); } 1% { opacity: .9; } 5%, 100% { opacity: 0; transform: translate(-76vw, 22vh) rotate(-17deg); } }
@keyframes a2-alien { 0%, 9%, 100% { opacity: 0; translate: 0 2.8rem; } 3%, 5% { opacity: .9; translate: 0 0; rotate: -9deg; } }
@media (max-width: 850px) {
  .a2 .sidebar { padding: .65rem .8rem; }
  .a2 .sidebar nav { margin: .45rem 0; }
  .a2 .a2-menu-toggle { display: inline-flex; padding: .45rem .75rem; }
  .a2 .sidebar:has(.a2-menu-toggle[aria-expanded="false"]) :is(.a2-nav-links, .account) { display: none; }
  .a2 .hero { min-height: 12.6rem; }
  .a2 .hero .search { width: 100%; }
  .a2 .a2-profile { display: none; }
}
@media (max-width: 650px) {
  .a2-galaxy { width: 24rem; right: -13rem; top: -9rem; }
  .a2 .hero { background-position: 76% center; }
  .a2 .hero h1 { font-size: clamp(2.15rem, 10vw, 3.3rem); }
  .a2 .a2-orbit { opacity: .48; width: 54%; }
  .a2 .a2-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a2 .a2-quick .button { justify-content: center; text-align: center; padding-inline: .25rem; font-size: .84rem; }
}
