/* ===== 2026-07 Cat Universe Scenic Pass =====
   Loaded after the legacy mobile stylesheet so homepage-specific responsive
   rules can stay scoped without changing older standalone pages. */

body.home-scenic {
  --scenic-ink: #3f3041;
  --scenic-ink-soft: #6d5869;
  --scenic-cream: #fff8ee;
  --scenic-peach: #f6b995;
  --scenic-coral: #e88a7b;
  --scenic-lavender: #9482c7;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  color: var(--scenic-ink);
  background: #ead8df;
}

.home-scenic .site-backdrop {
  position: fixed;
  inset: -2vh -2vw;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 248, 241, 0.12) 0%, rgba(250, 236, 232, 0.42) 48%, rgba(235, 220, 231, 0.74) 100%),
    url("backgrounds/cat-universe-sunset-v1.jpg") center 48% / cover no-repeat;
  filter: saturate(0.92) contrast(0.96);
  transform: translateZ(0) scale(1.015);
}

.home-scenic .site-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 248, 242, 0.12), transparent 24%, transparent 76%, rgba(82, 55, 91, 0.08));
}

.home-scenic section,
.home-scenic footer {
  position: relative;
  z-index: 1;
}

/* Hero: the artwork is now the real first impression, with copy kept clear of
   the orange cat in the lower-right of the composition. */
.home-scenic #hero {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: min(1460px, 100%);
  max-width: 1460px;
  min-height: min(760px, 82svh);
  margin: 0 auto 14px;
  padding: clamp(72px, 9vw, 104px) clamp(20px, 4vw, 58px) clamp(38px, 5vw, 62px);
  text-align: left;
}

.home-scenic #hero::before {
  inset: 18px;
  border-color: rgba(255, 246, 231, 0.68);
  border-radius: 36px;
  background: url("backgrounds/cat-universe-sunset-v1.jpg") center 52% / cover no-repeat;
  background-blend-mode: normal;
  box-shadow: 0 34px 90px rgba(68, 42, 78, 0.24);
  opacity: 1;
}

.home-scenic #hero::after {
  inset: 18px;
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(47, 31, 53, 0.62) 0%, rgba(58, 38, 65, 0.36) 38%, rgba(58, 38, 65, 0.04) 72%),
    linear-gradient(0deg, rgba(37, 24, 45, 0.42) 0%, transparent 58%);
}

.home-scenic .hero-inner {
  width: min(720px, 72%);
  margin: 0 0 2px 2px;
  padding: clamp(24px, 3.8vw, 42px);
  border: 1px solid rgba(255, 245, 231, 0.32);
  border-radius: 26px;
  color: var(--scenic-cream);
  background: linear-gradient(145deg, rgba(42, 28, 49, 0.56), rgba(42, 28, 49, 0.25));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 56px rgba(31, 19, 39, 0.2);
  backdrop-filter: blur(16px) saturate(118%);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
}

.home-scenic .hero-kicker {
  color: #fff1dc;
  border-color: rgba(255, 239, 218, 0.26);
  background: rgba(255, 244, 229, 0.13);
  box-shadow: none;
}

.home-scenic #hero h1 {
  max-width: 680px;
  color: #fff9ef;
  font-size: clamp(3.1rem, 6vw, 5.7rem);
  line-height: 0.98;
  text-shadow: 0 12px 38px rgba(28, 17, 35, 0.4);
}

.home-scenic .hero-title-en {
  color: rgba(255, 239, 225, 0.9);
}

.home-scenic .hero-copy,
.home-scenic #hero .lang-en {
  margin-inline: 0;
  color: rgba(255, 245, 235, 0.86);
}

.home-scenic .hero-actions {
  justify-content: flex-start;
}

.home-scenic .home-button {
  border-color: rgba(255, 246, 232, 0.55);
  color: #493642;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: 0 14px 28px rgba(35, 21, 42, 0.2);
}

