@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-variable-latin-cyrillic.woff2") format("woff2"), url("/fonts/nunito-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Nunito", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;

  /* Legacy surface tokens, still used by /privacy and /terms. */
  --game-ink: #f5fff3;
  --game-ink-soft: rgba(235, 251, 245, .72);
  --game-accent: #ffe783;
  --game-green-top: #b8e83d;
  --game-green-bottom: #78ad09;
  --game-card: rgba(3, 18, 24, .72);
  --game-line: rgba(225, 246, 244, .15);
  --game-radius-card: 22px;
  --game-shadow-card: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 28px rgba(2,17,24,.3);
  --game-shadow-button: inset 0 1px 2px rgba(255,255,255,.28), inset 0 -5px 10px rgba(2,16,27,.18), 0 8px 18px -12px rgba(0,0,0,.8);

  /* Current Krokokwa shell: cream cards, lime CTA, sky secondary, black ink. */
  --k-cream: #fbf7e5;
  /* From the game shell: the night side sky it shows from the fourth chapter on, and the nebula tints of the galaxy chapter. */
  --k-space: linear-gradient(170deg, #07131d, #0f1030 55%, #1a1040);
  --k-nebula: radial-gradient(48% 38% at 14% 24%, rgb(182 91 234 / .5), #0000), radial-gradient(44% 40% at 88% 70%, rgb(223 139 255 / .46), #0000), radial-gradient(40% 30% at 70% 8%, rgb(89 38 141 / .3), #0000);
  --k-pearl: radial-gradient(72% 34% at 50% 13%, #bebbf0 0%, rgba(251, 247, 229, 0) 100%);
  --k-btn-gloss: linear-gradient(rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 49.39%);
  --k-tilt: rotate(1.6deg);
  --k-ink: #000;
  --k-ink-2: #4b4658;
  --k-lilac: #bebbf0;
  --k-lime: #daee4d;
  --k-orange: #fcb901;
  --k-gold: #fcca01;
  --k-peach: #ffb892;
  --k-sky: #91e5ff;
  --k-silver: #94d1e8;
  --k-white: #fff;
  --k-hard: 1px 1px 0 rgba(0, 0, 0, .58);
  --k-hard-soft: 1px 1px 0 rgba(0, 0, 0, .2);
  --k-gloss: linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 46%);
  --k-type-micro: 10px;
  --k-type-caption: 12px;
  --k-type-compact: 14px;
  --k-type-body: 17px;
  --k-type-action: 22px;
  --k-type-title: 26px;
  --k-type-value: 32px;
  --k-type-hero: 44px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

/* overflow-x: clip, а не hidden: hidden у body уходит на окно и не мешает мобильному браузеру растянуть страницу под выступающие на 5 px
   устройства (3D-холст шире колонки), после чего всё, что считается от vw, разрастается ещё (438 px вместо 390). */
html { min-height: 100%; background: #0f1030; overflow-x: clip; }
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: max(56px, calc(44px + env(safe-area-inset-top))) 24px max(150px, calc(128px + env(safe-area-inset-bottom)));
  overflow-x: hidden;
  overflow-x: clip;
  color: #fff;
  background: var(--k-space) no-repeat fixed #0a0a22;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
}
body::before {
  opacity: .62;
  background-image:
    radial-gradient(1px 1px at 6% 18%, #fff 98%, transparent),
    radial-gradient(1px 1px at 13% 78%, #d4e7ff 98%, transparent),
    radial-gradient(1.5px 1.5px at 19% 46%, #fff 98%, transparent),
    radial-gradient(1px 1px at 27% 11%, #d7e7ff 98%, transparent),
    radial-gradient(1px 1px at 34% 68%, #fff 98%, transparent),
    radial-gradient(1.5px 1.5px at 42% 28%, #dce8ff 98%, transparent),
    radial-gradient(1px 1px at 51% 87%, #fff 98%, transparent),
    radial-gradient(1px 1px at 59% 16%, #d4e7ff 98%, transparent),
    radial-gradient(1.5px 1.5px at 67% 53%, #fff 98%, transparent),
    radial-gradient(1px 1px at 74% 8%, #d7e7ff 98%, transparent),
    radial-gradient(1px 1px at 83% 76%, #fff 98%, transparent),
    radial-gradient(1.5px 1.5px at 91% 34%, #e5edff 98%, transparent),
    radial-gradient(1px 1px at 96% 90%, #fff 98%, transparent);
}
body::after { display: none; }

/* The activity feed is the game's own ticker: a bare strip under the top edge, white bold text on a dark fade,
   18px icons with the hard shadow, a seamless run. It is hidden while there is nothing to show, as in the game. */
.activity-ticker {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  height: calc(28px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: none;
  overflow: hidden;
  pointer-events: none;
  color: #fff;
  font: 800 var(--k-type-caption) / 28px Nunito, sans-serif;
  letter-spacing: -.01em;
  text-shadow: 0 2px 3px #000f, 0 0 7px #000b;
}
.activity-ticker.has-events { display: block; }
.activity-ticker::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(42px + env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .58) 42%, rgba(0, 0, 0, .18) 75%, transparent 100%);
}
.ticker-status, .ticker-empty { display: none; }
.ticker-viewport {
  position: absolute;
  inset: env(safe-area-inset-top) 0 auto 0;
  height: 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  width: max-content;
  height: 28px;
  align-items: center;
  white-space: nowrap;
  animation: ticker-glide var(--ticker-duration, 60s) linear infinite;
  will-change: transform;
}
.ticker-sequence { display: flex; flex: none; align-items: center; }
.ticker-item {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding-right: 44px;
  box-sizing: content-box;
}
.ticker-item img { width: 18px; height: 18px; flex: none; object-fit: contain; filter: drop-shadow(var(--k-hard)); }
.ticker-item strong { font-weight: 900; }
@keyframes ticker-glide { to { transform: translate3d(-50%, 0, 0); } }

.landing {
  width: min(100%, 1400px);
  display: grid;
  justify-items: center;
  gap: clamp(26px, 4.4vh, 38px);
}
.brand { width: 100%; display: grid; place-items: center; }
.brand img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .32));
}

.actions { width: 100%; display: grid; gap: 28px; }
.action-group {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #fff;
}

.group-title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
  text-transform: none;
}

.chip-row, .platform-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  appearance: none;
  border: 0;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
button:disabled { opacity: 1; filter: none; }

/* Painted pills from the current game: cream fill, white rim, gloss, 1px hard shadow. */
.chip-button, .platform-button {
  --btn-bg: #e9e9ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--k-white);
  border-radius: 24px;
  background: var(--btn-bg);
  box-shadow: var(--k-hard);
  color: var(--k-ink);
  text-shadow: none;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .005em;
  text-transform: none;
  cursor: default;
  transition: transform 110ms ease, filter 110ms ease, box-shadow 110ms ease;
}
.chip-button::before, .platform-button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: var(--k-gloss);
  content: "";
  pointer-events: none;
}
.chip-button {
  min-height: 50px;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 15px;
  text-align: center;
}
.platform-row { gap: 12px; }
.platform-button {
  min-width: 180px;
  min-height: 64px;
  gap: 10px;
  padding: 8px 24px;
  border-radius: 26px;
  font-size: 18px;
  text-align: center;
}
.platform-button--web {
  --btn-bg: #c4f0e3;
  font-size: 20px;
}

/* Pastel versions of each icon's dominant tone; black text stays readable on all of them. */
.chip-button[data-placeholder="Yandex Games"] { --btn-bg: #ffe7a3; }
.chip-button[data-placeholder="VK Play"] { --btn-bg: #cfe2ff; }
.chip-button[data-placeholder="Telegram Mini App"] { --btn-bg: #ccefff; }
.chip-button[data-placeholder="CrazyGames"] { --btn-bg: #e2d6ff; }
.platform-button[data-placeholder="ios"] { --btn-bg: #e9e9ee; }
.platform-button[data-placeholder="android"] { --btn-bg: #d6f5df; }
.chip-button[data-channel="vk"] { --btn-bg: #d6e6ff; }
.chip-button[data-channel="max"] { --btn-bg: linear-gradient(180deg, #d6ecff 0%, #e4dcff 100%); }
.chip-button[data-channel="youtube"] { --btn-bg: #ffd9df; }
.chip-button[data-channel="tiktok"] { --btn-bg: #d9f7f4; }
.chip-button[data-channel="instagram"] { --btn-bg: #ffd9e8; }

.chip-icon { width: 28px; height: 28px; flex: none; object-fit: contain; }
.chip-icon--square { border-radius: 8px; }
.platform-icon { width: 30px; height: 30px; flex: none; }
.platform-button--web .platform-icon { color: var(--k-ink); }

/* Brand marks sit on small white app tiles, like the Google badge in the game. */
.chip-button > img, .platform-button > img {
  padding: 3px;
  border-radius: 9px;
  background: var(--k-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .16);
}
.chip-button > img.chip-icon--square { border-radius: 8px; }

.contact-link {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .45);
}
.contact-link:hover { text-decoration-thickness: 2px; }
.contact-link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 4px; }

.creator {
  position: fixed;
  z-index: 3;
  inset-inline-start: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .7);
  transform: translateX(-50%);
}
.creator span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #fff;
  font-size: var(--k-type-compact);
  font-weight: 800;
  letter-spacing: .005em;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
  text-transform: none;
}
.creator img { display: block; width: min(116px, 34vw); height: auto; filter: drop-shadow(0 7px 12px rgba(0,0,0,.35)); }
.creator-link { display: block; border-radius: 12px; transition: transform 110ms ease; -webkit-tap-highlight-color: transparent; }
.creator-link:hover { transform: translateY(-2px); }
.creator-link:active { transform: translateY(1px); }
.creator-link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* The page now scrolls (trailer, shots, waitlist), so the studio mark sits at the end of the page, not over the content. */
.creator { position: static; inset-inline-start: auto; margin-top: 10px; transform: none; }
body { padding-bottom: max(40px, calc(28px + env(safe-area-inset-bottom))); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: the logo with the game's icon under it. */
.brand { gap: 14px; }
.brand .game-icon {
  width: 96px;
  height: 96px;
  border: 3px solid var(--k-white);
  border-radius: 26px;
  background: #0b1a33;
  box-shadow: var(--k-hard), 0 12px 24px -10px rgba(0, 0, 0, .7);
}

/* Store-page layout: media on the left (big clip, a row of small shots), the short description on the right. */
.stage {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px clamp(36px, 5vw, 80px);
  align-items: start;
}
.media-col { display: grid; gap: 6px; min-width: 0; align-content: start; }
.trailer {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--k-white);
  border-radius: 26px;
  background: #0b1a33;
  box-shadow: var(--k-hard), 0 18px 36px -14px rgba(0, 0, 0, .7);
}
.trailer-open { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; }
.trailer video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.soon-badge {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 6px 14px;
  border: 3px solid var(--k-white);
  border-radius: 20px;
  background: var(--k-lime);
  box-shadow: var(--k-hard);
  color: var(--k-ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .01em;
}
.expand-hint {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-end: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 3px solid var(--k-white);
  border-radius: 14px;
  background: rgba(10, 16, 30, .62);
  color: #fff;
  opacity: .9;
  transition: transform 110ms ease;
}
.expand-hint svg { width: 20px; height: 20px; }
.trailer-open:hover .expand-hint { transform: scale(1.08); }
.trailer-open:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.thumb {
  display: block;
  padding: 0;
  border: 3px solid var(--k-white);
  border-radius: 14px;
  background: #0b1a33;
  box-shadow: var(--k-hard), 0 8px 16px -10px rgba(0, 0, 0, .7);
  aspect-ratio: 9 / 16;
  cursor: zoom-in;
  transition: transform 110ms ease, filter 110ms ease;
}
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-2px); filter: brightness(1.06); }
.thumb:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* The description, like a store listing: slogan, one line, the story, the platforms it is coming to as plain icons. */
.about {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 20px;
  border: 4px solid var(--k-white);
  border-radius: 26px;
  background: var(--k-pearl), linear-gradient(var(--k-cream), var(--k-cream));
  box-shadow: var(--k-hard);
  color: var(--k-ink);
}
.about-slogan { margin: 0; font-size: 32px; font-weight: 900; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.about-lead { margin: 0; color: var(--k-ink-2); font-size: 17px; font-weight: 800; line-height: 1.35; text-wrap: pretty; }
.about-text { display: grid; gap: 10px; }
.about-text p { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.45; text-wrap: pretty; }
.soon-line { display: grid; gap: 8px; padding-top: 10px; border-top: 2px solid rgba(75, 70, 88, .18); }
.soon-label { color: var(--k-ink-2); font-size: 13px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }

/* Icons only: where the game is planned. Nothing here is clickable, so they are not drawn as buttons. */
.icon-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.icon-row li {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--k-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .18), 0 0 0 2px rgba(75, 70, 88, .12);
  color: var(--k-ink);
}
.icon-row img, .icon-row svg { width: 28px; height: 28px; object-fit: contain; border-radius: 8px; }
.icon-row--community { justify-content: center; }
.icon-row--community li { box-shadow: var(--k-hard); }
.community { width: 100%; display: grid; justify-items: center; gap: 12px; }

/* Viewer: the clip and the shots in one slider. */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.lightbox::backdrop { background: rgba(4, 7, 14, .93); }
.lightbox[open] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding: max(16px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom));
}
.lb-stage { grid-column: 2; grid-row: 1; display: grid; place-items: center; min-width: 0; min-height: 0; height: 100%; }
.lb-image, .lb-video {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 104px);
  max-height: calc(100svh - 104px);
  width: auto;
  height: auto;
  border: 3px solid var(--k-white);
  border-radius: 22px;
  background: #0b1a33;
  box-shadow: var(--k-hard), 0 20px 50px -16px rgba(0, 0, 0, .8);
}
.lb-video { width: min(100%, 1100px); aspect-ratio: 16 / 9; object-fit: contain; }
.lb-count { grid-column: 2; grid-row: 2; margin: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lb-nav, .lb-close {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 3px solid var(--k-white);
  border-radius: 50%;
  background: var(--k-cream);
  box-shadow: var(--k-hard);
  color: var(--k-ink);
  cursor: pointer;
  transition: transform 110ms ease, filter 110ms ease;
}
.lb-nav svg, .lb-close svg { width: 24px; height: 24px; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; inset-block-start: max(14px, env(safe-area-inset-top)); inset-inline-end: 14px; z-index: 2; background: var(--k-lime); }
.lb-nav:hover, .lb-close:hover { filter: brightness(1.05); transform: scale(1.05); }
.lb-nav:focus-visible, .lb-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* The game on a laptop and a phone (drawn in CSS): the wide clip on the laptop, the vertical one on the phone. */
/* Nested rounded shapes share one centre: an inner radius is the outer radius minus the width of the frame between them.
   Everything is measured in the width of this block (cqw), so the corners scale with the picture. */
.devices {
  --phone-r: 4.4cqw; --phone-bezel: 1.3cqw;
  --lid-r: 2cqw; --lid-pad: 1.2cqw;
  position: relative; width: 100%; aspect-ratio: 100 / 66; container-type: inline-size;
}
.laptop { position: absolute; z-index: 1; inset-inline-start: 1%; inset-block-start: 50%; width: 80%; transform: translateY(-50%) rotate(-.8deg); transform-origin: 50% 50%; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .45)); }
.laptop-lid {
  position: relative;
  padding: 1.6% 1.6% 2%;
  border-radius: 14px 14px 5px 5px;
  padding: var(--lid-pad) var(--lid-pad) calc(var(--lid-pad) * 1.4);
  border-radius: var(--lid-r) var(--lid-r) .6cqw .6cqw;
  background: linear-gradient(180deg, #2b2b33, #18181d);
  box-shadow: inset 0 0 0 2px #3a3a44;
}
.laptop-lid::before { content: ""; position: absolute; inset-block-start: 1.1%; inset-inline-start: 50%; width: 5px; height: 5px; margin-inline-start: -2.5px; border-radius: 50%; background: #0a0a0d; box-shadow: 0 0 0 1px #3a3a44; }
.laptop-screen { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 0; border-radius: 5px; border-radius: max(0cqw, calc(var(--lid-r) - var(--lid-pad))) max(0cqw, calc(var(--lid-r) - var(--lid-pad))) .15cqw .15cqw; background: #000; color: inherit; cursor: zoom-in; }
.laptop-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.laptop-base {
  position: relative;
  height: clamp(8px, 2.4vw, 14px);
  margin: 0 -5%;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #d4d7de, #9b9fab);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.laptop-base::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 50%; width: 16%; height: 55%; margin-inline-start: -8%; border-radius: 0 0 8px 8px; background: #8b8f9b; }
.phone {
  position: absolute;
  inset-inline-end: 1%;
  z-index: 2;
  transform: translateY(-50%) rotate(1.8deg);
  transform-origin: 50% 50%;
  inset-block-start: 50%;
  width: 31%;
  aspect-ratio: 9 / 16.2;
  padding: 1.3%;
  border-radius: 11% / 5%;
  padding: var(--phone-bezel);
  border-radius: var(--phone-r);
  background: linear-gradient(160deg, #2b2b33, #121216);
  box-shadow: inset 0 0 0 1.5px #4a4a55, 0 30px 38px -10px rgba(0, 0, 0, .7), -10px 0 28px -6px rgba(0, 0, 0, .35);
}
.phone-screen { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 9.5% / 4.4%; border-radius: max(0cqw, calc(var(--phone-r) - var(--phone-bezel))); background: #000; color: inherit; cursor: zoom-in; }
.phone-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-screen::after { content: ""; position: absolute; inset-block-start: 1.8%; inset-inline-start: 50%; width: 24%; height: 2.2%; transform: translateX(-50%); border-radius: 999px; background: #050507; }
.device-open:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.laptop-screen .expand-hint { inset-block-end: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border-width: 2px; border-radius: 11px; }
.device-open:hover .expand-hint { transform: scale(1.08); }

/* The row under the devices: the clip first, then the shots. */
.thumbs { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.thumb { position: relative; overflow: hidden; }
.thumb-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--k-white);
  border-radius: 50%;
  background: var(--k-lime);
  box-shadow: var(--k-hard);
  color: var(--k-ink);
}
.thumb-play svg { width: 16px; height: 16px; margin-inline-start: 2px; }

/* The description card carries the game's icon. */
.about-head { display: flex; align-items: flex-start; gap: 14px; }
.about-head .game-icon { flex: none; width: 72px; height: 72px; border: 3px solid var(--k-white); border-radius: 20px; background: #0b1a33; box-shadow: var(--k-hard), 0 8px 16px -8px rgba(0, 0, 0, .6); }
.about-titles { display: grid; gap: 6px; min-width: 0; }

/* Community, contact and the studio mark share one row at the foot of the page. */
.info-row { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px 56px; }
.info-block { display: grid; justify-items: center; align-content: start; gap: 10px; margin: 0; width: auto; }
.info-block .group-title { font-size: 16px; }
.info-block.creator { position: static; transform: none; margin: 0; }
.info-block.creator > span { color: #fff; font-size: 16px; font-weight: 900; letter-spacing: -.01em; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
.info-block .icon-row { justify-content: center; }
.info-block .contact-link { display: block; min-height: 40px; line-height: 40px; }

@media (max-width: 860px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .media-col, .about { width: min(100%, 640px); justify-self: center; }
}
@media (max-width: 520px) {
  .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about { padding: 18px 16px 16px; border-radius: 24px; }
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; padding-inline: 10px; }
  .lb-stage, .lb-count { grid-column: 1; }
  .lb-nav { position: absolute; inset-block-end: 12px; z-index: 2; width: 48px; height: 48px; }
  .lb-prev { inset-inline-start: 14px; }
  .lb-next { inset-inline-end: 14px; }
}
@media (max-width: 520px) {
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-head .game-icon { width: 60px; height: 60px; border-radius: 17px; }
  .info-row { gap: 22px 28px; }
}
@media (prefers-reduced-motion: reduce) { .thumb, .lb-nav, .lb-close, .expand-hint { transition: none; } }

/* Waitlist: one clear ask. A short headline, the email and the button on one line, an optional row of platform icons, one small consent line. */
.waitlist {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 24px 22px 18px;
  border: 4px solid var(--k-white);
  border-radius: 26px;
  background: var(--k-pearl), linear-gradient(var(--k-cream), var(--k-cream));
  box-shadow: var(--k-hard);
  color: var(--k-ink);
}
.waitlist-title { margin: 0; font-size: 24px; font-weight: 900; line-height: 1.15; letter-spacing: -.01em; text-align: center; text-wrap: balance; }
.waitlist-lead { margin: 0; color: var(--k-ink-2); font-size: 15px; font-weight: 700; line-height: 1.35; text-align: center; text-wrap: balance; }
.waitlist-form { display: grid; gap: 16px; margin-top: 4px; }
.wl-dots { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wl-dots li { width: 28px; height: 8px; border-radius: 999px; background: rgba(75, 70, 88, .2); transition: background 150ms ease; }
.wl-dots li.is-on { background: #6fae1f; }
.wl-step { display: grid; gap: 18px; }
.wl-row { display: flex; gap: 10px; }
.field { display: block; flex: 1; min-width: 0; }
.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border: 3px solid var(--k-white);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--k-hard), inset 0 2px 5px rgba(0, 0, 0, .08);
  color: var(--k-ink);
  font: 800 17px / 1 Nunito, sans-serif;
}
.field input::placeholder { color: #8a8498; font-weight: 700; }
.field input:focus-visible { outline: 3px solid #5a8f12; outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: #ff8a8a; }
.submit-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: none;
  min-height: 54px;
  padding: 0 26px;
  border: 5px solid var(--k-white);
  border-radius: 26px;
  background: var(--k-btn-gloss), #daee4d;
  transform: var(--k-tilt);
  box-shadow: var(--k-hard);
  color: var(--k-ink);
  font: 900 19px / 1 Nunito, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 110ms ease, filter 110ms ease;
}
.submit-button::before { display: none; }
.submit-button:hover { filter: brightness(1.04); transform: var(--k-tilt) translateY(-2px); }
.submit-button:active { transform: var(--k-tilt) translateY(1px); }
.submit-button:disabled { filter: grayscale(.4) brightness(.97); transform: var(--k-tilt); cursor: default; }
.submit-button:focus-visible { outline: 3px solid #5a8f12; outline-offset: 3px; }

.next-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-arrow { width: 22px; height: 22px; flex: none; }
.wl-final { display: flex; gap: 10px; }
.wl-final .submit-button { flex: 1; }
.back-button {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 3px solid var(--k-white);
  border-radius: 24px;
  background: #efeaf2;
  box-shadow: var(--k-hard);
  color: var(--k-ink);
  cursor: pointer;
  transition: transform 110ms ease, filter 110ms ease;
}
.back-button svg { width: 22px; height: 22px; }
.back-button:hover { filter: brightness(1.04); transform: translateY(-2px); }
.back-button:focus-visible { outline: 3px solid #5a8f12; outline-offset: 3px; }
.wl-platforms { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; justify-items: center; min-width: 0; }
.wl-platforms legend { display: grid; gap: 2px; width: 100%; padding: 0; margin: 0 0 4px; font-size: 15px; font-weight: 900; text-align: center; }
.wl-icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 10px; width: 100%; max-width: 460px; }
.wl-other { width: 100%; max-width: 460px; }
.wl-other[hidden] { display: none; }
.plat-toggle {
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-items: start;
  gap: 5px;
  min-width: 0;
  min-height: 74px;
  padding: 11px 5px 8px;
  border: 3px solid var(--k-white);
  border-radius: 16px;
  background: #efeaf2;
  box-shadow: var(--k-hard);
  color: var(--k-ink);
  cursor: pointer;
  opacity: .8;
  transition: transform 110ms ease, opacity 110ms ease;
}
.plat-name { font-size: 12px; font-weight: 800; line-height: 1.15; text-align: center; hyphens: manual; }
@media (max-width: 520px) { .plat-name { font-size: 11px; letter-spacing: -.01em; } .plat-toggle { padding-inline: 2px; } .wl-icons { gap: 14px 8px; } }
.plat-toggle img, .plat-toggle svg { width: 30px; height: 30px; padding: 2px; object-fit: contain; border-radius: 8px; background: #fff; }
.plat-toggle:hover { opacity: 1; transform: translateY(-2px); }
.plat-toggle[aria-pressed="true"] { opacity: 1; background: #dff3a8; box-shadow: var(--k-hard), 0 0 0 3px #6fae1f; }
/* One checkbox look for the platform tiles and for the agreement: round, white-rimmed, empty until chosen, lime with a tick when chosen. */
.plat-toggle::before {
  content: "";
  position: absolute;
  inset-block-start: -9px;
  inset-inline-end: -9px;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 3px solid #fff;
  border-radius: 9px;
  background: #2b2641 center / 72% no-repeat;
  box-shadow: 1px 2px 0 rgba(0, 0, 0, .35);
  transition: background-color 110ms ease;
}
.plat-toggle[aria-pressed="true"]::before { background-color: #daee4d; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 8' fill='none' stroke='%232a3a05' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plat-toggle:focus-visible { outline: 3px solid #5a8f12; outline-offset: 3px; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; color: var(--k-ink-2); font-size: 13px; font-weight: 700; line-height: 1.35; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; box-sizing: border-box; border: 3px solid #fff; border-radius: 10px; background: #2b2641 center / 72% no-repeat; box-shadow: 1px 2px 0 rgba(0, 0, 0, .35); cursor: pointer; transition: background-color 110ms ease; }
.consent input:checked { background-color: #daee4d; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 8' fill='none' stroke='%232a3a05' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.consent input:focus-visible { outline: 3px solid #daee4d; outline-offset: 3px; }
.consent a { color: var(--k-ink); text-underline-offset: 3px; white-space: nowrap; }
.wl-status { min-height: 1.35em; margin: -6px 0 0; color: var(--k-ink-2); font-size: 14px; font-weight: 800; line-height: 1.35; text-align: center; }
.wl-status.is-error { color: #b3261e; }
.waitlist-lead:focus { outline: none; }
.wl-done { margin: 0 auto; max-width: 34ch; padding: 4px 8px 10px; color: #e6e2f3; font-size: 17px; font-weight: 800; line-height: 1.45; text-align: center; text-wrap: balance; }
.waitlist.is-done .wl-badge { animation: wl-cheer 900ms cubic-bezier(.3, 1.6, .5, 1) 1; }
@keyframes wl-cheer { 0% { transform: scale(.7) rotate(-8deg); } 60% { transform: scale(1.12) rotate(4deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .waitlist.is-done .wl-badge { animation: none; } }
.waitlist.is-done .waitlist-form, .waitlist.is-done .waitlist-lead { display: none; }
@media (max-width: 520px) {
  .waitlist { padding: 20px 16px 16px; border-radius: 24px; }
  .waitlist-title { font-size: 22px; }
  .wl-row { flex-direction: column; }
  .wl-row .submit-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .submit-button, .plat-toggle, .back-button, .wl-dots li { transition: none; } }

@media (hover: hover) {
  .chip-button:not(:disabled):hover, .platform-button:not(:disabled):hover { filter: brightness(1.03); transform: translateY(-2px); }
}
.chip-button:not(:disabled):active, .platform-button:not(:disabled):active {
  filter: brightness(.98);
  transform: translateY(2px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.chip-button:focus-visible, .platform-button:focus-visible {
  outline: 3px solid var(--k-sky);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  body { align-content: start; padding: max(52px, calc(40px + env(safe-area-inset-top))) 16px max(24px, env(safe-area-inset-bottom)); }
  .landing { gap: 24px; }
  .actions { gap: 20px; }
  .action-group { gap: 12px; }
  .group-title { font-size: 18px; }
  .chip-row { gap: 8px; }
  .chip-button { min-height: 46px; gap: 7px; padding: 5px 12px; border-radius: 22px; font-size: 14px; }
  .chip-icon { width: 24px; height: 24px; }
  .platform-row { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .platform-button { min-width: 0; min-height: 60px; gap: 7px; padding: 6px 6px; border-radius: 22px; font-size: 16px; }
  .platform-icon { width: 26px; height: 26px; }
  .platform-button--web { font-size: 17px; }
  .creator { position: static; inset-inline-start: auto; margin-top: 2px; transform: none; }
}
/* Four platform chips stop fitting on one line below the landing's full width. */
@media (max-width: 879px) {
  .action-group[aria-labelledby="games-heading"] .chip-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-group[aria-labelledby="games-heading"] .chip-button { width: 100%; min-width: 0; }
}
@media (max-width: 480px) {
  .chip-button[data-placeholder="Telegram Mini App"] { font-size: 13px; }
}
@media (max-width: 460px) {
  .platform-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-button--web { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
}
@media (max-width: 320px) {
  .platform-row { grid-template-columns: minmax(0, 1fr); }
  .platform-button { width: 100%; }
}
/* Short or narrow viewports cannot hold a fixed signature without covering the last panel. */
@media (max-width: 900px), (max-height: 900px) {
  body { align-content: start; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  .creator { position: static; inset-inline-start: auto; margin-top: 18px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Black space with the game's own galaxies: the big checkpoint one turns, the eight small ones sway and breathe.
   Nothing is cut off: every sprite dissolves into transparency at its own edge and the whole layer fades at the screen edges. */
.galaxies {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  mask-composite: intersect;
}
.galaxy {
  position: absolute;
  inset-inline-start: var(--cx);
  inset-block-start: var(--cy);
  width: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  will-change: transform;
  animation: galaxy-morph var(--morph, 20s) ease-in-out infinite alternate;
}
.galaxy img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.galaxy.big { opacity: .9; }
.galaxy.big img, .galaxy.spin img { animation: galaxy-spin var(--spin, 160s) linear infinite; }
.galaxy.sway img { animation: galaxy-sway var(--sway, 12s) ease-in-out infinite alternate; }
@keyframes galaxy-spin { to { transform: rotate(360deg); } }
@keyframes galaxy-sway { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
@keyframes galaxy-morph {
  0% { transform: translate(-14px, 6px) scale(1.02, .94) skewX(-3deg); }
  50% { transform: translate(8px, -6px) scale(.97, 1.05) skewX(1deg); }
  100% { transform: translate(18px, 10px) scale(1.06, .98) skewX(3.5deg); }
}
@media (prefers-reduced-motion: reduce) { .galaxy, .galaxy img { animation: none; } }

/* The card head: the game's icon and its name, nothing more. */
.about-head { align-items: center; }
.about-title { margin: 0; font-size: 36px; font-weight: 900; line-height: 1.05; letter-spacing: -.01em; }

/* Language switcher (same on both sites): a cream pill in the top right with a list of languages in its own words. */
.lang-switch { position: fixed; z-index: 30; inset-block-start: max(12px, env(safe-area-inset-top)); inset-inline-end: max(12px, env(safe-area-inset-right)); }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px 0 10px;
  border: 3px solid #fff;
  border-radius: 21px;
  background: #fbf7e5;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .58);
  color: #000;
  font: 800 14px / 1 Nunito, sans-serif;
  cursor: pointer;
  transition: transform 110ms ease;
}
.lang-btn svg { width: 20px; height: 20px; flex: none; }
.lang-btn .lang-chevron { width: 14px; height: 14px; }
.lang-btn:hover { transform: translateY(-1px); }
.lang-btn:focus-visible, .lang-menu [role="option"]:focus-visible { outline: 3px solid #5a8f12; outline-offset: 2px; }
.lang-menu {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 190px;
  max-height: min(70vh, 440px);
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 4px solid #fff;
  border-radius: 22px;
  background: #fbf7e5;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .58), 0 14px 30px -10px rgba(0, 0, 0, .55);
}
.lang-menu [role="option"] {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #000;
  font: 800 15px / 1.1 Nunito, sans-serif;
  text-align: start;
  cursor: pointer;
}
.lang-menu [role="option"]:hover { background: #efeaf2; }
.lang-menu [role="option"][aria-selected="true"] { background: #dff3a8; }
@media (prefers-reduced-motion: reduce) { .lang-btn { transition: none; } }

/* Shining stars: a fine dust, coloured stars of different sizes that fade in and out, and four-pointed sparkles. */
.stars { position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.dust { position: absolute; left: 0; top: 0; width: 1px; height: 1px; background: transparent; }
.star {
  --c: 255, 255, 255;
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgb(var(--c));
  box-shadow: 0 0 6px 1px rgba(var(--c), .8), 0 0 14px 3px rgba(var(--c), .3);
  opacity: var(--lo, .3);
  animation: star-twinkle var(--tw, 4s) ease-in-out infinite;
}
.star.spark {
  border-radius: 0;
  background:
    radial-gradient(circle, rgb(var(--c)) 0 16%, rgba(var(--c), 0) 42%),
    linear-gradient(90deg, rgba(var(--c), 0), rgb(var(--c)) 50%, rgba(var(--c), 0)) center / 100% 1.6px no-repeat,
    linear-gradient(180deg, rgba(var(--c), 0), rgb(var(--c)) 50%, rgba(var(--c), 0)) center / 1.6px 100% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 0 4px rgba(var(--c), .95));
}
@keyframes star-twinkle {
  0%, 100% { opacity: var(--lo, .3); transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) { .star { animation: none; opacity: .7; } }

/* Nebulae from the game's own sky: the chapter filaments in their colours, large, blended into the dark and drifting slowly. */
.nebulae {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.neb {
  position: absolute;
  inset-inline-start: var(--x);
  inset-block-start: var(--y);
  width: var(--w);
  opacity: var(--op, .6);
  transform-origin: 50% 60%;
  animation: nebula-drift var(--dur, 30s) ease-in-out infinite alternate;
}
.neb img { display: block; width: 100%; height: auto; transform: scaleX(var(--flip, 1)); filter: saturate(1.5) brightness(1.25); }
@keyframes nebula-drift {
  0% { transform: translate(-24px, -7px) scale(1.05, 1.03) skewX(-1.8deg); }
  50% { transform: translate(4px, -2px) scale(1.08, 1.065) skewX(.2deg); }
  100% { transform: translate(26px, -10px) scale(1.05, 1.09) skewX(1.8deg); }
}
/* The Milky Way band: dust is denser along it, and a faint glow follows the same line. */
.milkyway {
  position: fixed;
  z-index: -1;
  left: -20vw;
  top: 46vh;
  width: 140vw;
  height: 34vh;
  margin-top: -17vh;
  transform: rotate(var(--tilt, -24deg));
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(150, 120, 255, .22), rgba(120, 170, 255, .1) 55%, transparent 100%);
  filter: blur(18px);
}
@media (prefers-reduced-motion: reduce) { .neb { animation: none; } }

/* The right column: the game description, and under it the signup for news. */
.side { display: grid; gap: 18px; min-width: 0; align-content: start; }
.side .waitlist { padding: 22px 20px 16px; }
.side .waitlist-title { font-size: 22px; }
.side .wl-row { flex-wrap: wrap; }
.side .wl-row .field { flex: 1 1 200px; }
.side .wl-row .submit-button { flex: 1 1 auto; }
@media (max-width: 860px) { .side { width: min(100%, 640px); justify-self: center; } }

/* "Coming soon to" sits right under the logo: the word, then the platforms as plain icons. */
.brand .soon-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 4px; padding: 0; border: 0; }
.brand .soon-label { color: #fff; font-size: 14px; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.brand .icon-row { justify-content: center; }

/* The "Coming soon" tag straddles the description card's top corner like a sticker. */
.about { position: relative; }
.about > .soon-badge { inset-block-start: -15px; inset-inline-end: 18px; inset-inline-start: auto; z-index: 2; transform: rotate(3deg); font-size: 14px; padding: 5px 13px; }

/* The signup's title carries a heart and a bell: "like it, and get a ring when it is out". */
.wl-badge { display: flex; justify-content: center; gap: 10px; margin-bottom: -4px; }
.wl-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .18), 0 0 0 2px rgba(75, 70, 88, .12); }
.wl-ic svg { width: 28px; height: 28px; }
.wl-heart { transform: rotate(-6deg); }
.wl-bell { transform: rotate(5deg); transform-origin: 50% 12%; animation: bell-ring 4.2s ease-in-out infinite; }
@keyframes bell-ring {
  0%, 62%, 100% { transform: rotate(5deg); }
  68% { transform: rotate(-16deg); } 74% { transform: rotate(14deg); } 80% { transform: rotate(-10deg); } 86% { transform: rotate(8deg); } 92% { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { .wl-bell { animation: none; } }
/* The step bullets close the form, under the status line. */
.wl-dots { margin-top: 2px; }

/* The game's icon stands at the head of the "coming soon to" row; the description card is text only. */
.brand .soon-line .game-icon { width: 84px; height: 84px; border: 3px solid var(--k-white); border-radius: 22px; background: #0b1a33; box-shadow: var(--k-hard), 0 6px 14px -6px rgba(0, 0, 0, .7); }
.about-title { font-size: 28px; }
.brand .soon-label { line-height: 1.25; text-align: center; }
.brand .soon-line { gap: 10px 16px; }

/* The cards sit a little lower than the top of the devices. */
@media (min-width: 861px) { .side { margin-top: 34px; } }

/* Roomier cards: more air between the rim and the content, and a little more between the blocks inside. */
.about { padding: 34px 34px 32px; gap: 16px; }
.waitlist { padding: 34px 32px 28px; gap: 16px; }
.side .waitlist { padding: 34px 32px 28px; }
.side { gap: 22px; }
.waitlist-form { gap: 20px; }
@media (max-width: 520px) {
  .about { padding: 28px 24px 26px; }
  .waitlist, .side .waitlist { padding: 28px 22px 24px; }
}

/* The platform icons stand in two rows, four above and three below, centred on each other, next to the game's icon. */
#soon-icons { width: calc(4 * 40px + 3 * 10px); flex: none; justify-content: center; gap: 10px; }

/* The step bullets no longer take a row: they are pinned to the card's lower corner, small. */
.waitlist { position: relative; }
.waitlist .wl-dots { position: absolute; inset-block-end: 14px; inset-inline-end: 22px; margin: 0; gap: 5px; z-index: 1; }
.waitlist .wl-dots li { width: 16px; height: 5px; }
/* The agreement stands at the bullets' level, under the buttons; the bullets keep their corner, so the text stops short of them. */
.wl-step[data-step="2"] .consent { padding-inline-end: 64px; margin-block-end: -2px; }

/* The "what it's about" card is set a little askew, like the tilted panels of the game. */
.about { transform: rotate(-.9deg); }
@media (max-width: 860px) { .about { transform: rotate(-.6deg); } }
@media (prefers-reduced-motion: reduce) { .about { transform: none; } }

/* "Read more": five lines of the story, fading out at the fifth, and a compact secondary button under it. */
.about-text { overflow: hidden; }
.about-text.is-clamped { -webkit-mask-image: linear-gradient(180deg, #000 74%, rgba(0, 0, 0, .45) 94%, rgba(0, 0, 0, .2) 100%); mask-image: linear-gradient(180deg, #000 74%, rgba(0, 0, 0, .45) 94%, rgba(0, 0, 0, .2) 100%); }
.more-text {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px 0 18px;
  border: 3px solid var(--k-white);
  border-radius: 21px;
  background: #efeaf2;
  box-shadow: var(--k-hard-soft, 1px 1px 0 rgba(0, 0, 0, .2));
  color: var(--k-ink);
  font: 800 15px / 1 Nunito, sans-serif;
  cursor: pointer;
  transition: transform 110ms ease, filter 110ms ease;
}
.more-text::before { position: absolute; z-index: -1; inset: 0; background: var(--k-gloss); content: ""; pointer-events: none; }
.more-text svg { width: 16px; height: 16px; flex: none; transition: transform 200ms ease; }
.more-text.is-open svg { transform: rotate(180deg); }
.more-text:hover { filter: brightness(1.04); transform: translateY(-1px); }
.more-text:focus-visible { outline: 3px solid #5a8f12; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .more-text, .more-text svg { transition: none; } }

/* A hand-drawn arrow over "Coming soon to" points at the platform icons; it draws itself once on load. */
.brand .soon-cap { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.brand .soon-arrow { flex: none; width: 56px; height: 35px; overflow: visible; transform: rotate(-3deg); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .55)); }
.brand .soon-arrow path { fill: none; stroke: #fff; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .brand .soon-arrow-line { animation: arrow-draw .7s .35s ease-out backwards; }
  .brand .soon-arrow-head { animation: arrow-draw .3s 1s ease-out backwards; }
  @keyframes arrow-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
/* Where the icons wrap under the label, the label comes first and the arrow under it turns to point down at them. */
@media (max-width: 560px) { .brand .soon-cap { flex-direction: column-reverse; } .brand .soon-arrow { width: 44px; height: 28px; transform: rotate(78deg); } }

/* The signup card is graphite with violet light, the same as the card on razelgames.com: a lilac glow at the top, a softer bloom in the lower corner.
   Fields, the lime button and the white chips stay as they were; only the text turns light. */
.waitlist, .side .waitlist {
  background:
    radial-gradient(72% 42% at 50% 8%, rgba(150, 128, 240, .62) 0%, rgba(150, 128, 240, 0) 100%),
    radial-gradient(58% 36% at 96% 100%, rgba(112, 82, 196, .5) 0%, rgba(112, 82, 196, 0) 100%),
    linear-gradient(180deg, #3d3c4d 0%, #2e2d3b 52%, #252432 100%);
  color: #fff;
}
.waitlist-title { text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.waitlist-lead, .consent, .wl-status { color: #d9d5ea; }
.consent a { color: #fff; }
.wl-status.is-error { color: #ffa8a2; }
.wl-ic { box-shadow: 0 1px 0 rgba(0, 0, 0, .45), 0 0 0 2px rgba(255, 255, 255, .22); }
.wl-dots li { background: rgba(255, 255, 255, .24); }
.wl-dots li.is-on { background: #daee4d; }
.waitlist .field input:focus-visible, .waitlist .submit-button:focus-visible, .waitlist .back-button:focus-visible,
.waitlist .plat-toggle:focus-visible { outline-color: #daee4d; }
.waitlist .plat-toggle[aria-pressed="true"] { box-shadow: var(--k-hard), 0 0 0 3px #daee4d; }

/* The devices as real 3D objects (devices3d.js). The flat CSS ones stay underneath and show if the 3D scene cannot start.
   The canvas reaches a little past the block on every side so a turned device is never cut. */
.devices-3d { position: absolute; z-index: 3; inset-inline-start: -6%; inset-block-start: -9.0909%; width: 112%; height: 118.1818%; background: center / 100% 100% no-repeat; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
html.is-over-device { cursor: zoom-in; }
.devices.is-3d .devices-3d { opacity: 1; }
.devices.is-3d .laptop, .devices.is-3d .phone { opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.devices.is-3d:has(.device-open:focus-visible) .devices-3d { outline: 3px solid #fff; outline-offset: -10px; border-radius: 28px; }

/* ---- Smooth loading -------------------------------------------------------------------------------------------------
   Pictures fade in once they have arrived, places that wait for media shimmer, and the blocks rise into place one after another.
   Everything here is added by script (`.js`) or is purely decorative, so the page is complete without it. */
@keyframes sk-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes fade-failsafe { to { opacity: 1; } }
@keyframes rise { from { opacity: 0; translate: 0 16px; } }
:root { --k-shimmer: linear-gradient(100deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0) 75%) 0 0 / 220% 100% no-repeat, #1b2040; }

.js img[data-fade] { opacity: 0; transition: opacity .55s ease; animation: fade-failsafe 0s 5s forwards; }
.js img[data-fade].is-loaded { opacity: 1; animation: none; }

.thumb { background: var(--k-shimmer); animation: sk-shimmer 1.5s linear infinite; }
.thumb:has(img.is-loaded) { animation: none; background: #0b1a33; }

/* The devices wait as shimmering silhouettes: no clip shows until the 3D scene (or the flat fallback) is ready. */
.devices video { transition: opacity .5s ease; }
.devices.is-loading .laptop-screen, .devices.is-loading .phone-screen { background: var(--k-shimmer); animation: sk-shimmer 1.5s linear infinite; }
.devices.is-loading video, .devices.is-loading .expand-hint { opacity: 0; }

/* The viewer holds the place of a picture or a clip with a shimmering card. */
.lb-stage { position: relative; }
.lb-stage.is-loading::before { content: ""; position: absolute; inset: 0; margin: auto; border: 3px solid var(--k-white); border-radius: 22px; background: var(--k-shimmer); animation: sk-shimmer 1.5s linear infinite; }
.lb-stage.is-loading--image::before { width: min(100%, calc((100svh - 104px) * 9 / 16)); aspect-ratio: 9 / 16; height: auto; }
.lb-stage.is-loading--video::before { width: min(100%, 1100px); aspect-ratio: 16 / 9; height: auto; }
.lb-image, .lb-video { transition: opacity .35s ease; }
.lb-stage.is-loading > .lb-image, .lb-stage.is-loading > .lb-video { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .brand { animation: rise .6s ease-out backwards; }
  .js .media-col { animation: rise .7s .12s ease-out backwards; }
  .js .about { animation: rise .7s .2s ease-out backwards; }
  .js .waitlist { animation: rise .7s .3s ease-out backwards; }
  .js .info-row { animation: rise .7s .4s ease-out backwards; }
}
@media (prefers-reduced-motion: reduce) {
  .js img[data-fade], .devices video, .lb-image, .lb-video { transition: none; }
  .thumb, .devices.is-loading .laptop-screen, .devices.is-loading .phone-screen, .lb-stage.is-loading::before { animation: none; }
}

/* "Coming soon" is a torn paper sticker, like the captions of the trailer and the game: a ragged yellow scrap stuck flat, with the
   game's one-pixel hard shadow and no volume (the shadow is a filter on the badge, because a clip-path would cut an ordinary box-shadow). */
.about > .soon-badge {
  position: absolute;
  padding: 9px 20px 10px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #2a2212;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow: none;
  filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, .58));
  isolation: isolate;
}
.about > .soon-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(170deg, #ffeb97, #ffdc6b);
  clip-path: polygon(0.0% 2.9%, 9.4% 1.4%, 18.3% 0.7%, 26.4% 3.3%, 35.4% 4.6%, 44.6% 3.9%, 54.4% 0.8%, 62.9% 7.4%, 73.0% 2.0%, 82.0% 8.5%, 91.9% 3.6%, 100.0% 0.4%, 96.6% 18.7%, 99.4% 37.7%, 98.8% 61.9%, 99.3% 80.5%, 100.0% 94.2%, 91.0% 96.6%, 80.9% 99.4%, 73.1% 98.1%, 63.3% 96.2%, 54.5% 94.7%, 46.0% 97.3%, 35.9% 93.7%, 27.3% 94.8%, 18.6% 92.1%, 10.1% 97.4%, 0.0% 98.9%, 1.7% 81.5%, 0.6% 59.9%, 0.2% 41.0%, 3.1% 20.4%);
}

/* Rounder corners on the two cards. */
.about, .waitlist, .side .waitlist { border-radius: 44px; }
@media (max-width: 520px) { .about, .waitlist, .side .waitlist { border-radius: 32px; } }

/* A darker graphite for the signup card (the violet light stays), and roomier padding in both cards. */
.waitlist, .side .waitlist {
  background:
    radial-gradient(72% 42% at 50% 8%, rgba(150, 128, 240, .62) 0%, rgba(150, 128, 240, 0) 100%),
    radial-gradient(58% 36% at 96% 100%, rgba(112, 82, 196, .5) 0%, rgba(112, 82, 196, 0) 100%),
    linear-gradient(180deg, #2c2b3a 0%, #212030 52%, #181722 100%);
}
.about { padding: 48px 48px 44px; gap: 18px; }
.waitlist, .side .waitlist { padding: 48px 46px 42px; gap: 18px; }
.waitlist .wl-dots { inset-block-end: 22px; inset-inline-end: 34px; }
@media (max-width: 520px) {
  .about { padding: 36px 28px 32px; }
  .waitlist, .side .waitlist { padding: 36px 26px 32px; }
  .waitlist .wl-dots { inset-block-end: 16px; inset-inline-end: 26px; }
}

/* Under and behind the 3D devices there are only two soft dark spots, drawn in CSS so nothing can be cut off: one behind the phone,
   one, wide and flat, a little below the pair. They are allowed to fall on the row of screenshots. */
.devices::before, .devices::after { content: ""; position: absolute; pointer-events: none; opacity: 0; transition: opacity .5s ease; }
.devices::before { z-index: 1; inset-inline-end: -18%; inset-block-start: 8%; width: 66%; height: 110%; background: radial-gradient(closest-side, rgba(0, 0, 6, .95), rgba(0, 0, 6, .7) 45%, rgba(0, 0, 6, .3) 75%, rgba(0, 0, 6, 0)); }
.devices::after { z-index: 1; inset-inline-start: -10%; inset-inline-end: -10%; inset-block-end: -2%; height: 34%; background: radial-gradient(closest-side, rgba(0, 0, 6, .95), rgba(0, 0, 6, .68) 50%, rgba(0, 0, 6, .28) 78%, rgba(0, 0, 6, 0)); }
.devices.is-3d::before, .devices.is-3d::after { opacity: 1; }

/* The screenshots lie a little askew, each with its own slight tilt and lift. */
.thumb { --rot: 0deg; --dy: 0px; transform: translateY(var(--dy)) rotate(var(--rot)); }
.thumb:nth-child(1) { --rot: -1.8deg; --dy: 1px; }
.thumb:nth-child(2) { --rot: 1.3deg; --dy: -3px; }
.thumb:nth-child(3) { --rot: -0.8deg; --dy: 3px; }
.thumb:nth-child(4) { --rot: 1.9deg; --dy: -2px; }
.thumb:nth-child(5) { --rot: -1.4deg; --dy: 3px; }
.thumb:nth-child(6) { --rot: 0.9deg; --dy: -3px; }
.thumb:nth-child(7) { --rot: -1.7deg; --dy: 2px; }
.thumb:hover { transform: translateY(calc(var(--dy) - 3px)) rotate(var(--rot)); }
@media (prefers-reduced-motion: reduce) { .thumb { transition: none; } }

/* The footer is the game's water: it spans the page, and the community, contact and studio blocks float on it. */
body { padding-bottom: 0; }
.water-footer {
  position: relative;
  isolation: isolate;
  justify-self: stretch;
  width: auto;
  margin: 72px -24px 0;
  padding: 104px 24px max(48px, calc(32px + env(safe-area-inset-bottom)));
  /* Until the canvas has drawn the moving water, the same colours stand in as a flat sea. */
  background: linear-gradient(180deg, transparent 0, transparent 58px, rgba(0, 155, 185, .98) 62px, rgba(0, 84, 134, .99) 32%, rgba(0, 40, 86, 1) 62%, rgba(0, 16, 44, 1) 86%, rgba(0, 6, 22, 1) 100%);
}
.water-footer.has-water { background: none; }
/* The sea is part of the page: an element as tall as the page, carried by the browser's own scrolling. Its top (--sea-top, set by water.js) is the surface
   in page coordinates; the body of the water starts under the strip of waves that the script draws around the surface. */
.sea { --sea-top: 99999px; position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: layout paint; }
.sea-strip { position: absolute; left: 0; top: calc(var(--sea-top) - 56px); width: 100%; height: 170px; display: block; }
.sea-body {
  position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--sea-top) + 114px); overflow: hidden;
  /* the game's five depth stops, spread from just above the surface to the foot of the page (--sea-g, set by water.js); the body starts 124px
     below the first stop, where the strip of waves ends */
  background: linear-gradient(180deg, rgba(0, 155, 185, .98) calc(var(--sea-g, 1500px) * 0 - 124px), rgba(0, 84, 134, .99) calc(var(--sea-g, 1500px) * .25 - 124px), rgba(0, 40, 86, 1) calc(var(--sea-g, 1500px) * .5 - 124px), rgba(0, 16, 44, 1) calc(var(--sea-g, 1500px) * .75 - 124px), rgba(0, 6, 22, 1) calc(var(--sea-g, 1500px) - 124px));
}
/* slow patches of underwater light */
/* the patches fade in below the surface, so there is no seam where the body meets the strip of waves */
.sea-body::before, .sea-body::after { content: ""; position: absolute; inset: 0 -10%; mix-blend-mode: screen; will-change: transform; -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 40px, #000 320px); mask-image: linear-gradient(180deg, transparent 0, transparent 40px, #000 320px); }
.sea-body::before { opacity: .5; background: radial-gradient(560px 360px at 28% 14%, rgba(110, 210, 235, .2), transparent 70%), radial-gradient(520px 340px at 74% 46%, rgba(110, 210, 235, .15), transparent 70%), radial-gradient(600px 380px at 38% 82%, rgba(110, 210, 235, .12), transparent 70%); animation: sea-drift 46s ease-in-out infinite alternate; }
.sea-body::after { opacity: .4; background: radial-gradient(500px 330px at 64% 10%, rgba(110, 210, 235, .16), transparent 70%), radial-gradient(540px 350px at 20% 60%, rgba(110, 210, 235, .13), transparent 70%); animation: sea-drift 63s ease-in-out infinite alternate-reverse; }
@keyframes sea-drift { from { transform: translate3d(-4%, -1.5%, 0); } to { transform: translate3d(5%, 2%, 0); } }
/* bubbles: each rises at its own steady pace (set per bubble), from the foot of the water; the body clips them at the surface */
.bubble { position: absolute; bottom: -24px; box-sizing: border-box; border: 1px solid rgba(225, 245, 255, .85); border-radius: 50%; background: rgba(176, 220, 255, .26); opacity: 0; animation: sea-rise linear infinite; will-change: transform; }
.bubble.big::after { content: ""; position: absolute; left: 22%; top: 16%; width: 26%; height: 26%; border-radius: 50%; background: rgba(255, 255, 255, .9); }
@keyframes sea-rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 2% { opacity: .55; } 100% { transform: translate3d(0, -3600px, 0); opacity: .55; } }
.sea.is-still .bubble { display: none; }
.sea.is-still .sea-body::before, .sea.is-still .sea-body::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .bubble { display: none; } .sea-body::before, .sea-body::after { animation: none; } }
/* Pulled past the page's end, the fixed sky would show under the sea. At the end of the page (html.at-end, set by water.js) a strip of the water's
   deepest colour stands at the screen's lower edge, under the opaque water: it shows only in the gap that opens below the page. */
.water-reserve { position: fixed; inset-inline: 0; bottom: 0; height: var(--reserve-h, 160px); z-index: -1; background: #000616; opacity: 0; pointer-events: none; }
html.at-end .water-reserve { opacity: 1; }
/* The same at the top of the page once the water has flooded all of it (html.flooded-top): the ceiling continues the water above the page. */
.water-ceiling { position: fixed; inset-inline: 0; top: 0; height: 320px; z-index: -1; background: linear-gradient(180deg, var(--ceiling-top, #00a0bd), var(--ceiling-bottom, #00689a)); opacity: 0; pointer-events: none; }
html.flooded-top.at-top .water-ceiling { opacity: 1; }
/* Once the whole page is under water the fixed sky cannot be seen, but it can flash through while the browser repaints the huge sea layer after the tab
   comes back; it is hidden then, so a half-drawn sea shows the colour of the water, not the cosmos. */
html.flooded-top .nebulae, html.flooded-top .milkyway, html.flooded-top .stars, html.flooded-top .galaxies { visibility: hidden; }
.water-footer .info-row { max-width: 1100px; margin-inline: auto; }
@media (max-width: 600px) { .water-footer { padding-inline: 16px; margin: 56px -16px 0; } }
/* On a phone the address row stacks, so the field must not keep its 200px "basis" as a height. */
@media (max-width: 520px) { .side .wl-row .field, .side .wl-row .submit-button { flex: 0 0 auto; } }

/* The page rubber-bands past its end on a Mac or a phone, and what shows there is the root's colour: the water's deepest end, so the sea
   carries on instead of tearing away from the edge. (The water itself is fixed to the screen, so at the page's end it fills the gap too.) */
html { background-color: #000616; }

/* The still picture of the 3D devices (a render of the live scene at rest, media/devices-still-*.webp) stands in while the scene loads:
   the same box as the canvas, so the live scene fades in over it without a jump. The flat devices wait hidden unless the 3D scene cannot start. */
.devices-still { position: absolute; z-index: 2; inset-inline-start: -6%; inset-block-start: -9.0909%; width: 112%; height: 118.1818%; opacity: 0; transition: opacity .35s ease; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.devices.has-still:not(.is-3d):not(.is-flat) .devices-still { opacity: 1; }
.devices.has-still:not(.is-3d):not(.is-flat) { cursor: zoom-in; }
.devices.has-still:not(.is-3d):not(.is-flat)::before, .devices.has-still:not(.is-3d):not(.is-flat)::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .devices-still { transition: none; } }
/* The flat devices are never seen, loading or not, unless the 3D scene cannot start (.is-flat): invisible, but still there for the keyboard. No fade either:
   they used to flash at full strength for a third of a second when the 3D scene arrived. */
.devices:not(.is-flat) .laptop, .devices:not(.is-flat) .phone { opacity: 0; pointer-events: none; transition: none; }

/* ---- Share: one line and one button at the top of the footer, and a small button by the language switch ----------------------------- */
.share { display: grid; justify-items: center; gap: 30px; width: 100%; margin: 0 auto 44px; padding: 0 16px; text-align: center; }
.share-line { margin: 0; max-width: 40ch; color: #fff; font: 900 clamp(22px, 3vw, 28px) / 1.25 Nunito, system-ui, sans-serif; letter-spacing: -.005em; transform: rotate(-.7deg); text-shadow: 0 2px 8px rgba(0, 12, 40, .6); }
.share-line { text-wrap: balance; }
/* the game's name: the same font and size as the line above it, only in the two colours of the logo */
.share-game { margin: 0; font: inherit; letter-spacing: inherit; line-height: inherit; }
.share-game .g, .share-game .o { display: inline; }
.share-game .g { color: #9bd91a; } .share-game .o { color: #ff9b17; }
.share-native { --k-tilt: rotate(.7deg); display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px; width: auto; min-width: 220px; padding-inline: 28px; white-space: nowrap; }
.share-ic { display: block; width: auto; height: 30px; flex: none; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .25)); }
.share-top .share-ic { height: 24px; }
.share-native.is-done { background: var(--k-btn-gloss), #fff; }
.share-native:focus-visible, .share-top:focus-visible { outline: 3px solid #daee4d; outline-offset: 3px; }
/* a short note under the small button when the link has been copied */
.share-toast { position: fixed; z-index: 31; inset-block-start: calc(max(12px, env(safe-area-inset-top)) + 54px); inset-inline-end: max(12px, env(safe-area-inset-right)); padding: 8px 14px; border: 3px solid #fff; border-radius: 16px; background: #dff3a8; color: #1d1a27; font: 900 14px / 1.1 Nunito, sans-serif; box-shadow: 1px 2px 0 rgba(0, 0, 0, .55); }
.share-toast[hidden] { display: none; }
/* the small button by the language switch: a cream round button, the same hand as the language button */
.lang-switch { display: flex; align-items: flex-start; gap: 8px; }
.share-top {
  flex: none; display: inline-grid; place-items: center; width: 42px; min-height: 42px; padding: 0; border: 3px solid #fff; border-radius: 21px; background: #fbf7e5; color: #000;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .58); cursor: pointer; transition: transform 110ms ease;
}
.share-top:hover { transform: translateY(-1px); }

.icon-row--community a { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; }
.icon-row--community a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
