/* Lenovate public site — board «Сайт» of design/panel (Главная, Регистрация, Вход, Кабинет).
   CSP is style-src 'self': all rules live here, the script only sets element.style. */
@import url(fonts/fonts.css);

:root {
  color-scheme: dark;
  --page: #34302b; --soot: #2b2723; --ash: #423d37; --bone: #dfd4c2; --orange: #f07a3e; --orange-h: #ff8a4f;
  --sage: #8aaeb1; --text: #ece4d4; --muted: #b8ad9b; --dim: #8a8174; --stone: #5e574e; --warn: #ff9466;
  --line: rgba(223, 212, 194, 0.1); --edge: rgba(223, 212, 194, 0.25);
  --serif: 'Unbounded', 'Segoe UI', sans-serif; --sans: 'Onest', system-ui, 'Segoe UI', sans-serif; --mono: 'Martian Mono', ui-monospace, Consolas, monospace;
  --w: 1100px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--page); color: var(--text); font: 14px/1.45 var(--sans); overflow-x: hidden; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--soot); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.defs { position: absolute; width: 0; height: 0; }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: overlay; }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-stretch: 87.5%; }
.cap { font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.muted { color: var(--muted); }
.warn { color: var(--warn); }
.orange { color: var(--orange); }
.sage { color: var(--sage); }
.pix { image-rendering: pixelated; }
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.grow { flex: 1 1 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 40px; }
main { flex: 1; }

/* header */
.top { position: sticky; top: 0; z-index: 20; height: 64px; background: rgba(52, 48, 43, 0.92); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(223, 212, 194, 0.08); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--bone); }
.logo .serif { font-size: 17px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); font-size: 14px; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.live { display: flex; align-items: center; gap: 8px; font: 11.5px var(--mono); font-stretch: 87.5%; color: var(--muted); white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 4px; background: var(--sage); animation: blip 1.6s ease infinite; }
.live.down i { background: var(--warn); animation: none; }
.me-btn { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; border-radius: 12px; border: 1px solid var(--edge); color: var(--text); }
.me-btn img { width: 24px; height: 24px; border-radius: 6px; image-rendering: pixelated; }
@media (max-width: 860px) { .nav { display: none; } .wrap { padding: 0 16px; } .top .wrap { gap: 14px; } }

/* buttons */
.btn { height: 44px; padding: 0 20px; border-radius: 14px; border: 0; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; white-space: nowrap; position: relative; overflow: hidden; transition: background 0.15s, border-color 0.15s; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.sm { height: 36px; font-size: 13px; padding: 0 14px; border-radius: 12px; }
.btn.lg { height: 50px; font-size: 15px; }
.bp { background: var(--orange); color: var(--soot); }
.bp:hover:not(:disabled) { background: var(--orange-h); color: var(--soot); }
.bs { background: var(--bone); color: var(--soot); }
.bo { background: transparent; color: var(--text); border: 1px solid rgba(223, 212, 194, 0.45); font-weight: 400; }
.bo:hover:not(:disabled) { border-color: var(--bone); }
.bd { background: transparent; color: var(--orange); border: 1px solid var(--orange); font-weight: 400; }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--orange); }
.link.muted { color: var(--muted); }
.hb { height: 58px; border-radius: 18px; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; font-family: inherit; text-align: left; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.hb:hover { transform: translateY(-2px); }
.hbp { padding: 0 22px 0 10px; background: var(--orange); color: var(--soot); box-shadow: 0 10px 30px -12px rgba(240, 122, 62, 0.7); }
.hbp:hover { background: var(--orange-h); color: var(--soot); }
.hbo { padding: 0 18px 0 20px; background: rgba(27, 25, 23, 0.72); color: var(--text); border: 1px solid rgba(223, 212, 194, 0.28); backdrop-filter: blur(6px); }
.hbo:hover { border-color: var(--orange); color: var(--text); }
.hbi { flex: none; width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--soot); color: var(--orange); }
.hbt { white-space: nowrap; display: flex; flex-direction: column; gap: 3px; font-size: 15px; font-weight: 600; line-height: 1.1; }
.hbs { font-size: 10.5px; font-weight: 400; opacity: 0.72; letter-spacing: 0.02em; }
.hba { font-size: 18px; color: var(--orange); margin-left: 6px; }