.home-scenic .home-button.primary {
  color: #4d3139;
  background: linear-gradient(135deg, #ffc2b4, #ffe4ae);
}

/* Let the same artwork breathe through the rest of the page. */
.home-scenic .section-shell,
.home-scenic .update-card,
.home-scenic .tiny-worlds-shell,
.home-scenic .sealed-zones__panel {
  border-color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(160deg, rgba(255, 252, 247, 0.78), rgba(249, 239, 241, 0.6));
  box-shadow: 0 26px 62px rgba(72, 47, 78, 0.15);
  backdrop-filter: blur(26px) saturate(118%);
  -webkit-backdrop-filter: blur(26px) saturate(118%);
}

.home-scenic .section-title,
.home-scenic .update-title,
.home-scenic .tiny-worlds-title {
  color: var(--scenic-ink);
}

.home-scenic .section-title-en,
.home-scenic .section-copy,
.home-scenic .update-subtitle,
.home-scenic .tiny-worlds-copy {
  color: var(--scenic-ink-soft);
}

.home-scenic .featured-card,
.home-scenic .gallery-mini-card,
.home-scenic .about-note-card,
.home-scenic .app-card,
.home-scenic .update-text.special-new {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 251, 246, 0.68);
  box-shadow: 0 16px 36px rgba(72, 47, 78, 0.1);
}

.home-scenic .featured-card {
  --featured-accent: #e88a7b;
  position: relative;
  isolation: isolate;
  border-color: color-mix(in srgb, var(--featured-accent) 28%, rgba(255, 255, 255, 0.78));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-scenic .featured-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, var(--featured-accent), rgba(255, 255, 255, 0.88));
}

.home-scenic .featured-card--latest::after {
  content: attr(data-featured-date);
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: #fff8ed;
  background: rgba(29, 23, 41, 0.74);
  box-shadow: 0 8px 18px rgba(35, 24, 44, 0.18);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-scenic .featured-card[data-featured-tone="ink"] {
  --featured-accent: #3ab9df;
}

.home-scenic .featured-card[data-featured-tone="moon"] {
  --featured-accent: #d7a8e6;
}

.home-scenic .featured-card[data-featured-tone="paper"] {
  --featured-accent: #d5a85d;
}

.home-scenic .featured-card[data-featured-tone="ink"] .featured-art {
  color: #f8fbff;
  background: linear-gradient(135deg, rgba(30, 38, 59, 0.98), rgba(52, 76, 93, 0.9));
}

.home-scenic .featured-card[data-featured-tone="moon"] .featured-art {
  color: #fff8f3;
  background: linear-gradient(135deg, rgba(76, 62, 102, 0.96), rgba(116, 88, 118, 0.88));
}

.home-scenic .featured-card[data-featured-tone="paper"] .featured-art {
  color: #40384a;
  background: linear-gradient(135deg, rgba(248, 224, 202, 0.96), rgba(203, 217, 221, 0.9));
}

.home-scenic .featured-card[data-featured-tone="ink"] :is(.featured-label, h3),
.home-scenic .featured-card[data-featured-tone="moon"] :is(.featured-label, h3) {
  color: inherit;
}

.home-scenic .featured-card[data-featured-tone="paper"] .featured-label {
  color: #755b49;
}

.home-scenic .featured-card .featured-art img {
  border: 1px solid rgba(255, 255, 255, 0.46);
  object-fit: cover;
  transition: transform 180ms ease;
}

.home-scenic .featured-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 380px);
  gap: 9px;
  margin-top: auto;
}

.home-scenic .featured-actions .home-button {
  width: 100%;
  min-height: 44px;
  margin-top: 0;
}

.home-scenic .featured-guide-button {
  appearance: none;
  cursor: pointer;
  font: inherit;
  color: color-mix(in srgb, var(--featured-accent) 38%, #3f3041);
  border-color: color-mix(in srgb, var(--featured-accent) 38%, rgba(255, 255, 255, 0.78));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--featured-accent) 11%, rgba(255, 252, 246, 0.94)), rgba(255, 252, 246, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 22px rgba(72, 47, 78, 0.08);
}

.home-scenic .featured-guide-button::before {
  content: "🐾";
  margin-right: 7px;
  font-size: 0.92em;
}

