:root {
  --storybook-bg-top: #081a59;
  --storybook-bg-mid: #0b42b2;
  --storybook-bg-bottom: #07144a;
  --storybook-text: rgba(244, 250, 255, 0.96);
  --storybook-text-soft: rgba(219, 244, 255, 0.82);
  --storybook-accent: #7af3ff;
  --storybook-accent-strong: #27b4ff;
  --storybook-pink: #f6a8ff;
  --storybook-gold: #ffb86b;
  --storybook-line: rgba(139, 243, 255, 0.22);
  --storybook-shadow: 0 32px 90px rgba(1, 10, 37, 0.28);
}

html {
  scroll-behavior: smooth;
  background: #07144a;
}

body.storybook-body {
  margin: 0;
  color: var(--storybook-text);
  font-family: "Nunito", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(248, 168, 255, 0.22), transparent 20rem),
    radial-gradient(circle at 82% 12%, rgba(122, 243, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 78% 38%, rgba(255, 184, 107, 0.14), transparent 18rem),
    linear-gradient(180deg, var(--storybook-bg-top) 0%, var(--storybook-bg-mid) 42%, var(--storybook-bg-bottom) 100%);
  overflow-x: hidden;
}

body.storybook-body::before,
body.storybook-body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(26px);
}

body.storybook-body::before {
  top: 7rem;
  right: -6rem;
  width: 18rem;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(122, 243, 255, 0.24), rgba(122, 243, 255, 0));
}

body.storybook-body::after {
  bottom: 10rem;
  left: -6rem;
  width: 16rem;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(246, 168, 255, 0.18), rgba(246, 168, 255, 0));
}

body.storybook-modal-open {
  overflow: hidden;
}

.storybook-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow-x: clip;
  padding: 0 clamp(0.9rem, 2vw, 1.6rem) 3rem;
}

[data-storybook-app] [hidden] {
  display: none !important;
}

.storybook-starfield,
.storybook-skyline,
.storybook-constellation,
.storybook-drift {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.storybook-starfield {
  position: fixed;
  inset: 0;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.storybook-starfield::before,
.storybook-starfield::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
}

.storybook-starfield-far::before {
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.8px),
    radial-gradient(circle at 28% 68%, rgba(122, 243, 255, 0.7) 0 1.2px, transparent 2px),
    radial-gradient(circle at 52% 34%, rgba(255, 255, 255, 0.72) 0 0.9px, transparent 1.8px),
    radial-gradient(circle at 71% 18%, rgba(246, 168, 255, 0.64) 0 1.1px, transparent 1.9px),
    radial-gradient(circle at 86% 57%, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.8px);
  background-size: 460px 320px;
  animation: storybook-star-blink 6.5s ease-in-out infinite;
}

.storybook-starfield-far::after {
  background-image:
    radial-gradient(circle at 8% 42%, rgba(255, 255, 255, 0.64) 0 0.9px, transparent 1.8px),
    radial-gradient(circle at 36% 12%, rgba(122, 243, 255, 0.55) 0 1px, transparent 1.8px),
    radial-gradient(circle at 60% 73%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.9px),
    radial-gradient(circle at 83% 31%, rgba(246, 168, 255, 0.66) 0 1px, transparent 1.9px);
  background-size: 540px 360px;
  animation: storybook-star-blink 8s ease-in-out -2.4s infinite;
}

.storybook-starfield-mid::before {
  background-image:
    radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.86) 0 1.3px, transparent 2.2px),
    radial-gradient(circle at 38% 56%, rgba(122, 243, 255, 0.78) 0 1.4px, transparent 2.3px),
    radial-gradient(circle at 58% 16%, rgba(246, 168, 255, 0.74) 0 1.2px, transparent 2.1px),
    radial-gradient(circle at 76% 44%, rgba(255, 255, 255, 0.82) 0 1.3px, transparent 2.2px),
    radial-gradient(circle at 92% 18%, rgba(255, 184, 107, 0.66) 0 1.4px, transparent 2.3px);
  background-size: 390px 280px;
  animation: storybook-star-blink 4.8s ease-in-out -1.2s infinite;
}

