/* Egg Heists — the game's look on the web: the lawn, the rays, chunky inked
   buttons and outlined display type (GameStyle in the game). */

@font-face {
  font-family: "Nunito";
  src: url("/assets/nunito.71cdd2682e.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --ink: #331f12;
  --ink-soft: #4a3020;
  --lawn: #78b54d;
  --meadow: #4a8536;
  --deep: #2f5a1f;
  --night: #1d3a12;
  --shell: #fff5de;
  --shell-shade: #dec49e;
  --straw: #deb361;
  --gold: #ffcc33;
  --gold-hi: #ffe159;
  --gold-lo: #ff991f;
  --blue: #2e8cff;
  --red: #fa5254;
  --yellow: #ffc229;
  --card: #fffaf0;
  --text: #2a1a0f;
  --muted: #6b5847;
  --radius: 22px;
  --shadow: 0 6px 0 rgba(51, 31, 18, .9);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --gutter: max(16px, env(safe-area-inset-left));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  color: var(--text);
  background: var(--deep) url("/img/meadow.jpg") repeat;
  background-size: 320px 320px;
  line-height: 1.5;
  overflow-x: hidden;
}
body.lang-ja, body.lang-ko { font-family: var(--font), var(--font-cjk); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 12px; border: 3px solid var(--ink); font-weight: 900; }
.skip:focus { top: 12px; }
:focus-visible { outline: 4px solid var(--gold); outline-offset: 3px; border-radius: 10px; }

/* MARK: Header */

.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: 10px var(--gutter);
  padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(29, 58, 18, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 3px solid rgba(51, 31, 18, .55);
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 12px; font-weight: 800; opacity: .92; }
.nav a:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.langs { position: relative; }
.langs summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 12px; font-weight: 800;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover { background: rgba(255, 255, 255, .12); }
.langs svg { width: 20px; height: 20px; }
.langs ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px;
  background: var(--card); color: var(--text); border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: var(--shadow); padding: 6px; z-index: 60;
}
.langs li a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; }
.langs li a:hover { background: #f3e6cc; }
.langs li a[aria-current] { background: var(--gold); }

/* MARK: Buttons */

.btn {
  --bg: #fff; --bg2: #f1e3c6;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 26px;
  background: linear-gradient(var(--bg), var(--bg2));
  color: var(--ink); text-decoration: none; font-weight: 900; font-size: 19px;
  border: 3px solid var(--ink); border-radius: 18px;
  box-shadow: 0 6px 0 var(--ink), inset 0 3px 0 rgba(255, 255, 255, .55);
  transition: transform .08s ease, box-shadow .08s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink), inset 0 3px 0 rgba(255, 255, 255, .55); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink), inset 0 3px 0 rgba(255, 255, 255, .4); }
.btn-gold { --bg: var(--gold-hi); --bg2: var(--gold-lo); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 16px; border-radius: 13px; box-shadow: 0 4px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .55); }
.btn-sm:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.play-ico { font-size: .8em; }

.store {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 0 22px 0 16px;
  background: #000; color: #fff; text-decoration: none;
  border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .08s ease, box-shadow .08s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.store:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink); }