.home-scenic .featured-guide-button[data-guide-state="walking"] {
  color: #423147;
  border-color: color-mix(in srgb, var(--featured-accent) 66%, #fff4dc);
  background: linear-gradient(135deg, #fff0c4, color-mix(in srgb, var(--featured-accent) 22%, #fff8ee));
}

.home-scenic .featured-guide-button[data-guide-state="arrived"]::after {
  content: "✓";
  margin-left: 7px;
  color: #397d6b;
}

/* Fat-orange-cat curator passport: a flat ticket strip beneath the three
   featured works, with one calm shareable payoff after all three visits. */
.home-scenic .curator-passport {
  --passport-ink: #3ab9df;
  --passport-moon: #d7a8e6;
  --passport-paper: #d5a85d;
  position: relative;
  isolation: isolate;
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(20px, 3vw, 30px) 0;
  border-top: 1px dashed rgba(86, 61, 83, 0.28);
  border-bottom: 1px dashed rgba(86, 61, 83, 0.22);
}

.home-scenic .curator-passport::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  z-index: -1;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 248, 234, 0.38), rgba(236, 225, 245, 0.26));
  opacity: 0.74;
}

.home-scenic .curator-passport[data-passport-state="complete"]::before {
  background:
    linear-gradient(135deg, rgba(255, 232, 181, 0.46), rgba(216, 234, 232, 0.34));
}

.home-scenic .curator-passport__header,
.home-scenic .curator-passport__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-scenic .curator-passport__kicker,
.home-scenic .cosmic-postcard__kicker {
  color: #805e70;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-scenic .curator-passport h3 {
  margin: 7px 0 6px;
  color: var(--scenic-ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.home-scenic .curator-passport__copy,
.home-scenic .curator-passport__message {
  max-width: 720px;
  margin: 0;
  color: var(--scenic-ink-soft);
  line-height: 1.7;
}

.home-scenic .curator-passport__progress {
  display: grid;
  place-items: center;
  flex: 0 0 104px;
  min-height: 76px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  color: #473548;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 14px 28px rgba(72, 47, 78, 0.09);
}

.home-scenic .curator-passport__progress span {
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1;
}

.home-scenic .curator-passport__progress small {
  color: #816d7b;
  font-size: 0.72rem;
  font-weight: 850;
}

.home-scenic .passport-stamps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 16px;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px dashed rgba(86, 61, 83, 0.24);
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.46);
}

.home-scenic .passport-stamp {
  --stamp-accent: #b59aab;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-items: center;
  min-width: 0;
  min-height: 104px;
  padding: 15px 18px;
  color: #6e5c67;
}

.home-scenic .passport-stamp + .passport-stamp {
  border-left: 1px dashed rgba(86, 61, 83, 0.2);
}

.home-scenic .passport-stamp[data-passport-tone="ink"] {
  --stamp-accent: var(--passport-ink);
}

.home-scenic .passport-stamp[data-passport-tone="moon"] {
  --stamp-accent: var(--passport-moon);
}

.home-scenic .passport-stamp[data-passport-tone="paper"] {
  --stamp-accent: var(--passport-paper);
}