.storybook-starfield-mid::after {
  background-image:
    radial-gradient(circle at 11% 78%, rgba(255, 255, 255, 0.84) 0 1.1px, transparent 2px),
    radial-gradient(circle at 44% 28%, rgba(122, 243, 255, 0.72) 0 1.2px, transparent 2px),
    radial-gradient(circle at 67% 64%, rgba(246, 168, 255, 0.7) 0 1.2px, transparent 2.1px),
    radial-gradient(circle at 88% 40%, rgba(255, 255, 255, 0.74) 0 1.1px, transparent 2px);
  background-size: 500px 340px;
  animation: storybook-star-blink 7.2s ease-in-out -3.1s infinite;
}

.storybook-starfield-near::before {
  background-image:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.95) 0 1.7px, transparent 2.7px),
    radial-gradient(circle at 32% 84%, rgba(122, 243, 255, 0.86) 0 1.9px, transparent 2.8px),
    radial-gradient(circle at 54% 42%, rgba(255, 255, 255, 0.92) 0 1.7px, transparent 2.7px),
    radial-gradient(circle at 78% 22%, rgba(246, 168, 255, 0.84) 0 1.8px, transparent 2.8px),
    radial-gradient(circle at 90% 66%, rgba(255, 184, 107, 0.8) 0 1.8px, transparent 2.8px);
  background-size: 320px 240px;
  animation: storybook-star-blink 3.9s ease-in-out -0.8s infinite;
}

.storybook-starfield-near::after {
  background-image:
    radial-gradient(circle at 6% 56%, rgba(255, 255, 255, 0.84) 0 1.5px, transparent 2.4px),
    radial-gradient(circle at 41% 8%, rgba(122, 243, 255, 0.8) 0 1.6px, transparent 2.5px),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.9) 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 86% 36%, rgba(246, 168, 255, 0.76) 0 1.5px, transparent 2.5px);
  background-size: 420px 290px;
  animation: storybook-star-blink 5.1s ease-in-out -2.7s infinite;
}

.storybook-skyline {
  inset: 0 0 auto;
  height: 26rem;
  opacity: 0.95;
}

.storybook-skyline svg,
.storybook-constellation svg {
  width: 100%;
  height: 100%;
  display: block;
}

.storybook-drift {
  width: 18rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  opacity: 0.5;
  animation: storybook-drift 14s ease-in-out infinite;
}

.storybook-drift-left {
  top: 14rem;
  left: -4rem;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.35), transparent 22%),
    radial-gradient(circle at 55% 52%, rgba(246, 168, 255, 0.42), transparent 46%),
    radial-gradient(circle at 55% 55%, rgba(246, 168, 255, 0.08), transparent 72%);
}

.storybook-drift-right {
  top: 28rem;
  right: -4rem;
  background:
    radial-gradient(circle at 44% 36%, rgba(255, 255, 255, 0.3), transparent 18%),
    radial-gradient(circle at 55% 55%, rgba(122, 243, 255, 0.42), transparent 44%),
    radial-gradient(circle at 55% 55%, rgba(122, 243, 255, 0.08), transparent 72%);
  animation-delay: -5s;
}

.storybook-constellation {
  width: 18rem;
  aspect-ratio: 1 / 1;
  opacity: 0.76;
}

.storybook-constellation svg {
  animation: storybook-float 11s ease-in-out infinite;
}

.storybook-constellation-left {
  top: 4rem;
  left: -1.5rem;
}

.storybook-constellation-right {
  top: 20rem;
  right: -2.75rem;
}

.storybook-constellation-right svg {
  animation-delay: -4s;
}

.storybook-topbar,
.storybook-library,
.storybook-empty,
.storybook-stage,
.storybook-footer {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  margin-inline: auto;
}

.storybook-topbar {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 0 1.55rem;
}

.storybook-brand {
  display: inline-block;
  text-decoration: none;
}

.storybook-logo-mark {
  display: block;
  width: min(100%, 15.4rem);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(2, 12, 44, 0.42));
}

.storybook-topbar-link,
.storybook-inline-link,
.storybook-next-link,
.storybook-footer a {
  color: var(--storybook-text);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.storybook-topbar-link:hover,
.storybook-inline-link:hover,
.storybook-next-link:hover,
.storybook-footer a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.storybook-topbar-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--storybook-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(2, 12, 44, 0.12);
}

