:root {
  color-scheme: dark;
  --bg: #07070d;
  --bg-elevated: #08070c;
  --paper: #15161d;
  --paper-strong: #1b1c24;
  --ink: #f8f8fb;
  --muted: #a9a8b3;
  --soft: #c8c8d0;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.1);
  --accent: #ff2f87;
  --accent-2: #9747ff;
  --cyan: #31d9de;
  --deep: #170a18;
  --header: rgba(8, 7, 12, 0.72);
  --max: 46rem;
  --home-max: 80rem;
  --radius: 22px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 82% -8%, rgba(255, 45, 120, 0.16), transparent 34%),
    radial-gradient(circle at 8% 18%, rgba(156, 82, 255, 0.12), transparent 28%),
    radial-gradient(circle at 90% 72%, rgba(59, 226, 239, 0.06), transparent 22%),
    linear-gradient(180deg, #0d0b10 0%, var(--bg) 28%, #050507 100%);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 42%);
}

a {
  color: #ff7aa8;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffd0df;
  text-decoration-thickness: 2px;
}

a:focus-visible,
.skip-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 8;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  top: calc(var(--safe-top) + 0.75rem);
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 6;
  padding: calc(var(--safe-top) + 0.85rem) 0 0.85rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.78) 0%, rgba(0, 0, 0, 0.52) 100%);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(28px) saturate(108%) brightness(62%);
  -webkit-backdrop-filter: blur(28px) saturate(108%) brightness(62%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(7, 7, 9, 0.94);
  }
}