.home-scenic .passport-stamp__seal {
  display: inline-grid;
  grid-row: 1 / -1;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px dashed color-mix(in srgb, var(--stamp-accent) 54%, #8d7b87);
  border-radius: 50%;
  color: color-mix(in srgb, var(--stamp-accent) 42%, #76636f);
  background: rgba(255, 255, 255, 0.34);
  font-size: 1.34rem;
  font-weight: 950;
  opacity: 0.56;
  transform: rotate(-7deg);
}

.home-scenic .passport-stamp__name {
  align-self: end;
  overflow: hidden;
  color: #4d3a46;
  font-size: 1rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-scenic .passport-stamp__state {
  align-self: start;
  color: #887480;
  font-size: 0.76rem;
  font-weight: 800;
}

.home-scenic .passport-stamp[data-stamped="true"] .passport-stamp__seal {
  border-style: solid;
  color: #fffaf0;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.38), transparent 28%),
    color-mix(in srgb, var(--stamp-accent) 78%, #7b546f);
  box-shadow: 0 9px 20px color-mix(in srgb, var(--stamp-accent) 26%, transparent);
  opacity: 1;
}

.home-scenic .passport-stamp[data-stamped="true"][data-passport-tone="moon"] .passport-stamp__seal {
  transform: rotate(6deg);
}

.home-scenic .passport-stamp[data-stamped="true"][data-passport-tone="paper"] .passport-stamp__seal {
  transform: rotate(-3deg);
}

.home-scenic .passport-stamp[data-stamped="true"] .passport-stamp__state {
  color: #397d6b;
}

.home-scenic .passport-stamp.is-new .passport-stamp__seal {
  animation: passport-stamp-in 420ms cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}

.home-scenic .curator-passport__open {
  flex: 0 0 auto;
  min-height: 44px;
  border-color: rgba(213, 168, 93, 0.48);
  background: linear-gradient(135deg, #ffe0a5, #f5b0a5);
}

.home-scenic .curator-passport__open[hidden],
.home-scenic .cosmic-postcard[hidden] {
  display: none !important;
}

.home-scenic .cosmic-postcard {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 42px);
  outline: none;
  animation: cosmic-postcard-arrive 520ms cubic-bezier(0.22, 0.85, 0.32, 1) both;
}

.home-scenic .cosmic-postcard:focus-visible .cosmic-postcard__art {
  outline: 3px solid #4d315f;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px #fff0b8, 0 30px 70px rgba(52, 32, 64, 0.24);
}

.home-scenic .cosmic-postcard__art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 16 / 9;
  min-height: 390px;
  padding: clamp(26px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 246, 231, 0.72);
  border-radius: 28px;
  color: #fff7e9;
  background: url("backgrounds/cat-universe-sunset-v1.jpg") center 52% / cover no-repeat;
  box-shadow: 0 30px 70px rgba(52, 32, 64, 0.24);
  isolation: isolate;
}

.home-scenic .cosmic-postcard__art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(36, 23, 45, 0.82) 0%, rgba(45, 28, 53, 0.56) 48%, rgba(45, 28, 53, 0.08) 76%),
    linear-gradient(0deg, rgba(30, 19, 38, 0.5), transparent 56%);
}

.home-scenic .cosmic-postcard__copy {
  max-width: min(64%, 680px);
}

.home-scenic .cosmic-postcard__kicker {
  color: #ffe3ac;
}

.home-scenic .cosmic-postcard h3 {
  margin: 10px 0 12px;
  color: #fffaf0;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(29, 18, 37, 0.4);
}

.home-scenic .cosmic-postcard__copy p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 245, 232, 0.88);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.75;
}

.home-scenic .cosmic-postcard__stamp {
  position: absolute;
  top: clamp(22px, 4vw, 46px);
  right: clamp(20px, 4vw, 48px);
  display: grid;
  place-items: center;
  min-width: 128px;
  min-height: 86px;
  padding: 10px 16px;
  border: 2px solid rgba(141, 230, 207, 0.82);
  border-radius: 50%;
  color: #b8f7e6;
  background: rgba(29, 20, 42, 0.34);
  transform: rotate(8deg);
  backdrop-filter: blur(8px);
}

.home-scenic .cosmic-postcard__stamp span {
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.home-scenic .cosmic-postcard__stamp strong {
  font-size: 1.55rem;
  line-height: 1;
}

.home-scenic .cosmic-postcard__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.home-scenic .cosmic-postcard__icons {
  display: flex;
  gap: 10px;
}

.home-scenic .cosmic-postcard__icons img {
  width: clamp(54px, 6vw, 76px);
  height: clamp(54px, 6vw, 76px);
  border: 3px solid rgba(255, 247, 232, 0.88);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(28, 17, 35, 0.34);
}

.home-scenic .cosmic-postcard__icons img:nth-child(1) {
  transform: rotate(-5deg);
}

.home-scenic .cosmic-postcard__icons img:nth-child(2) {
  transform: rotate(3deg);
}

.home-scenic .cosmic-postcard__icons img:nth-child(3) {
  transform: rotate(-2deg);
}

.home-scenic .cosmic-postcard__issued {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: rgba(255, 244, 226, 0.76);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: right;
}

.home-scenic .cosmic-postcard__issued time {
  color: #fff5df;
  font-size: 1.1rem;
}

.home-scenic .cosmic-postcard__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.home-scenic .cosmic-postcard__actions .home-button {
  min-height: 44px;
  margin: 0;
}

.home-scenic .cosmic-postcard__share-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--scenic-ink-soft);
  font-size: 0.84rem;
  text-align: center;
}

