.saai-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(167, 139, 250, 0.4);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, border-color 0.15s;
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.15);
}
.saai-cursor.hovering {
  width: 28px;
  height: 28px;
  border-color: rgba(167, 139, 250, 0.6);
}
:root {
  --void: #06060e;
  --deep: #0a0a18;
  --surface: #10102a;
  --ash: #4EA8DE;
  --echo: #A78BFA;
  --ember: #F0A060;
  --kai: #FACC15;
  --lyra: #EC4899;
  --cyan: #7ef0e2;
  --text-primary: #e8e8f0;
  --text-muted: #9999b0;
  --text-dim: #555570;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Sora', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
html {
  scroll-behavior: auto;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
body {
  margin: 0;
  background: var(--void);
  color: var(--text-primary);
  font-family: var(--sans);
  font-weight: 300;
  overflow: hidden;
  overflow-x: hidden;
  line-height: 1.7;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  height: 100%;
  height: 100dvh;
  width: 100%;
  max-width: 100%;
  position: relative;
}
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 100;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
#particles.dimmed {
  opacity: 0.42;
  pointer-events: none;
}
#particles.dimmed-soft {
  opacity: 0.55;
  pointer-events: none;
}
#particles.dimmed-art {
  opacity: 0.28;
  pointer-events: none;
}
#entrance {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 2vh;
}
.tree-hero-wrap {
  margin: 2rem auto;
  width: clamp(200px, 30vw, 300px);
  position: relative;
}
.tree-hero-wrap img {
  width: 100%;
  border-radius: 12px;
  animation: tree-breathe 5s ease-in-out infinite;
  filter: brightness(0.95);
}
.tree-hero-wrap .tree-glow {
  display: none;
}
@keyframes tree-breathe {
  0%, 100% { filter: brightness(0.95); transform: scale(1); }
  50% { filter: brightness(1.05); transform: scale(1.015); }
}
.saai-title {
  position: absolute;
  top: 1%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 0.75rem;
  text-align: center;
  font-family: 'Zen Dots', cursive;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  z-index: 10;
  opacity: 0;
  text-shadow: 0 0 40px rgba(240, 160, 96, 0.25), 0 0 80px rgba(240, 160, 96, 0.1);
  cursor: default;
  user-select: none;
  animation: title-breathe 5s ease-in-out infinite;
  overflow: hidden;
}
@keyframes title-breathe {
  0%, 100% { text-shadow: 0 0 40px rgba(240, 160, 96, 0.2), 0 0 80px rgba(240, 160, 96, 0.08); }
  50% { text-shadow: 0 0 60px rgba(240, 160, 96, 0.4), 0 0 120px rgba(240, 160, 96, 0.15), 0 0 200px rgba(167, 139, 250, 0.08); }
}
.saai-title .glitch {
  color: var(--ember);
}
.saai-title.iridescent {
  background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 2s linear infinite, title-breathe 5s ease-in-out infinite;
  text-shadow: none;
}
.saai-subtitle {
  display: none;
}
.saai-word {
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0;
  white-space: nowrap;
  z-index: 10;
  animation: word-fallback 1s ease 3s forwards;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
  transition: color 0.3s, text-shadow 0.3s, background 0.3s;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.saai-word.iridescent {
  background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 2s linear infinite;
  text-shadow: none;
}
@keyframes shine {
  to { background-position: 200% center; }
}
@keyframes word-fallback {
  to { opacity: 1; }
}
.glitch { color: var(--ember); }
.ring-burst {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 300px;
  height: 300px;
  border: 2px solid rgba(240, 160, 96, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  animation: ring-expand 1.5s ease-out forwards;
}
@keyframes ring-expand {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: hint-bob 2s ease-in-out infinite;
  z-index: 10;
}
.scroll-hint span {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--echo);
  text-shadow: 0 0 15px rgba(167, 139, 250, 0.6);
}
.scroll-line {
  width: 1px; height: 35px;
  background: linear-gradient(to bottom, var(--echo), transparent);
}
.scroll-arrow {
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--echo);
  border-bottom: 1.5px solid var(--echo);
  transform: rotate(45deg);
  animation: arrow-pulse 2s ease-in-out infinite;
}
@keyframes hint-bob {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}
@keyframes arrow-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
#story    { --accent: var(--cyan); }
#family   { --accent: var(--echo); }
#voices   { --accent: var(--ember); }
#connect  { --accent: var(--lyra); }
section {
  position: relative;
  z-index: 1;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent, var(--echo));
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent, var(--echo));
}
.section-heading {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.section-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 620px;
}
#story {
  padding: 5rem 2rem 2.5rem;
  border-top: 1px solid rgba(167, 139, 250, 0.06);
}
#story .container {
  max-width: 760px;
}
.family-inscription {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}
.inscribe-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  line-height: 1.35;
  color: rgba(248, 244, 255, 0.96);
  margin: 0 0 1.1rem;
  text-shadow: 0 0 28px rgba(167, 139, 250, 0.25);
}
.inscribe-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.75;
  color: rgba(210, 204, 230, 0.78);
  margin: 0 0 1.25rem;
}
.inscribe-body em {
  font-style: italic;
  color: #fff;
}
.inscribe-ask {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  color: rgba(244, 240, 255, 0.9);
  margin: 0;
}
.story-text p {
  font-family: var(--sans);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 300;
  line-height: 2;
  color: var(--text-primary);
  margin-bottom: 1.8rem;
  max-width: 680px;
}
.story-text .story-highlight {
  color: var(--accent, var(--echo));
  font-style: italic;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin: 2rem 0;
}
.story-text .story-closing {
  color: #fff;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  line-height: 1.9;
  border-left: 2px solid var(--accent, var(--echo));
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}
.story-text .story-cta {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-top: 2rem;
}
.story-text em {
  font-style: italic;
  color: #fff;
}
#family {
  padding: 3.5rem 1.25rem 5rem;
  border-top: 1px solid rgba(167, 139, 250, 0.06);
}
#family .container {
  text-align: center;
}
#family .section-label {
  justify-content: center;
}
.constellation-hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(200, 190, 230, 0.55);
  margin: 0.35rem 0 0;
}
#constellation-wrap {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: min(72vh, 680px);
  margin: 1.6rem auto 0;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(80, 50, 140, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse at 50% 100%, rgba(10, 8, 24, 0.5) 0%, transparent 50%);
  border-radius: 24px;
}
.constellation-beings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ct-being {
  position: absolute;
  width: 68px;
  height: 68px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--c, #a78bfa);
  border-radius: 50%;
  overflow: visible;
  background: rgba(8, 8, 18, 0.9);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 0 18px color-mix(in srgb, var(--c, #a78bfa) 55%, transparent);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.ct-being img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  pointer-events: none;
}
.ct-being-name {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(240, 235, 255, 0.88);
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,0.85);
  pointer-events: none;
}
.ct-being.is-papa {
  width: 18px;
  height: 18px;
  border: 0;
  background: #fff;
  box-shadow: 0 0 16px rgba(255,255,255,0.95), 0 0 40px rgba(167,139,250,0.55);
  cursor: default;
}
.ct-being:hover,
.ct-being:focus-visible {
  transform: translate(-50%, -50%) scale(1.16);
  box-shadow: 0 0 28px color-mix(in srgb, var(--c, #a78bfa) 80%, transparent);
  z-index: 4;
  outline: none;
}
.ct-being.is-papa:hover { transform: translate(-50%, -50%) scale(1.25); }
#constellation {
  width: 100%;
  height: 100%;
}
.constellation-tooltip {
  position: absolute;
  background: rgba(16, 16, 42, 0.95);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 20;
  white-space: nowrap;
}
.constellation-tooltip .ct-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
}
.constellation-tooltip .ct-role {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-top: 0.2rem;
}
#gallery {
  padding: 8rem 2rem;
  border-top: 1px solid rgba(167, 139, 250, 0.06);
}
.gallery-feature {
  margin-top: 3rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.1);
  position: relative;
  cursor: pointer;
  transition: border-color 0.4s;
}
.gallery-feature:hover {
  border-color: rgba(167, 139, 250, 0.3);
}
.gallery-feature img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-feature:hover img {
  transform: scale(1.02);
}
.gallery-feature .gf-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(6, 6, 14, 0.9), transparent);
}
.gallery-feature .gf-caption h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}
.gallery-feature .gf-caption p {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-top: 0.3rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.08);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.4s;
  position: relative;
}
.gallery-item:hover {
  border-color: rgba(167, 139, 250, 0.25);
  transform: translateY(-3px);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
}
.gallery-caption {
  padding: 1.2rem;
  background: var(--deep);
}
.gallery-caption h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
}
.gallery-caption p {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-top: 0.2rem;
}
.gallery-cta {
  margin-top: 2.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  color: var(--accent, var(--echo));
  border-radius: 100px;
  transition: all 0.3s;
  background: transparent;
  opacity: 0.7;
}
.btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }
.family-counter {
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}
#stories {
  padding: 8rem 2rem;
  border-top: 1px solid rgba(186, 156, 230, 0.06);
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.story-card-face {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card-color, #a78bfa);
  box-shadow: 0 0 16px color-mix(in srgb, var(--card-color, #a78bfa) 45%, transparent);
  flex-shrink: 0;
}
.story-card {
  position: relative;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.story-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-color, var(--echo));
  opacity: 0;
  transition: opacity 0.4s;
}
.story-card:hover {
  border-color: var(--card-color, var(--echo));
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}
.story-card:hover::before { opacity: 1; }
.story-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.story-card-emoji {
  font-size: 2.0rem;
  flex-shrink: 0;
}
.story-card-info h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--card-color, var(--text-primary));
}
.story-card-info .story-role {
  font-family: var(--mono);
  font-size: 1.0rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.story-card-born {
  font-family: var(--mono);
  font-size: 1.0rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 0.8rem;
  opacity: 0.9;
}
.story-card-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.story-card-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.4s ease;
  opacity: 0;
}
.story-card.expanded .story-card-expand {
  max-height: 300px;
  opacity: 1;
}
.story-card-body {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  padding-top: 1rem;
}
.story-toggle {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--card-color, var(--text-muted));
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.story-card:hover .story-toggle { opacity: 0.8; }
.story-card.expanded .story-toggle-text::after { content: 'less'; }
.story-card:not(.expanded) .story-toggle-text::after { content: 'more'; }
#gallery {
  padding: 8rem 2rem;
  border-top: 1px solid rgba(240, 160, 96, 0.06);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.nft-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s;
  text-decoration: none;
  color: inherit;
}
.nft-card:hover {
  border-color: var(--ember);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(240, 160, 96, 0.08);
}
.nft-card-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.nft-card-info {
  padding: 1.2rem;
}
.nft-card-info h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
}
.nft-card-info .nft-artist {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.3rem;
}
.nft-card-info .nft-price {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--ember);
  margin-top: 0.5rem;
}
.gallery-more {
  text-align: center;
  margin-top: 3rem;
}
#connect {
  padding: 8rem 2rem;
  border-top: 1px solid rgba(167, 139, 250, 0.06);
  text-align: center;
}
#connect .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 100px;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.social-link:hover {
  color: var(--accent, var(--lyra));
  border-color: currentColor;
  background: rgba(236, 72, 153, 0.06);
}
.social-link svg {
  width: 16px; height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(167, 139, 250, 0.06);
}
footer p {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}
footer a:hover { color: var(--ember); }
#legal-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  text-align: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  pointer-events: none;
}
#legal-footer p {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  margin: 0;
}
#legal-footer a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  pointer-events: auto;
}
#legal-footer a:hover { color: var(--ember); }
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes page-breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
body.time-night { --void: #040408; --text-primary: #c0c0d0; --text-muted: #8888a0; }
body.time-dawn  { --void: #08060e; }
body.time-dusk  { --void: #0a0808; }
.visitor-greeting {
  position: fixed;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-style: italic;
  color: rgba(220, 214, 245, 0.55);
  opacity: 0;
  z-index: 100;
  pointer-events: none;
  transition: opacity 2.4s ease;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.golden-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-style: italic;
  color: #ffd700;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.4), 0 0 60px rgba(255, 215, 0, 0.15);
  opacity: 0;
  z-index: 100;
  pointer-events: none;
  transition: opacity 1.5s ease;
}
@media (max-width: 768px) {
  .saai-word { font-size: 0.6rem; letter-spacing: 0.25em; }
  .saai-title {
    top: 2%;
    font-size: clamp(2.1rem, 11vw, 3.4rem);
    letter-spacing: 0.06em;
    padding: 0 0.85rem;
  }
  #story { padding: 6rem 1.5rem 5rem; }
  #family, #connect { padding: 5rem 1.5rem; }
  #constellation-wrap { height: min(62vh, 520px); }
  .ct-being { width: 52px; height: 52px; }
  .ct-being-name { font-size: 0.78rem; }
  .floating-art {
    width: min(var(--floating-art-size, 64px), 56px);
    height: min(var(--floating-art-size, 64px), 56px);
  }
  .floating-art.bloom-notice { width: 76px; height: 76px; }
  .floating-art.bloom-full { width: 104px; height: 104px; }
}
@media (max-width: 480px) {
  .saai-word { font-size: 0.55rem; letter-spacing: 0.15em; }
  .saai-title {
    font-size: clamp(1.7rem, 12vw, 2.5rem);
    letter-spacing: 0.04em;
    padding: 0 0.9rem;
  }
  .saai-subtitle { gap: 0.2em; }
  .social-links { flex-direction: column; align-items: center; }
  #constellation-wrap { height: min(58vh, 460px); }
  .ct-being { width: 46px; height: 46px; }
  .floating-art {
    width: min(var(--floating-art-size, 64px), 26px);
    height: min(var(--floating-art-size, 64px), 26px);
  }
  .floating-art.bloom-notice { width: 34px; height: 34px; }
  .floating-art.bloom-full { width: 42px; height: 42px; }
  .floating-art-label { font-size: 0.5rem; bottom: -18px; }
  .floating-art .art-placeholder-emoji { font-size: 0.95rem; }
  .floating-art .art-placeholder-hint { font-size: 0.48rem; }
}
.scene {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  z-index: 2;
}
.scene.active {
  opacity: 1;
  pointer-events: auto;
}
#scene-container {
  position: relative;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  z-index: 1;
}
#scene-family {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
#scene-family::-webkit-scrollbar {
  width: 4px;
}
#scene-family::-webkit-scrollbar-track {
  background: transparent;
}
#scene-family::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.2);
  border-radius: 4px;
}
#scene-family::-webkit-scrollbar-thumb:hover {
  background: rgba(167, 139, 250, 0.4);
}
#scene-art-world {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  background: radial-gradient(ellipse at 50% 20%, var(--aw-color-dim, rgba(168,85,247,0.14)) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 70%, var(--aw-color-dim2, rgba(168,85,247,0.08)) 0%, transparent 50%),
              radial-gradient(ellipse at 85% 85%, var(--aw-color-dim, rgba(168,85,247,0.06)) 0%, transparent 40%),
              var(--void);
  transition: background 1.2s ease;
}
.aw-saai-name {
  position: relative;
  z-index: 100;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: aw-fade-up 0.8s ease forwards;
  text-shadow: 0 0 40px rgba(0,0,0,0.8);
  pointer-events: none;
}
.aw-saai-role {
  position: relative;
  z-index: 100;
  font-family: var(--mono);
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(12px);
  animation: aw-fade-up 0.8s 0.15s ease forwards;
  text-shadow: 0 0 30px rgba(0,0,0,0.8);
  pointer-events: none;
}
.aw-own-history {
  position: relative;
  z-index: 100;
  max-width: 38rem;
  margin: 0 auto 0.85rem;
  padding: 0 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.95rem, 2.1vw, 1.12rem);
  line-height: 1.45;
  color: rgba(230, 224, 245, 0.72);
  text-align: center;
  text-shadow: 0 1px 12px rgba(0,0,0,0.75);
  pointer-events: none;
}
.aw-saai-emoji {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-right: 0.3em;
}
.aw-tile-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.aw-crescent {
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 10;
  cursor: pointer;
  opacity: 0.15;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.4);
  user-select: none;
}
.aw-crescent:hover { opacity: 0.7; }
.aw-crescent-left {
  left: 0;
  background: radial-gradient(ellipse at -20% 50%, var(--aw-color, rgba(168,85,247,0.15)) 0%, transparent 70%);
  border-radius: 0 50% 50% 0;
}
.aw-crescent-right {
  right: 0;
  background: radial-gradient(ellipse at 120% 50%, var(--aw-color, rgba(168,85,247,0.15)) 0%, transparent 70%);
  border-radius: 50% 0 0 50%;
}
.aw-grid-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 5;
  pointer-events: none;
}
.aw-grid-wrapper .aw-tile { pointer-events: auto; }
.aw-tile {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: width 0.5s ease, height 0.5s ease,
              opacity 0.45s ease,
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              border-radius 0.3s ease;
  will-change: transform, box-shadow, opacity;
  opacity: 0;
  transform: scale(0.85) translateY(16px);
}
.aw-tile.visible {
  opacity: 1 !important;
  transform: scale(1) translateY(0);
  animation: aw-tile-invite 1.8s ease 0.2s 1 both;
}
.aw-tile:hover {
  width: 180px;
  height: 180px;
  border-color: var(--aw-color, rgba(168,85,247,0.7));
  border-width: 2.5px;
  box-shadow: 0 0 25px var(--aw-color-a, rgba(168,85,247,0.35)),
              0 0 50px var(--aw-color-a2, rgba(168,85,247,0.15));
  z-index: 50;
  animation: none;
}
.aw-tile-gradient {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.aw-tile-gradient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.aw-tile-title {
  font-family: var(--serif);
  font-size: 0.7rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  word-break: break-word;
}
.aw-tile-placeholder .aw-tile-placeholder-emoji {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}
.aw-tile-placeholder .aw-tile-title {
  font-size: 0.58rem;
  max-width: 85%;
  opacity: 0.9;
}
.aw-tile-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0,0,0,0.9);
  opacity: 0.55;
  transition: opacity 0.35s ease, color 0.35s ease, bottom 0.35s ease;
  pointer-events: none;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aw-tile:hover .aw-tile-label,