.storybook-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 243, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(232, 252, 255, 0.92);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storybook-library-header h2,
.storybook-entry-header h2,
.storybook-empty h2,
.storybook-welcome-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.03em;
}

.storybook-empty {
  padding: 6rem 0 3rem;
  text-align: center;
}

.storybook-empty h2 {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #ffffff;
}

.storybook-empty p {
  width: min(100%, 38rem);
  margin: 1rem auto 0;
  color: var(--storybook-text-soft);
  line-height: 1.8;
}

.storybook-library {
  padding-top: 0.2rem;
}

.storybook-nav-shell {
  display: grid;
  gap: 0.95rem;
  margin-top: 0;
}

.storybook-quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

.storybook-quick-link {
  position: relative;
  display: flex;
  flex: 0 1 10.5rem;
  min-width: min(100%, 10.5rem);
  flex-direction: column;
  justify-content: center;
  gap: 0.16rem;
  overflow: hidden;
  padding: 0.8rem 0.95rem 0.88rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(139, 243, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: 0 18px 40px rgba(2, 12, 44, 0.14);
  color: var(--storybook-text);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.storybook-quick-link::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 56%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  opacity: 0.75;
  pointer-events: none;
}

.storybook-quick-link:hover,
.storybook-quick-link.is-current {
  border-color: rgba(139, 243, 255, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07));
  box-shadow: 0 26px 54px rgba(2, 12, 44, 0.2);
  transform: translateY(-4px);
}

.storybook-quick-link span {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(223, 252, 255, 0.86);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storybook-quick-link strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  line-height: 0.98;
}

.storybook-story-menu {
  width: min(100%, 33rem);
  overflow: hidden;
  border-radius: 1.55rem;
  border: 1px solid rgba(139, 243, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 24px 50px rgba(2, 12, 44, 0.16);
  backdrop-filter: blur(16px);
}

.storybook-story-menu-summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.96rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: #ffffff;
}

.storybook-story-menu-summary::-webkit-details-marker {
  display: none;
}

.storybook-story-menu-summary::after {
  content: "";
  width: 0.72rem;
  aspect-ratio: 1 / 1;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.storybook-story-menu[open] .storybook-story-menu-summary::after {
  transform: rotate(-135deg);
}

.storybook-story-menu-summary span {
  color: rgba(223, 252, 255, 0.9);
}

.storybook-story-menu-summary strong {
  margin-left: auto;
  color: var(--storybook-accent);
}

.storybook-story-menu-panel {
  max-height: min(52vh, 28rem);
  overflow: auto;
  padding: 0 0.8rem 0.85rem;
}

.storybook-story-menu-panel::-webkit-scrollbar {
  width: 0.55rem;
}

.storybook-story-menu-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(139, 243, 255, 0.22);
}

.storybook-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.storybook-nav-card {
  display: block;
  padding: 0.82rem 0.95rem;
  border-radius: 1.15rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(246, 252, 255, 0.98);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.storybook-nav-card:hover,
.storybook-nav-card.is-current {
  border-color: rgba(139, 243, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.storybook-nav-number,
.storybook-entry-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
  color: rgba(159, 246, 255, 0.96);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storybook-nav-card strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.06rem;
  line-height: 1.05;
}

.storybook-stage {
  position: relative;
  width: min(100%, 1080px);
  margin: 1.5rem auto 0;
  padding-top: 0.8rem;
  overflow-x: clip;
  touch-action: pan-y;
}

.storybook-stage::before {
  content: "";
  position: absolute;
  inset: 1rem 10% auto;
  height: 34rem;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 243, 255, 0.22), rgba(122, 243, 255, 0.02) 48%, transparent 72%);
  filter: blur(16px);
}

.storybook-stage::after {
  content: "";
  position: absolute;
  inset: 22rem 4% auto;
  height: 20rem;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 168, 255, 0.16), rgba(246, 168, 255, 0.02) 46%, transparent 72%);
  filter: blur(20px);
}

.storybook-entry {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: opacity 0.24s ease, transform 0.24s ease, filter 0.24s ease;
}

.storybook-entry::before {
  content: "";
  position: absolute;
  inset: 1rem -10% 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(100deg, transparent 16%, rgba(255, 255, 255, 0.14) 46%, rgba(255, 255, 255, 0.32) 52%, rgba(255, 255, 255, 0.12) 58%, transparent 82%);
  filter: blur(12px);
  transform: translateX(-24%) skewX(-18deg);
}