.site-header .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.brand {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

a.brand:hover,
a.brand:focus-visible {
  color: #ffffff;
}

.brand-logo {
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.28rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(21, 21, 28, 0.78);
}

.doc-nav a {
  min-height: 2.5rem;
  padding: 0 0.95rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #b6b6c2;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.doc-nav a[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(120deg, #ff2d78, #9c52ff);
  box-shadow: 0 8px 18px rgba(255, 45, 120, 0.22);
}

main {
  position: relative;
  z-index: 1;
  padding: 1.4rem 0 3.4rem;
}

.lang-nav {
  display: inline-flex;
  gap: 0.25rem;
  margin-bottom: 1.15rem;
  padding: 0.22rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(21, 21, 28, 0.86);
}

.lang-nav a {
  min-height: 2.4rem;
  padding: 0 0.95rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #b6b6c2;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
}

.lang-nav a:hover,
.lang-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.lang-switcher {
  display: inline-flex;
  gap: 0.2rem;
  margin-bottom: 1.15rem;
  padding: 0.22rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(21, 21, 28, 0.86);
}

.home-header .lang-switcher {
  margin: 0;
}

.lang-btn {
  min-height: 2.75rem;
  padding: 0 0.95rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #b6b6c2;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

body:has(#lang-en:checked) .lang-btn[for="lang-en"],
body:has(#lang-zh:checked) .lang-btn[for="lang-zh"] {
  color: #ffffff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

body:has(#lang-en:focus-visible) .lang-btn[for="lang-en"],
body:has(#lang-zh:focus-visible) .lang-btn[for="lang-zh"],
.lang-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.locale {
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--safe-top) + 8.25rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%),
    var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.35rem 1.1rem 1.65rem;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.locale::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff2d78 0 42%, #9c52ff 42% 72%, #3be2ef 72%);
}

.locale-header {
  margin-bottom: 0.35rem;
}

.locale-kicker {
  margin: 0 0 0.45rem;
  color: #6ff0f0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 0.55rem;
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

h2 {
  margin: 1.7rem 0 0.55rem;
  padding-left: 0.75rem;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, #ff2d78, #9c52ff) 1;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.dates {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.lead {
  margin: 1rem 0 0.35rem;
  color: var(--soft);
  font-size: 1.04rem;
}

.legal-section[id] {
  scroll-margin-top: calc(var(--safe-top) + 7rem);
}

.legal-section p {
  margin: 0.7rem 0 0;
  color: #d8d8e0;
}

ul {
  margin: 0.7rem 0 0.2rem;
  padding-left: 1.15rem;
}

li {
  color: #d8d8e0;
}

li + li {
  margin-top: 0.45rem;
}

li::marker {
  color: #ff7aa8;
}

.locale-divider {
  border: 0;
  height: 0;
  margin: 1.35rem 0;
}

.cross-link {
  margin: 1.35rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(21, 21, 28, 0.78);
  color: var(--muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.4rem 0 calc(2rem + var(--safe-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer a {
  color: #d0d0da;
}

@media (min-width: 640px) {
  .site-header .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  h1 {
    font-size: 2.25rem;
  }

  .locale {
    scroll-margin-top: calc(var(--safe-top) + 6rem);
    padding: 1.9rem 1.7rem 2.1rem;
  }
}

@media (min-width: 960px) {
  body {
    font-size: 1.0625rem;
  }

  .wrap {
    width: min(50rem, calc(100% - 3rem));
  }

  .locale {
    padding: 2.15rem 2rem 2.3rem;
  }
}

.home-wrap {
  width: min(var(--home-max), calc(100% - 2rem));
  margin-inline: auto;
}

body.home {
  overflow-x: clip;
  background:
    radial-gradient(circle at 78% 4%, rgba(255, 47, 135, 0.2), transparent 30%),
    radial-gradient(circle at 8% 18%, rgba(151, 71, 255, 0.16), transparent 26%),
    radial-gradient(circle at 92% 64%, rgba(49, 217, 222, 0.08), transparent 22%),
    linear-gradient(180deg, var(--deep) 0%, var(--bg) 24%, #050509 100%);
}

.home-header {
  background:
    linear-gradient(180deg, rgba(8, 7, 12, 0.88) 0%, rgba(7, 7, 13, 0.64) 100%);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.header-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.85rem;
  margin-left: auto;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.1rem;
}

.home-nav a {
  min-height: 2.75rem;
  padding: 0 0.8rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
}

.home-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.home-nav a[aria-current="page"] {
  color: #ffffff;
  border: 1px solid rgba(255, 47, 135, 0.55);
  background: rgba(21, 22, 29, 0.92);
}

.home-main {
  padding: 0 0 3.5rem;
}

.hero {
  display: grid;
  gap: 2.25rem;
  padding: 2.4rem 0 2.8rem;
}

.hero-kicker {
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 2.1rem;
  height: 2px;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--cyan));
}

.hero-title {
  margin: 0 0 1rem;
  max-width: 100%;
  color: #ffffff;
  font-size: 2.625rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.hero-accent {
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 52%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-intro {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.btn {
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 700;
}

.btn::after {
  content: " →";
}

.btn-primary,
.btn-primary:hover {
  color: #ffffff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(255, 47, 135, 0.22);
}

.btn-secondary,
.btn-secondary:hover {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
}

.phone-stage {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.phone {
  width: min(17.25rem, 100%);
  padding: 0.5rem;
  border-radius: 2.35rem;
  background: #0a0a10;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.phone-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%),
    #0b0b12;
}

.phone-notch {
  width: 6.2rem;
  height: 0.7rem;
  margin: 0.55rem auto 0;
  border-radius: 999px;
  background: #050508;
}

.phone-screen {
  padding: 0.55rem 0.8rem 1rem;
}

.phone-appbar {
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.phone-appbar img {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  object-fit: cover;
}

.phone-block + .phone-block {
  margin-top: 0.85rem;
}

.phone-row {
  margin: 0 0 0.45rem;
  display: flex;
  justify-content: space-between;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
}

.phone-muted {
  color: var(--muted);
  font-weight: 600;
}

.featured-card,
.poster,
.feature-card,
.experience-section,
.episode-card,
.about-section,
.about-bar {
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.featured-card {
  overflow: hidden;
  border-radius: 1rem;
}

.featured-art,
.poster-art,
.episode-art {
  position: relative;
  overflow: hidden;
}

.featured-art {
  height: 10.5rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 47, 135, 0.35), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(151, 71, 255, 0.35), transparent 36%),
    linear-gradient(180deg, #3a1738, #140c18 70%);
}

.featured-glow,
.episode-glow {
  position: absolute;
  inset: auto 10% 20% 10%;
  height: 40%;
  border-radius: 50%;
  background: rgba(255, 47, 135, 0.22);
  filter: blur(18px);
}

.figure,
.poster-figure,
.episode-figure {
  position: absolute;
  border-radius: 50% 50% 22% 22%;
  background: linear-gradient(180deg, #2d2238, #110c16);
}

.figure-left {
  left: 14%;
  bottom: 0;
  width: 38%;
  height: 74%;
}

.figure-right {
  right: 12%;
  bottom: 0;
  width: 34%;
  height: 80%;
  background: linear-gradient(180deg, #46304f, #1a1020);
}

.featured-title,
.featured-meta {
  margin: 0;
  padding: 0 0.75rem;
}

.featured-title {
  padding-top: 0.65rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
}

.featured-meta {
  padding-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.poster-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.poster {
  overflow: hidden;
  border-radius: 0.7rem;
}

.poster-art {
  height: 4.6rem;
}

.poster-ember .poster-art {
  background: linear-gradient(180deg, #5a2438, #1a0d16);
}

.poster-violet .poster-art {
  background: linear-gradient(180deg, #3b2460, #140e22);
}

.poster-tide .poster-art {
  background: linear-gradient(180deg, #1f3d4a, #0d141b);
}

.poster-figure {
  left: 22%;
  bottom: 0;
  width: 46%;
  height: 78%;
}

.poster-figure-b {
  left: auto;
  right: 16%;
  width: 36%;
  height: 64%;
  opacity: 0.72;
}

.poster-title {
  margin: 0;
  padding: 0.35rem 0.35rem 0.45rem;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.25;
}

.phone-dots {
  display: flex;
  justify-content: center;
  gap: 0.28rem;
  margin: 0.85rem 0 0;
}

.phone-dots span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.phone-dots .is-active {
  width: 0.85rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.feature-section {
  margin: 0 0 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 1.25rem 1.15rem 1.4rem;
  border-radius: 1.35rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
}

.feature-discover::after {
  background: var(--accent);
}

.feature-watch::after {
  background: var(--accent-2);
}

.feature-continue::after {
  background: var(--cyan);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.feature-discover .feature-icon {
  color: var(--accent);
  background: rgba(255, 47, 135, 0.14);
}

.feature-watch .feature-icon {
  color: #c9a6ff;
  background: rgba(151, 71, 255, 0.16);
}

.feature-continue .feature-icon {
  color: var(--cyan);
  background: rgba(49, 217, 222, 0.12);
}

.home h2 {
  margin: 0;
  padding: 0;
  border: 0;
  border-image: none;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.feature-card p,
.experience-copy p,
.about-section p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.experience-section {
  display: grid;
  gap: 1.4rem;
  min-width: 0;
  margin: 0 0 1.5rem;
  padding: 1.35rem 1.1rem 1.4rem;
  border-radius: 1.6rem;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

.section-kicker {
  margin: 0 0 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--cyan));
}

#about,
#about-zh,
#experience,
#experience-zh,
#how-it-works,
#how-it-works-zh,
#en,
#zh,
#content {
  scroll-margin-top: calc(var(--safe-top) + 5.5rem);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.episode-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--paper-strong);
}

.episode-art {
  height: 6.4rem;
}

.episode-rose .episode-art {
  background: linear-gradient(180deg, #5a1f3d, #160b16);
}

.episode-violet .episode-art {
  background: linear-gradient(180deg, #3a2160, #120e1e);
}

.episode-tide .episode-art {
  background: linear-gradient(180deg, #1c3f4c, #0c141a);
}

.episode-ember .episode-art {
  background: linear-gradient(180deg, #5a2a24, #160d10);
}

.episode-locked .episode-art {
  background: linear-gradient(180deg, #23232d, #101016);
}

.episode-figure {
  left: 28%;
  bottom: 0;
  width: 44%;
  height: 78%;
}

.episode-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 8, 12, 0.55);
  transform: translate(-50%, -50%);
}

.episode-locked {
  opacity: 0.72;
}

.episode-card p {
  margin: 0;
  padding: 0.55rem 0.65rem 0.7rem;
  color: #d8d8e2;
  font-size: 0.78rem;
  font-weight: 700;
}

.about-section {
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 1.4rem;
}

.about-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.9rem;
  margin-bottom: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1.1rem;
  background: var(--paper-strong);
}

.about-icon {
  display: grid;
  place-items: center;
  flex: none;
}

.about-section h2 {
  font-size: 1.05rem;
}

.home-footer {
  text-align: left;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 0.35rem;
  margin-bottom: 0.85rem;
}

.footer-nav a {
  min-height: 2.75rem;
  padding: 0 0.15rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.28);
}

.footer-link-privacy {
  color: #ff7aa8;
}

.footer-link-terms {
  color: #c9a6ff;
}

.footer-link-support {
  color: #d0d0da;
}

.footer-link-deletion {
  color: #7feaf0;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title {
    font-size: 3.4rem;
  }
}

@media (min-width: 900px) {
  .home-wrap {
    width: min(75rem, calc(100% - 3rem));
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 2.5rem;
    padding: 4.2rem 0 3.4rem;
  }

  .hero-title {
    font-size: 4.6rem;
  }

  .phone {
    width: min(18rem, 100%);
    justify-self: end;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .experience-section {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 1.8rem;
    padding: 1.8rem 1.7rem;
  }

  .episode-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .episode-art {
    height: 7.2rem;
  }
}

@media (min-width: 1200px) {
  .home-wrap {
    width: min(85rem, calc(100% - 4rem));
  }

  .hero-title {
    font-size: 5.15rem;
  }
}

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

  .home *,
  .home *::before,
  .home *::after {
    animation: none !important;
    transition: none !important;
  }
}

.locale#zh,
.home-locale#zh,
.home-nav.chrome-zh,
.footer-nav.chrome-zh,
p.chrome-zh {
  display: none;
}

body:has(#lang-zh:checked) .locale#en,
body:has(#lang-zh:checked) .home-locale#en,
body:has(#lang-zh:checked) .home-nav.chrome-en,
body:has(#lang-zh:checked) .footer-nav.chrome-en,
body:has(#lang-zh:checked) p.chrome-en,
body:has(#lang-zh:checked) .locale-divider {
  display: none;
}

body:has(#lang-zh:checked) .locale#zh {
  display: revert;
}

body:has(#lang-zh:checked) .home-locale#zh {
  display: block;
}

body:has(#lang-zh:checked) .home-nav.chrome-zh,
body:has(#lang-zh:checked) .footer-nav.chrome-zh {
  display: flex;
}

body:has(#lang-zh:checked) p.chrome-zh {
  display: block;
}