.store svg { width: 30px; height: 30px; flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-text small { font-size: 12px; font-weight: 600; letter-spacing: .01em; font-family: -apple-system, system-ui, sans-serif; }
.store-text b { font-size: 23px; font-weight: 600; letter-spacing: -.02em; font-family: -apple-system, system-ui, sans-serif; }
.store .soon {
  position: absolute; top: -22px; right: -12px;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; border: 2.5px solid var(--ink); transform: rotate(6deg);
  white-space: nowrap;
}

/* MARK: Logo (the game's outlined, gradient display type) */

.logo { display: inline-flex; gap: .22em; font-weight: 1000; font-size: clamp(50px, min(12.4vw, 13vh), 124px); line-height: 1; letter-spacing: .005em; transform: rotate(-2deg); }
.logo .w { position: relative; isolation: isolate; color: var(--ink); -webkit-text-stroke: .124em var(--ink); padding: 0 .04em; }
.logo .w::before, .logo .w::after { content: attr(data-t); position: absolute; inset: 0; padding: inherit; }
/* The colored drop under the ink outline. */
.logo .w::before { z-index: -1; color: var(--blue); -webkit-text-stroke: .124em var(--blue); transform: translateY(.09em); }
/* The gradient letters over the outline. */
.logo .w::after { -webkit-text-stroke: 0; color: transparent; background-image: var(--fill); -webkit-background-clip: text; background-clip: text; }
.logo .egg { --fill: linear-gradient(#fff 22%, var(--shell) 55%, var(--shell-shade) 92%); }
.logo .heists { --fill: linear-gradient(var(--gold-hi) 22%, #ffbd3d 55%, var(--gold-lo) 92%); }

/* MARK: Sections */

.sec { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.sec-in { position: relative; z-index: 2; width: min(1160px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.sec-in.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }
.title {
  font-weight: 1000; font-size: clamp(32px, 5.4vw, 56px); letter-spacing: -.015em; color: #fff;
  text-shadow: 0 3px 0 var(--ink), 0 -2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 2px 3px 0 var(--ink), -2px 3px 0 var(--ink), 0 7px 0 rgba(0, 0, 0, .25);
  margin-bottom: 14px;
}
.title.sm { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 14px; }
.title.xl { font-size: clamp(48px, 8vw, 88px); }
.sub { font-size: clamp(17px, 2vw, 21px); color: #f4ffe9; max-width: 720px; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.center .sub, .sub.center { margin: 0 auto; }
.note { color: #e1f2d2; font-size: 15px; margin-top: 12px; }
.note.center { text-align: center; margin-top: 26px; }
.muted { color: var(--muted); }

/* MARK: Hero */

.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 980px);
  display: grid; place-items: center;
  background: #6aa944 url("/img/lawn.jpg") repeat;
  background-size: 320px 320px;
  padding: 30px 0 clamp(150px, 19vw, 210px);
}
.hero::after, .final::after, .hero-page::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 236, 160, .5), transparent 55%), radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(20, 40, 10, .45));
}
.rays {
  position: absolute; left: 50%; top: 40%; width: 260vmax; height: 260vmax; z-index: 1; pointer-events: none;
  margin: -130vmax 0 0 -130vmax;
  background: repeating-conic-gradient(rgba(255, 247, 217, .2) 0deg 8.18deg, transparent 8.18deg 16.36deg);
  -webkit-mask: radial-gradient(circle, #000 6%, transparent 32%);
  mask: radial-gradient(circle, #000 6%, transparent 32%);
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-in { position: relative; z-index: 3; text-align: center; width: min(980px, 100% - 2 * var(--gutter)); display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin-top: -6px; }
.tagline {
  margin-top: 18px; display: inline-block;
  background: var(--ink); color: #fff1d6; font-weight: 900; font-size: clamp(18px, 2.6vw, 26px);
  padding: 6px 22px; border-radius: 999px; transform: rotate(-1deg);
}
.hero .lead { margin-top: 16px; max-width: 640px; color: #fff; font-size: clamp(17px, 2.1vw, 21px); text-shadow: 0 2px 0 rgba(30, 50, 15, .6); }
.ctas { display: flex; flex-wrap: wrap; gap: 18px 16px; justify-content: center; margin-top: 30px; }
.ctas.left { justify-content: flex-start; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.facts li { background: rgba(29, 58, 18, .7); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 15px; border: 2px solid rgba(51, 31, 18, .6); }

/* The nest with its eggs, and the fox on a rope that comes for the middle one. */
.nest-wrap { position: relative; width: clamp(220px, min(32vw, 36vh), 340px); aspect-ratio: 2.5 / 1.4; margin-bottom: 4px; }
/* As in the game: the round nest seen tilted (squashed to 5:1), the eggs in it,
   and its front rim drawn again over their bottoms. */
.nest-wrap .nest, .nest-wrap .rim { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 5 / 1; object-fit: fill; }
.nest-wrap .rim { z-index: 2; clip-path: inset(62% 0 0 0); }
.nest-wrap .egg { position: absolute; width: 16.8%; bottom: 7.3%; transform-origin: bottom center; animation: bob 2.2s ease-in-out infinite; z-index: 1; }
.egg.e0 { left: 17.6%; rotate: -16deg; animation-delay: 0s; }
.egg.e1 { left: 41.6%; bottom: 11.6%; animation-name: bob, stolen; animation-duration: 2.2s, 9s; animation-delay: .22s, 0s; }
.egg.e2 { left: 65.6%; rotate: 16deg; animation-delay: .44s; }
@keyframes bob { 0%, 77% { translate: 0 0; } 88% { translate: 0 -14%; } 100% { translate: 0 0; } }
@keyframes stolen { 0%, 31% { opacity: 1; } 31.5%, 52% { opacity: 0; } 58%, 100% { opacity: 1; } }
.thief { position: absolute; left: 50%; bottom: 30%; width: 40%; translate: -50% 0; animation: rope 9s cubic-bezier(.4, 0, .2, 1) infinite; z-index: 2; }
.thief .fox { width: 100%; height: auto; rotate: 180deg; }
.thief .rope { position: absolute; left: 50%; bottom: 96%; width: 5px; height: 120vh; margin-left: -2.5px; background: #8c6133; border: 1px solid var(--ink); border-bottom: 0; }
.thief .loot { position: absolute; width: 40%; left: 30%; bottom: -12%; opacity: 0; animation: loot 9s linear infinite; }
@keyframes rope {
  0%, 16% { transform: translateY(-140vh); }
  26% { transform: translateY(4%); }
  29% { transform: translateY(-3%); }
  33% { transform: translateY(0); }
  44% { transform: translateY(0); }
  56%, 100% { transform: translateY(-140vh); }
}
@keyframes loot { 0%, 31% { opacity: 0; } 31.5%, 100% { opacity: 1; } }

/* The heroes popping up from the bottom and leaning in from the sides (as in the game's opening). */
.peekers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.peek { position: absolute; width: clamp(110px, 15vw, 190px); }
.peek .fig { display: block; }
.peek-b { bottom: 0; left: var(--at); translate: -50% 34%; animation: popb .7s calc(.6s + var(--i) * .07s) cubic-bezier(.3, 1.7, .5, 1) both; }
.peek-l { left: 0; top: var(--at); transform-origin: 50% 100%; rotate: 58deg; translate: -64% -50%; animation: popl .8s calc(.6s + var(--i) * .07s) cubic-bezier(.3, 1.6, .5, 1) both; width: clamp(96px, 12.5vw, 160px); }
.peek-r { right: 0; top: var(--at); transform-origin: 50% 100%; rotate: -58deg; translate: 64% -50%; animation: popr .8s calc(.6s + var(--i) * .07s) cubic-bezier(.3, 1.6, .5, 1) both; width: clamp(96px, 12.5vw, 160px); }
@keyframes popb { from { translate: -50% 110%; } }
@keyframes popl { from { translate: -130% -50%; } }
@keyframes popr { from { translate: 130% -50%; } }
.peek .fig img { animation: idle 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); transform-origin: bottom center; }
@keyframes idle { 50% { transform: translateY(-3%) scaleY(1.015); } }

.fig { position: relative; display: block; }
.fig img { width: 100%; height: auto; }
.fig .blink { position: absolute; inset: 0; opacity: 0; }
.fig.blinking .blink { opacity: 1; }

/* MARK: Play */

.play { background: linear-gradient(#2f5a1f, #264b19); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split .copy .sub { margin-top: 6px; }
.phone {
  position: relative; width: min(360px, 100%); margin: 0 auto;
  aspect-ratio: 390 / 844; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #3a2618, #1d120a);
  border: 3px solid var(--ink);
  box-shadow: 0 10px 0 var(--ink), 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 30%; height: 22px; translate: -50% 0; background: #000; border-radius: 999px; z-index: 3; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #2f5a1f url("/img/video-poster.webp") center / cover; }
.phone .screen > img, .phone .screen > video, .phone .screen > iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.phone.sm { width: 100%; border-radius: 34px; padding: 8px; box-shadow: 0 7px 0 var(--ink), 0 18px 40px rgba(0, 0, 0, .3); }
.phone.sm::before { top: 15px; height: 14px; }
.phone.sm .screen { border-radius: 27px; }
.phone.xl { width: min(420px, 100%); margin: 30px auto 10px; }
.tap {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(circle, rgba(0, 0, 0, .1), rgba(0, 0, 0, .5)); border: 0; cursor: pointer; color: #fff; font-weight: 900; font-size: 20px;
  text-shadow: 0 2px 0 var(--ink);
}
.tap-ico {
  width: 92px; height: 92px; display: grid; place-items: center; font-size: 36px; padding-left: 6px;
  background: linear-gradient(var(--gold-hi), var(--gold-lo)); color: var(--ink); text-shadow: none;
  border: 4px solid var(--ink); border-radius: 50%; box-shadow: 0 6px 0 var(--ink);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.08); } }
.phone.live .tap, .phone.live .clip { display: none; }

/* MARK: How */

.how { background: url("/img/lawn.jpg") repeat; background-size: 320px 320px; }
.how::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(38, 75, 25, .55), rgba(38, 75, 25, .2)); }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.rule {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 10px 14px; align-content: start; align-items: center;
  background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px;
}
.rule-ico { width: 56px; height: 56px; display: grid; place-items: center; font-size: 28px; background: var(--c); border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 3px 0 var(--ink); }
.rule-n { position: absolute; left: 56px; top: 12px; width: 26px; height: 26px; display: grid; place-items: center; background: #fff; border: 2.5px solid var(--ink); border-radius: 50%; font-size: 13px; font-weight: 900; }
.rule h3 { font-size: 19px; font-weight: 900; }
.rule p { grid-column: 1 / -1; color: var(--muted); font-size: 15.5px; }
.rules > li:not(.rule) { display: flex; }
.rule.try { flex: 1; background: linear-gradient(var(--gold-hi), var(--gold-lo)); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; transition: transform .12s; }
.rule.try:hover { transform: translateY(-3px) rotate(-.5deg); }
.rule.try .tap-ico { width: 72px; height: 72px; font-size: 28px; background: #fff; }
.rule.try h3 { font-size: 21px; font-weight: 1000; }

/* MARK: Heroes */

.heroes { background: linear-gradient(#264b19, #1d3a12); }
.hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.card { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s ease; }
.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-art {
  position: relative; display: grid; place-items: end center; height: 210px; overflow: hidden;
  background: radial-gradient(circle at 50% 80%, color-mix(in srgb, var(--tint) 55%, #fff), var(--tint));
  border-bottom: 3px solid var(--ink);
}
.card-art::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 85%, rgba(255, 255, 255, .16) 0 10deg, transparent 10deg 20deg); }
.card-art .fig { width: 150px; translate: 0 18px; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.card:hover .card-art .fig { transform: translateY(-10px) scale(1.04); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 26px; font-weight: 1000; }
.card-body p { color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: 12.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; }
.chip.role { background: #2d2a22; color: #ffd75a; border-color: #2d2a22; }
.chip.elite { background: #7b4dff; color: #fff; }
.chip.elite::before { content: "♛ "; }
.chip.free { background: #59bf59; color: #fff; }
.chip.kind { text-transform: none; letter-spacing: 0; background: #e9f9ff; }
.moves { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.moves li { display: flex; align-items: center; gap: 6px; background: #f3e6cc; border-radius: 12px; padding: 4px 10px 4px 4px; font-size: 14px; font-weight: 800; }
.moves .mi { width: 30px; height: 30px; }
.more { font-weight: 900; color: #c4610f; }

/* MARK: Modes, ranked */

.modes { background: url("/img/dirt.jpg") repeat; background-size: 320px 320px; }
.modes::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(70, 45, 20, .35), rgba(70, 45, 20, .15)); }
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 30px; }
.mode { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.mode-ico { display: grid; place-items: center; width: 60px; height: 60px; font-size: 30px; border-radius: 18px; border: 3px solid var(--ink); background: linear-gradient(var(--gold-hi), var(--gold-lo)); box-shadow: 0 4px 0 var(--ink); margin-bottom: 14px; }
.mode h3 { font-size: 22px; font-weight: 1000; margin-bottom: 6px; }
.mode p { color: var(--muted); }
.ranked { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; margin-top: 40px; background: rgba(29, 20, 10, .62); border: 3px solid var(--ink); border-radius: 28px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tiers li { display: flex; flex-direction: column; align-items: center; gap: 4px; background: rgba(255, 255, 255, .07); border: 2px solid rgba(255, 255, 255, .15); border-radius: 18px; padding: 14px 8px; color: #fff; text-align: center; }
.tiers b { font-size: 17px; font-weight: 900; }
.tiers small { color: #d9ccb8; font-weight: 700; }
.tier-gem { width: 46px; height: 46px; background: linear-gradient(145deg, color-mix(in srgb, var(--tc) 55%, #fff), var(--tc) 60%, color-mix(in srgb, var(--tc) 70%, #000)); border: 3px solid var(--ink); border-radius: 12px; rotate: 45deg; margin: 6px 0 8px; box-shadow: 0 3px 0 var(--ink); }

/* MARK: Gadgets */

.gadgets { background: linear-gradient(#1d3a12, #264b19); }
.gadget-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 30px; }
.gadget-grid > li { flex: 1 1 300px; max-width: 376px; }
.gadget { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.gadget .gi { width: 64px; height: 64px; flex: none; border-radius: 18px; border: 3px solid var(--ink); background: #21b8e6; padding: 6px; }
.gadget.pas .gi { background: #8c63f2; }
.gadget h3 { font-size: 20px; font-weight: 1000; margin-bottom: 4px; }
.gadget p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* MARK: Screens */

.screens { background: url("/img/lawn.jpg") repeat; background-size: 320px 320px; }
.screens::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(38, 75, 25, .5), rgba(38, 75, 25, .25)); }
.shots {
  position: relative; z-index: 2; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 23vw, 250px); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px max(var(--gutter), calc(50vw - 580px)) 26px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.shots li { scroll-snap-align: center; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 18px; text-align: center; color: #fff; font-weight: 900; font-size: 17px; text-shadow: 0 2px 0 var(--ink); }

/* MARK: FAQ */

.faq { background: linear-gradient(#264b19, #1d3a12); }
.qa { background: var(--card); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink); margin-top: 14px; }
.qa summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); border: 2.5px solid var(--ink); font-weight: 1000; font-size: 20px; line-height: 1; }
.qa[open] summary::after { content: "–"; }
.qa h3 { font-size: 18px; font-weight: 900; }
.qa p { padding: 0 20px 20px; color: var(--muted); }

/* MARK: Final */

.final { overflow: hidden; background: #6aa944 url("/img/lawn.jpg") repeat; background-size: 320px 320px; padding-bottom: clamp(150px, 20vw, 220px); }
.final .rays { top: 30%; }
.final .logo { font-size: clamp(48px, 10vw, 104px); margin-bottom: 22px; }
.final .title { margin-top: 6px; }
.lineup { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: center; pointer-events: none; }
.lineup .lu { width: clamp(80px, 11vw, 150px); margin: 0 -1.2%; translate: 0 34%; }
.lineup .lu:nth-child(even) { translate: 0 42%; }

/* MARK: Hero pages */

.hero-page { position: relative; overflow: hidden; background: #6aa944 url("/img/lawn.jpg") repeat; background-size: 320px 320px; padding: 30px 0 60px; }
.hero-page .rays { top: 46%; left: 30%; }
.crumbs { color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 20px; text-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.crumbs a { color: #fff; }
.hp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 5vw, 60px); align-items: center; }
.hp-art { display: flex; flex-direction: column; align-items: center; }
.stage { position: relative; width: min(380px, 80vw); aspect-ratio: 1 / 1.15; display: grid; place-items: end center; }
.stage .ring { position: absolute; bottom: 0; width: 80%; opacity: .95; transform: scaleY(.45); transform-origin: bottom; }
.stage .team { position: absolute; bottom: 7%; width: 72%; display: none; animation: idle 2.6s ease-in-out infinite; transform-origin: bottom; }
.stage .team.on { display: block; }
.swatches { display: flex; gap: 12px; margin-top: 16px; }
.sw { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); cursor: pointer; }
.sw[aria-pressed="true"] { outline: 4px solid #fff; outline-offset: 2px; }
.hp-copy .title { margin-bottom: 10px; }
.hp-copy .sub { margin-top: 14px; color: #fff; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.stats li { padding: 5px 12px; border-radius: 999px; font-weight: 900; font-size: 15px; border: 2px solid var(--ink); }
.stats .good { background: #c9f7b5; }
.stats .bad { background: #ffd1cc; }
.hp-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { background: rgba(255, 250, 240, .97); border: 3px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); }
.panel .title.sm { color: var(--ink); text-shadow: none; margin-top: 8px; }
.panel .title.sm:not(:first-child) { margin-top: 26px; }
.move-list { display: flex; flex-direction: column; gap: 14px; }
.move { display: flex; gap: 14px; align-items: flex-start; }
.mi-lg { width: 56px; height: 56px; flex: none; border-radius: 16px; background: #f3e6cc; border: 2.5px solid var(--ink); padding: 4px; }
.move h3, .treat h3 { font-size: 19px; font-weight: 1000; margin-bottom: 3px; }
.move p, .treat p { color: var(--muted); font-size: 15.5px; }
.treat { display: flex; gap: 14px; }
.treat-ico { font-size: 34px; width: 60px; height: 60px; flex: none; display: grid; place-items: center; background: #ffe7a8; border: 2.5px solid var(--ink); border-radius: 50%; }
.treat .muted { margin-top: 6px; font-size: 14.5px; }
.suggested { display: flex; flex-wrap: wrap; gap: 12px; }
.suggested li { display: flex; align-items: center; gap: 10px; background: #f3e6cc; border-radius: 16px; padding: 6px 14px 6px 6px; }
.suggested .gi { width: 44px; height: 44px; border-radius: 12px; border: 2.5px solid var(--ink); background: #21b8e6; padding: 4px; }
.suggested li + li .gi { background: #8c63f2; }
.suggested div { display: flex; flex-direction: column; line-height: 1.2; }
.suggested small { color: var(--muted); font-size: 13px; }
.fact { font-size: 17px; background: #eaf7dd; border-left: 6px solid var(--lawn); border-radius: 12px; padding: 14px 16px; }
.others { background: linear-gradient(#264b19, #1d3a12); padding-top: 40px; }
.other-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; margin-top: 22px; }
.other-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; background: var(--tint); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 4px 0 var(--ink); padding: 12px 8px 10px; font-weight: 1000; color: #fff; text-shadow: 0 2px 0 var(--ink); transition: transform .12s; }
.other-grid a:hover { transform: translateY(-3px); }
.other-grid img { width: 76px; }

/* MARK: Play page, press, 404 */

.play-page { background: #6aa944 url("/img/lawn.jpg") repeat; background-size: 320px 320px; padding-top: 40px; }
.press { background: linear-gradient(#264b19, #1d3a12); }
.press .panel { margin-top: 22px; }
.press .panel p + p { margin-top: 10px; }
.press a { color: #b5560c; }
.facts-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.facts-dl dt { font-weight: 1000; }
.facts-dl dd { margin: 0; color: var(--muted); }
.press-logo { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding: 20px; background: #6aa944 url("/img/lawn.jpg"); background-size: 320px 320px; border-radius: 18px; border: 3px solid var(--ink); margin-bottom: 12px; }
.press-logo .logo { font-size: 64px; }
.press-icon { width: 110px; border-radius: 24px; border: 3px solid var(--ink); }
.press-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.press-shots img { border-radius: 14px; border: 2.5px solid var(--ink); }
.nf { background: #6aa944 url("/img/lawn.jpg") repeat; background-size: 320px 320px; min-height: 70vh; }
.nf-nest { margin: 0 auto 10px; width: 220px; }
.nf a { color: #fff; font-weight: 900; }

/* MARK: Footer */

.foot { background: #160e07; color: #e9dcc6; padding: 46px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 4px solid var(--ink); }
.foot-in { width: min(1160px, 100% - 2 * var(--gutter)); margin: 0 auto; display: grid; gap: 20px; }
.foot .brand { color: #fff; }
.foot-links, .foot-langs { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { font-weight: 900; text-decoration: none; }
.foot-links a:hover, .foot-langs a:hover { text-decoration: underline; }
.foot-langs a { text-decoration: none; color: #b8a78f; font-weight: 700; }
.fine { font-size: 13px; color: #8f806b; font-weight: 600; }

/* MARK: Small screens */

@media (max-width: 1100px) {
  .rules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .langs { margin-left: auto; }
  .split, .hp-grid, .hp-detail, .ranked { grid-template-columns: 1fr; }
  .split .copy { text-align: center; }
  .split .copy .sub { margin: 6px auto 0; }
  .split .ctas.left { justify-content: center; }
  .hp-copy { text-align: center; }
  .stage { width: min(300px, 64vw); }
  .hp-copy .tags, .stats, .hp-copy .ctas.left { justify-content: center; }
  .hp-copy .sub { margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
  .hero-grid, .rules { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .langs summary span { display: none; }
  .hero { padding-top: 22px; min-height: 0; padding-bottom: 150px; }
  .hero .lead { font-size: 16.5px; }
  .facts { display: none; }
  .tagline { margin-top: 14px; }
  .peek-l, .peek-r { width: 92px; }
  .peek-b { width: 29vw; translate: -50% 30%; }
  .ctas { gap: 18px 12px; }
  .btn, .store { min-height: 54px; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .lineup .lu { width: 19vw; margin: 0 -4%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
  .thief { display: none; }
  .egg.e1 { animation: none; }
}
.phone.live::before { display: none; }