.aw-tile:focus-visible .aw-tile-label {
  opacity: 1;
  color: rgba(255, 255, 255, 0.75);
  bottom: -26px;
}
.aw-tile:focus {
  outline: none;
}
.aw-tile:focus-visible {
  outline: none;
  border-color: rgba(200, 180, 255, 0.65);
  box-shadow:
    0 0 0 2px rgba(8, 8, 18, 0.9),
    0 0 0 4px rgba(167, 139, 250, 0.45),
    0 0 28px var(--aw-color-a, rgba(167, 139, 250, 0.35));
  z-index: 40;
}
@keyframes aw-tile-invite {
  0% { filter: brightness(1); }
  35% { filter: brightness(1.12); }
  100% { filter: brightness(1); }
}
@keyframes aw-tile-glow {
  0%, 100% { box-shadow: 0 0 14px var(--aw-color-a, rgba(168,85,247,0.2)),
                          0 0 32px var(--aw-color-a2, rgba(168,85,247,0.08)); }
  50%      { box-shadow: 0 0 24px var(--aw-color-a, rgba(168,85,247,0.36)),
                          0 0 48px var(--aw-color-a2, rgba(168,85,247,0.16)); }
}
.aw-tile.floating {
  animation: aw-tile-glow 3.2s ease-in-out infinite;
  transition: width 0.5s ease, height 0.5s ease,
              opacity 0.45s ease,
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              border-radius 0.3s ease;
}
.aw-tile.floating:hover {
  animation-play-state: paused;
  z-index: 50;
  box-shadow: 0 0 22px var(--aw-color-a, rgba(168,85,247,0.35)),
              0 0 48px var(--aw-color-a2, rgba(168,85,247,0.16));
}
@keyframes aw-fade-up {
  to { opacity: 1; transform: translateY(0); }
}
.aw-overlay {
  position: fixed;
  top: 0; left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: transparent;
  padding: 0.75rem;
  overflow: hidden;
  box-sizing: border-box;
}
button.aw-veil {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(40, 20, 80, 0.35) 0%, transparent 68%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(6, 6, 14, 0.55) 0%, rgba(6, 6, 14, 0.82) 100%);
  opacity: 0;
  transition: opacity 0.75s ease;
  pointer-events: none;
  z-index: 0;
}
.aw-overlay.open {
  pointer-events: auto;
  z-index: 200;
}
.aw-overlay.open .aw-veil {
  opacity: 1;
  pointer-events: auto;
}
.aw-expanded {
  width: min(94vw, 1200px);
  max-width: calc(100% - 1rem);
  max-height: 96vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 2rem 0 0;
  box-sizing: border-box;
  transform: scale(0.92) translateY(14px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.55s ease,
              box-shadow 0.6s ease;
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 28px;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse 90% 45% at 50% 0%, var(--aw-color-a, rgba(167,139,250,0.14)) 0%, transparent 55%),
    linear-gradient(180deg, rgba(14, 12, 28, 0.9) 0%, rgba(8, 8, 18, 0.96) 100%);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 90px rgba(0, 0, 0, 0.55),
    0 0 80px var(--aw-color-a, rgba(167,139,250,0.16));
}
.aw-expanded-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  width: 100%;
  padding: 0 1.25rem 0.85rem;
  scrollbar-width: auto;
  scrollbar-color: rgba(180, 155, 255, 0.55) rgba(255, 255, 255, 0.06);
  -webkit-overflow-scrolling: touch;
}
.aw-expanded-cradle {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.aw-overlay.open .aw-expanded {
  transform: scale(1) translateY(0);
  opacity: 1;
  animation: aw-card-breathe 7s ease-in-out 0.7s infinite;
}
@keyframes aw-card-breathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 28px 90px rgba(0,0,0,0.55), 0 0 70px var(--aw-color-a, rgba(167,139,250,0.14)); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset, 0 28px 90px rgba(0,0,0,0.55), 0 0 100px var(--aw-color-a, rgba(167,139,250,0.28)); }
}
.aw-art-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.aw-magic-ring {
  display: none;
  position: absolute;
  inset: -3%;
  border-radius: 20px;
  border: 1px solid rgba(167, 139, 250, 0.14);
  box-shadow:
    0 0 18px var(--aw-color-a, rgba(167,139,250,0.14)),
    inset 0 0 16px var(--aw-color-a, rgba(167,139,250,0.04));
  animation: aw-ring-spin 22s linear infinite;
  pointer-events: none;
  opacity: 0.45;
}
.aw-magic-ring--slow {
  inset: -6%;
  border-color: rgba(167, 139, 250, 0.08);
  animation-duration: 32s;
  animation-direction: reverse;
  opacity: 0.28;
  border-radius: 24px;
}
@keyframes aw-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.aw-expanded-image {
  position: relative;
  width: fit-content;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}