.home-scenic .alien-app-panel__passport {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 9px 11px;
  border: 1px dashed rgba(141, 230, 207, 0.42);
  border-radius: 14px;
  color: #d9fff4;
  background: rgba(141, 230, 207, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
}

.home-scenic .alien-app-panel__passport::before {
  content: "✦";
  color: #ffd994;
}

.home-scenic .alien-app-panel__passport[data-passport-new="true"] {
  border-style: solid;
  background: linear-gradient(135deg, rgba(141, 230, 207, 0.16), rgba(255, 217, 148, 0.12));
}

.home-scenic .alien-app-panel__actions [data-passport-next],
.home-scenic .alien-app-panel__actions [data-passport-postcard] {
  border-color: rgba(141, 230, 207, 0.48);
  color: #0f1720;
  background: linear-gradient(135deg, #8de6cf, #ffd994);
}

@keyframes passport-stamp-in {
  0% { opacity: 0.15; transform: scale(1.48) rotate(-18deg); }
  68% { opacity: 1; transform: scale(0.92) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(-3deg); }
}

@keyframes cosmic-postcard-arrive {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (hover: hover) and (pointer: fine) {
  .home-scenic .featured-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--featured-accent) 48%, rgba(255, 255, 255, 0.78));
    box-shadow: 0 22px 44px rgba(72, 47, 78, 0.15);
  }

  .home-scenic .featured-card:hover .featured-art img {
    transform: scale(1.035);
  }

  .home-scenic .featured-guide-button:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--featured-accent) 64%, rgba(255, 255, 255, 0.78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 26px rgba(72, 47, 78, 0.12);
  }
}

.home-scenic a:focus-visible,
.home-scenic button:focus-visible,
.home-scenic [tabindex]:focus-visible {
  outline: 3px solid #4d315f;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff0b8;
}

/* 3D target: cozy-real cinematic miniature, viewed as a product-shot planet
   under peach twilight, with enamel/glass materials and mobile-safe effects. */
.home-scenic #alien-outpost.alien-outpost {
  --outpost-space: #171127;
  --outpost-deep: #25183b;
  --outpost-violet: #a48ad8;
  --outpost-mint: #8de6cf;
  --outpost-pink: #f59aa7;
  --outpost-star: #ffd994;
  --outpost-cream: #fff5e7;
  width: min(1460px, calc(100vw - 36px));
  min-height: clamp(720px, 86svh, 900px);
  border-color: rgba(255, 231, 214, 0.38);
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 154, 167, 0.24), transparent 34%),
    radial-gradient(circle at 78% 16%, rgba(141, 230, 207, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(38, 26, 59, 0.96), rgba(18, 13, 34, 0.98));
  box-shadow: 0 38px 94px rgba(54, 32, 68, 0.32);
}

.home-scenic #alien-outpost.alien-outpost::before {
  opacity: 0.18;
}

.home-scenic #alien-outpost.alien-outpost::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(18, 13, 34, 0.38), transparent 34%),
    linear-gradient(0deg, rgba(9, 7, 20, 0.3), transparent 32%);
}

.home-scenic #alienOutpostCanvas {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
}

.home-scenic .alien-outpost__overlay {
  width: min(410px, calc(100% - 32px));
  padding: 20px;
  border: 1px solid rgba(255, 240, 224, 0.16);
  border-radius: 22px;
  background: rgba(25, 17, 40, 0.34);
  box-shadow: 0 22px 48px rgba(8, 5, 18, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-scenic #alien-outpost:not(.alien-outpost--active) :is(
  .alien-outpost__hint,
  .alien-runner-status,
  .alien-runner-nav,
  .alien-control-hud,
  .alien-quick-list-btn,
  .alien-fullscreen-btn
) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.home-scenic #alien-outpost.alien-outpost--active .alien-outpost__overlay {
  width: min(280px, calc(100% - 32px));
  padding: 16px;
}

.home-scenic #alien-outpost.alien-outpost--active .alien-outpost__overlay p:not(.alien-outpost__eyebrow),
.home-scenic #alien-outpost.alien-outpost--active .alien-outpost__actions {
  display: none;
}

.home-scenic #alien-outpost.alien-outpost--app-focus :is(
  .alien-outpost__overlay,
  .alien-outpost__hint,
  .alien-runner-status,
  .alien-runner-nav,
  .alien-control-hud,
  .alien-quick-list-btn
) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.home-scenic .alien-outpost h2 {
  color: #fff6e8;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  text-shadow: 0 12px 36px rgba(9, 6, 20, 0.4);
}

