/*
  Talent Star Mark — Home espacial interactiva
  Fase 1 · CSS sin dependencias externas
*/

:root {
  --font-display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --bg: #01030a;
  --bg-deep: #000106;
  --surface: rgba(7, 10, 24, 0.78);
  --surface-strong: rgba(8, 10, 24, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(236, 193, 83, 0.44);
  --text: #f5f7ff;
  --muted: #9fa9c5;
  --gold: #edc45d;
  --gold-bright: #ffe09a;
  --accent: #7cbaff;
  --accent-soft: #244f8d;
  --violet: #8b65e8;
  --danger: #ff8b9d;
  --header-height: 68px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-cinematic: cubic-bezier(.2, .8, .2, 1);
  --galaxy-shift-x: 0px;
  --galaxy-shift-y: 0px;
  --constellation-shift-x: 0px;
  --constellation-shift-y: 0px;
  --watermark-shift-x: 0px;
  --watermark-shift-y: 0px;
  --viewport-gutter: 0px;
}

body[data-ambience="aurora"] {
  --bg: #01040d;
  --bg-deep: #010107;
  --surface: rgba(8, 9, 29, 0.8);
  --surface-strong: rgba(7, 8, 25, 0.95);
  --line-strong: rgba(122, 235, 255, 0.4);
  --gold: #d9c8ff;
  --gold-bright: #f0e9ff;
  --accent: #7ce8ff;
  --accent-soft: #315291;
  --violet: #a35cff;
}

body[data-ambience="solar"] {
  --bg: #080204;
  --bg-deep: #030103;
  --surface: rgba(24, 7, 13, 0.8);
  --surface-strong: rgba(22, 7, 12, 0.95);
  --line-strong: rgba(255, 185, 80, 0.46);
  --gold: #f1b850;
  --gold-bright: #ffe0a4;
  --accent: #ff7193;
  --accent-soft: #7b2946;
  --violet: #c74f98;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg-deep);
  scrollbar-color: rgba(237, 196, 93, .5) rgba(5, 8, 18, .9);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 52%, color-mix(in srgb, var(--accent-soft) 20%, transparent) 0, transparent 30%),
    radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--violet) 10%, transparent) 0, transparent 32%),
    var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  isolation: isolate;
  transition: background-color .5s ease, color .3s ease;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .28), transparent 16%, transparent 82%, rgba(0, 0, 0, .35)),
    radial-gradient(circle at center, transparent 38%, rgba(0, 0, 0, .36) 100%);
  mix-blend-mode: multiply;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

button:focus-visible,
a:focus-visible,
[role="radio"]:focus-visible,
[role="switch"]:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

::selection {
  color: #07101f;
  background: var(--gold-bright);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: .72rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--text);
  background: #080b16;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#spaceCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.brand-watermark {
  position: fixed;
  top: 51%;
  left: calc((100% - var(--viewport-gutter)) / 2);
  z-index: 0;
  width: min(42vw, 660px);
  min-width: 360px;
  pointer-events: none;
  opacity: .055;
  filter: grayscale(.15) drop-shadow(0 0 30px color-mix(in srgb, var(--gold) 30%, transparent));
  transform: translate(-50%, -50%) translate3d(var(--watermark-shift-x), var(--watermark-shift-y), 0);
  transition: opacity .45s ease, filter .45s ease, transform .25s ease-out;
  user-select: none;
}

.brand-watermark img {
  width: 100%;
  height: auto;
}

body[data-motion="on"] .brand-watermark {
  animation: watermark-breathe 8s ease-in-out infinite;
}

@keyframes watermark-breathe {
  0%, 100% { opacity: .042; filter: grayscale(.18) drop-shadow(0 0 24px color-mix(in srgb, var(--gold) 22%, transparent)); }
  50% { opacity: .075; filter: grayscale(.08) drop-shadow(0 0 46px color-mix(in srgb, var(--gold) 42%, transparent)); }
}

/* Header */
.site-header {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: calc((100% - var(--viewport-gutter)) / 2);
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 28px));
  min-height: var(--header-height);
  padding: 7px 9px 7px 10px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(7, 10, 22, .77), rgba(3, 6, 16, .58));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .27), inset 0 1px rgba(255, 255, 255, .045);
  backdrop-filter: blur(18px) saturate(125%);
  transform: translateX(-50%) translateY(-14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), border-color .35s ease, background .35s ease;
}

body.is-ready .site-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.site-header:hover {
  border-color: rgba(237, 196, 93, .24);
  background: linear-gradient(135deg, rgba(8, 12, 28, .86), rgba(3, 6, 16, .69));
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  height: 52px;
  padding: 4px 10px 4px 4px;
  border-radius: 16px;
  gap: 9px;
}

.brand-link img {
  width: 50px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(237, 196, 93, .24));
}

.brand-link__name {
  color: var(--text);
  font-size: .78rem;
  font-weight: 680;
  letter-spacing: .16em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: clamp(14px, 2.2vw, 34px);
}

.desktop-nav a {
  position: relative;
  padding: 12px 2px;
  color: rgba(245, 247, 255, .76);
  font-size: .85rem;
  font-weight: 590;
  letter-spacing: .025em;
  white-space: nowrap;
  transition: color .22s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .3s var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 190px;
  gap: 8px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}

.language-switch--compact {
  height: 42px;
  padding: 0 5px;
  gap: 1px;
}

