@layer pages {
  .home-neon.auth-locked #authGate .auth-feature-showcase.auth-universe-replaced {
    display: none !important;
  }

  .home-neon.auth-locked .auth-creative-universe {
    --universe-cyan: var(--auth-cyan, #4ee7ed);
    --universe-pink: var(--auth-pink, #ff4fb8);
    --universe-yellow: var(--auth-yellow, #f7dc63);
    --universe-green: var(--auth-green, #68e5a7);
    --system-center-x: 50%;
    --system-center-y: 50%;
    position: relative;
    display: grid;
    gap: 8px;
    width: min(720px, 100%);
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(146, 234, 255, .22);
    border-radius: 14px;
    background:
      radial-gradient(circle at 18% 24%, rgba(78, 231, 237, .14), transparent 30%),
      radial-gradient(circle at 75% 78%, rgba(255, 79, 184, .12), transparent 34%),
      linear-gradient(145deg, rgba(9, 15, 27, .97), rgba(3, 6, 14, .96));
    box-shadow:
      inset 0 1px rgba(255, 255, 255, .08),
      0 24px 65px rgba(0, 0, 0, .32),
      0 0 42px rgba(78, 231, 237, .06);
    isolation: isolate;
  }

  .home-neon.auth-locked .auth-creative-universe::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
      linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 28px 28px;
    content: "";
    mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .52), transparent);
    pointer-events: none;
  }

  .home-neon.auth-locked .auth-universe-heading {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 3px;
  }

  .home-neon.auth-locked .auth-universe-heading > span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #d5e0ee;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .home-neon.auth-locked .auth-universe-heading > span::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--universe-green);
    box-shadow: 0 0 13px var(--universe-green);
    content: "";
  }

  .home-neon.auth-locked .auth-universe-heading small {
    color: var(--universe-cyan);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0;
  }

  .home-neon.auth-locked .auth-universe-layout {
    position: relative;
    display: grid;
    gap: 8px;
    min-width: 0;
    min-height: 0;
  }

  .home-neon.auth-locked .auth-universe-stage {
    position: relative;
    min-height: 388px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background:
      radial-gradient(circle at var(--system-center-x) var(--system-center-y), rgba(247, 220, 99, .13), transparent 9%),
      radial-gradient(circle at var(--system-center-x) var(--system-center-y), rgba(255, 79, 184, .08), transparent 29%),
      radial-gradient(ellipse at 82% 14%, rgba(102, 77, 255, .1), transparent 34%),
      #020711;
  }

  .home-neon.auth-locked .auth-universe-stage::before,
  .home-neon.auth-locked .auth-universe-stage::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .home-neon.auth-locked .auth-universe-stage::before {
    left: calc(var(--system-center-x) - 152px);
    top: calc(var(--system-center-y) - 152px);
    width: 304px;
    height: 304px;
    background: conic-gradient(from 25deg, transparent, rgba(78, 231, 237, .08), transparent 22%, rgba(255, 79, 184, .07), transparent 54%, rgba(247, 220, 99, .06), transparent);
    filter: blur(18px);
    animation: auth-universe-nebula-spin 34s linear infinite;
  }

  .home-neon.auth-locked .auth-universe-stage::after {
    right: 5%;
    bottom: -92px;
    width: 260px;
    height: 180px;
    background: rgba(65, 89, 255, .13);
    filter: blur(60px);
  }

  .home-neon.auth-locked .auth-universe-starfield {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
  }

  .home-neon.auth-locked .auth-universe-starfield i {
    position: absolute;
    top: var(--star-y);
    left: var(--star-x);
    width: var(--star-size);
    height: var(--star-size);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 7px rgba(255, 255, 255, .8);
    opacity: .28;
    animation: auth-universe-star-pulse 3.2s var(--star-delay) ease-in-out infinite;
  }

  .home-neon.auth-locked .auth-universe-nebula {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 6px;
    width: 43%;
    height: 48%;
    border-radius: 50%;
    background:
      radial-gradient(circle at 36% 48%, rgba(255, 101, 207, .18), transparent 11%),
      radial-gradient(circle at 62% 40%, rgba(96, 233, 242, .14), transparent 12%),
      conic-gradient(from 90deg, transparent, rgba(154, 134, 255, .08), transparent, rgba(255, 101, 207, .06), transparent);
    filter: blur(24px);
    opacity: .9;
    pointer-events: none;
  }

  .home-neon.auth-locked .auth-universe-orbit-ring {
    position: absolute;
    z-index: 2;
    top: var(--system-center-y);
    left: var(--system-center-x);
    width: calc(var(--ring-radius) * 2);
    height: calc(var(--ring-radius) * 2);
    border: 1px solid color-mix(in srgb, var(--ring-color) 24%, transparent);
    border-radius: 50%;
    box-shadow: inset 0 0 32px color-mix(in srgb, var(--ring-color) 4%, transparent);
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .home-neon.auth-locked .auth-universe-orbit-ring::after {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ring-color);
    box-shadow: 0 0 10px var(--ring-color);
    content: "";
  }

  .home-neon.auth-locked .auth-universe-orbit-ring[data-orbit="1"] { --ring-radius: 72px;--ring-color: var(--universe-yellow) }
  .home-neon.auth-locked .auth-universe-orbit-ring[data-orbit="2"] { --ring-radius: 124px;--ring-color: var(--universe-cyan) }
  .home-neon.auth-locked .auth-universe-orbit-ring[data-orbit="3"] { --ring-radius: 176px;--ring-color: var(--universe-pink) }

  .home-neon.auth-locked .auth-universe-core {
    position: absolute;
    z-index: 5;
    top: var(--system-center-y);
    left: var(--system-center-x);
    display: grid;
    place-content: center;
    justify-items: center;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 50%;
    background:
      radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .98), rgba(255, 245, 158, .88) 8%, transparent 18%),
      radial-gradient(circle, #fff8c4 0 13%, #f7dc63 33%, #ff8069 60%, #ff4fb8 82%, #8a48df 100%);
    color: #150b20;
    box-shadow:
      0 0 0 8px rgba(247, 220, 99, .04),
      0 0 22px rgba(247, 220, 99, .72),
      0 0 58px rgba(255, 79, 184, .42),
      0 0 98px rgba(78, 231, 237, .18);
    transform: translate(-50%, -50%);
    animation: auth-universe-sun-breathe 4.4s ease-in-out infinite;
  }

  .home-neon.auth-locked .auth-universe-core::before,
  .home-neon.auth-locked .auth-universe-core::after {
    position: absolute;
    border-radius: inherit;
    content: "";
    pointer-events: none;
  }

  .home-neon.auth-locked .auth-universe-core::before {
    inset: -12px;
    border: 1px dashed rgba(247, 220, 99, .35);
    animation: auth-universe-nebula-spin 16s linear infinite reverse;
  }

  .home-neon.auth-locked .auth-universe-core::after {
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, .36);
  }

  .home-neon.auth-locked .auth-universe-core b {
    position: relative;
    z-index: 1;
    font-size: 21px;
    font-weight: 950;
    line-height: 1;
  }

  .home-neon.auth-locked .auth-universe-core small {
    position: relative;
    z-index: 1;
    margin-top: 2px;
    font-size: 5px;
    font-weight: 950;
    letter-spacing: .08em;
  }

  .home-neon.auth-locked .auth-universe-carrier {
    position: absolute;
    z-index: 4;
    top: var(--system-center-y);
    left: var(--system-center-x);
    width: var(--orbit-radius);
    height: 0;
    transform: rotate(var(--orbit-angle));
    transform-origin: 0 0;
    animation: auth-universe-orbit var(--orbit-duration) linear infinite;
    will-change: transform;
    pointer-events: none;
  }

  .home-neon.auth-locked .auth-solar-planet {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    justify-items: center;
    gap: 3px;
    width: 74px;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e4edf8;
    font: inherit;
    transform: translate(50%, -50%) rotate(var(--counter-angle));
    animation: auth-universe-counter-orbit var(--orbit-duration) linear infinite;
    cursor: pointer;
    pointer-events: auto;
  }

  .home-neon.auth-locked .auth-universe-planet-face {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid color-mix(in srgb, var(--planet-color) 76%, white);
    border-radius: 50%;
    background:
      radial-gradient(circle at 32% 25%, rgba(255, 255, 255, .52), transparent 12%),
      linear-gradient(145deg, color-mix(in srgb, var(--planet-color) 32%, #0b111d), #070b13 68%);
    color: color-mix(in srgb, var(--planet-color) 88%, white);
    font-size: 8px;
    font-weight: 950;
    box-shadow:
      0 0 0 4px rgba(255, 255, 255, .02),
      0 0 18px color-mix(in srgb, var(--planet-color) 32%, transparent),
      inset -6px -7px 12px rgba(0, 0, 0, .42);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  .home-neon.auth-locked .auth-universe-planet-face::after {
    position: absolute;
    inset: -4px;
    border: 1px solid color-mix(in srgb, var(--planet-color) 18%, transparent);
    border-radius: 50%;
    content: "";
  }

  .home-neon.auth-locked .auth-solar-planet small {
    max-width: 72px;
    padding: 2px 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 4px;
    background: rgba(2, 6, 13, .82);
    color: #8e9caf;
    font-size: 6px;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease;
  }

  .home-neon.auth-locked .auth-solar-planet:hover .auth-universe-planet-face,
  .home-neon.auth-locked .auth-solar-planet:focus-visible .auth-universe-planet-face,
  .home-neon.auth-locked .auth-solar-planet[aria-selected="true"] .auth-universe-planet-face {
    border-color: #fff;
    box-shadow:
      0 0 0 5px color-mix(in srgb, var(--planet-color) 13%, transparent),
      0 0 29px color-mix(in srgb, var(--planet-color) 68%, transparent),
      inset -6px -7px 12px rgba(0, 0, 0, .34);
    transform: scale(1.18);
  }

  .home-neon.auth-locked .auth-solar-planet:hover small,
  .home-neon.auth-locked .auth-solar-planet:focus-visible small,
  .home-neon.auth-locked .auth-solar-planet[aria-selected="true"] small {
    border-color: color-mix(in srgb, var(--planet-color) 42%, transparent);
    color: #fff;
  }

  .home-neon.auth-locked .auth-solar-planet:focus-visible {
    outline: 2px solid var(--planet-color);
    outline-offset: 4px;
    border-radius: 8px;
  }

  .home-neon.auth-locked .auth-universe-preview {
    --preview-color: var(--universe-cyan);
    position: relative;
    z-index: 8;
    top: auto;
    right: auto;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) 132px;
    grid-template-rows: auto auto 1fr;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-width: 0;
    min-height: 124px;
    padding: 12px 14px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--preview-color) 30%, rgba(255, 255, 255, .08));
    border-radius: 9px;
    background:
      radial-gradient(circle at 100% 0, color-mix(in srgb, var(--preview-color) 15%, transparent), transparent 44%),
      linear-gradient(155deg, rgba(13, 18, 30, .94), rgba(3, 7, 14, .96));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .44), inset 0 1px rgba(255, 255, 255, .05);
    backdrop-filter: blur(16px);
  }

  .home-neon.auth-locked .auth-universe-preview::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--preview-color);
    box-shadow: 0 0 16px var(--preview-color);
    content: "";
  }

  .home-neon.auth-locked .auth-universe-preview > small {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--preview-color);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .home-neon.auth-locked .auth-universe-preview > small::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 11px currentColor;
    content: "";
  }

  .home-neon.auth-locked .auth-universe-preview h2 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
  }

  .home-neon.auth-locked .auth-universe-preview p {
    grid-column: 2;
    grid-row: 1 / 4;
    min-height: 0;
    margin: 0;
    color: #a7b3c4;
    font-size: 9px;
    line-height: 1.55;
  }

  .home-neon.auth-locked .auth-universe-capabilities {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .home-neon.auth-locked .auth-universe-capabilities span {
    padding: 4px 6px;
    border: 1px solid color-mix(in srgb, var(--preview-color) 26%, rgba(255, 255, 255, .08));
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
    color: #c3cddd;
    font-size: 6px;
    font-weight: 800;
  }

  .home-neon.auth-locked .auth-universe-select {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--preview-color) 56%, white 12%);
    border-radius: 6px;
    background: color-mix(in srgb, var(--preview-color) 12%, rgba(7, 12, 22, .94));
    color: #eff9ff;
    font: inherit;
    font-size: 8px;
    font-weight: 850;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  }

  .home-neon.auth-locked .auth-universe-select:hover,
  .home-neon.auth-locked .auth-universe-select:focus-visible {
    background: color-mix(in srgb, var(--preview-color) 22%, rgba(7, 12, 22, .94));
    box-shadow: 0 0 22px color-mix(in srgb, var(--preview-color) 18%, transparent);
    transform: translateY(-1px);
  }

  .home-neon.auth-locked .auth-universe-select:focus-visible {
    outline: 2px solid var(--preview-color);
    outline-offset: 2px;
  }

  .home-neon.auth-locked .auth-universe-guest-status {
    grid-column: 3;
    grid-row: 3;
    display: grid;
    gap: 3px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: #78869a;
    font-size: 6px;
    font-weight: 700;
  }

  .home-neon.auth-locked .auth-universe-guest-status b {
    overflow: hidden;
    color: var(--preview-color);
    font-size: inherit;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-neon.auth-locked .auth-creative-universe.is-guest-preview .auth-universe-preview {
    border-color: color-mix(in srgb, var(--preview-color) 58%, white 10%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .44), 0 0 34px color-mix(in srgb, var(--preview-color) 13%, transparent);
  }

  .home-neon.auth-locked .auth-creative-universe.is-guest-preview .auth-universe-preview > :not(.auth-universe-guest-status) {
    animation: auth-universe-preview-in .42s cubic-bezier(.2, .8, .2, 1) both;
  }

  .home-neon.auth-locked .auth-creative-universe.is-paused .auth-universe-carrier,
  .home-neon.auth-locked .auth-creative-universe.is-paused .auth-solar-planet,
  .home-neon.auth-locked .auth-creative-universe:hover .auth-universe-carrier,
  .home-neon.auth-locked .auth-creative-universe:hover .auth-solar-planet {
    animation-play-state: paused;
  }

  @keyframes auth-universe-orbit {
    from { transform: rotate(var(--orbit-angle)) }
    to { transform: rotate(calc(var(--orbit-angle) + 360deg)) }
  }

  @keyframes auth-universe-counter-orbit {
    from { transform: translate(50%, -50%) rotate(var(--counter-angle)) }
    to { transform: translate(50%, -50%) rotate(calc(var(--counter-angle) - 360deg)) }
  }

  @keyframes auth-universe-nebula-spin {
    to { transform: rotate(360deg) }
  }

  @keyframes auth-universe-star-pulse {
    0%, 100% { opacity: .18;transform: scale(.72) }
    50% { opacity: .86;transform: scale(1.18) }
  }

  @keyframes auth-universe-sun-breathe {
    0%, 100% { filter: saturate(1);transform: translate(-50%, -50%) scale(1) }
    50% { filter: saturate(1.18);transform: translate(-50%, -50%) scale(1.045) }
  }

  @keyframes auth-universe-preview-in {
    from { opacity: .2;transform: translateY(7px);filter: blur(2px) }
    to { opacity: 1;transform: none;filter: none }
  }

  @media (max-width: 1300px) {
    .home-neon.auth-locked .auth-universe-preview { padding: 12px }
    .home-neon.auth-locked .auth-solar-planet { width: 68px }
    .home-neon.auth-locked .auth-solar-planet small { max-width: 66px }
  }

  @media (min-width: 621px) and (max-height: 820px) {
    .home-neon.auth-locked .auth-universe-stage { min-height: 360px }
  }

  @media (max-width: 620px) {
    .home-neon.auth-locked .auth-creative-universe {
      width: 100%;
      margin-inline: auto;
      padding: 8px;
    }

    .home-neon.auth-locked .auth-universe-layout {
      display: grid;
      gap: 8px;
      min-height: 0;
    }

    .home-neon.auth-locked .auth-universe-stage {
      position: relative;
      inset: auto;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 5px;
      min-height: 0;
      padding: 58px 7px 9px;
      overflow: visible;
    }

    .home-neon.auth-locked .auth-universe-stage::before,
    .home-neon.auth-locked .auth-universe-stage::after,
    .home-neon.auth-locked .auth-universe-nebula,
    .home-neon.auth-locked .auth-universe-orbit-ring { display: none }

    .home-neon.auth-locked .auth-universe-core {
      top: 29px;
      left: 50%;
      width: 42px;
      height: 42px;
    }

    .home-neon.auth-locked .auth-universe-core b { font-size: 14px }
    .home-neon.auth-locked .auth-universe-core small { font-size: 4px }

    .home-neon.auth-locked .auth-universe-carrier {
      position: relative;
      top: auto;
      left: auto;
      width: auto;
      height: auto;
      transform: none;
      animation: none;
      pointer-events: auto;
    }

    .home-neon.auth-locked .auth-solar-planet {
      position: relative;
      top: auto;
      right: auto;
      width: 100%;
      min-height: 48px;
      transform: none;
      animation: none;
    }

    .home-neon.auth-locked .auth-universe-planet-face { width: 29px;height: 29px;font-size: 7px }
    .home-neon.auth-locked .auth-solar-planet small { max-width: 100%;font-size: 6px }

    .home-neon.auth-locked .auth-universe-preview {
      position: relative;
      top: auto;
      right: auto;
      width: 100%;
      min-height: 0;
      padding: 12px;
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }

    .home-neon.auth-locked .auth-universe-preview > small,
    .home-neon.auth-locked .auth-universe-preview h2,
    .home-neon.auth-locked .auth-universe-preview p,
    .home-neon.auth-locked .auth-universe-capabilities,
    .home-neon.auth-locked .auth-universe-select,
    .home-neon.auth-locked .auth-universe-guest-status {
      grid-column: 1;
      grid-row: auto;
    }

    .home-neon.auth-locked .auth-universe-preview p { min-height: 0 }
    .home-neon.auth-locked .auth-universe-guest-status { grid-template-columns: minmax(0, 1fr) auto;align-items: center }
  }

  @media (max-width: 390px) {
    .home-neon.auth-locked .auth-universe-heading small { display: none }
    .home-neon.auth-locked .auth-universe-stage { grid-template-columns: repeat(3, minmax(0, 1fr)) }
    .home-neon.auth-locked .auth-universe-guest-status { grid-template-columns: 1fr }
  }

  @media (prefers-contrast: more) {
    .home-neon.auth-locked .auth-creative-universe,
    .home-neon.auth-locked .auth-universe-stage,
    .home-neon.auth-locked .auth-universe-preview { border-color: rgba(255, 255, 255, .54) }
    .home-neon.auth-locked .auth-universe-preview p,
    .home-neon.auth-locked .auth-solar-planet small { color: #e1e9f3 }
  }

  @media (prefers-reduced-motion: reduce) {
    .home-neon.auth-locked .auth-universe-carrier,
    .home-neon.auth-locked .auth-solar-planet,
    .home-neon.auth-locked .auth-universe-core,
    .home-neon.auth-locked .auth-universe-stage::before,
    .home-neon.auth-locked .auth-universe-starfield i,
    .home-neon.auth-locked .auth-creative-universe.is-guest-preview .auth-universe-preview > :not(.auth-universe-guest-status) {
      animation: none !important;
    }
    .home-neon.auth-locked .auth-universe-planet-face,
    .home-neon.auth-locked .auth-universe-select { transition: none }
  }
}

@media (min-width: 921px) and (max-height: 1000px) {
  .home-neon.auth-locked #authGate .auth-product-preview,
  .home-neon.auth-locked #authGate .auth-tool-stream {
    display: none !important;
  }
}
