/* The search pages (D-853): /{lang}/, /{lang}/parimutuel-trading/, /{lang}/faq/ and the 404 page.
   Static and self-contained: the site's content policy allows only its own files, so the font is
   served from here too. The game's dark theme and brand pink (tokens.css). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/inter-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  color-scheme: dark;
  --bg: #0e1117;
  --bg-2: #141922;
  --card: #171c25;
  --line: #262d39;
  --text: #e7ecf3;
  --text-2: #c2cad6;
  --muted: #8b95a7;
  --accent: #ee3f92;
  --accent-text: #f994c0;
  --up: #22c55e;
  --war: #f59e0b;
  --font:
    "Inter", system-ui, -apple-system, "Segoe UI", "Noto Sans", "PingFang SC", "Microsoft YaHei",
    "Noto Sans Arabic", "Geeza Pro", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(238, 63, 146, 0.16), transparent 60%), var(--bg);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
}
a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}
a:hover {
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(14, 17, 23, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  flex: none;
}
.logo img {
  height: 28px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.nav a[aria-current="page"],
.nav a:hover {
  color: #fff;
}
.langs {
  position: relative;
  flex: none;
}
.langs summary {
  list-style: none;
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.langs .short {
  display: none;
}
.langs summary::-webkit-details-marker {
  display: none;
}
.langs ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 170px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.langs li a {
  display: block;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
}
.langs li a:hover,
.langs li a[aria-current="true"] {
  background: var(--bg-2);
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  color: #fff;
  filter: brightness(1.08);
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.top .btn {
  flex: none;
  padding: 8px 14px;
}

/* Content */
main {
  padding: 56px 0 24px;
}
.kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(238, 63, 146, 0.45);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h2 {
  margin: 44px 0 12px;
  color: #fff;
  font-size: clamp(21px, 2.6vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 14px;
}
.lead {
  font-size: 19px;
  color: var(--text-2);
  max-width: 720px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 8px;
}
.qa {
  margin: 0;
  padding: 0;
}
.qa h2 {
  font-size: 20px;
  margin-top: 32px;
}
.more {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Footer */
.foot {
  margin-top: 56px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 14px;
}
.foot a {
  color: var(--text-2);
  text-decoration: none;
}
.foot a:hover {
  color: #fff;
}
.foot p {
  margin: 0 0 6px;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .nav {
    display: none;
  }
  .top .wrap {
    justify-content: space-between;
  }
  main {
    padding-top: 36px;
  }
}
/* The page's own links, under the header on a phone where the nav row has no room. */
.top .wrap.mobile-nav {
  display: none;
  min-height: 0;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 760px) {
  .top .wrap.mobile-nav {
    display: flex;
  }
  /* A phone's header holds the logo, the language and Play: the language as its code, so a long
     "Play" in Russian or German still fits. */
  .top .wrap {
    gap: 10px;
  }
  .logo img {
    height: 24px;
  }
  .langs .long {
    display: none;
  }
  .langs .short {
    display: inline;
  }
  .top .btn {
    padding: 8px 12px;
  }
}
/* The smallest phones (320 px): the logo, the language and Play still fit on one row. */
@media (max-width: 360px) {
  .top .wrap {
    gap: 8px;
  }
  .logo img {
    height: 20px;
  }
  .langs summary {
    padding: 5px 9px;
  }
  .top .btn,
  .home .top .btn {
    padding: 7px 10px;
    font-size: 14px;
  }
}
.mobile-nav a {
  color: var(--text-2);
  text-decoration: none;
}
.mobile-nav a[aria-current="page"] {
  color: #fff;
}
[dir="rtl"] .cta {
  direction: rtl;
}

/* The "How it works" page (D-859): the game's board at night. The map, the flags and the candles
   are the game's own (scripts/site/home.ts draws them); numbers are set in the game's mono face.
   Everything here is scoped to body.home, so the other pages keep their look. Every picture is
   decorative: its facts are in the page's text. */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("./fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2212, U+2215;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("./fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2212, U+2215;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("./fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2212, U+2215;
}

body.home {
  --sea: #0b0f16;
  --plate: #0e131c;
  --plate-2: #131a26;
  --hair: rgba(231, 236, 243, 0.08);
  --hair-2: rgba(231, 236, 243, 0.15);
  --pink: #ee3f92;
  --amber: #f59e0b;
  --green: #22c55e;
  --slate: #64748b;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--sea);
}
/* A faint grain over the night, like print on dark stock. */
body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.home .wrap {
  max-width: 1160px;
}
.home main {
  padding: 0;
}
.home .btn {
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 15.5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 32px rgba(238, 63, 146, 0.3);
}
.home .btn.ghost {
  border-color: var(--hair-2);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}
.home .top .btn {
  padding: 8px 14px;
  box-shadow: none;
}

/* Hero: the claim on the left, the board on the right. */
.home .hero {
  position: relative;
  padding-top: 72px;
  overflow: hidden;
}
.home .hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -240px;
  width: 980px;
  height: 760px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(238, 63, 146, 0.16), transparent);
}
.home .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.home .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.home .kicker i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  animation: live 2.2s ease-out infinite;
}
@keyframes live {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  100% {
    box-shadow: 0 0 0 11px rgba(34, 197, 94, 0);
  }
}
/* The wordmark's extruded letters, with their pink depth, lent to the page's two big lines. */
.home h1,
.home .tagline {
  color: #fff;
  font-weight: 820;
  letter-spacing: -0.032em;
  line-height: 1.04;
  text-shadow: 0.016em 0.04em 0 var(--pink);
  text-wrap: balance;
}
.home h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 5.3vw, 66px);
}
.home .lead {
  max-width: 33em;
  font-size: 19px;
  line-height: 1.65;
}
.home .hero .cta {
  margin: 32px 0 0;
}
.home .board {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hair-2);
  border-radius: 22px;
  background: var(--sea);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.45);
}
.home .board > img {
  display: block;
  width: 100%;
  height: auto;
}
/* Crop marks at two corners, as on a printed map sheet. */
.home .board::before,
.home .board::after,
.home .plate::before,
.home .plate::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 0 solid rgba(238, 63, 146, 0.75);
  pointer-events: none;
}
.home .board::before,
.home .plate::before {
  top: 12px;
  left: 12px;
  border-width: 1.5px 0 0 1.5px;
}
.home .board::after {
  top: 12px;
  right: 12px;
  border-width: 1.5px 1.5px 0 0;
}
.home .plate::after {
  right: 12px;
  bottom: 12px;
  border-width: 0 1.5px 1.5px 0;
}
.home .plate::before,
.home .plate::after {
  border-color: rgba(231, 236, 243, 0.22);
}
.home .duel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-top: 1px solid var(--hair-2);
  background: rgba(255, 255, 255, 0.025);
}
.home .duel .side {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home .duel .side span {
  display: grid;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.35;
}
.home .duel .side.d span {
  text-align: right;
}
.home .duel b {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.home .duel .flag {
  display: block;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.home .duel .mid {
  display: grid;
  justify-items: center;
  gap: 6px;
}
.home .duel .mark {
  color: #fff;
}
.home .duel .odds {
  display: flex;
  width: 100%;
  gap: 3px;
  height: 22px;
  overflow: hidden;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
}
.home .duel .odds span {
  display: flex;
  align-items: center;
  padding: 0 9px;
  color: #fff;
}
.home .duel .odds span:first-child {
  background: var(--amber);
  color: #1d1405;
}
.home .duel .odds span:last-child {
  justify-content: flex-end;
  background: #3f8ae8;
}

/* The price strip, as in the game: every country's move, running. */
.home .ticker {
  margin-top: 64px;
  overflow: hidden;
  border-block: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.home .track {
  display: flex;
  width: max-content;
  animation: tick 52s linear infinite;
}
.home .ticker:hover .track {
  animation-play-state: paused;
}
.home .tk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-right: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 13.5px;
  white-space: nowrap;
}
.home .tk .flag {
  display: block;
  width: 20px;
  height: 15px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.home .tk b {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.home .tk em {
  font-style: normal;
  font-weight: 500;
}
.home .tk .up {
  color: #4ade80;
}
.home .tk .dn {
  color: #f87171;
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* The round: four candles on a 16-minute line, then the four stages in columns. */
.home .round {
  padding-block: 112px 104px;
}
.home .round h2,
.home .row h2 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.home .round h2 {
  max-width: 18ch;
  margin: 0 0 40px;
  font-size: clamp(30px, 3.8vw, 46px);
}
.home .timeline {
  margin-bottom: 48px;
}
.home .bars {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
}
.home .bars span {
  position: relative;
  height: 18px;
  border-radius: 5px;
}
/* Each stage's wick runs on into the gap, so the four candles read as one line of time. */
.home .bars span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  right: -4px;
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: inherit;
  opacity: 0.55;
}
.home .bars .trade,
.home .steps li.trade,
.home .candle.trade {
  --stage: var(--green);
}
.home .bars .sealed,
.home .steps li.sealed,
.home .candle.sealed {
  --stage: var(--slate);
}
.home .bars .war,
.home .steps li.war,
.home .candle.war {
  --stage: var(--amber);
}
.home .bars .loot,
.home .steps li.loot,
.home .candle.loot {
  --stage: var(--pink);
}
.home .bars span {
  background: var(--stage);
}
.home .clock {
  position: relative;
  height: 22px;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}
.home .clock span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}
.home .clock span:first-child {
  transform: none;
}
.home .clock span:last-child {
  transform: translateX(-100%);
}
/* Right to left, the line of time starts at the right, like the stages under it. */
[dir="rtl"] .home .clock span {
  transform: translateX(50%);
}
[dir="rtl"] .home .clock span:first-child {
  transform: none;
}
[dir="rtl"] .home .clock span:last-child {
  transform: translateX(100%);
}
.home .clock span {
  unicode-bidi: isolate;
}
.home .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hair);
}
.home .steps li {
  padding: 30px 28px 4px;
  border-inline-end: 1px solid var(--hair);
}
.home .steps li:first-child {
  padding-inline-start: 0;
}
.home .steps li:last-child {
  padding-inline-end: 0;
  border-inline-end: 0;
}
.home .candle {
  display: block;
  color: var(--stage);
}
.home .candle rect {
  fill: currentColor;
}
.home .candle rect:first-child {
  opacity: 0.6;
}
.home .steps .candle {
  margin-bottom: 18px;
}
.home .steps h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.home .steps .time {
  display: block;
  margin-bottom: 14px;
  color: var(--stage);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.home .steps li.sealed .time {
  color: #a3aec0;
}
.home .steps p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.62;
}

/* The six ideas: words on one side, the mechanic drawn on the other, swapping sides as they go. */
.home .rows {
  display: grid;
  gap: 120px;
  padding-block: 24px 128px;
}
.home .row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 76px;
  align-items: center;
}
.home .row.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.home .row.flip .copy {
  order: 2;
}
.home .row h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
}
.home .row p {
  max-width: 34em;
  color: var(--text-2);
  font-size: 17.5px;
  line-height: 1.72;
}
.home .row p:last-child {
  margin-bottom: 0;
}
.home .plate {
  position: relative;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--hair);
  border-radius: 22px;
  background: linear-gradient(160deg, var(--plate-2), var(--plate));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
}
.home .pic {
  display: block;
  width: 100%;
  height: auto;
}
.home img.pic {
  border-radius: 12px;
}
.home .pic text {
  font-family: var(--mono);
}
.home .pic .rule {
  stroke: var(--hair-2);
  stroke-width: 1;
}
.home .pic .grid {
  stroke: var(--hair);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}