.language-switch span {
  color: rgba(255, 255, 255, .25);
  font-size: .72rem;
}

.language-switch button {
  min-width: 34px;
  height: 32px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: .72rem;
  font-weight: 760;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.language-switch button[aria-pressed="true"] {
  color: #171307;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 18px color-mix(in srgb, var(--gold) 26%, transparent);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: rgba(245, 247, 255, .86);
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.icon-button:hover {
  color: var(--gold-bright);
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--gold) 8%, rgba(255, 255, 255, .035));
  transform: translateY(-1px);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

/* Main universe */
.universe {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s var(--ease-out);
}

body.is-ready .universe {
  opacity: 1;
  pointer-events: auto;
}

.hero-copy {
  position: absolute;
  top: clamp(91px, 12.2vh, 126px);
  left: 50%;
  z-index: 8;
  width: min(92vw, 720px);
  text-align: center;
  transform: translateX(-50%);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .9);
}

.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.05vw, 2.15rem);
  font-weight: 680;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-copy h1::after {
  display: block;
  width: 98px;
  height: 1px;
  margin: 13px auto 10px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--gold) 52%, transparent);
}

.hero-copy p {
  margin: 0;
  color: color-mix(in srgb, var(--muted) 90%, white);
  font-size: clamp(.76rem, 1.05vw, .94rem);
  font-weight: 480;
  letter-spacing: .08em;
}

.galaxy-anchor {
  position: absolute;
  top: 53%;
  left: 50%;
  z-index: 2;
  width: min(39vw, 590px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) translate3d(var(--galaxy-shift-x), var(--galaxy-shift-y), 0);
  transition: transform .25s ease-out;
}

.galaxy-anchor__halo,
.galaxy-anchor__core,
.galaxy-anchor__orbit {
  position: absolute;
  border-radius: 50%;
}

.galaxy-anchor__halo {
  inset: 11%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 12%, transparent), transparent 66%);
  filter: blur(18px);
  opacity: .8;
}

.galaxy-anchor__core {
  top: 50%;
  left: 50%;
  width: 8%;
  aspect-ratio: 1;
  background: radial-gradient(circle, #fff 0, var(--gold-bright) 24%, color-mix(in srgb, var(--gold) 72%, transparent) 52%, transparent 75%);
  box-shadow: 0 0 35px color-mix(in srgb, var(--gold) 60%, transparent);
  transform: translate(-50%, -50%);
  opacity: .78;
}

.galaxy-anchor__orbit {
  top: 50%;
  left: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translate(-50%, -50%) rotate(-12deg) scaleY(.36);
  opacity: .28;
}

.galaxy-anchor__orbit--one {
  width: 74%;
  aspect-ratio: 1;
}

.galaxy-anchor__orbit--two {
  width: 96%;
  aspect-ratio: 1;
  border-color: color-mix(in srgb, var(--gold) 12%, transparent);
  transform: translate(-50%, -50%) rotate(16deg) scaleY(.38);
}

body[data-motion="on"] .galaxy-anchor__core {
  animation: core-pulse 3.6s ease-in-out infinite;
}

body[data-motion="on"] .galaxy-anchor__orbit--one {
  animation: orbit-breathe-one 7s ease-in-out infinite;
}

body[data-motion="on"] .galaxy-anchor__orbit--two {
  animation: orbit-breathe-two 9s ease-in-out infinite reverse;
}

@keyframes core-pulse {
  0%, 100% { opacity: .58; transform: translate(-50%, -50%) scale(.88); }
  50% { opacity: .95; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes orbit-breathe-one {
  0%, 100% { opacity: .16; transform: translate(-50%, -50%) rotate(-12deg) scaleY(.36) scale(.97); }
  50% { opacity: .35; transform: translate(-50%, -50%) rotate(-8deg) scaleY(.38) scale(1.03); }
}

@keyframes orbit-breathe-two {
  0%, 100% { opacity: .12; transform: translate(-50%, -50%) rotate(16deg) scaleY(.38) scale(.98); }
  50% { opacity: .27; transform: translate(-50%, -50%) rotate(20deg) scaleY(.35) scale(1.02); }
}

.constellation {
  position: absolute;
  inset: 0;
  z-index: 10;
  transform: translate3d(var(--constellation-shift-x), var(--constellation-shift-y), 0);
  transition: transform .25s ease-out;
}

.talent-star {
  --visual-size: calc(var(--size) * 1px);
  position: absolute;
  top: calc(var(--y) * 1%);
  left: calc(var(--x) * 1%);
  display: grid;
  width: min(168px, 15vw);
  min-height: 118px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 8px 4px;
  border-radius: 24px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  touch-action: manipulation;
}

.talent-star::before {
  position: absolute;
  inset: 6px 12px;
  z-index: -1;
  border: 1px solid transparent;
  border-radius: 24px;
  content: "";
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 6%, transparent), transparent 68%);
  opacity: 0;
  transform: scale(.88);
  transition: opacity .3s ease, transform .35s var(--ease-out), border-color .3s ease;
}

.talent-star__visual {
  position: relative;
  display: grid;
  width: var(--visual-size);
  height: var(--visual-size);
  place-items: center;
  isolation: isolate;
  filter: drop-shadow(0 0 13px color-mix(in srgb, var(--accent) 22%, transparent));
  transition: filter .35s ease, transform .4s var(--ease-out);
}

body[data-motion="on"] .talent-star__visual {
  animation: star-float 6.8s ease-in-out infinite;
  animation-delay: var(--float-delay);
}

.talent-star__visual::before,
.talent-star__visual::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.talent-star__visual::before {
  width: 142%;
  height: 142%;
  background: conic-gradient(from 0deg, transparent 0 9%, color-mix(in srgb, var(--gold) 66%, transparent) 10% 11%, transparent 12% 21%, color-mix(in srgb, var(--accent) 48%, transparent) 22% 23%, transparent 24% 34%, color-mix(in srgb, var(--gold) 58%, transparent) 35% 36%, transparent 37% 100%);
  clip-path: polygon(50% 0, 55% 43%, 80% 10%, 61% 45%, 100% 50%, 61% 55%, 88% 84%, 56% 60%, 50% 100%, 44% 60%, 12% 84%, 39% 55%, 0 50%, 39% 45%, 20% 10%, 45% 43%);
  opacity: .5;
  filter: blur(.3px) drop-shadow(0 0 8px var(--gold));
  transition: opacity .35s ease, transform .5s var(--ease-out);
}

.talent-star__visual::after {
  width: 116%;
  height: 116%;
  border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
  border-radius: 50%;
  box-shadow: inset 0 0 17px color-mix(in srgb, var(--accent) 13%, transparent), 0 0 18px color-mix(in srgb, var(--gold) 10%, transparent);
  opacity: .62;
}

.talent-star__visual img {
  position: relative;
  z-index: 2;
  width: 74%;
  height: 74%;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, .06), 0 8px 25px rgba(0, 0, 0, .44);
  transition: transform .45s var(--ease-out), border-color .3s ease, filter .3s ease;
  user-select: none;
}