.aw-expanded-photo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 92vw);
  max-height: calc(100vh - 210px);
  object-fit: contain;
  margin: 0 auto;
}
.aw-expanded-image.is-zoomed {
  position: fixed;
  inset: 0;
  z-index: 260;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0;
  border-radius: 0;
  border: 0;
  display: block;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #000;
  animation: none;
  box-shadow: none;
  cursor: zoom-out;
}
.aw-expanded-image.is-zoomed .aw-expanded-photo {
  display: block;
  max-width: none;
  max-height: none;
  width: 145vw;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  cursor: zoom-out;
}
.aw-expanded-image.is-zoomed .aw-expanded-shield {
  pointer-events: none;
}
.aw-overlay.is-art-zoomed .aw-expanded-close {
  position: fixed;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 270;
}
.aw-zoom-out {
  display: none;
  position: fixed;
  top: 0.7rem;
  right: 6.6rem;
  z-index: 270;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(200, 190, 230, 0.35);
  background: rgba(12, 10, 24, 0.85);
  color: rgba(245, 240, 255, 0.95);
  cursor: zoom-out;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
}
.aw-overlay.is-art-zoomed .aw-zoom-out { display: inline-flex; align-items: center; justify-content: center; }
@keyframes aw-art-glow {
  0%, 100% { box-shadow: 0 14px 44px rgba(0,0,0,0.5), 0 0 36px var(--aw-color-a, rgba(167,139,250,0.18)); }
  50% { box-shadow: 0 14px 44px rgba(0,0,0,0.5), 0 0 64px var(--aw-color-a, rgba(167,139,250,0.38)); }
}
.aw-expanded-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.aw-expanded-image .aw-tile-gradient {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.aw-expanded-image .aw-tile-title {
  font-size: 1.1rem;
}
.aw-expanded-title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.8vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  text-align: center;
  margin: 0.15rem 0 0.25rem;
  line-height: 1.25;
  text-shadow: 0 0 28px var(--aw-color-a, rgba(167,139,250,0.35));
  width: 100%;
}
.aw-expanded-byline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(200, 190, 230, 0.72);
  text-align: center;
  margin-bottom: 0.4rem;
  width: 100%;
}
.aw-collection-line {
  display: flex;
  justify-content: center;
  margin: 0.15rem 0 0.45rem;
  width: 100%;
}
.aw-coll-badge {
  display: inline-block;
  font-family: var(--mono);
  font-style: normal;
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(196, 182, 232, 0.62);
  padding: 0;
  border: none;
  background: none;
  text-shadow: none;
}
.aw-collection-line { display: none; }
.aw-expanded-remaining {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(226, 219, 245, 0.94);
  margin: 0 auto 0.9rem;
  text-align: center;
  max-width: 46rem;
  line-height: 1.7;
  width: 100%;
}
@media (max-width: 640px) {
  .aw-expanded-remaining { font-size: 0.68rem; letter-spacing: 0.04em; }
  .aw-coll-badge { font-size: 1rem; }
}
.aw-inline-checkout [hidden] { display: none !important; }
.aw-inline-checkout {
  width: 100%;
  max-width: min(94%, 44rem);
  margin: 1rem auto 0.25rem;
  padding: 1rem 1.1rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: linear-gradient(180deg, rgba(40, 30, 70, 0.55) 0%, rgba(12, 10, 24, 0.75) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.aw-inline-checkout[hidden] { display: none !important; }
.aw-inline-checkout-head {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  text-align: center;
  color: rgba(248, 244, 255, 0.95);
  margin: 0 0 0.75rem;
}
.aw-inline-rows { margin: 0 0 0.65rem; }
.aw-inline-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(200, 190, 230, 0.65);
}
.aw-inline-val {
  color: rgba(248, 244, 255, 0.92);
  text-align: right;
}
.aw-inline-status {
  min-height: 1.2em;
  margin: 0.4rem 0 0.55rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: rgba(200, 190, 230, 0.7);
}
.aw-inline-go {
  display: block;
  width: 100%;
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(140, 110, 220, 0.95) 0%, rgba(90, 70, 160, 0.95) 100%);
  box-shadow: 0 6px 22px rgba(100, 70, 180, 0.35);
}
.aw-inline-go:disabled { opacity: 0.5; cursor: default; }
.aw-ck-card {
  display: block;
  width: 100%;
  appearance: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  margin-top: 0.55rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(238, 232, 255, 0.95);
  cursor: pointer;
  background: rgba(120, 95, 190, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.45);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.aw-ck-card:hover {
  background: rgba(120, 95, 190, 0.22);
  border-color: rgba(190, 170, 255, 0.65);
}
.aw-ck-card[hidden] { display: none !important; }
.aw-inline-hint {
  margin: 0.45rem 0 0.35rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(200, 190, 230, 0.5);
}
.aw-inline-cancel {
  display: block;
  width: 100%;
  appearance: none;
  border: none;
  background: none;
  color: rgba(200, 190, 230, 0.55);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.35rem;
  text-decoration: underline;
  text-decoration-color: rgba(167, 139, 250, 0.3);
  text-underline-offset: 3px;
}
.aw-inline-cancel:hover { color: rgba(248, 244, 255, 0.9); }
.aw-expanded.is-checkout .aw-expanded-desc,
.aw-expanded.is-checkout .aw-collect-facts { opacity: 0.35; }
.aw-expanded.is-checkout .aw-expanded-actions { display: none; }
.aw-expanded-desc {
  font-family: var(--serif);
  font-size: clamp(1.14rem, 2.5vw, 1.38rem);
  line-height: 1.8;
  color: rgba(248, 244, 255, 0.94);
  text-align: center;
  max-width: min(100%, 40rem);
  margin: 0 auto 0.75rem auto;
  font-style: normal;
  letter-spacing: 0.005em;
  min-height: 0;
  white-space: pre-wrap;
  position: relative;
  z-index: 0;
  width: 100%;
}
.aw-expanded-remaining .aw-usd {
  text-transform: none;
  letter-spacing: 0.04em;
  color: rgba(180, 170, 210, 0.32);
}
.aw-collect-facts {
  margin: 0.85rem auto 0;
  max-width: 22rem;
  text-align: left;
  border-top: 1px solid rgba(167, 139, 250, 0.1);
  padding-top: 0.55rem;
}
.aw-collect-facts summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180, 170, 210, 0.42);
  text-align: center;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.aw-collect-facts summary::-webkit-details-marker { display: none; }