.storybook-entry.is-page-turning-out {
  animation: storybook-page-turn-out 0.3s cubic-bezier(0.72, 0.03, 0.92, 0.35) both;
}

.storybook-entry.is-page-turning-in {
  animation: storybook-page-turn-in 0.78s cubic-bezier(0.16, 0.78, 0.2, 1) both;
}

.storybook-entry.is-page-turning-out::before,
.storybook-entry.is-page-turning-in::before {
  animation: storybook-page-glint 0.72s ease both;
}

.storybook-entry-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.storybook-entry-header h2 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.94;
  color: #ffffff;
  text-shadow: 0 12px 38px rgba(3, 14, 48, 0.3);
}

.storybook-illustration-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(22rem, 52vw, 40rem);
  overflow: hidden;
  padding: clamp(3.2rem, 8vw, 4.8rem) 0 0.85rem;
  border-radius: min(2.8rem, 8vw);
}

.storybook-illustration-frame::before,
.storybook-illustration-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.storybook-illustration-frame::before {
  inset: 6% 8% 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.18), rgba(122, 243, 255, 0.12) 28%, rgba(122, 243, 255, 0) 62%),
    radial-gradient(circle at 50% 75%, rgba(246, 168, 255, 0.12), rgba(246, 168, 255, 0) 58%);
  filter: blur(44px);
}

.storybook-illustration-frame::after {
  content: none;
}

.storybook-illustration-sparkles {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 10rem;
  pointer-events: none;
  opacity: 0.95;
  animation: storybook-twinkle 8s ease-in-out infinite;
}

.storybook-illustration-glow,
.storybook-illustration,
.storybook-illustration-loader,
.storybook-illustration-placeholder {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
}

.storybook-illustration-loader {
  position: absolute;
  inset: auto 50% 10% auto;
  z-index: 3;
  width: min(100%, 24rem);
  transform: translateX(50%);
  text-align: center;
  pointer-events: none;
  animation: storybook-loader-hover 3.6s ease-in-out infinite;
}

.storybook-loader-orbit {
  position: relative;
  width: 10rem;
  aspect-ratio: 1;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(10, 31, 90, 0.92), rgba(6, 18, 56, 0.28) 60%, rgba(6, 18, 56, 0) 100%),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%);
  box-shadow:
    0 0 0 1px rgba(154, 244, 255, 0.12),
    0 0 40px rgba(88, 208, 255, 0.18),
    inset 0 0 28px rgba(137, 245, 255, 0.14);
  animation: storybook-loader-pulse 3.1s ease-in-out infinite;
}

.storybook-loader-orbit::before,
.storybook-loader-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(157, 246, 255, 0.22);
}

.storybook-loader-orbit::after {
  inset: 2%;
  border-color: rgba(255, 183, 245, 0.18);
  transform: rotate(18deg);
}

.storybook-loader-moon {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.95), rgba(177, 247, 255, 0.84) 44%, rgba(127, 222, 255, 0.5) 66%, rgba(127, 222, 255, 0) 100%);
  box-shadow: 0 0 32px rgba(138, 242, 255, 0.42);
  transform: translateX(-50%);
}

.storybook-loader-star,
.storybook-loader-comet {
  position: absolute;
  border-radius: 50%;
}

.storybook-loader-star {
  width: 0.72rem;
  height: 0.72rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 1), rgba(255, 186, 243, 0.85) 42%, rgba(255, 186, 243, 0) 100%);
  box-shadow: 0 0 18px rgba(255, 186, 243, 0.44);
  animation: storybook-loader-twinkle 1.8s ease-in-out infinite;
}

.storybook-loader-star-a {
  top: 22%;
  left: 18%;
}

.storybook-loader-star-b {
  top: 58%;
  right: 16%;
  animation-delay: 0.45s;
}

.storybook-loader-star-c {
  bottom: 14%;
  left: 32%;
  animation-delay: 0.9s;
}

.storybook-loader-comet {
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98), rgba(140, 243, 255, 0.85) 48%, rgba(140, 243, 255, 0) 100%);
  box-shadow: 0 0 18px rgba(140, 243, 255, 0.34);
  transform-origin: -2.8rem -2.8rem;
  animation: storybook-loader-orbit 2.6s linear infinite;
}