.talent-star__halo {
  position: absolute;
  inset: 13%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 24%, transparent), transparent 68%);
  filter: blur(12px);
  opacity: .55;
  transition: opacity .3s ease, transform .4s var(--ease-out);
}

.talent-star__label {
  position: relative;
  display: inline-block;
  max-width: 158px;
  color: rgba(248, 249, 255, .92);
  font-size: clamp(.69rem, .8vw, .82rem);
  font-weight: 610;
  letter-spacing: .025em;
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 2px 8px #000, 0 0 14px #000;
  text-wrap: balance;
  transition: color .25s ease, transform .35s var(--ease-out), text-shadow .25s ease;
}

.talent-star__label::after {
  display: block;
  width: 0;
  height: 1px;
  margin: 5px auto 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--gold) 45%, transparent);
  transition: width .35s var(--ease-out);
}

.talent-star:hover::before,
.talent-star:focus-visible::before {
  border-color: color-mix(in srgb, var(--gold) 16%, transparent);
  opacity: 1;
  transform: scale(1);
}

.talent-star:hover .talent-star__visual,
.talent-star:focus-visible .talent-star__visual {
  filter: drop-shadow(0 0 20px color-mix(in srgb, var(--gold) 46%, transparent));
  transform: scale(1.1) translateY(-3px);
}

.talent-star:hover .talent-star__visual::before,
.talent-star:focus-visible .talent-star__visual::before {
  opacity: .9;
  transform: translate(-50%, -50%) rotate(24deg) scale(1.08);
}

.talent-star:hover .talent-star__visual img,
.talent-star:focus-visible .talent-star__visual img {
  border-color: color-mix(in srgb, var(--gold-bright) 56%, transparent);
  filter: brightness(1.12) saturate(1.08);
  transform: scale(1.08);
}

.talent-star:hover .talent-star__halo,
.talent-star:focus-visible .talent-star__halo {
  opacity: .95;
  transform: scale(1.2);
}

.talent-star:hover .talent-star__label,
.talent-star:focus-visible .talent-star__label {
  color: #fff;
  transform: translateY(2px);
  text-shadow: 0 2px 8px #000, 0 0 17px color-mix(in srgb, var(--gold) 33%, transparent);
}

.talent-star:hover .talent-star__label::after,
.talent-star:focus-visible .talent-star__label::after {
  width: 72%;
}

.talent-star:active .talent-star__visual {
  transform: scale(.96);
}

.talent-star--sponsor .talent-star__visual {
  filter: saturate(.72) drop-shadow(0 0 10px color-mix(in srgb, var(--violet) 20%, transparent));
}

.talent-star--sponsor .talent-star__visual::before {
  opacity: .26;
  filter: blur(.3px) drop-shadow(0 0 7px color-mix(in srgb, var(--violet) 60%, transparent));
}

.talent-star--sponsor .talent-star__visual::after {
  border-color: color-mix(in srgb, var(--violet) 30%, transparent);
}

.talent-star--sponsor .talent-star__label {
  color: color-mix(in srgb, var(--violet) 52%, white);
  font-weight: 560;
}

body[data-motion="on"] .talent-star--sponsor .talent-star__visual {
  animation-duration: 9.5s;
}

.talent-star.is-origin-hidden {
  opacity: .12;
  pointer-events: none;
}

@keyframes star-float {
  0%, 100% { translate: 0 0; rotate: -1deg; }
  32% { translate: 2px -7px; rotate: 1.5deg; }
  66% { translate: -2px 4px; rotate: -.6deg; }
}