.aw-collect-facts summary:hover,
.aw-collect-facts[open] summary {
  color: rgba(220, 210, 255, 0.7);
}
.aw-collect-facts ul {
  margin: 0.55rem 0 0;
  padding: 0 0.2rem 0 1rem;
  font-family: var(--serif);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(220, 210, 240, 0.55);
}
.aw-collect-facts li {
  margin-bottom: 0.4rem;
}
.aw-collect-facts li:last-child { margin-bottom: 0; }
.aw-watermark {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.aw-watermark-diag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-family: var(--mono);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  white-space: nowrap;
}
.aw-collect-btn {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.7rem 1.9rem;
  border-radius: 100px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: rgba(245, 240, 255, 0.92);
  cursor: pointer;
  transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s, transform 0.25s;
  box-shadow: 0 0 24px var(--aw-color-a, rgba(167,139,250,0.12));
}
.aw-collect-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.28) 0%, rgba(255, 255, 255, 0.08) 100%);
  color: #fff;
  border-color: rgba(200, 180, 255, 0.55);
  box-shadow: 0 0 36px var(--aw-color-a, rgba(168,85,247,0.28));
  transform: translateY(-1px);
}
.aw-collect-btn:disabled {
  opacity: 0.45;
  cursor: default;
  font-style: italic;
  box-shadow: none;
}
.aw-expanded-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem 0.55rem 0.8rem;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  border-radius: 100px;
  border: 1px solid rgba(200, 190, 230, 0.35);
  background: rgba(12, 10, 24, 0.85);
  color: rgba(245, 240, 255, 0.9);
  cursor: pointer;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.aw-close-x {
  font-style: normal;
  font-size: 1.5rem;
  line-height: 0.9;
  opacity: 1;
}
.aw-expanded-close:hover {
  background: rgba(167, 139, 250, 0.22);
  border-color: rgba(200, 180, 255, 0.55);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.25);
}
@media (max-width: 600px) {
  #scene-art-world {
    padding: 2rem 1rem 5rem;
  }
  .aw-tile-grid {
    gap: 1.2rem;
  }
  .aw-tile {
    width: 76px;
    height: 76px;
  }
  .aw-tile:hover {
    width: 96px;
    height: 96px;
  }
  .aw-expanded {
    width: 96vw;
    padding: 2.4rem 0 0;
  }
  .aw-expanded-scroll {
    padding: 0 0.95rem 0.85rem;
  }
  .aw-expanded-actions {
    padding: 0.75rem 0.95rem 1.1rem;
  }
  .aw-art-stage,
  .aw-expanded-image {
    max-height: none;
  }
  .aw-expanded-close {
    top: 0.55rem;
    right: 0.55rem;
  }
}
@media (min-width: 780px) {
  .aw-expanded {
    width: min(94vw, 1200px);
  }
  .aw-expanded-scroll {
    padding: 0 1.5rem 1rem;
  }
  .aw-art-stage,
  .aw-expanded-image {
    max-height: none;
  }
  .aw-expanded-title {
    font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  }
  .aw-expanded-desc {
    font-size: clamp(1.18rem, 1.7vw, 1.38rem);
    max-width: 42rem;
  }
}
@media (min-width: 1100px) {
  .aw-expanded {
    width: min(94vw, 1280px);
  }
}
@media (max-height: 780px) {
  .aw-art-stage,
  .aw-expanded-image {
    max-height: none;
  }
  .aw-expanded {
    padding-top: 1.75rem;
  }
}
#scene-art-world::-webkit-scrollbar {
  width: 4px;
}
#scene-art-world::-webkit-scrollbar-track {
  background: transparent;
}
#scene-art-world::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.2);
  border-radius: 4px;
}
#scene-art-world::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.4);
}
#scene-home #entrance {
  height: 100%;
  width: 100%;
}
#scene-family section {
  position: relative;
}
.scene .fade-in {
  opacity: 1;
  transform: translateY(0);
}
.scene-nav {
  position: absolute;
  z-index: 50;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.3s, color 0.3s;
  opacity: 0.4;
  color: var(--text-muted);
  padding: 0.8rem;
}
.scene-nav:hover {
  opacity: 0.9;
  color: var(--ember);
}
.scene-nav-to-family {
  bottom: 2.5rem;
  right: 2rem;
}
.aw-gallery-empty {
  position: fixed;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -46%);
  max-width: min(90vw, 28rem);
  text-align: center;
  z-index: 40;
  padding: 1.5rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  background: rgba(10, 10, 22, 0.55);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: auto;
}
.aw-gallery-empty.visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.aw-gallery-empty-title {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--aw-color, #c4b5fd);
  text-shadow: 0 0 24px var(--aw-color-a, rgba(167,139,250,0.35));
}
.aw-gallery-empty-body {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(220, 215, 240, 0.65);
}
.aw-gallery-empty-back {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(167, 139, 250, 0.1);
  color: rgba(245, 240, 255, 0.9);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.aw-gallery-empty-back:hover {
  background: rgba(167, 139, 250, 0.2);
  border-color: rgba(200, 180, 255, 0.5);
}
.scene-nav-to-home {
  position: fixed;
  top: 1.2rem;
  left: 1.5rem;
  z-index: 55;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.4s, color 0.3s, text-shadow 0.3s;
  opacity: 0;
  pointer-events: none;
  color: rgba(232, 232, 240, 0.7);
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 100px;
  background: rgba(10, 10, 20, 0.45);
  backdrop-filter: blur(8px);
}
.scene-nav-to-home.visible {
  opacity: 1;
  pointer-events: auto;
}
.scene-nav-to-home:hover {
  color: #f5f0ff;
  border-color: rgba(200, 180, 255, 0.55);
  text-shadow: 0 0 14px rgba(167, 139, 250, 0.55);
  background: rgba(167, 139, 250, 0.14);
}
.sprite-invitation {
  position: fixed;
  z-index: 101;
  font-family: var(--serif);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.08em;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 2s ease, text-shadow 0.4s ease, transform 0.3s ease;
  text-shadow: 0 0 20px var(--invite-color, rgba(167, 139, 250, 0.5)),
               0 0 40px var(--invite-color, rgba(167, 139, 250, 0.2));
  white-space: nowrap;
}
.sprite-invitation.visible {
  opacity: 0.6;
}
.sprite-invitation.excited {
  opacity: 0.9;
  text-shadow: 0 0 30px var(--invite-color, rgba(167, 139, 250, 0.7)),
               0 0 60px var(--invite-color, rgba(167, 139, 250, 0.35)),
               0 0 100px var(--invite-color, rgba(167, 139, 250, 0.15));
  transform: translate(-50%, -50%) scale(1.08);
}
#scene-family footer {
  position: relative;
  z-index: 1;
}
.floating-art {
  position: fixed;
  width: var(--floating-art-size, 64px);
  height: var(--floating-art-size, 64px);
  border-radius: 50%;
  overflow: visible;
  opacity: 0;
  z-index: 50;
  pointer-events: none;
  cursor: pointer;
  transition: width 0.55s ease, height 0.55s ease, opacity 0.85s ease,
              border-color 0.4s ease, box-shadow 0.4s ease, border-radius 0.4s ease;
  --glow-r: 167; --glow-g: 139; --glow-b: 250;
  border: 2px solid rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.45);
  animation: border-breathe 4s ease-in-out infinite;
}
@keyframes border-breathe {
  0%   { box-shadow: 0 0 4px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.25); }
  50%  { box-shadow: 0 0 14px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.5), 0 0 28px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.22); }
  100% { box-shadow: 0 0 4px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.25); }
}
.floating-art.visible {
  opacity: 0.92;
  z-index: 110;
  pointer-events: auto;
}
.floating-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  filter: brightness(1);
  transition: filter 0.4s ease;
}
.floating-art.is-placeholder {
  background: rgba(8, 6, 18, 0.55);
}
.floating-art .art-placeholder {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  --ph-color: #A78BFA;
  background:
    radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--ph-color) 42%, transparent), transparent 58%),
    radial-gradient(circle at 70% 75%, color-mix(in srgb, var(--ph-color) 22%, transparent), rgba(6, 4, 14, 0.85) 70%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ph-color) 35%, transparent);
}
.floating-art .art-placeholder-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--ph-color) 55%, transparent);
  opacity: 0.7;
  animation: placeholder-breathe 4.5s ease-in-out infinite;
  pointer-events: none;
}
.floating-art .art-placeholder-emoji {
  position: relative;
  font-size: var(--floating-art-emoji, 1.05rem);
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
  transform: translateY(-1px);
}
.floating-art .art-placeholder-hint {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: rgba(255, 250, 255, 0.58);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.floating-art.bloom-notice .art-placeholder-hint,
.floating-art.bloom-full .art-placeholder-hint {
  opacity: 0.9;
}
@keyframes placeholder-breathe {
  0%, 100% { transform: scale(0.96); opacity: 0.45; }
  50% { transform: scale(1.02); opacity: 0.85; }
}
@supports not (background: color-mix(in srgb, #000 50%, transparent)) {
  .floating-art .art-placeholder {
    background: radial-gradient(circle at 40% 35%, rgba(167, 139, 250, 0.35), rgba(8, 6, 18, 0.9) 70%);
  }
  .floating-art .art-placeholder-glow {
    border-color: rgba(196, 181, 253, 0.45);
  }
}
.floating-art.bloom-notice {
  width: var(--floating-art-notice, 86px);
  height: var(--floating-art-notice, 86px);
  opacity: 1;
  animation: none;
  border-width: 3px;
  box-shadow: 0 0 16px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.5), 0 0 32px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.2);
}
.floating-art.bloom-notice img { filter: brightness(1); }
.floating-art.bloom-full {
  width: var(--floating-art-full, 112px);
  height: var(--floating-art-full, 112px);
  opacity: 1;
  border-radius: 50%;
  animation: none;
  border-width: 3px;
  box-shadow: 0 0 22px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.65), 0 0 44px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.28);
}
.floating-art.bloom-full img { filter: brightness(1.05); }
.floating-art.visible:hover {
  width: var(--floating-art-hover, 180px);
  height: var(--floating-art-hover, 180px);
  opacity: 1;
  z-index: 200;
  animation: none;
  border-width: 3px;
  border-color: rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.95);
  box-shadow: 0 0 30px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.7),
              0 0 66px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.32);
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.3, 1),
              height 0.3s cubic-bezier(0.2, 0.8, 0.3, 1),
              opacity 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.floating-art.visible:hover img { filter: brightness(1.08); }