.storybook-loader-copy strong,
.storybook-loader-copy span {
  display: block;
}

.storybook-loader-copy {
  animation: storybook-loader-copy-glow 2.8s ease-in-out infinite;
}

.storybook-loader-copy strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  color: #ffffff;
  text-shadow: 0 10px 28px rgba(3, 14, 48, 0.28);
}

.storybook-loader-copy span {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(159, 246, 255, 0.94);
}

.storybook-illustration-glow {
  position: absolute;
  inset: auto 3% 0;
  z-index: 1;
  width: 94%;
  opacity: 0.72;
  filter: blur(28px) saturate(1.2);
  transform: translateY(2%);
}

.storybook-illustration {
  height: auto;
  max-height: min(74svh, 56rem);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 55px rgba(2, 12, 44, 0.44));
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 56%, rgba(0, 0, 0, 0.88) 72%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 56%, rgba(0, 0, 0, 0.88) 72%, rgba(0, 0, 0, 0) 100%);
}

.storybook-illustration-placeholder {
  display: grid;
  place-items: center;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.9) 74%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.9) 74%, rgba(0, 0, 0, 0) 100%);
}

.storybook-illustration-placeholder svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(74svh, 56rem);
}

.storybook-text-panel {
  position: relative;
  width: min(100%, 780px);
  margin: 1.85rem auto 0;
  padding: 0 0.3rem;
}

.storybook-text-panel::before {
  content: "";
  position: absolute;
  inset: -1.3rem -1.8rem -1.5rem;
  z-index: -1;
  border-radius: 3rem;
  background: linear-gradient(180deg, rgba(7, 24, 79, 0.16), rgba(4, 16, 61, 0.04));
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(1, 9, 36, 0.12);
}

.storybook-text-panel p,
.storybook-richtext li,
.storybook-richtext blockquote {
  color: var(--storybook-text);
  text-shadow: 0 2px 14px rgba(2, 10, 35, 0.26);
}

.storybook-text-panel p {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.24rem);
  line-height: 1.95;
}

.storybook-text-panel p + p {
  margin-top: 1rem;
}

.storybook-text-panel p:first-of-type::first-letter {
  float: left;
  margin: 0.1rem 0.52rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.8;
  color: var(--storybook-accent);
}

.storybook-richtext > *:first-child {
  margin-top: 0;
}

.storybook-richtext > *:last-child {
  margin-bottom: 0;
}

.storybook-richtext h1,
.storybook-richtext h2,
.storybook-richtext h3,
.storybook-richtext h4 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.03;
  color: #ffffff;
  text-shadow: 0 10px 32px rgba(3, 14, 48, 0.22);
}

.storybook-richtext h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.storybook-richtext h3 {
  font-size: clamp(1.55rem, 2.7vw, 2.1rem);
}

.storybook-richtext ul,
.storybook-richtext ol {
  margin: 0;
  padding-left: 1.35rem;
}

.storybook-richtext li + li {
  margin-top: 0.45rem;
}

.storybook-richtext blockquote {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid rgba(122, 243, 255, 0.48);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
}

.storybook-richtext strong {
  color: var(--storybook-accent);
}

.storybook-richtext em {
  color: rgba(255, 219, 250, 0.98);
}

.storybook-swipe-hint {
  width: fit-content;
  margin: 1rem auto 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.storybook-swipe-icon {
  width: 8.5rem;
  height: auto;
  display: block;
  overflow: visible;
}

.storybook-swipe-arrow {
  fill: none;
  stroke: rgba(233, 252, 255, 0.86);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storybook-swipe-arrow-left {
  animation: storybook-swipe-left 1.8s ease-in-out infinite;
}

.storybook-swipe-arrow-right {
  animation: storybook-swipe-right 1.8s ease-in-out infinite;
}

.storybook-swipe-hand {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(233, 252, 255, 0.9);
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: storybook-hand-nudge 1.8s ease-in-out infinite;
}

.storybook-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2.4rem 0 1rem;
  color: rgba(235, 252, 255, 0.82);
}

.storybook-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem 1.2rem;
}

.storybook-footer-logo {
  width: min(100%, 8.4rem);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(2, 12, 44, 0.4));
}