/* Intro */
.intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  overflow: hidden;
  margin: 0;
  border: 0;
  place-items: center;
  color: var(--text);
  background: #000;
  transition: opacity .75s var(--ease-out), visibility .75s step-end;
}

.intro[hidden] {
  display: none;
}

.intro.is-leaving {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.intro__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 0 8%, rgba(0, 0, 0, .23) 36%, rgba(0, 0, 0, .82) 100%),
    linear-gradient(#000, rgba(0, 2, 8, .94));
  transition: opacity .8s ease;
}

.intro__stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.intro__status {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(88vw, 560px);
  margin: 0;
  color: rgba(245, 247, 255, .88);
  font-size: clamp(.82rem, 1.2vw, 1.02rem);
  font-weight: 560;
  letter-spacing: .16em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.intro__status::after {
  display: block;
  width: 170px;
  height: 1px;
  margin: 17px auto 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loading-line 1s ease-in-out infinite;
}

@keyframes loading-line {
  0%, 100% { opacity: .25; transform: scaleX(.45); }
  50% { opacity: 1; transform: scaleX(1); }
}

.intro__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: min(42vw, 510px);
  min-width: 270px;
  pointer-events: none;
  opacity: 0;
  filter: blur(8px);
  transform: translate(-50%, -50%) scale(.82);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s ease;
}

.intro__logo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(236, 193, 83, .22));
}

.intro__logo-halo {
  position: absolute;
  inset: 4% 8%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 26%, transparent), transparent 70%);
  filter: blur(28px);
}

.intro__symbols {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.intro-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(48px, 5vw, 72px);
  height: clamp(48px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  opacity: 0;
  filter: drop-shadow(0 0 15px color-mix(in srgb, var(--gold) 20%, transparent));
  transform: translate(var(--sx), var(--sy)) scale(.72);
}

.intro-symbol img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.intro__singularity,
.intro__shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.intro__singularity {
  width: 12px;
  height: 12px;
  background: #fff;
  box-shadow: 0 0 18px #fff, 0 0 44px var(--gold), 0 0 110px color-mix(in srgb, var(--accent) 45%, transparent);
  opacity: 0;
}

.intro__shockwave {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, .94);
  box-shadow: 0 0 28px var(--gold), inset 0 0 20px var(--accent);
  opacity: 0;
}

.intro__skip {
  position: absolute;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 15;
}

.glass-button {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(245, 247, 255, .78);
  background: rgba(7, 10, 22, .5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: .75rem;
  font-weight: 620;
  letter-spacing: .04em;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.glass-button:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(12, 15, 30, .74);
  transform: translateY(-1px);
}

.intro[data-phase="logo"] .intro__status,
.intro[data-phase="suction"] .intro__status,
.intro[data-phase="implode"] .intro__status,
.intro[data-phase="explode"] .intro__status {
  opacity: 0;
  transition: opacity .35s ease;
}

.intro[data-phase="logo"] .intro__logo,
.intro[data-phase="suction"] .intro__logo {
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, -50%) scale(1);
}

.intro[data-phase="logo"] .intro__logo-halo {
  animation: intro-logo-breathe 2.1s ease-in-out infinite;
}

@keyframes intro-logo-breathe {
  0%, 100% { opacity: .45; transform: scale(.94); }
  50% { opacity: .9; transform: scale(1.08); }
}

.intro[data-phase="suction"] .intro__logo {
  opacity: .34;
  filter: blur(1px);
  transform: translate(-50%, -50%) scale(.92);
}

.intro[data-phase="suction"] .intro-symbol {
  animation: symbol-suction 1.4s var(--ease-cinematic) var(--delay) forwards;
}

@keyframes symbol-suction {
  0% { opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(0deg) scale(.72); }
  16% { opacity: .9; }
  72% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(760deg) scale(.035); filter: blur(2px) drop-shadow(0 0 24px var(--gold)); }
}

.intro[data-phase="implode"] .intro__logo {
  opacity: 0;
  filter: blur(4px);
  transform: translate(-50%, -50%) scale(.04) rotate(14deg);
  transition-duration: .55s;
}

.intro[data-phase="implode"] .intro__singularity {
  opacity: 1;
  animation: singularity-charge .68s var(--ease-cinematic) forwards;
}

@keyframes singularity-charge {
  0% { width: 8px; height: 8px; opacity: .3; }
  72% { width: 26px; height: 26px; opacity: 1; }
  100% { width: 4px; height: 4px; opacity: 1; box-shadow: 0 0 35px #fff, 0 0 90px var(--gold), 0 0 180px var(--accent); }
}

.intro[data-phase="explode"] .intro__singularity {
  animation: singularity-burst .8s var(--ease-out) forwards;
}

.intro[data-phase="explode"] .intro__shockwave {
  animation: shockwave 1.1s var(--ease-out) forwards;
}

.intro[data-phase="explode"] .intro__veil {
  opacity: .18;
}

@keyframes singularity-burst {
  0% { width: 5px; height: 5px; opacity: 1; }
  18% { width: 24vmax; height: 24vmax; opacity: 1; }
  100% { width: 160vmax; height: 160vmax; opacity: 0; }
}

@keyframes shockwave {
  0% { width: 10px; height: 10px; opacity: 1; }
  100% { width: 140vmax; height: 140vmax; opacity: 0; border-width: 1px; }
}

/* Settings */
.settings-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 210;
  width: min(438px, 100%);
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--text);
  background: transparent;
  transform: translateX(24px);
  opacity: 0;
  transition: opacity .28s ease, transform .42s var(--ease-out), display .42s allow-discrete, overlay .42s allow-discrete;
}