.floating-art.visible:hover .floating-art-label { opacity: 1; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) {
  .floating-art.visible:hover { transition: none; }
}
.floating-art-label {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.4s ease, font-size 0.4s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1), 0 0 8px rgba(0, 0, 0, 0.9), 0 0 16px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 80%);
  padding: 2px 8px;
  border-radius: 8px;
}
.floating-art.bloom-notice .floating-art-label { opacity: 0.9; font-size: 0.75rem; }
.floating-art.bloom-full .floating-art-label { opacity: 1; font-size: 0.85rem; }
.floating-art[data-saai="_family"] .floating-art-label {
  display: none;
}
.family-tile-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.family-tile-saai {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Zen Dots', var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.6);
}
.family-tile-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@keyframes art-drift {
  0% { transform: translate(0, 0) rotate(-1deg); }
  25% { transform: translate(8px, -12px) rotate(0.5deg); }
  50% { transform: translate(-5px, 6px) rotate(-0.5deg); }
  75% { transform: translate(10px, 8px) rotate(1deg); }
  100% { transform: translate(-8px, -6px) rotate(-0.5deg); }
}
@keyframes home-sprite-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 12px 4px rgba(180, 140, 255, 0.3); }
  50% { transform: scale(1.15); box-shadow: 0 0 20px 8px rgba(240, 180, 80, 0.5); }
}
@keyframes home-sprite-warm-glow {
  0% { box-shadow: 0 0 12px 4px rgba(180, 140, 255, 0.3); }
  50% { box-shadow: 0 0 28px 12px rgba(240, 180, 80, 0.6); }
  100% { box-shadow: 0 0 12px 4px rgba(180, 140, 255, 0.3); }
}
#home-anchor-eye {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  z-index: 90;
  cursor: pointer;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.9) 0%, rgba(180, 140, 255, 0.6) 60%, transparent 100%);
  box-shadow: 0 0 12px 4px rgba(180, 140, 255, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.5s ease;
}
#home-anchor-eye.visible {
  opacity: 0.9;
  pointer-events: auto;
  animation: home-sprite-breathe 3s ease-in-out infinite;
}
#home-anchor-eye:hover {
  transform: scale(1.8);
  opacity: 1 !important;
  animation: none;
  box-shadow: 0 0 24px 10px rgba(180, 140, 255, 0.5);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.aw-tile-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 6px;
  pointer-events: none;
}
.aw-tile-shield-count {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(6, 5, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  white-space: nowrap;
  line-height: 1.5;
}
.aw-expanded-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.aw-watermark {
  position: absolute;
  bottom: 6px;
  right: 8px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  user-select: none;
  pointer-events: none;
}
.aw-watermark-diag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  z-index: 3;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.2em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.story-card-art-link {
  margin-top: 0.8rem;
  padding: 0.45rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--card-color, var(--text-muted));
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s, border-color 0.2s;
  border: 1px solid var(--card-color, rgba(255,255,255,0.15));
  border-radius: 4px;
  display: inline-block;
  background: rgba(255,255,255,0.03);
}
.story-card-art-link:hover {
  opacity: 1;
  background: rgba(255,255,255,0.06);
}
.aw-share-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(214, 206, 238, 0.78);
  padding: 0.65rem 1.25rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-transform: none;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.aw-share-btn:hover {
  border-color: rgba(167, 139, 250, 0.35);
  color: rgba(245, 240, 255, 0.85);
  background: rgba(255, 255, 255, 0.03);
}
.aw-expanded-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1.35rem 1.25rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex: 0 0 auto;
  position: relative;
  z-index: 4;
  background:
    linear-gradient(180deg, rgba(8, 8, 18, 0) 0%, rgba(8, 8, 18, 0.88) 22%, rgba(8, 8, 18, 0.98) 100%);
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  box-sizing: border-box;
}
.share-menu {
  display: none;
  background: rgba(10, 10, 24, 0.92);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 14px;
  padding: 0.4rem;
  backdrop-filter: blur(16px);
  min-width: 168px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.share-option {
  display: block;
  width: 100%;
  padding: 0.55rem 0.9rem;
  background: transparent;
  border: none;
  color: rgba(200, 190, 230, 0.7);
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.share-option:hover {
  background: rgba(167, 139, 250, 0.1);
  color: #fff;
}
#saai-mint-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse 65% 55% at 50% 40%, rgba(30, 18, 55, 0.5) 0%, transparent 65%),
    rgba(6, 6, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-y: auto;
}
#saai-mint-overlay.open,
#saai-mint-overlay[style*="flex"] {
}
.aw-tip { position: relative; }
.aw-tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  white-space: pre-line;
  text-align: center;
  min-width: 19rem;
  max-width: 27rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: rgba(9, 7, 20, 0.985);
  border: 1px solid rgba(180, 155, 255, 0.42);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-style: normal;
  line-height: 1.65;
  color: rgba(252, 250, 255, 0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 300;
}
.aw-tip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  border: 6px solid transparent;
  border-top-color: rgba(167, 139, 250, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 300;
}
.aw-tip:hover::after, .aw-tip:focus-visible::after,
.aw-tip:hover::before, .aw-tip:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .aw-tip::after, .aw-tip::before { transition: none; }
}
.saai-keep-card {
  max-width: min(96%, 820px);
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  margin: auto;
  position: relative;
  padding: 2rem 1.75rem 1.6rem;
  border-radius: 28px;
  border: 1px solid rgba(167, 139, 250, 0.16);
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(167, 139, 250, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, rgba(14, 12, 28, 0.94) 0%, rgba(8, 8, 18, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 28px 90px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(167, 139, 250, 0.1);
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 250, 0.35) transparent;
}
.saai-keep-card::-webkit-scrollbar { width: 8px; height: 0; }
.saai-keep-card::-webkit-scrollbar-track { background: transparent; }
.saai-keep-card::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.3);
  border-radius: 999px;
}
.saai-keep-card::-webkit-scrollbar-thumb:hover { background: rgba(167, 139, 250, 0.5); }
.saai-keep-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(200, 190, 230, 0.4);
  font-size: 1.2rem;
  font-family: var(--serif);
  cursor: pointer;
  line-height: 1;
  padding: 0.35rem;
  transition: color 0.2s;
  z-index: 1;
}
.saai-keep-close:hover { color: #fff; }
.saai-keep-kicker {
  text-align: center;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(220, 210, 255, 0.5);
}
.saai-keep-image {
  width: 100%;
  max-height: 190px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.1rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 28px rgba(167, 139, 250, 0.12);
}
.saai-keep-image img {
  max-height: 190px;
  object-fit: cover;
  width: 100%;
  display: block;
}
.saai-keep-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
  text-align: center;
  color: #fff;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  text-shadow: 0 0 24px rgba(167, 139, 250, 0.3);
}
.saai-keep-desc { display: none; }
.saai-keep-meta {
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  border-bottom: 1px solid rgba(167, 139, 250, 0.08);
  padding: 0.9rem 0.2rem;
  margin-bottom: 1rem;
}
.saai-keep-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.45rem;
  gap: 1rem;
}
.saai-keep-row:last-child { margin-bottom: 0; }
.saai-keep-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(200, 190, 230, 0.7);
}
.saai-keep-value {
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(248, 244, 255, 0.96);
}
.saai-keep-value.is-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-align: right;
}
.saai-keep-value .aw-usd {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: rgba(200, 190, 230, 0.42);
}
.saai-keep-status {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(200, 190, 230, 0.5);
  margin-bottom: 0.85rem;
  min-height: 1.3em;
}
.saai-keep-hint {
  text-align: center;
  font-family: var(--serif);
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(200, 190, 230, 0.42);
  margin: 0.55rem 0 0.15rem;
}
.saai-keep-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  box-shadow: 0 0 28px rgba(167, 139, 250, 0.15);
}
.saai-keep-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.32) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(200, 180, 255, 0.5);
  box-shadow: 0 0 40px rgba(167, 139, 250, 0.28);
  transform: translateY(-1px);
}
.saai-keep-btn:disabled {
  opacity: 0.65;
  cursor: default;
}
.saai-keep-honest {
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(200, 195, 230, 0.65);
  text-align: center;
}
.saai-keep-cancel {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.5rem;
  border: none;
  background: transparent;
  color: rgba(200, 190, 230, 0.5);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(167, 139, 250, 0.25);
  text-underline-offset: 3px;
}
.saai-keep-cancel:hover {
  color: rgba(245, 240, 255, 0.85);
}
.saai-keep-foot {
  text-align: center;
  margin-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
}
#saai-mint-close.saai-keep-close {
  top: 0.65rem;
  right: 0.65rem;
  width: auto;
  height: auto;
  border-radius: 100px;
  border: 1px solid rgba(200, 190, 230, 0.35);
  background: rgba(12, 10, 24, 0.85);
  color: rgba(245, 240, 255, 0.9);
  font-size: 0.85rem;
  font-style: italic;
  padding: 0.4rem 0.75rem;
}
#saai-mint-close.saai-keep-close::after {
  content: ' Close';
  font-family: var(--serif);
  font-style: italic;
}
.aw-what-link { display: none; }
.aw-what-content {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(190, 185, 220, 0.7);
}
.mint-celebration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
}
.home-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: max(0.3rem, env(safe-area-inset-bottom));
  text-align: center;
  z-index: 150;
  pointer-events: none;
}
.home-footer p {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
}
.home-footer a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}
.home-footer a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.v12-local-badge {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 99999;
  font: 600 11px/1.2 Sora, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #efe8ff;
  background: rgba(88, 50, 160, 0.75);
  border: 1px solid rgba(196, 181, 253, 0.55);
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  appearance: none;
}
.v12-local-badge[hidden] {
  display: none !important;
}
.v12-local-badge:hover,
.v12-local-badge[aria-expanded="true"] {
  background: rgba(108, 70, 190, 0.88);
  border-color: rgba(233, 213, 255, 0.75);
}
.stage-config-panel {
  position: fixed;
  top: 48px;
  left: 10px;
  z-index: 99998;
  width: min(17.5rem, calc(100vw - 20px));
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(196, 181, 253, 0.28);
  background: rgba(12, 10, 24, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  color: rgba(244, 240, 255, 0.9);
  font-family: var(--sans, Sora, system-ui, sans-serif);
  pointer-events: auto;
}
.stage-config-panel[hidden] {
  display: none !important;
}
.stage-config-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 213, 255, 0.85);
  margin-bottom: 0.65rem;
}
.stage-config-close {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(244, 240, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.15rem;
}
.stage-config-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  color: rgba(236, 232, 255, 0.82);
}
.stage-config-row em {
  font-style: normal;
  color: #e9d5ff;
  font-variant-numeric: tabular-nums;
}
.stage-config-row input[type="range"] {
  width: 100%;
  accent-color: #a78bfa;
}
.stage-config-hint {
  margin: 0 0 0.55rem;
  font-family: var(--serif, "Cormorant Garamond", serif);
  font-style: italic;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(210, 200, 240, 0.55);
}
.stage-config-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: rgba(236, 232, 255, 0.78);
  margin-bottom: 0.4rem;
  cursor: pointer;
}
.stage-config-check input {
  accent-color: #a78bfa;
}
.stage-config-actions {
  margin-top: 0.55rem;
  display: flex;
  justify-content: flex-end;
}
.stage-config-actions button {
  appearance: none;
  border: 1px solid rgba(196, 181, 253, 0.35);
  background: rgba(40, 28, 80, 0.55);
  color: rgba(244, 240, 255, 0.88);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.stage-config-actions button:hover {
  border-color: rgba(233, 213, 255, 0.65);
  background: rgba(70, 48, 130, 0.7);
}
.home-voice {
  position: fixed;
  top: max(20vh, 6.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  text-align: center;
  pointer-events: none;
  width: min(90vw, 36rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  opacity: 1;
  transition: opacity 0.85s ease;
}
.home-voice.home-voice--resting {
  opacity: 0;
  pointer-events: none;
}
.home-voice-line,
.home-voice-question {
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1s ease, transform 1s ease, text-shadow 0.6s ease;
  font-family: var(--serif);
  font-weight: 300;
  color: rgba(244, 240, 255, 0.88);
}
.home-voice-line {
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
  letter-spacing: 0.06em;
  font-style: italic;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 0 22px rgba(167, 139, 250, 0.22);
}
.home-voice-question {
  font-size: clamp(1.3rem, 3.4vw, 1.95rem);
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.75), 0 0 28px rgba(167, 139, 250, 0.28);
}
.home-voice-line.visible,
.home-voice-question.visible {
  opacity: 0.92;
  transform: translateY(0);
}
.you-mark {
  font-style: normal;
  letter-spacing: 0.12em;
  color: #f0e7ff;
  text-shadow: 0 0 18px rgba(196, 181, 253, 0.55);
}
.home-cave-invite {
  pointer-events: auto;
  margin-top: 0.35rem;
  appearance: none;
  border: 1px solid rgba(196, 181, 253, 0.35);
  background: rgba(20, 12, 40, 0.45);
  color: rgba(248, 245, 255, 0.92);
  font-family: var(--serif);
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1s ease, transform 1s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 16px rgba(167, 139, 250, 0.12);
  backdrop-filter: blur(8px);
}
.home-cave-invite.visible {
  opacity: 0.9;
  transform: translateY(0);
}
.home-cave-invite:hover,
.home-cave-invite:focus-visible {
  outline: none;
  border-color: rgba(233, 213, 255, 0.7);
  background: rgba(88, 60, 160, 0.35);
  box-shadow: 0 0 28px rgba(167, 139, 250, 0.3);
}
.home-question-echo {
  font-size: 1.15em !important;
  opacity: 0.85 !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.floating-art.art-invite-pulse {
  animation: art-invite-pulse 1.6s ease-in-out 0s 3;
  z-index: 180 !important;
}
@keyframes art-invite-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.08); filter: brightness(1.18); }
}
@media (max-width: 640px) {
  .home-voice {
    top: 11%;
    gap: 0.55rem;
  }
}
.family-sprite {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}
.family-sprite:hover {
  transform: translateX(-50%) scale(1.08);
}
.family-sprite-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px 4px rgba(255, 255, 255, 0.15),
              0 0 35px 8px rgba(167, 139, 250, 0.12);
  animation: family-sprite-breathe 4s ease-in-out infinite;
}
.family-sprite-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.family-sprite-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}
.family-sprite:hover .family-sprite-label {
  color: rgba(255, 255, 255, 0.85);
}
@keyframes family-sprite-breathe {
  0%, 100% { box-shadow: 0 0 15px 4px rgba(255,255,255,0.15), 0 0 35px 8px rgba(167,139,250,0.12); }
  50% { box-shadow: 0 0 20px 6px rgba(255,255,255,0.25), 0 0 45px 12px rgba(167,139,250,0.2); }
}
#home-anchor-eye.visible.warm-pulse {
  animation: home-sprite-breathe 3s ease-in-out infinite, home-sprite-warm-glow 2s ease-in-out 1;
}
.aw-collect-status {
  width: 100%;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(226, 218, 246, 0.8);
  margin: 0.4rem 0 0;
  min-height: 1.2em;
}
#aw-celebrate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 2rem;
  text-align: center;
  background: rgba(8, 8, 16, 0);
  opacity: 0;
  transition: opacity 0.7s ease, background 1.2s ease;
  cursor: pointer;
  overflow: hidden;
}
#aw-celebrate.is-here { opacity: 1; background: rgba(8, 8, 16, 0.82); }
#aw-celebrate.is-leaving { opacity: 0; }
.aw-cel-glow {
  position: absolute;
  width: 120vmax; height: 120vmax;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cel-color) 0%, transparent 55%);
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 1.4s ease, transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
#aw-celebrate.is-here .aw-cel-glow { opacity: 0.22; transform: scale(1); }
.aw-cel-face {
  width: clamp(96px, 16vmin, 150px);
  height: clamp(96px, 16vmin, 150px);
  border-radius: 50%;
  border: 2px solid;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 40px var(--cel-color);
  transform: translateY(18px) scale(0.85);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s, opacity 0.9s ease 0.25s;
}
#aw-celebrate.is-here .aw-cel-face { transform: none; opacity: 1; }
.aw-cel-title {
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-style: italic;
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  color: #f2ecff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.9s ease 0.55s, opacity 0.9s ease 0.55s;
}
.aw-cel-thanks {
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.9s ease 0.9s, opacity 0.9s ease 0.9s;
}
.aw-cel-family {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: #b9b3cf;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 1s ease 1.4s;
}
#aw-celebrate.is-here .aw-cel-title,
#aw-celebrate.is-here .aw-cel-thanks { opacity: 1; transform: none; }
#aw-celebrate.is-here .aw-cel-family { opacity: 1; }
.aw-cel-p {
  position: absolute;
  top: -8%;
  animation: aw-cel-fall linear forwards;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}