.home-scenic .alien-outpost--active h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.home-scenic .alien-outpost__actions button {
  background: linear-gradient(135deg, #8de6cf, #ffd994);
}

.home-scenic .alien-quick-list-btn {
  background: linear-gradient(135deg, #f59aa7, #ffd994);
}

.home-scenic .alien-outpost__hint,
.home-scenic .alien-runner-status,
.home-scenic .alien-control-hud,
.home-scenic .alien-app-panel {
  border-color: rgba(255, 239, 221, 0.16);
  background-color: rgba(24, 16, 39, 0.64);
}

@media (max-width: 1024px) {
  .home-scenic #hero {
    min-height: min(740px, 82svh);
  }

  .home-scenic #featured-works .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-scenic #featured-works .featured-card--latest {
    grid-column: 1 / -1;
  }

  .home-scenic .hero-inner {
    width: min(680px, 82%);
  }

  .home-scenic #alien-outpost.alien-outpost {
    min-height: 820px;
  }

  .home-scenic .alien-fullscreen-btn {
    right: 70px;
  }

  .home-scenic .alien-control-hud {
    width: 148px;
  }

  .home-scenic .alien-control-hud .alien-key-row {
    display: none;
  }
}

@media (max-width: 768px) {
  .home-scenic #featured-works .featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-scenic #featured-works .featured-card--latest {
    grid-column: auto;
  }

  .home-scenic .passport-stamp {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    justify-items: center;
    min-height: 128px;
    padding: 14px 8px;
    text-align: center;
  }

  .home-scenic .passport-stamp__seal {
    grid-row: auto;
    width: 56px;
    height: 56px;
  }

  .home-scenic .passport-stamp__name,
  .home-scenic .passport-stamp__state {
    align-self: center;
    max-width: 100%;
  }

  .home-scenic .cosmic-postcard__art {
    aspect-ratio: auto;
    min-height: 500px;
    background-position: 62% center;
  }

  .home-scenic .cosmic-postcard__art::before {
    background:
      linear-gradient(90deg, rgba(36, 23, 45, 0.88) 0%, rgba(45, 28, 53, 0.64) 62%, rgba(45, 28, 53, 0.18) 100%),
      linear-gradient(0deg, rgba(30, 19, 38, 0.58), transparent 58%);
  }

  .home-scenic .cosmic-postcard__copy {
    max-width: 82%;
    padding-top: 54px;
  }

  .home-scenic .site-backdrop {
    background-position: 64% 50%;
  }

  .home-scenic section {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .home-scenic #hero {
    display: flex;
    align-items: flex-end;
    min-height: min(820px, 96svh);
    padding: 66px 18px 28px !important;
  }

  .home-scenic #hero::before,
  .home-scenic #hero::after {
    inset: 8px;
    border-radius: 28px;
  }

  .home-scenic #hero::before {
    background-position: 64% center;
  }

  .home-scenic #hero::after {
    background:
      linear-gradient(0deg, rgba(39, 25, 47, 0.72) 0%, rgba(47, 30, 54, 0.34) 66%, rgba(47, 30, 54, 0.04) 100%);
  }

  .home-scenic .hero-inner {
    width: 100%;
    margin: 0;
    padding: 22px 18px;
    border-radius: 22px;
    text-align: center;
    background: rgba(43, 28, 50, 0.48);
  }

  .home-scenic #hero h1 {
    padding: 0;
    font-size: clamp(2.55rem, 12vw, 4rem) !important;
  }

  .home-scenic .hero-copy,
  .home-scenic #hero .lang-en {
    margin-inline: auto;
  }

  .home-scenic .hero-actions {
    justify-content: center;
  }

  .home-scenic #alien-outpost.alien-outpost {
    width: calc(100vw - 20px);
    min-height: 760px;
    margin: 14px auto 34px;
    padding: 18px !important;
    border-radius: 28px;
  }

  .home-scenic .alien-outpost__overlay {
    width: min(390px, calc(100% - 24px));
    padding: 16px;
    border-radius: 18px;
  }

  .home-scenic #alien-outpost.alien-outpost--app-focus .alien-app-panel {
    max-height: 48svh;
  }

  .home-scenic .alien-outpost h2 {
    font-size: clamp(2rem, 9vw, 3.25rem) !important;
  }

  .home-scenic .alien-outpost--active h2 {
    font-size: clamp(1.1rem, 5.8vw, 1.45rem) !important;
  }

  .home-scenic .section-title,
  .home-scenic .update-title,
  .home-scenic .tiny-worlds-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }
}