.settings-dialog[open] {
  display: block;
  transform: translateX(0);
  opacity: 1;
}

@starting-style {
  .settings-dialog[open] {
    transform: translateX(32px);
    opacity: 0;
  }
}

.settings-dialog::backdrop {
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .32s ease, display .32s allow-discrete, overlay .32s allow-discrete;
}

.settings-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .settings-dialog[open]::backdrop { opacity: 0; }
}

.settings-panel {
  height: 100%;
  padding: max(28px, env(safe-area-inset-top)) 26px max(22px, env(safe-area-inset-bottom));
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, .12);
  background:
    radial-gradient(circle at 15% 0, color-mix(in srgb, var(--violet) 12%, transparent), transparent 28%),
    linear-gradient(165deg, color-mix(in srgb, var(--surface-strong) 94%, #151125), color-mix(in srgb, var(--surface-strong) 97%, #030714));
  box-shadow: -30px 0 80px rgba(0, 0, 0, .38);
  scrollbar-width: thin;
}

.settings-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

.settings-panel__eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.settings-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 690;
  letter-spacing: -.02em;
}

.icon-button--large {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 16px;
}

.setting-group {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .085);
}

.setting-group__heading {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.setting-group__heading--stacked {
  display: block;
}

.setting-group__icon {
  display: inline-grid;
  width: 20px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.setting-group h3 {
  margin: 0 0 3px;
  font-size: .9rem;
  font-weight: 690;
}

.setting-group p {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.4;
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .025);
}

.segmented-control button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
  font-size: .79rem;
  font-weight: 650;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.segmented-control button[aria-pressed="true"] {
  color: var(--gold-bright);
  border-color: color-mix(in srgb, var(--gold) 35%, transparent);
  background: color-mix(in srgb, var(--gold) 12%, rgba(255, 255, 255, .04));
  box-shadow: inset 0 1px rgba(255, 255, 255, .055);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 47px;
  padding: 8px 11px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, .025);
  font-size: .8rem;
  font-weight: 620;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.switch-row[aria-checked="true"] {
  border-color: color-mix(in srgb, var(--gold) 38%, transparent);
  background: color-mix(in srgb, var(--gold) 6%, rgba(255, 255, 255, .025));
}

.switch {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  transition: background .24s ease;
}

.switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d8deed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .32);
  transition: transform .28s var(--ease-out), background .2s ease, box-shadow .2s ease;
}