.home .pic .tick {
  fill: var(--muted);
  font-size: 14px;
}
.home .pic .code {
  fill: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.home .pic .num {
  fill: #fff;
  font-size: 16px;
  font-weight: 600;
}
.home .pic .num.dim {
  fill: rgba(99, 160, 240, 0.7);
}
.home .pic .num.big {
  font-size: 20px;
}
.home .pic .ghost {
  fill: rgba(63, 138, 232, 0.07);
  stroke: #3f8ae8;
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}
.home .pic .own {
  fill: #8e1420;
  stroke: rgba(255, 255, 255, 0.2);
}
.home .pic .loot {
  fill: var(--pink);
}
.home .pic .flow {
  fill: none;
  stroke: var(--pink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 1 9;
  animation: flow 1.1s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -10;
  }
}
.home .pic .reserve {
  fill: rgba(238, 63, 146, 0.1);
}
.home .pic .ramp {
  fill: none;
  stroke: rgba(238, 63, 146, 0.45);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
}
.home .pic .up rect {
  fill: var(--pink);
}
.home .pic .up line {
  stroke: var(--pink);
  stroke-width: 1.6;
}
.home .pic .dn rect {
  fill: #1b2230;
  stroke: #8b95a7;
  stroke-width: 1.2;
}
.home .pic .dn line {
  stroke: #8b95a7;
  stroke-width: 1.6;
}
.home .pic .fill-trade {
  fill: rgba(34, 197, 94, 0.1);
}
.home .pic .line-trade {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.6;
  stroke-linejoin: round;
}
.home .pic .dot-trade {
  fill: var(--sea);
  stroke: var(--green);
  stroke-width: 2.6;
}
.home .pic .line-war {
  stroke: var(--amber);
  stroke-width: 4;
  stroke-linecap: round;
}
.home .pic .fill-loot {
  fill: rgba(238, 63, 146, 0.1);
}
.home .pic .line-loot {
  stroke: var(--pink);
  stroke-width: 2.6;
}
.home .pic .st.trade {
  fill: var(--green);
}
.home .pic .st.sealed {
  fill: var(--slate);
}
.home .pic .st.war {
  fill: var(--amber);
}
.home .pic .st.loot {
  fill: var(--pink);
}
.home .pic .approve {
  fill: var(--pink);
}
.home .pic .approve-ring {
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring {
  from {
    opacity: 0.7;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.8);
  }
}
.home .lock-pic {
  display: grid;
  padding: 26px 6px;
}
.home .lk-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 7.5em;
  align-items: center;
  gap: 20px;
}
.home .lk-stage .candle {
  margin: 0 auto;
}
.home .coins {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 9px;
}
.home .coin {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
}
.home .coin.free {
  background: radial-gradient(circle at 34% 30%, #6ee79a, #16a34a 72%);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.16),
    0 6px 14px rgba(34, 197, 94, 0.22);
}
.home .coin.locked {
  background: repeating-linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.6) 0 4px,
    rgba(245, 158, 11, 0.14) 4px 8px
  );
  box-shadow: inset 0 0 0 1.5px rgba(245, 158, 11, 0.85);
}
.home .lk-pct {
  color: #fff;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  text-align: end;
  white-space: nowrap;
}
.home .lk-pct span {
  margin: 0 4px;
  color: var(--muted);
}
.home .lk-link {
  width: 2px;
  height: 40px;
  margin: 12px 0 12px 10px;
  border-radius: 1px;
  background: linear-gradient(var(--green), var(--amber));
}