/* cards */
.card { position: relative; overflow: hidden; border-radius: 22px; padding: 22px; background: var(--ash); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card > * { position: relative; }
.card > .grain { position: absolute; }
.card.soot { background: var(--soot); border: 1px solid rgba(223, 212, 194, 0.1); }
.card.bone { background: var(--bone); color: var(--soot); }
.card.bone .cap, .card.bone .muted { color: var(--stone); }
.card.hot { background: var(--soot); border: 1px solid rgba(240, 122, 62, 0.35); }
.h2 { margin: 0; font-size: 26px; color: var(--bone); line-height: 1.15; }
.h3 { margin: 0; font-size: 18px; color: var(--bone); }
.tag { display: inline-flex; padding: 1px 8px; border-radius: 8px; border: 1px solid currentColor; font-size: 11px; white-space: nowrap; }

/* fields */
.lbl { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.in { height: 46px; border-radius: 14px; border: 1px solid var(--edge); background: var(--soot); color: var(--text); padding: 0 14px; font-size: 15px; width: 100%; }
.in:focus { outline: none; border-color: var(--orange); }
.in.bad { border-color: var(--warn); }
.in::placeholder { color: var(--dim); }
.sw { position: relative; flex: none; width: 40px; height: 24px; border-radius: 12px; border: 0; cursor: pointer; padding: 0; background: rgba(223, 212, 194, 0.18); transition: background 0.2s; }
.sw > span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 9px; background: var(--bone); transition: left 0.2s ease, background 0.2s; }
.sw[aria-checked="true"] { background: var(--orange); }
.sw[aria-checked="true"] > span { left: 19px; background: var(--soot); }
.err { font-size: 13px; color: var(--warn); }
.ok { font-size: 13px; color: var(--sage); }

/* hero: the world map in dots, a soot fade on the left */
/* hero: the world map is the first screen, the header floats over it until you scroll */
.hero { position: relative; height: min(860px, 100vh); min-height: 600px; margin-top: -64px; overflow: hidden; --p: var(--page); background: var(--soot); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dots { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, 0) 3px, var(--p) 3px) 0 0/4px 4px, linear-gradient(rgba(0, 0, 0, 0) 3px, var(--p) 3px) 0 0/4px 4px; }
.hero .fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(43, 39, 35, 0.92) 0%, rgba(43, 39, 35, 0.55) 34%, rgba(43, 39, 35, 0) 60%), linear-gradient(0deg, var(--page) 0%, rgba(52, 48, 43, 0) 22%), linear-gradient(180deg, rgba(43, 39, 35, 0.7) 0%, rgba(43, 39, 35, 0) 14%); }
.hero .wrap { position: relative; height: 100%; }
.hero-text { position: absolute; left: 44px; bottom: 96px; width: 600px; max-width: calc(100% - 32px); display: flex; flex-direction: column; gap: 18px; animation: rise 0.7s ease both; }
.hero-text h1 { margin: 0; font-size: 56px; line-height: 1.03; letter-spacing: -0.02em; color: var(--bone); }
.hero-text .lede { font-size: 17px; line-height: 1.5; color: var(--bone); max-width: 480px; }
.hero-alt { color: var(--bone); font-size: 15px; }
.hero-alt:hover { color: #fff; }
/* map labels: the server as a pin, players as blinking dots, a scale bar for the map look */
.pin { position: absolute; display: flex; align-items: flex-start; gap: 10px; animation: rise 0.9s ease 0.2s both; }
.pin-mark { flex: none; width: 14px; height: 14px; margin-top: 4px; border: 2px solid var(--orange); background: rgba(240, 122, 62, 0.25); }
.pin-box { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 10px; background: rgba(43, 39, 35, 0.88); font-size: 12.5px; color: var(--sage); }
.pin-box.down { color: var(--warn); }
.pin-box .mono { font-size: 13px; color: var(--bone); }
.player { position: absolute; width: 8px; height: 8px; background: var(--text); animation: blink 2.4s ease-in-out infinite; }
.players-label { position: absolute; padding: 6px 10px; border-radius: 10px; background: rgba(43, 39, 35, 0.88); font-size: 12.5px; color: var(--bone); }
.scale { position: absolute; right: 44px; bottom: 40px; display: flex; align-items: flex-end; gap: 16px; font: 13px var(--mono); font-stretch: 87.5%; color: var(--bone); pointer-events: none; }
.scale i { display: block; width: 180px; height: 6px; border: 1px solid var(--muted); background: repeating-linear-gradient(90deg, var(--muted) 0 25%, transparent 25% 50%); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.top { transition: background 0.25s ease, border-color 0.25s ease; }
body.on-map:not(.scrolled) .top { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
@media (max-width: 860px) {
  .hero-text { left: 16px; bottom: 40px; } .hero-text h1 { font-size: 34px; }
  .hero .fade { background: linear-gradient(0deg, var(--page) 0%, rgba(43, 39, 35, 0.85) 45%, rgba(43, 39, 35, 0) 75%), linear-gradient(180deg, rgba(43, 39, 35, 0.75) 0%, rgba(43, 39, 35, 0) 16%); }
  .pin { left: auto !important; right: 16px; top: 84px !important; } .player, .players-label, .scale { display: none; }
}
@media (prefers-reduced-motion: reduce) { .player { animation: none; } }

section.block { padding: 40px 0 8px; }
.g-online { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.g-steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.g-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.g-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .g-online, .g-steps, .g-news, .g-acts { grid-template-columns: 1fr; } }
.seats { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; }
.seats i { display: block; min-width: 0; }
.seats i { aspect-ratio: 1; border-radius: 4px; background: rgba(223, 212, 194, 0.08); }
.seats i.on { background: var(--orange); }
.seats i.on.churn { animation: seat 7s ease infinite; }
.seats i.join { background: var(--sage); animation: seatIn 9s ease infinite; }
.ping { width: 100%; height: 56px; }
.ping polyline { stroke-dasharray: 600; animation: draw 2.4s ease-out both; }
.num { font-family: var(--mono); font-stretch: 87.5%; font-size: 32px; color: var(--orange); line-height: 1; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 12px; border: 1px solid var(--edge); background: transparent; color: var(--text); cursor: pointer; font-size: 13px; }
.chip[aria-checked="true"] { background: var(--bone); border-color: var(--bone); color: var(--soot); }
.mine { position: relative; flex: none; width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; }
.mine svg.block { shape-rendering: crispEdges; border-radius: 4px; }
.mine .bit { position: absolute; left: 52px; top: 52px; width: 8px; height: 8px; animation: chip 0.8s ease-out both; }
.mine .icon { width: 64px; height: 64px; border-radius: 16px; background: var(--ash); display: flex; align-items: center; justify-content: center; animation: drop 0.9s ease both, bob 2.4s ease-in-out 0.9s infinite; }
.dl-fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(43, 39, 35, 0.22); pointer-events: none; }
.act { padding: 0; gap: 0; background: var(--soot); }
.act img { display: block; width: 100%; aspect-ratio: 120 / 44; }
.act .txt { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
article.news { display: flex; flex-direction: column; gap: 8px; padding: 18px 0 0; border-top: 2px solid var(--orange); }
article.news b { font-size: 16px; }
article.news span:last-child { font-size: 13.5px; color: var(--muted); }

/* the two-column pages: register, login, reset */
.pair { display: flex; gap: 14px; padding: 28px 0 40px; min-height: 588px; }
.pair > * { flex: 1 1 0; }
@media (max-width: 860px) { .pair { flex-direction: column; } .pair .stage { min-height: 360px; } }
.stage { position: relative; overflow: hidden; border-radius: 22px; background: var(--soot); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 30px; }
.form { border-radius: 22px; background: var(--ash); padding: 30px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.form > .grain { position: absolute; }
.plate { padding: 4px 10px; border-radius: 4px; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 15px; letter-spacing: 0.02em; min-width: 40px; text-align: center; }
.plate.taken { color: var(--warn); }
.plate.bob { animation: bob 2s ease-in-out infinite; }
.face8 { shape-rendering: crispEdges; border-radius: 6px; }
.picks { display: flex; justify-content: space-between; }
.picks svg { shape-rendering: crispEdges; opacity: 0.18; transition: opacity 0.3s ease, transform 0.3s ease; }
.picks svg.on { opacity: 1; }
.picks svg.top { transform: rotate(-12deg) scale(1.08); }
.orb { position: absolute; width: 10px; height: 10px; border-radius: 3px; box-shadow: 0 0 8px rgba(200, 230, 160, 0.6); animation: orb 1.6s ease-in both; }
.xp { position: relative; height: 10px; border-radius: 5px; background: var(--page); overflow: hidden; }
.xp > span { position: absolute; left: 0; top: 0; bottom: 0; background: radial-gradient(circle, var(--sage) 1.6px, rgba(0, 0, 0, 0) 2px) 0 0/4px 4px, rgba(138, 174, 177, 0.18); animation: xp 2.4s ease both; }
.lvl { animation: lvl 2.6s ease both; }
.feed { position: relative; height: 280px; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.feed .rows { animation: feed 24s cubic-bezier(0.6, 0, 0.2, 1) infinite reverse; }
.feed .rows.few { animation: none; }
.feed .r { height: 56px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(223, 212, 194, 0.06); }
.feed .r img { width: 32px; height: 32px; border-radius: 6px; image-rendering: pixelated; flex: none; }
.feed .r i { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--sage); }
.feed .r i.adv { background: var(--bone); }
.feed .r i.goal { background: #8aecdf; }
.feed .r i.challenge { background: var(--orange); }
.cells { display: flex; gap: 8px; }
.cells input { width: 44px; height: 54px; border-radius: 12px; text-align: center; font: 22px var(--mono); font-stretch: 87.5%; background: var(--soot); color: var(--text); border: 1px solid var(--edge); padding: 0; }
.cells input:focus { outline: none; border-color: var(--orange); }

/* account */
.acc { display: flex; gap: 14px; padding: 28px 0 40px; min-height: 588px; }
.acc aside { flex: none; width: 220px; display: flex; flex-direction: column; gap: 6px; }
.acc .who { display: flex; align-items: center; gap: 12px; padding: 0 6px 14px; }
.acc .who img { width: 44px; height: 44px; border-radius: 10px; image-rendering: pixelated; }
.acc .tab { text-align: left; height: 40px; padding: 0 14px; border-radius: 12px; border: 0; cursor: pointer; font-size: 14px; background: transparent; color: var(--muted); }
.acc .tab[aria-selected="true"] { background: var(--ash); color: var(--text); box-shadow: inset 3px 0 0 var(--orange); }
.acc .pane { flex: 1 1 0; display: flex; gap: 14px; min-width: 0; }
.acc .pane > * { flex: 1 1 0; }
@media (max-width: 960px) { .acc { flex-direction: column; } .acc aside { width: auto; } .acc .pane { flex-direction: column; } }
.cube-stage { position: relative; width: 384px; max-width: 100%; height: 300px; perspective: 700px; display: flex; align-items: center; justify-content: center; }
.f3, .f3 * { transform-style: preserve-3d; }
.cube { position: relative; width: 96px; height: 96px; transform-origin: 48px 48px -48px; animation: cube 9s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
.face { position: absolute; width: 96px; height: 96px; background-size: 768px 768px; image-rendering: pixelated; backface-visibility: visible; }
.face.L { left: -96px; top: 0; transform-origin: right center; animation: fL 9s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
.face.R { left: 96px; top: 0; transform-origin: left center; animation: fR 9s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
.face.K { left: 96px; top: 0; transform-origin: left center; animation: fK 9s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
.face.T { left: 0; top: -96px; transform-origin: center bottom; animation: fT 9s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
.face.B { left: 0; top: 96px; transform-origin: center top; animation: fB 9s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
.skin-file { flex: none; width: 128px; height: 128px; border-radius: 10px; image-rendering: pixelated; background: repeating-conic-gradient(#34302b 0 25%, #3b3631 0 50%) 0 0/16px 16px; }
.drop { border: 1.5px dashed rgba(223, 212, 194, 0.35); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.drop:hover, .drop.over { border-color: var(--orange); background: rgba(240, 122, 62, 0.06); }
.qr { padding: 14px; background: #f4ecdd; border-radius: 12px; display: grid; }
.qr i { width: 9px; height: 9px; background: var(--soot); opacity: 0; }
.qr i.on { animation: qrA 1.4s steps(3) both; }
.qr i.off { animation: qrB 1.4s steps(3) both; }
.backup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font: 12px var(--mono); font-stretch: 87.5%; color: var(--bone); }
.backup span { padding: 6px 0; text-align: center; border-radius: 8px; background: var(--soot); }
.sess { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; padding: 8px 0; border-top: 1px solid var(--line); }
.chain { display: flex; gap: 6px; width: 150px; justify-content: center; }
.chain i { width: 8px; height: 8px; border-radius: 4px; background: rgba(223, 212, 194, 0.2); transition: transform 0.4s ease; }
.chain.open i:nth-child(-n+4) { transform: translateX(-8px); }
.chain.open i:nth-child(n+6) { transform: translateX(8px); }
.chain.open i:nth-child(5) { background: transparent; }
.chain.on i { animation: flow 1.2s ease infinite; }
.chain.on i:nth-child(odd) { background: var(--orange); }
.chain.on i:nth-child(even) { background: #5865f2; }
.perk { display: flex; gap: 12px; align-items: flex-start; padding-top: 12px; border-top: 1px solid rgba(223, 212, 194, 0.12); }
.perk > span:first-child { flex: none; color: var(--stone); font-size: 12px; margin-top: 3px; }
.perk.on > span:first-child { color: var(--orange); }
.big-ic { width: 72px; height: 72px; border-radius: 20px; background: var(--ash); display: flex; align-items: center; justify-content: center; }
.big-ic.dc { background: #5865f2; }

.page-text { white-space: pre-wrap; font-size: 15px; line-height: 1.6; max-width: 760px; }
.center { min-height: 480px; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.center .form { width: 100%; max-width: 460px; }

/* footer */
footer { position: relative; background: #181615 url(img/strata/bedrock.svg); font-size: 12.5px; color: var(--muted); }
footer::before { content: ''; position: absolute; left: 0; right: 0; top: -30px; height: 36px; background: url(img/strata/seam-bedrock.svg) repeat-x; pointer-events: none; }
footer .wrap { display: flex; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
footer a { color: var(--muted); }
.soc { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; background: var(--page); color: var(--bone); }

#toast { position: fixed; z-index: 100; bottom: 20px; right: 20px; background: var(--bone); color: var(--soot); padding: 12px 16px; border-radius: 14px; max-width: 420px; font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
#toast.err { background: var(--soot); color: var(--warn); border: 1px solid var(--orange); }

@keyframes cube { 0%, 18% { transform: rotateX(0deg) rotateY(0deg); } 40% { transform: rotateX(-22deg) rotateY(-30deg); } 86% { transform: rotateX(-22deg) rotateY(-390deg); } 100% { transform: rotateX(0deg) rotateY(-360deg); } }
@keyframes fR { 0%, 18% { transform: rotateY(0deg); } 38%, 88% { transform: rotateY(90deg); } 100% { transform: rotateY(0deg); } }
@keyframes fL { 0%, 18% { transform: rotateY(0deg); } 38%, 88% { transform: rotateY(-90deg); } 100% { transform: rotateY(0deg); } }
@keyframes fT { 0%, 18% { transform: rotateX(0deg); } 38%, 88% { transform: rotateX(90deg); } 100% { transform: rotateX(0deg); } }
@keyframes fB { 0%, 18% { transform: rotateX(0deg); } 38%, 88% { transform: rotateX(-90deg); } 100% { transform: rotateX(0deg); } }
@keyframes fK { 0%, 22% { transform: rotateY(0deg); } 42%, 86% { transform: rotateY(90deg); } 100% { transform: rotateY(0deg); } }
@keyframes qrA { 0% { opacity: 0; } 25% { opacity: 1; } 40% { opacity: 0.15; } 55%, 100% { opacity: 1; } }
@keyframes qrB { 0% { opacity: 0; } 20% { opacity: 0.85; } 38% { opacity: 0; } 100% { opacity: 0; } }
@keyframes orb { 0% { transform: translate(0, 0) scale(0.6); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0.4); opacity: 0; } }
@keyframes xp { 0%, 30% { width: 0; } 100% { width: 100%; } }
@keyframes lvl { 0%, 70% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
@keyframes feed { 0%, 10% { transform: translateY(0); } 12.5%, 22.5% { transform: translateY(-56px); } 25%, 35% { transform: translateY(-112px); } 37.5%, 47.5% { transform: translateY(-168px); } 50%, 60% { transform: translateY(-224px); } 62.5%, 72.5% { transform: translateY(-280px); } 75%, 85% { transform: translateY(-336px); } 87.5%, 97.5% { transform: translateY(-392px); } 100% { transform: translateY(-448px); } }
@keyframes seat { 0%, 100% { opacity: 1; } 45%, 55% { opacity: 0.12; } }
@keyframes seatIn { 0%, 40% { opacity: 0.12; } 50%, 90% { opacity: 1; } 100% { opacity: 0.12; } }
@keyframes draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes chip { 0% { transform: translate(0, 0) rotate(0deg); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(200deg); opacity: 0; } }
@keyframes drop { 0% { transform: translateY(-30px) scale(0.6); opacity: 0; } 40% { transform: translateY(0) scale(1); opacity: 1; } 55% { transform: translateY(-10px); } 70% { transform: translateY(0); } 100% { transform: translateY(0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes flow { 0%, 100% { opacity: 0.25; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.shake { animation: shake 0.4s ease; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }
@media (max-width: 560px) { .live { display: none; } #auth .bp { display: none; } .hero-text .hb { width: 100%; } .pair, .acc { padding-top: 16px; } .stage, .form { padding: 20px; } .mine { display: none; } }

/* the home page digs down under the map: each section a layer, joined by a pixel seam with a ragged edge */
.layer { position: relative; padding: 18px 0 36px; }
.layer::before { content: ''; position: absolute; left: 0; right: 0; top: -30px; height: 36px; background-repeat: repeat-x; pointer-events: none; }
.layer.dirt { background: #3b3029 url(img/strata/dirt.svg); }
.layer.dirt::before { background-image: url(img/strata/seam-grass.svg); }
.layer.stone { background: #323130 url(img/strata/stone.svg); }
.layer.stone::before { background-image: url(img/strata/seam-stone.svg); }
.layer.deep { background: #25242a url(img/strata/deep.svg); }
.layer.deep::before { background-image: url(img/strata/seam-deep.svg); }