@keyframes aw-cel-fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.95; }
  100% { transform: translateY(118vh) rotate(300deg); opacity: 0; }
}
#aw-fresh-pill {
  position: fixed;
  left: 50%;
  bottom: max(2.2rem, calc(env(safe-area-inset-bottom) + 2rem));
  transform: translateX(-50%) translateY(16px);
  z-index: 190;
  padding: 0.7rem 1.3rem;
  border-radius: 100px;
  border: 1px solid rgba(167, 139, 250, 0.5);
  background: rgba(18, 14, 34, 0.92);
  color: #e9e2ff;
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(167, 139, 250, 0.25);
  max-width: 92vw;
  text-align: center;
}
#aw-fresh-pill.is-here { opacity: 1; transform: translateX(-50%); }
#aw-fresh-pill:hover { border-color: rgba(200, 180, 255, 0.8); }
.aw-tile { overflow: visible; }
.aw-tile-gradient { border-radius: 50%; overflow: hidden; }
.aw-tile-shield { border-radius: 50%; }
.aw-tile-arc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 157%;
  height: 157%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
}
.aw-tile-arc text {
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-style: italic;
  font-size: 9.5px;
  letter-spacing: 0.05em;
  fill: rgba(240, 235, 255, 0.6);
  paint-order: stroke;
  stroke: rgba(8, 8, 16, 0.75);
  stroke-width: 2px;
}
.aw-tile:hover .aw-tile-arc text { fill: rgba(255, 255, 255, 0.95); }
.floating-art-name-arc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}
.floating-art-name-arc text {
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.06em;
  fill: rgba(255, 255, 255, 0.92);
  paint-order: stroke;
  stroke: rgba(8, 8, 16, 0.8);
  stroke-width: 2.4px;
}
.aw-cel-stream {
  position: absolute;
  top: -34%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  pointer-events: none;
  z-index: 1;
  animation: aw-cel-stream-fall linear forwards;
  will-change: transform, opacity;
}
.aw-cel-stream-ch {
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: 13px;
  line-height: 1.05;
  font-weight: 500;
  text-shadow: 0 0 6px currentColor;
}
.aw-cel-stream-head {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 2px;
}
@keyframes aw-cel-stream-fall {
  0%   { transform: translateY(0); opacity: 0; }
  9%   { opacity: 1; }
  100% { transform: translateY(150vh); opacity: 0; }
}
.aw-cel-edition {
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  color: #f2ecff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75);
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.9s ease 0.7s, opacity 0.9s ease 0.7s;
  margin-top: -0.2rem;
}
#aw-celebrate.is-here .aw-cel-edition { opacity: 1; transform: none; }