.switch-row[aria-checked="true"] .switch {
  background: color-mix(in srgb, var(--gold) 52%, #6b5631);
}

.switch-row[aria-checked="true"] .switch span {
  background: var(--gold-bright);
  box-shadow: 0 0 13px color-mix(in srgb, var(--gold) 58%, transparent);
  transform: translateX(18px);
}

.ambience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ambience-card {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, color .2s ease, transform .2s ease, background .2s ease;
}

.ambience-card:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.ambience-card[aria-checked="true"] {
  color: var(--text);
  border-color: color-mix(in srgb, var(--gold) 62%, transparent);
  background: color-mix(in srgb, var(--gold) 5%, rgba(255, 255, 255, .025));
}

.ambience-card__preview {
  position: relative;
  display: block;
  height: 42px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 10px;
}

.ambience-card__preview::after {
  position: absolute;
  top: 50%;
  right: 18%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, #fff4bc, #d8b957 35%, transparent 72%);
  filter: blur(1px);
  transform: translateY(-50%);
}

.ambience-card__preview--cosmos {
  background: linear-gradient(135deg, #071733, #174b87);
}

.ambience-card__preview--aurora {
  background: linear-gradient(135deg, #39156f, #483da1 56%, #31a9bf);
}

.ambience-card__preview--solar {
  background: linear-gradient(135deg, #67152e, #bb355e 56%, #d97845);
}

.ambience-card > span:last-child {
  display: block;
  overflow: hidden;
  font-size: .7rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.replay-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  padding: 11px 15px;
  border: 1px solid color-mix(in srgb, var(--gold) 48%, transparent);
  border-radius: 17px;
  color: var(--gold-bright);
  background: color-mix(in srgb, var(--gold) 7%, rgba(255, 255, 255, .025));
  font-size: .82rem;
  font-weight: 760;
  gap: 10px;
  cursor: pointer;
  transition: background .25s ease, box-shadow .25s ease, transform .2s ease;
}

.replay-button:hover {
  background: color-mix(in srgb, var(--gold) 13%, rgba(255, 255, 255, .035));
  box-shadow: 0 0 24px color-mix(in srgb, var(--gold) 14%, transparent);
  transform: translateY(-1px);
}

/* Big Bang replay */
.big-bang-overlay {
  position: fixed;
  top: 0;
  right: var(--viewport-gutter);
  bottom: 0;
  left: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
  visibility: hidden;
  background: rgba(0, 0, 0, 0);
}

.big-bang-overlay.is-active {
  visibility: visible;
}

.big-bang-overlay__core,
.big-bang-overlay__wave {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.big-bang-overlay.is-imploding {
  animation: replay-dim .72s ease forwards;
}

.big-bang-overlay.is-imploding .big-bang-overlay__core {
  width: 12px;
  height: 12px;
  background: #fff;
  box-shadow: 0 0 24px #fff, 0 0 70px var(--gold), 0 0 150px var(--accent);
  animation: replay-charge .72s var(--ease-cinematic) forwards;
}

.big-bang-overlay.is-exploding .big-bang-overlay__core {
  background: #fff;
  box-shadow: 0 0 30px #fff, 0 0 100px var(--gold), 0 0 220px var(--accent);
  animation: replay-explosion .95s var(--ease-out) forwards;
}

.big-bang-overlay.is-exploding .big-bang-overlay__wave {
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  box-shadow: 0 0 24px var(--gold), inset 0 0 28px var(--accent);
  animation: replay-wave 1.15s var(--ease-out) forwards;
}

body.is-replaying .hero-copy,
body.is-replaying .talent-star,
body.is-replaying .site-header {
  opacity: .06;
  pointer-events: none;
  transition: opacity .35s ease;
}

@keyframes replay-dim {
  from { background: rgba(0, 0, 0, 0); }
  to { background: rgba(0, 0, 0, .72); }
}

@keyframes replay-charge {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  55% { opacity: 1; transform: translate(-50%, -50%) scale(2.2); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(.35); }
}

@keyframes replay-explosion {
  0% { width: 7px; height: 7px; opacity: 1; }
  24% { width: 22vmax; height: 22vmax; opacity: 1; }
  100% { width: 150vmax; height: 150vmax; opacity: 0; }
}

@keyframes replay-wave {
  0% { opacity: 1; }
  100% { width: 130vmax; height: 130vmax; opacity: 0; }
}

/* Star flight and burst */
.star-flight {
  position: fixed !important;
  z-index: 150 !important;
  margin: 0 !important;
  pointer-events: none !important;
  will-change: transform, opacity, filter;
}

.star-flight::before {
  opacity: 1 !important;
}

.star-burst {
  position: fixed;
  z-index: 151;
  width: 16px;
  height: 16px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.star-burst::before {
  position: absolute;
  inset: -18px;
  content: "";
  background: radial-gradient(circle, #fff 0 12%, var(--gold-bright) 24%, color-mix(in srgb, var(--gold) 58%, transparent) 42%, transparent 70%);
  clip-path: polygon(50% 0, 58% 39%, 85% 15%, 64% 43%, 100% 50%, 64% 57%, 85% 85%, 58% 61%, 50% 100%, 42% 61%, 15% 85%, 36% 57%, 0 50%, 36% 43%, 15% 15%, 42% 39%);
  filter: drop-shadow(0 0 16px var(--gold));
  animation: burst-star .75s var(--ease-out) forwards;
}

.star-burst i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: var(--length, 54px);
  border-radius: 999px;
  background: linear-gradient(to top, var(--gold), #fff, transparent);
  transform-origin: 50% 100%;
  animation: burst-ray .8s var(--ease-out) forwards;
}

@keyframes burst-star {
  0% { opacity: 0; transform: scale(.12) rotate(0); }
  22% { opacity: 1; transform: scale(1.5) rotate(24deg); }
  100% { opacity: 0; transform: scale(2.8) rotate(58deg); }
}

@keyframes burst-ray {
  0% { opacity: 0; transform: translate(-50%, -100%) rotate(var(--angle)) translateY(0) scaleY(.12); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -100%) rotate(var(--angle)) translateY(calc(var(--distance) * -1)) scaleY(1); }
}

.status-toast {
  position: fixed;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 250;
  display: flex;
  align-items: center;
  max-width: min(92vw, 560px);
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(6, 9, 21, .92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  backdrop-filter: blur(14px);
  font-size: .8rem;
  line-height: 1.4;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .35s var(--ease-out);
}

.status-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.status-toast a {
  margin-left: 8px;
  color: var(--gold-bright);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.noscript-note {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  max-width: 360px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  background: #080b16;
  font-size: .8rem;
}

/* Reduced / disabled motion */
body[data-motion="off"] *,
body[data-motion="off"] *::before,
body[data-motion="off"] *::after {
  scroll-behavior: auto !important;
}

body[data-motion="off"] .brand-watermark,
body[data-motion="off"] .talent-star__visual,
body[data-motion="off"] .galaxy-anchor__core,
body[data-motion="off"] .galaxy-anchor__orbit,
body[data-motion="off"] .intro__logo-halo,
body[data-motion="off"] .intro__status::after {
  animation: none !important;
}

body[data-motion="off"] .talent-star__visual,
body[data-motion="off"] .talent-star:hover .talent-star__visual,
body[data-motion="off"] .talent-star:focus-visible .talent-star__visual {
  translate: 0 0;
  rotate: 0deg;
}

@media (max-height: 820px) and (min-width: 761px) {
  .talent-star:nth-child(-n+6) {
    margin-top: 10px;
  }
}

/* Compact desktop height */
@media (max-height: 720px) and (min-width: 761px) {
  :root { --header-height: 60px; }

  .site-header { top: 8px; min-height: 60px; }
  .brand-link { height: 46px; }
  .brand-link img { width: 44px; height: 38px; }
  .hero-copy { top: 78px; }
  .hero-copy h1 { font-size: 1.45rem; }
  .hero-copy h1::after { margin-top: 9px; margin-bottom: 7px; }
  .talent-star { min-height: 102px; }
  .talent-star__visual { width: calc(var(--visual-size) * .82); height: calc(var(--visual-size) * .82); }
  .talent-star__label { font-size: .69rem; }
  .galaxy-anchor { top: 54%; width: min(37vw, 510px); }
}

/* Tablet / compact header */
@media (max-width: 1040px) {
  .brand-link { min-width: auto; }
  .brand-link__name { display: none; }
  .header-controls { min-width: auto; }
  .desktop-nav { gap: 17px; }
  .desktop-nav a { font-size: .78rem; }
  .talent-star { width: 145px; }
}

@media (max-width: 860px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; }
  .mobile-menu-toggle span { width: 18px; height: 1px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    left: 0;
    display: grid;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(6, 9, 22, .95);
    box-shadow: 0 22px 65px rgba(0, 0, 0, .44);
    backdrop-filter: blur(18px);
    gap: 3px;
  }

  .mobile-menu[hidden] { display: none; }

  .mobile-menu a {
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 12px;
    color: rgba(245, 247, 255, .82);
    font-size: .85rem;
    font-weight: 590;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible,
  .mobile-menu a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, .055);
  }

  .site-header { grid-template-columns: 1fr auto; }
  .brand-link img { width: 46px; }
  .talent-star { width: 132px; }
  .talent-star__label { max-width: 130px; }
}

/* Mobile spatial grid */
@media (max-width: 700px) {
  body {
    overflow-x: clip;
    overflow-y: auto;
    overscroll-behavior-y: none;
  }

  body::after {
    position: fixed;
  }

  .site-header {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 22px);
    min-height: 60px;
    padding: 5px 6px 5px 8px;
    border-radius: 19px;
  }

  .brand-link {
    height: 48px;
    padding-left: 0;
  }

  .brand-link img {
    width: 43px;
    height: 38px;
  }

  .header-controls { gap: 5px; }
  .language-switch--compact { height: 38px; padding-inline: 3px; }
  .language-switch button { min-width: 28px; height: 30px; padding-inline: 5px; font-size: .66rem; }
  .icon-button { width: 38px; height: 38px; border-radius: 13px; }

  .universe {
    height: auto;
    min-height: 1540px;
    overflow: visible;
    padding-bottom: max(48px, env(safe-area-inset-bottom));
  }

  .hero-copy {
    position: absolute;
    top: 92px;
    width: calc(100% - 32px);
  }

  .hero-copy h1 {
    max-width: 355px;
    margin-inline: auto;
    font-size: clamp(1.22rem, 6vw, 1.62rem);
  }

  .hero-copy p {
    max-width: 310px;
    margin-inline: auto;
    font-size: .72rem;
    letter-spacing: .055em;
  }

  .galaxy-anchor {
    position: absolute;
    top: 345px;
    width: min(94vw, 430px);
  }

  .brand-watermark {
    position: absolute;
    top: 347px;
    width: min(103vw, 430px);
    min-width: 0;
    opacity: .045;
  }

  .constellation {
    position: absolute;
    top: 535px;
    right: 0;
    bottom: auto;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    padding: 0 8px 54px;
    transform: none;
    gap: 31px 4px;
  }

  .talent-star {
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 100%;
    min-height: 132px;
    padding: 7px 2px;
    transform: none;
  }

  .talent-star--sponsor {
    grid-column: 1 / -1;
    width: min(220px, 68vw);
    margin: 0 auto 4px;
  }

  .talent-star__visual {
    width: min(var(--visual-size), 86px);
    height: min(var(--visual-size), 86px);
  }

  .talent-star__label {
    max-width: min(44vw, 165px);
    font-size: .75rem;
  }

  .intro__logo {
    width: min(78vw, 420px);
  }

  .intro__status {
    font-size: .73rem;
    letter-spacing: .11em;
  }

  .intro__skip {
    right: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    transform: translateX(50%);
  }

  .settings-dialog {
    width: 100%;
  }

  .settings-panel {
    padding-inline: 18px;
    border-left: 0;
  }
}

@media (max-width: 390px) {
  .language-switch--compact span { display: none; }
  .language-switch button { min-width: 27px; padding-inline: 4px; }
  .header-controls { gap: 4px; }
  .site-header { width: calc(100% - 10px); }
  .brand-link { min-width: 42px; padding-right: 2px; }
  .universe { min-height: 1580px; }
  .talent-star__label { font-size: .71rem; }
  .ambience-grid { gap: 6px; }
  .ambience-card { padding: 6px; }
}

@media (min-width: 1800px) and (min-height: 900px) {
  .talent-star { transform: translate(-50%, -50%) scale(1.08); }
  .hero-copy h1 { font-size: 2.35rem; }
  .galaxy-anchor { width: min(38vw, 700px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* No-script fallback: the links remain usable. */
html.no-js .intro {
  display: none;
}

html.no-js .site-header,
html.no-js .universe {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* Final phase-one refinements: supplied category artwork, legal footer and category rail. */
.talent-star:not(.talent-star--sponsor) .talent-star__visual img {
  width: 84%;
  height: 84%;
  padding: 4.5%;
  border-color: color-mix(in srgb, var(--gold) 30%, rgba(255, 255, 255, .12));
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--gold) 9%, transparent) 0, transparent 58%),
    rgba(1, 3, 10, .52);
  object-fit: contain;
  object-position: center;
}

.intro-symbol img[src$=".webp"] {
  padding: 8%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 10%, transparent), rgba(1, 3, 10, .72) 70%);
  object-fit: contain;
}

.site-footer {
  position: fixed;
  bottom: 27px;
  left: 50%;
  z-index: 34;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 28px);
  min-height: 29px;
  padding: 4px 13px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 999px;
  color: color-mix(in srgb, var(--muted) 84%, white);
  background: linear-gradient(110deg, rgba(3, 6, 16, .76), rgba(8, 10, 22, .58));
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .025);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 9px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), border-color .25s ease;
  gap: 12px;
}

body.is-ready .site-footer {
  opacity: .86;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-footer:hover,
.site-footer:focus-within {
  border-color: color-mix(in srgb, var(--gold) 24%, transparent);
  opacity: 1;
}

.site-footer p {
  margin: 0;
  white-space: nowrap;
  font-size: .64rem;
  font-weight: 560;
  letter-spacing: .055em;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.site-footer nav span {
  color: color-mix(in srgb, var(--gold) 38%, transparent);
  font-size: .72rem;
}

.site-footer a {
  position: relative;
  color: color-mix(in srgb, var(--gold-bright) 78%, white);
  font-size: .63rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-underline-offset: 3px;
  transition: color .2s ease, text-shadow .2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-shadow: 0 0 12px color-mix(in srgb, var(--gold) 40%, transparent);
}

.category-ticker {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 33;
  display: flex;
  align-items: center;
  height: 25px;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--gold) 16%, transparent);
  color: color-mix(in srgb, var(--gold-bright) 74%, var(--gold));
  background:
    linear-gradient(90deg, rgba(1, 3, 10, .98), rgba(5, 7, 17, .78) 18%, rgba(5, 7, 17, .78) 82%, rgba(1, 3, 10, .98));
  box-shadow: 0 -8px 26px rgba(0, 0, 0, .2), inset 0 1px color-mix(in srgb, var(--gold) 5%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s var(--ease-out);
}

body.is-ready .category-ticker {
  opacity: .78;
}

.category-ticker::before,
.category-ticker::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(8vw, 86px);
  content: "";
  pointer-events: none;
}

.category-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-deep), transparent);
}