.storybook-welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  background: rgba(2, 11, 39, 0.62);
  backdrop-filter: blur(16px);
}

.storybook-welcome-dialog {
  position: relative;
  width: min(100%, 920px);
  max-height: calc(100svh - 2.2rem);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(139, 243, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 250, 255, 0.9));
  box-shadow: var(--storybook-shadow);
}

.storybook-welcome-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--storybook-accent-strong);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.storybook-welcome-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: center;
}

.storybook-welcome-copy,
.storybook-welcome-visual {
  flex: 1 1 0;
}

.storybook-welcome-copy h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  color: #0f3471;
}

.storybook-welcome-copy p {
  margin: 1rem 0 1.3rem;
  color: #4f6f9f;
  line-height: 1.8;
}

.storybook-welcome-visual {
  max-width: 22rem;
  margin-inline: auto;
}

.storybook-welcome-visual-frame {
  position: relative;
  width: min(100%, 20rem);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 50% 50%, rgba(122, 243, 255, 0.2), rgba(122, 243, 255, 0) 70%),
    linear-gradient(160deg, rgba(16, 58, 129, 0.2), rgba(122, 243, 255, 0.14));
  box-shadow:
    0 28px 60px rgba(7, 38, 96, 0.22),
    inset 0 0 0 1px rgba(122, 243, 255, 0.22);
}

.storybook-welcome-visual-frame::before,
.storybook-welcome-visual-frame::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.storybook-welcome-visual-frame::before {
  inset: -8%;
  background:
    radial-gradient(circle, rgba(122, 243, 255, 0.3), rgba(122, 243, 255, 0) 58%),
    radial-gradient(circle at 72% 30%, rgba(246, 168, 255, 0.22), rgba(246, 168, 255, 0) 45%);
  filter: blur(26px);
}

.storybook-welcome-visual-frame::after {
  inset: 6%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 0 36px rgba(255, 255, 255, 0.08);
}

.storybook-welcome-visual-blur,
.storybook-welcome-visual-logo {
  display: block;
  width: 100%;
  height: 100%;
}

.storybook-welcome-visual-blur {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.52;
  transform: scale(1.14);
  filter: blur(30px) saturate(1.2);
}

.storybook-welcome-visual-vignette {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 50% 48%, rgba(122, 243, 255, 0.12), rgba(122, 243, 255, 0) 70%),
    rgba(7, 23, 73, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    inset 0 -18px 34px rgba(4, 19, 64, 0.16),
    0 22px 36px rgba(7, 38, 96, 0.18);
}

.storybook-welcome-visual-vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0) 48%, rgba(8, 27, 83, 0.08) 72%, rgba(8, 27, 83, 0.38) 100%);
}

.storybook-welcome-visual-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(1.04) contrast(1.02);
}

.storybook-welcome-visual-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(7, 38, 96, 0.22));
}

.storybook-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(122, 243, 255, 1), rgba(39, 180, 255, 0.92));
  box-shadow: 0 16px 32px rgba(39, 180, 255, 0.22);
  color: #07215d;
  font-weight: 900;
  cursor: pointer;
}

.storybook-primary-button:hover {
  transform: translateY(-2px);
}

.storybook-entry.is-revealing .storybook-entry-header {
  animation: storybook-copy-rise 0.62s ease both;
}

.storybook-entry.is-revealing .storybook-illustration-glow {
  animation: storybook-image-glow-rise 1.05s ease both;
}

.storybook-entry.is-revealing .storybook-illustration,
.storybook-entry.is-revealing .storybook-illustration-placeholder {
  animation: storybook-illustration-appear 0.95s cubic-bezier(0.2, 0.8, 0.22, 1) both;
}

.storybook-entry.is-revealing .storybook-illustration-sparkles,
.storybook-illustration-frame.is-revealing .storybook-illustration-sparkles {
  animation: storybook-sparkle-burst 1.15s ease both, storybook-twinkle 8s ease-in-out 1.15s infinite;
}

.storybook-text-panel.is-revealing,
.storybook-entry.is-revealing .storybook-text-panel {
  animation: storybook-copy-rise 0.82s ease 0.06s both;
}

@keyframes storybook-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes storybook-drift {
  0%,
  100% {
    opacity: 0.46;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.66;
    transform: scale(1.04);
  }
}