/* The close: the card's line, extruded, over the mark. */
.home .close {
  padding-bottom: 24px;
}
.home .close-in {
  position: relative;
  overflow: hidden;
  padding: 96px 40px 92px;
  border: 1px solid rgba(238, 63, 146, 0.28);
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(60rem 22rem at 50% 115%, rgba(238, 63, 146, 0.24), transparent 70%),
    linear-gradient(180deg, #121827, #0c111a);
}
.home .close-mark {
  position: relative;
  display: block;
  margin: 0 auto 26px;
  color: #fff;
  filter: drop-shadow(0 10px 30px rgba(238, 63, 146, 0.35));
}
.home .tagline {
  position: relative;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 62px);
}
.home .close .more {
  position: relative;
  max-width: 54ch;
  margin: 0 auto;
  padding: 0;
  border: 0;
  color: var(--text-2);
}
.home .close .cta {
  position: relative;
  justify-content: center;
  margin-top: 30px;
}

@media (prefers-reduced-motion: reduce) {
  .home .track,
  .home .kicker i,
  .home .pic .flow,
  .home .pic .approve-ring {
    animation: none;
  }
}
@media (max-width: 1000px) {
  .home .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .home .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .home .row.flip {
    grid-template-columns: minmax(0, 1fr);
  }
  .home .row.flip .copy {
    order: 0;
  }
  .home .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .steps li {
    padding-block-end: 30px;
    border-bottom: 1px solid var(--hair);
  }
  .home .steps li:nth-child(2) {
    padding-inline-end: 0;
    border-inline-end: 0;
  }
  .home .steps li:nth-child(3) {
    padding-inline-start: 0;
  }
}
@media (max-width: 600px) {
  .home .hero {
    padding-top: 40px;
  }
  .home .ticker {
    margin-top: 44px;
  }
  .home .round {
    padding-block: 72px 64px;
  }
  .home .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .home .steps li,
  .home .steps li:nth-child(2),
  .home .steps li:nth-child(3) {
    padding-inline: 0;
    border-inline-end: 0;
  }
  .home .clock span:nth-child(3) {
    display: none;
  }
  .home .rows {
    gap: 80px;
    padding-bottom: 80px;
  }
  .home .plate {
    padding: 16px;
    border-radius: 18px;
  }
  .home .duel {
    gap: 10px;
    padding: 12px;
  }
  .home .duel .flag {
    width: 26px;
    height: 19.5px;
  }
  .home .lk-row {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 12px;
  }
  .home .lk-pct {
    grid-column: 2;
    text-align: start;
  }
  .home .coins {
    gap: 6px;
  }
  .home .close-in {
    padding: 60px 20px 56px;
  }
  .home .close-mark {
    width: 52px;
    height: 52px;
  }
}
