/* Standalone language placeholders; intentionally outside the home CSS bundles. */
:root {
  color-scheme: dark;
  background: #071a2e;
  color: #f5f8fc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

body {
  margin: 0;
}

.language-coming-soon {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 6vw, 6rem);
  text-align: center;
}

.language-coming-soon__image,
.language-coming-soon::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.language-coming-soon__image {
  overflow: hidden;
}

.language-coming-soon__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.language-coming-soon::after {
  content: "";
  background: linear-gradient(180deg, rgb(7 26 46 / 52%), rgb(7 26 46 / 70%) 50%, rgb(7 26 46 / 78%));
  pointer-events: none;
}

.language-coming-soon h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgb(0 0 0 / 24%);
}

.language-coming-soon:lang(zh-Hans) h1 {
  max-width: 12em;
  line-height: 1.4;
  letter-spacing: 0;
}