@keyframes storybook-star-blink {
  0%,
  100% {
    opacity: 0.35;
  }
  25% {
    opacity: 0.8;
  }
  60% {
    opacity: 0.48;
  }
}

@keyframes storybook-twinkle {
  0%,
  100% {
    opacity: 0.7;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@keyframes storybook-loader-pulse {
  0%,
  100% {
    transform: scale(0.98);
    box-shadow:
      0 0 0 1px rgba(154, 244, 255, 0.12),
      0 0 40px rgba(88, 208, 255, 0.18),
      inset 0 0 28px rgba(137, 245, 255, 0.14);
  }

  50% {
    transform: scale(1.02);
    box-shadow:
      0 0 0 1px rgba(154, 244, 255, 0.18),
      0 0 54px rgba(88, 208, 255, 0.28),
      inset 0 0 34px rgba(137, 245, 255, 0.2);
  }
}

@keyframes storybook-loader-hover {
  0%,
  100% {
    transform: translateX(50%) translateY(0);
  }

  50% {
    transform: translateX(50%) translateY(-8px);
  }
}

@keyframes storybook-loader-copy-glow {
  0%,
  100% {
    opacity: 0.84;
    transform: scale(0.99);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes storybook-loader-orbit {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes storybook-loader-twinkle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes storybook-page-turn-out {
  0% {
    opacity: 1;
    transform: perspective(1800px) rotateY(0deg) translateX(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0.06;
    transform: perspective(1800px) rotateY(-22deg) translateX(-26px) scale(0.985);
    filter: blur(10px);
  }
}

@keyframes storybook-page-turn-in {
  0% {
    opacity: 0.04;
    transform: perspective(1800px) rotateY(18deg) translateX(22px) scale(0.986);
    filter: blur(10px);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: perspective(1800px) rotateY(0deg) translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes storybook-page-glint {
  0% {
    opacity: 0;
    transform: translateX(-30%) skewX(-18deg);
  }
  40% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    transform: translateX(42%) skewX(-18deg);
  }
}

@keyframes storybook-sparkle-burst {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.88);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0.96;
    transform: translateY(0) scale(1);
  }
}

@keyframes storybook-illustration-appear {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.92);
    filter: blur(14px) drop-shadow(0 18px 30px rgba(2, 12, 44, 0.22));
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 24px 55px rgba(2, 12, 44, 0.44));
  }
}

@keyframes storybook-image-glow-rise {
  0% {
    opacity: 0;
    transform: translateY(3%) scale(0.96);
    filter: blur(34px) saturate(1.2);
  }
  100% {
    opacity: 0.72;
    transform: translateY(2%) scale(1);
    filter: blur(28px) saturate(1.2);
  }
}

@keyframes storybook-copy-rise {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes storybook-swipe-left {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  35% {
    transform: translateX(-6px);
    opacity: 1;
  }
}

@keyframes storybook-swipe-right {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  35% {
    transform: translateX(6px);
    opacity: 1;
  }
}

@keyframes storybook-hand-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(4px);
  }
  65% {
    transform: translateX(-4px);
  }
}

@media (max-width: 991.98px) {
  .storybook-topbar {
    padding-bottom: 1.25rem;
  }

  .storybook-starfield {
    opacity: 0.72;
  }

  .storybook-entry-header,
  .storybook-footer,
  .storybook-welcome-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .storybook-footer-links {
    justify-content: flex-start;
  }

  .storybook-stage::before {
    inset-inline: 4%;
  }

  .storybook-welcome-visual {
    max-width: 16rem;
  }

  .storybook-welcome-visual-frame {
    width: min(100%, 16rem);
  }
}

@media (max-width: 767.98px) {
  .storybook-page {
    padding-inline: 0.82rem;
  }

  .storybook-starfield {
    opacity: 0.58;
  }

  .storybook-skyline {
    height: 18rem;
  }

  .storybook-topbar {
    padding-top: 0.9rem;
    padding-bottom: 0.95rem;
  }

  .storybook-logo-mark {
    width: min(100%, 11.2rem);
  }

  .storybook-quick-picks {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .storybook-quick-picks::-webkit-scrollbar {
    display: none;
  }

  .storybook-quick-link {
    flex-basis: 9.7rem;
    min-width: 9.7rem;
    scroll-snap-align: start;
  }

  .storybook-story-menu {
    width: 100%;
  }

  .storybook-story-menu-summary {
    padding: 0.85rem 0.95rem;
    font-size: 0.92rem;
  }

  .storybook-nav {
    grid-template-columns: 1fr;
  }

  .storybook-stage {
    margin-top: 1rem;
    padding-top: 0.35rem;
  }

  .storybook-stage::before {
    inset: 0.8rem 1% auto;
    height: 18rem;
    filter: blur(14px);
  }

  .storybook-stage::after {
    inset: 11rem 0 auto;
    height: 12rem;
    filter: blur(16px);
  }

  .storybook-entry-header h2 {
    max-width: 100%;
    font-size: clamp(1.9rem, 11vw, 3rem);
  }

  .storybook-illustration-frame {
    min-height: 15.5rem;
    padding: 2.9rem 0 0.6rem;
    border-radius: 2rem;
  }

  .storybook-illustration-frame::before {
    inset: 10% 2% 3%;
    filter: blur(30px);
  }

  .storybook-illustration-loader {
    width: min(100%, 18rem);
    inset: auto 50% 8% auto;
  }

  .storybook-loader-orbit {
    width: 7.6rem;
    margin-bottom: 0.8rem;
  }

  .storybook-loader-copy strong {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  }

  .storybook-loader-copy span {
    font-size: 0.76rem;
  }

  .storybook-illustration-glow {
    inset: auto 0 0;
    width: 100%;
    filter: blur(18px) saturate(1.1);
  }

  .storybook-illustration,
  .storybook-illustration-placeholder svg {
    max-height: min(52svh, 22rem);
  }

  .storybook-illustration {
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0.92) 82%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0.92) 82%, rgba(0, 0, 0, 0) 100%);
  }

  .storybook-illustration-placeholder {
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 66%, rgba(0, 0, 0, 0.92) 84%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 66%, rgba(0, 0, 0, 0.92) 84%, rgba(0, 0, 0, 0) 100%);
  }

  .storybook-text-panel {
    width: 100%;
    margin-top: 1.25rem;
    padding-inline: 0;
  }

  .storybook-text-panel::before {
    inset: -0.85rem -0.45rem -1rem;
    border-radius: 2.25rem;
  }

  .storybook-text-panel p {
    font-size: 1rem;
    line-height: 1.82;
  }

  .storybook-swipe-hint {
    margin-top: 0.75rem;
  }

  .storybook-swipe-icon {
    width: 6.4rem;
  }

  .storybook-footer {
    padding-top: 1.5rem;
  }

  .storybook-constellation,
  .storybook-drift {
    width: 9.5rem;
  }

  .storybook-drift {
    display: none;
  }

  .storybook-welcome-dialog {
    max-height: calc(100svh - 1.2rem);
    padding: 1.15rem;
    border-radius: 1.55rem;
  }

  .storybook-welcome-copy h2 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .storybook-welcome-visual-frame {
    width: min(100%, 14rem);
  }
}