.category-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-deep), transparent);
}

.category-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: max-content;
  will-change: transform;
  animation: category-ticker-scroll 46s linear infinite;
}

.category-ticker__track span {
  flex: none;
  padding-right: 2.2rem;
  font-size: .57rem;
  font-weight: 690;
  letter-spacing: .19em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 10px color-mix(in srgb, var(--gold) 20%, transparent);
}

@keyframes category-ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

body[data-motion="off"] .category-ticker__track {
  animation: none !important;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (max-height: 720px) and (min-width: 701px) {
  .site-footer {
    bottom: 22px;
    min-height: 23px;
    padding-block: 2px;
  }

  .category-ticker {
    height: 21px;
  }

  .site-footer p,
  .site-footer a {
    font-size: .57rem;
  }

  .category-ticker__track span {
    font-size: .51rem;
  }
}

@media (max-width: 700px) {
  .site-footer {
    position: relative;
    bottom: auto;
    left: auto;
    z-index: 12;
    width: calc(100% - 22px);
    max-width: 430px;
    min-height: 40px;
    margin: 0 auto;
    padding: 8px 12px;
    border-radius: 15px;
    transform: translateY(8px);
    flex-wrap: wrap;
    gap: 3px 12px;
  }

  body.is-ready .site-footer {
    transform: translateY(0);
  }

  .site-footer p,
  .site-footer a {
    font-size: .65rem;
  }

  .category-ticker {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 11;
    height: 27px;
    margin-top: 7px;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .category-ticker__track {
    animation-duration: 52s;
  }

  .category-ticker__track span {
    padding-right: 1.7rem;
    font-size: .54rem;
    letter-spacing: .15em;
  }
}

@media (max-width: 380px) {
  .site-footer {
    flex-direction: column;
    padding-block: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-ticker__track {
    animation: none !important;
    transform: translate3d(0, 0, 0) !important;
    will-change: auto;
  }
}

html.no-js .site-footer,
html.no-js .category-ticker {
  opacity: .86;
  pointer-events: auto;
}

/* Optical balancing for the detailed supplied illustrations at small star sizes. */
.talent-star:not(.talent-star--sponsor) .talent-star__visual img {
  width: 94%;
  height: 94%;
  padding: 1.5%;
  filter: brightness(1.16) saturate(1.06) drop-shadow(0 0 2px color-mix(in srgb, var(--gold) 38%, transparent));
}

.talent-star:not(.talent-star--sponsor):hover .talent-star__visual img,
.talent-star:not(.talent-star--sponsor):focus-visible .talent-star__visual img {
  filter: brightness(1.3) saturate(1.1) drop-shadow(0 0 4px color-mix(in srgb, var(--gold-bright) 48%, transparent));
  transform: scale(1.06);
}

.intro-symbol img[src$=".webp"] {
  padding: 4%;
}

@media (max-width: 700px) {
  .universe {
    min-height: 1735px;
  }

  .brand-watermark {
    width: min(100vw, 430px);
  }
}

@media (max-width: 390px) {
  .universe {
    min-height: 1775px;
  }
}

@media (max-width: 700px) {
  .universe { min-height: 1600px; }
}

@media (max-width: 390px) {
  .universe { min-height: 1640px; }
}