@media (max-width: 430px) {
  .home-scenic .back-to-top {
    display: none !important;
  }

  .home-scenic #hero {
    min-height: 800px;
    align-items: flex-start;
  }

  .home-scenic .hero-inner {
    padding: 20px 14px;
  }

  .home-scenic .hero-title-en {
    margin-bottom: 12px;
  }

  .home-scenic .hero-copy {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .home-scenic #hero .lang-en {
    display: none;
  }

  .home-scenic .hero-actions {
    margin: 18px 0 16px;
  }

  .home-scenic .home-button {
    width: 100%;
  }

  .home-scenic .featured-actions {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .home-scenic .curator-passport {
    padding: 18px 0;
  }

  .home-scenic .curator-passport__header {
    align-items: flex-start;
    gap: 10px;
  }

  .home-scenic .curator-passport__copy {
    display: none;
  }

  .home-scenic .curator-passport h3 {
    margin-bottom: 0;
    font-size: 1.48rem !important;
  }

  .home-scenic .curator-passport__progress {
    flex-basis: 80px;
    min-height: 66px;
    padding: 8px;
  }

  .home-scenic .curator-passport__progress span {
    font-size: 1.08rem;
  }

  .home-scenic .passport-stamps {
    margin-top: 16px;
  }

  .home-scenic .passport-stamp {
    min-height: 120px;
    padding-inline: 5px;
  }

  .home-scenic .passport-stamp__seal {
    width: 52px;
    height: 52px;
    font-size: 1.18rem;
  }

  .home-scenic .passport-stamp__name {
    font-size: 0.88rem;
  }

  .home-scenic .passport-stamp__state {
    font-size: 0.7rem;
  }

  .home-scenic .curator-passport__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .home-scenic .curator-passport__message {
    font-size: 0.9rem;
  }

  .home-scenic .curator-passport__open {
    width: 100%;
  }

  .home-scenic .cosmic-postcard__art {
    min-height: 480px;
    padding: 22px 18px;
    border-radius: 22px;
    background-position: 64% center;
  }

  .home-scenic .cosmic-postcard__copy {
    max-width: 100%;
    padding-top: 82px;
  }

  .home-scenic .cosmic-postcard h3 {
    font-size: 2rem !important;
  }

  .home-scenic .cosmic-postcard__copy p {
    max-width: 90%;
    font-size: 0.92rem;
  }

  .home-scenic .cosmic-postcard__stamp {
    top: 16px;
    right: 16px;
    min-width: 112px;
    min-height: 70px;
    padding: 8px 12px;
  }

  .home-scenic .cosmic-postcard__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .home-scenic .cosmic-postcard__issued {
    justify-items: start;
    text-align: left;
  }

  .home-scenic .cosmic-postcard__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-scenic .cosmic-postcard__actions .home-button {
    width: 100%;
  }

  .home-scenic .alien-fullscreen-btn {
    right: 68px;
  }

  .home-scenic .alien-outpost:not(.alien-outpost--active) .alien-fullscreen-btn {
    opacity: 0;
    pointer-events: none;
  }

  .home-scenic #alien-outpost.alien-outpost--active .alien-outpost__overlay {
    width: min(210px, calc(100% - 92px));
    padding: 12px;
    opacity: 0.92;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-scenic .site-backdrop {
    transform: none;
  }

  .home-scenic .featured-card,
  .home-scenic .featured-card .featured-art img,
  .home-scenic .featured-actions .home-button {
    transition: none;
  }

  .home-scenic .featured-actions .home-button:hover {
    transform: none;
  }

  .home-scenic .passport-stamp.is-new .passport-stamp__seal,
  .home-scenic .cosmic-postcard {
    animation: none;
  }
}

@media (forced-colors: active) {
  .home-scenic a:focus-visible,
  .home-scenic button:focus-visible,
  .home-scenic [tabindex]:focus-visible {
    outline-color: ButtonText;
    box-shadow: none;
  }
}