@media (max-width: 991.98px) and (orientation: landscape) {
  .storybook-constellation,
  .storybook-drift {
    width: 12rem;
  }

  .storybook-illustration-frame {
    min-height: 14rem;
    padding: 2.6rem 0 0.55rem;
  }

  .storybook-illustration,
  .storybook-illustration-placeholder svg {
    max-height: min(62svh, 20rem);
  }

  .storybook-welcome-dialog {
    max-height: calc(100svh - 0.9rem);
    padding: 1rem;
  }

  .storybook-welcome-grid {
    flex-direction: row;
    align-items: center;
  }

  .storybook-welcome-visual {
    max-width: 13rem;
  }

  .storybook-welcome-visual-frame {
    width: min(100%, 13rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .storybook-topbar-link,
  .storybook-inline-link,
  .storybook-next-link,
  .storybook-footer a,
  .storybook-quick-link,
  .storybook-nav-card,
  .storybook-primary-button,
  .storybook-entry,
  .storybook-entry::before,
  .storybook-constellation svg,
  .storybook-starfield::before,
  .storybook-starfield::after,
  .storybook-drift,
  .storybook-illustration-sparkles,
  .storybook-swipe-arrow,
  .storybook-swipe-hand {
    animation: none !important;
    transition: none !important;
  }
}
