:root {
  --ink: #1a1530;
  --ink2: #2b2450;
  --ink3: #3b3370;
  --paper: #fff3d6;
  --paper2: #f6e2b8;
  --paper3: #ead0a0;
  --sun: #ffd23f;
  --sun2: #f0a91e;
  --tomato: #ff5a4e;
  --tomato2: #c93a36;
  --teal: #26c6b0;
  --teal2: #169683;
  --violet: #8b5cf6;
  --violet2: #6236c9;
  --sky: #8fd3ff;
  --grass: #6cc24a;
  --night: #16143a;
  --night2: #211e52;
  --muted: #7d7399;
  --px: 4px;
  --head: "Jersey 10", "VT323", monospace;
  --body: "VT323", "Jersey 10", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--body);
  font-size: 22px;
  line-height: 1.25;
  overflow-x: hidden;
}
img, canvas { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.px {
  box-shadow: 0 calc(var(--px) * -1) 0 0 var(--ink), 0 var(--px) 0 0 var(--ink), calc(var(--px) * -1) 0 0 0 var(--ink), var(--px) 0 0 0 var(--ink);
}
.px-drop {
  box-shadow:
    0 calc(var(--px) * -1) 0 0 var(--ink), 0 var(--px) 0 0 var(--ink), calc(var(--px) * -1) 0 0 0 var(--ink), var(--px) 0 0 0 var(--ink),
    calc(var(--px) * 2) calc(var(--px) * 2) 0 0 rgba(10, 6, 30, 0.45);
}

.btn {
  --bg: var(--sun);
  --fg: var(--ink);
  --edge: var(--sun2);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px 12px;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--head);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  box-shadow:
    inset 0 -5px 0 0 var(--edge),
    0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
    6px 8px 0 0 rgba(10, 6, 30, 0.45);
  transition: transform 0.12s steps(2), box-shadow 0.12s steps(2), filter 0.12s;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0s;
  pointer-events: none;
}
.btn:hover { transform: translateY(-3px); filter: brightness(1.05); }
.btn:hover::after { left: 130%; transition: left 0.55s steps(8); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 -2px 0 0 var(--edge), 0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink), 2px 3px 0 0 rgba(10, 6, 30, 0.45); }
.btn:focus-visible { outline: 3px dashed var(--sun); outline-offset: 8px; }
.btn[disabled] { filter: grayscale(0.8) brightness(0.8); cursor: not-allowed; transform: none; }
.btn.red { --bg: var(--tomato); --fg: #fff; --edge: var(--tomato2); }
.btn.teal { --bg: var(--teal); --fg: var(--ink); --edge: var(--teal2); }
.btn.violet { --bg: var(--violet); --fg: #fff; --edge: var(--violet2); }
.btn.paper { --bg: var(--paper); --fg: var(--ink); --edge: var(--paper3); }
.btn.dark { --bg: var(--ink2); --fg: var(--paper); --edge: var(--ink); }
.btn.small { font-size: 21px; padding: 7px 14px 9px; }
.btn.big { font-size: 32px; padding: 14px 30px 17px; }
.btn .ico { width: 18px; height: 18px; display: inline-block; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 3px 10px 4px;
  background: var(--ink);
  color: var(--sun);
  font-family: var(--head);
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tag i { width: 8px; height: 8px; background: currentColor; display: inline-block; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 20, 58, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 4px solid var(--ink);
}
.site-head .bar { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo canvas { width: 40px; height: 45px; }
.logo b { font-family: var(--head); font-weight: 400; font-size: 34px; letter-spacing: 1px; color: var(--paper); line-height: 1; text-shadow: 3px 3px 0 var(--tomato); }
.logo b span { color: var(--sun); }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a {
  position: relative;
  font-family: var(--head); font-size: 24px; text-decoration: none; color: var(--paper);
  padding: 8px 14px 10px;
}
.nav a::before {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 4px; background: var(--sun);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s steps(5);
}
.nav a:hover::before, .nav a.on::before { transform: scaleX(1); }
.nav a.on { color: var(--sun); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 48px; height: 44px; background: var(--ink2); border: 0; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 12px; width: 24px; height: 4px; background: var(--paper); content: ""; transition: transform 0.2s steps(3), top 0.2s steps(3), opacity 0.1s; }
.menu-btn span { top: 20px; }
.menu-btn span::before { left: 0; top: -8px; }
.menu-btn span::after { left: 0; top: 8px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
.wallet-btn { min-width: 170px; }
.wallet-btn .dot { width: 10px; height: 10px; background: #46e07a; display: none; }
.wallet-btn.on .dot { display: inline-block; }

@media (max-width: 880px) {
  .nav { position: fixed; left: 0; right: 0; top: 72px; margin: 0; flex-direction: column; gap: 0; background: var(--night2); border-bottom: 4px solid var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path 0.3s steps(6); }
  .nav a { font-size: 30px; padding: 16px 24px; border-top: 2px dashed var(--ink3); }
  .nav a::before { left: 24px; right: auto; width: 40px; bottom: 10px; }
  .menu-open .nav { clip-path: inset(0 0 0 0); }
  .menu-btn { display: block; }
  .wallet-btn { min-width: 0; font-size: 20px; padding: 8px 12px 10px; }
  .logo b { font-size: 28px; }
}
@media (max-width: 420px) {
  .logo b { display: none; }
}

.hero { position: relative; height: min(88vh, 860px); min-height: 560px; overflow: hidden; background: var(--grass); border-bottom: 4px solid var(--ink); }
.hero canvas.town { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(22, 20, 58, 0) 35%, rgba(22, 20, 58, 0.55) 100%); pointer-events: none; }
.hero-card {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(720px, calc(100% - 40px));
  padding: 30px 34px 34px;
  background: rgba(26, 21, 48, 0.9);
  text-align: center;
}
.hero-card h1 { margin: 12px 0 6px; font-family: var(--head); font-weight: 400; font-size: clamp(64px, 11vw, 124px); line-height: 0.85; letter-spacing: 2px; color: var(--paper); text-shadow: 5px 5px 0 var(--tomato), 10px 10px 0 var(--ink); }
.hero-card h1 span { color: var(--sun); }
.hero-card p { margin: 14px auto 22px; max-width: 520px; font-size: 26px; color: #d9d2f5; }
.hero-card .cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-hint { position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--head); font-size: 20px; color: var(--paper); background: var(--ink); padding: 4px 12px 5px; animation: bob 1.4s steps(2) infinite; }
@keyframes bob { 50% { transform: translate(-50%, 4px); } }

.ticker { background: var(--sun); color: var(--ink); border-bottom: 4px solid var(--ink); overflow: hidden; white-space: nowrap; font-family: var(--head); font-size: 26px; }
.ticker .track { display: inline-flex; gap: 48px; padding: 10px 0 12px; animation: roll 38s linear infinite; }
.ticker .track span b { font-weight: 400; color: var(--tomato2); }
.ticker .track span::before { content: "\25A0"; margin-right: 14px; color: var(--violet2); }
@keyframes roll { to { transform: translateX(-50%); } }

section { position: relative; padding: 96px 0; }
.paper { background: var(--paper); color: var(--ink); }
.paper2 { background: var(--paper2); color: var(--ink); }
.night { background: var(--night); color: var(--paper); }
.night2 { background: var(--night2); color: var(--paper); }
.edge-top { border-top: 4px solid var(--ink); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.sec-head h2 { margin: 14px 0 10px; font-family: var(--head); font-weight: 400; font-size: clamp(46px, 7vw, 76px); line-height: 0.9; }
.paper .sec-head h2, .paper2 .sec-head h2 { text-shadow: 4px 4px 0 var(--sun); }
.night .sec-head h2, .night2 .sec-head h2 { text-shadow: 4px 4px 0 var(--violet2); }
.sec-head p { margin: 0; font-size: 24px; opacity: 0.85; }

.equal { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.equal h2 { font-family: var(--head); font-weight: 400; font-size: clamp(46px, 6.5vw, 72px); line-height: 0.9; margin: 16px 0; text-shadow: 4px 4px 0 var(--sun); }
.equal p { font-size: 24px; margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.fact { background: #fff; padding: 16px 14px; text-align: center; }
.fact b { display: block; font-family: var(--head); font-weight: 400; font-size: 52px; line-height: 0.9; color: var(--violet2); }
.fact span { font-size: 20px; }
.equal-art { position: relative; background: var(--ink); padding: 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.equal-art canvas { width: 100%; aspect-ratio: 1; display: block; background: #0d0b1f; }
.equal-art .scale { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; color: var(--sun); font-family: var(--head); font-size: 22px; padding-top: 6px; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 auto 34px; }
.chip { font-family: var(--head); font-size: 21px; padding: 6px 14px 8px; background: var(--ink2); color: var(--paper); border: 0; cursor: pointer; box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink); transition: transform 0.1s steps(2); }
.chip:hover { transform: translateY(-2px); }
.chip.on { background: var(--sun); color: var(--ink); }
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px; }
.job { background: var(--ink2); padding: 10px 10px 12px; transition: transform 0.15s steps(3); }
.job:hover { transform: translateY(-6px) rotate(-1deg); }
.job canvas { width: 100%; aspect-ratio: 1; display: block; background: #0d0b1f; }
.job h3 { margin: 10px 2px 2px; font-family: var(--head); font-weight: 400; font-size: 26px; line-height: 1; color: var(--sun); }
.job p { margin: 2px; font-size: 18px; color: #c9c1ea; line-height: 1.1; }
.job .where { display: inline-block; margin: 8px 2px 0; font-size: 16px; padding: 1px 7px 2px; background: var(--ink); color: var(--teal); }
.job.hide { display: none; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; }
.step { position: relative; background: #fff; padding: 22px 20px 24px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -22px; left: 18px; width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--head); font-size: 32px; background: var(--tomato); color: #fff; box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink); }
.step h3 { margin: 10px 0 8px; font-family: var(--head); font-weight: 400; font-size: 32px; line-height: 1; }
.step p { margin: 0; font-size: 20px; }
.step .ic { height: 92px; display: flex; align-items: end; }
.step .ic canvas { height: 88px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--night2); padding: 26px 26px 30px; position: relative; }
.plan.full { background: var(--ink); }
.plan .ribbon { position: absolute; top: -18px; right: 18px; }
.plan h3 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 44px; color: var(--sun); line-height: 1; }
.plan .mult { font-family: var(--head); font-size: 96px; line-height: 0.85; color: var(--paper); margin: 12px 0 4px; text-shadow: 5px 5px 0 var(--violet2); }
.plan.full .mult { text-shadow: 5px 5px 0 var(--tomato2); }
.plan ul { list-style: none; margin: 18px 0 0; padding: 0; font-size: 21px; }
.plan li { padding: 6px 0 6px 28px; position: relative; border-top: 2px dashed var(--ink3); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 10px; background: var(--teal); }
.note { max-width: 900px; margin: 30px auto 0; text-align: center; font-size: 21px; color: #bdb4e6; }

.split { max-width: 980px; margin: 0 auto; }
.split .bar { display: flex; height: 70px; background: var(--ink); padding: 6px; gap: 6px; }
.split .bar div { display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 30px; color: var(--ink); transform-origin: left; }
.split .bar div:nth-child(1) { flex: 60; background: var(--teal); }
.split .bar div:nth-child(2) { flex: 30; background: var(--sun); }
.split .bar div:nth-child(3) { flex: 10; background: var(--tomato); color: #fff; font-size: 24px; }
.split .legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.split .legend div { background: #fff; padding: 16px 16px 18px; font-size: 20px; }
.split .legend b { display: block; font-family: var(--head); font-weight: 400; font-size: 30px; margin-bottom: 4px; }
.split .legend div:nth-child(1) b { color: var(--teal2); }
.split .legend div:nth-child(2) b { color: var(--sun2); }
.split .legend div:nth-child(3) b { color: var(--tomato2); }

.table { width: 100%; border-collapse: collapse; font-size: 22px; background: var(--night2); }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 2px dashed var(--ink3); }
.table th { font-family: var(--head); font-weight: 400; font-size: 24px; color: var(--sun); background: var(--ink); }
.table td b { font-weight: 400; color: var(--teal); }
.table-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }

.traits { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.trait { background: #fff; padding: 16px; }
.trait b { font-family: var(--head); font-weight: 400; font-size: 44px; color: var(--violet2); line-height: 0.9; display: block; }
.trait span { font-size: 20px; }
.trait .sw { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.trait .sw i { width: 16px; height: 16px; display: block; box-shadow: 0 0 0 2px var(--ink); }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }
.faq details { background: var(--night2); padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 56px 18px 20px; font-family: var(--head); font-size: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 36px; color: var(--sun); transition: transform 0.2s steps(3); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; font-size: 21px; color: #d0c8f0; }

.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--head); font-weight: 400; font-size: clamp(48px, 8vw, 88px); line-height: 0.9; margin: 0 0 16px; text-shadow: 5px 5px 0 var(--tomato); }
.cta-band .cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.site-foot { background: var(--ink); color: #b9b0dd; padding: 44px 0 36px; border-top: 4px solid #000; font-size: 20px; }
.site-foot .row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.site-foot a { color: var(--paper); text-decoration: none; }
.site-foot a:hover { color: var(--sun); }
.site-foot .links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot .addr { margin-top: 18px; font-size: 17px; opacity: 0.8; word-break: break-all; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.5s steps(5), transform 0.5s steps(5); }
.reveal.in { opacity: 1; transform: none; }

.modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(10, 6, 30, 0.7); display: grid; place-items: center; padding: 20px; animation: fade 0.2s steps(3); }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--paper); color: var(--ink); padding: 0 0 20px; animation: pop 0.25s steps(4); }
@keyframes pop { from { transform: scale(0.85); } }
.modal .mh { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 20px; background: var(--ink); color: var(--sun); font-family: var(--head); font-size: 28px; }
.modal .x { background: var(--tomato); color: #fff; border: 0; width: 36px; height: 36px; font-family: var(--head); font-size: 26px; cursor: pointer; line-height: 1; }
.modal .mb { padding: 18px 20px 0; font-size: 21px; }
.modal .mb p { margin: 0 0 14px; }
.wlist { display: grid; gap: 12px; }
.wopt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px; background: #fff; border: 0; cursor: pointer; font-family: var(--head); font-size: 26px; color: var(--ink); text-align: left; text-decoration: none; box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink); transition: transform 0.1s steps(2), background 0.1s; }
.wopt:hover { background: var(--sun); transform: translateX(4px); }
.wopt img, .wopt .wi { width: 34px; height: 34px; image-rendering: auto; display: grid; place-items: center; background: var(--ink); color: var(--sun); font-size: 22px; }
.wopt small { margin-left: auto; font-family: var(--body); font-size: 18px; color: var(--muted); }
.modal .muted { color: var(--muted); font-size: 18px; margin-top: 14px; }
.modal .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; padding: 18px 20px 0; }

.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: grid; gap: 12px; width: min(380px, calc(100% - 36px)); }
.toast { background: var(--paper); color: var(--ink); padding: 12px 16px 14px 18px; font-size: 20px; border-left: 10px solid var(--teal); box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink), 6px 6px 0 0 rgba(10, 6, 30, 0.45); animation: slide 0.25s steps(4); }
.toast.bad { border-left-color: var(--tomato); }
.toast.wait { border-left-color: var(--sun); }
.toast b { font-family: var(--head); font-weight: 400; font-size: 24px; display: block; }
.toast a { color: var(--violet2); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }

.menu-pop { position: absolute; right: 0; top: calc(100% + 14px); background: var(--paper); color: var(--ink); min-width: 230px; padding: 8px; display: grid; gap: 6px; z-index: 60; }
.menu-pop button, .menu-pop a { background: #fff; border: 0; text-align: left; padding: 8px 12px; font-family: var(--head); font-size: 22px; cursor: pointer; text-decoration: none; color: var(--ink); }
.menu-pop button:hover, .menu-pop a:hover { background: var(--sun); }
.rel { position: relative; }

.preview-flag { display: inline-flex; gap: 8px; align-items: center; background: var(--tomato); color: #fff; font-family: var(--head); font-size: 20px; padding: 3px 10px 4px; }

@media (max-width: 980px) {
  .equal { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 20px; }
  section { padding: 70px 0; }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split .legend { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .fact b { font-size: 40px; }
  .equal-art { grid-template-columns: repeat(4, 1fr); }
  .jobs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-card { padding: 22px 18px 26px; }
  .hero-card p { font-size: 22px; }
  .hero-hint { display: none; }
  .split .bar div { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.trait .faces { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.trait .faces canvas { width: 32px; height: 36px; background: var(--paper); box-shadow: 0 0 0 2px var(--ink); }

.town-page { overflow: hidden; height: 100vh; height: 100dvh; }
.town-page .site-head { position: fixed; left: 0; right: 0; }
.stage { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: #4a9935; }
.stage canvas.map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dl { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer; transform-origin: 50% 100%; white-space: nowrap; font-family: var(--head); font-size: 20px; line-height: 1; padding: 4px 9px 6px; background: var(--ink); color: var(--sun); border: 0; box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink), 4px 5px 0 0 rgba(10, 6, 30, 0.4); transition: background 0.1s; }
.dl b { font-weight: 400; color: var(--paper); margin-left: 6px; }
.dl:hover, .dl.on { background: var(--sun); color: var(--ink); }
.dl:hover b, .dl.on b { color: var(--ink); }
.hud { position: absolute; left: 16px; top: 16px; width: min(330px, calc(100% - 32px)); background: rgba(26, 21, 48, 0.94); padding: 14px 16px 16px; z-index: 5; }
.hud h1 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 34px; line-height: 1; color: var(--paper); text-shadow: 3px 3px 0 var(--tomato); }
.hud h1 span { color: var(--sun); }
.hud .row { display: flex; gap: 10px; margin-top: 12px; }
.hud .stat { flex: 1; background: var(--ink2); padding: 6px 10px 8px; }
.hud .stat b { display: block; font-family: var(--head); font-weight: 400; font-size: 30px; line-height: 1; color: var(--teal); }
.hud .stat.idle b { color: #bdb4e6; }
.hud .stat span { font-size: 17px; color: #bdb4e6; }
.hud .tools { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.hud .tools .btn { font-size: 20px; padding: 6px 11px 8px; min-width: 42px; }
.hud form { display: flex; gap: 8px; margin-top: 12px; }
.hud input { flex: 1; min-width: 0; font-family: var(--head); font-size: 22px; padding: 6px 10px; border: 0; background: var(--paper); color: var(--ink); box-shadow: inset 3px 3px 0 rgba(0, 0, 0, 0.18); }
.hud input:focus { outline: 3px solid var(--sun); }
.hud .pv { margin-top: 12px; font-size: 17px; color: #ffb3ad; }
.hud .fold { display: none; }
.legend-bar { position: absolute; left: 16px; bottom: 16px; z-index: 4; background: rgba(26, 21, 48, 0.9); padding: 8px 12px 10px; font-size: 18px; color: #d9d2f5; max-width: min(520px, calc(100% - 32px)); }
.legend-bar a { color: var(--sun); }
.drawer { position: absolute; top: 16px; right: 16px; bottom: 16px; width: min(400px, calc(100% - 32px)); z-index: 6; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; transform: translateX(calc(100% + 40px)); transition: transform 0.3s steps(6); }
.drawer.open { transform: none; }
.drawer .dh { background: var(--ink); color: var(--paper); padding: 12px 14px 14px 18px; display: flex; align-items: flex-start; gap: 10px; }
.drawer .dh h2 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 36px; line-height: 0.95; color: var(--sun); }
.drawer .dh p { margin: 4px 0 0; font-size: 19px; color: #d9d2f5; }
.drawer .dh .x { margin-left: auto; flex: none; background: var(--tomato); color: #fff; border: 0; width: 38px; height: 38px; font-family: var(--head); font-size: 28px; cursor: pointer; line-height: 1; }
.drawer .db { overflow: auto; padding: 14px 16px 20px; flex: 1; overscroll-behavior: contain; }
.drawer h3 { font-family: var(--head); font-weight: 400; font-size: 26px; margin: 8px 0 10px; }
.djobs { display: grid; gap: 10px; }
.djob { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: #fff; padding: 8px 10px; box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink); }
.djob canvas { width: 64px; height: 64px; display: block; }
.djob b { font-family: var(--head); font-weight: 400; font-size: 24px; display: block; line-height: 1; }
.djob span { font-size: 17px; color: var(--muted); }
.djob em { font-style: normal; font-family: var(--head); font-size: 28px; color: var(--teal2); text-align: right; line-height: 1; }
.djob em small { display: block; font-family: var(--body); font-size: 15px; color: var(--muted); }
.alist { display: grid; gap: 6px; }
.arow { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; background: #fff; padding: 5px 10px 5px 6px; border: 0; width: 100%; text-align: left; cursor: pointer; font-family: var(--body); font-size: 19px; color: var(--ink); }
.arow:hover { background: var(--sun); }
.arow canvas { width: 32px; height: 36px; }
.arow b { font-family: var(--head); font-weight: 400; font-size: 22px; }
.badge { font-family: var(--head); font-size: 16px; padding: 2px 7px 3px; background: var(--ink2); color: var(--paper); white-space: nowrap; }
.badge.full { background: var(--tomato); color: #fff; }
.badge.part { background: var(--teal); color: var(--ink); }
.badge.idle { background: #d5d0e6; color: var(--ink); }
.badge.done { background: var(--sun); color: var(--ink); }
.more { margin-top: 12px; width: 100%; }
.card-pop { position: absolute; z-index: 7; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(420px, calc(100% - 32px)); background: var(--paper); color: var(--ink); display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 14px 16px 16px 14px; animation: pop 0.25s steps(4); }
.card-pop .pic { width: 120px; height: 146px; background: #fff; box-shadow: 0 0 0 3px var(--ink); display: grid; place-items: center; overflow: hidden; }
.card-pop .pic canvas, .card-pop .pic img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.card-pop h3 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 34px; line-height: 1; }
.card-pop .sub { font-size: 19px; color: var(--muted); margin: 2px 0 8px; }
.card-pop dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 18px; }
.card-pop dt { color: var(--muted); }
.card-pop dd { margin: 0; }
.card-pop .x { position: absolute; top: -14px; right: -14px; background: var(--tomato); color: #fff; border: 0; width: 34px; height: 34px; font-family: var(--head); font-size: 24px; cursor: pointer; box-shadow: 0 0 0 3px var(--ink); }
.loading { position: absolute; inset: 0; display: grid; place-items: center; z-index: 8; background: var(--night); font-family: var(--head); font-size: 34px; color: var(--sun); transition: opacity 0.4s steps(4); }
.loading.gone { opacity: 0; pointer-events: none; }
.loading .barx { width: 240px; height: 18px; background: var(--ink2); margin-top: 14px; box-shadow: 0 0 0 3px var(--ink); }
.loading .barx i { display: block; height: 100%; width: 5%; background: var(--sun); transition: width 0.3s; }

@media (max-width: 760px) {
  .stage { top: 72px; }
  .hud { padding: 10px 12px 12px; left: 10px; top: 10px; width: calc(100% - 20px); }
  .hud h1 { font-size: 28px; }
  .hud .fold { display: inline-flex; position: absolute; right: 10px; top: 8px; }
  .hud.min .row, .hud.min .tools, .hud.min form, .hud.min .pv { display: none; }
  .hud .stat b { font-size: 24px; }
  .legend-bar { display: none; }
  .drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; transform: translateY(calc(100% + 20px)); }
  .drawer.open { transform: none; }
  .card-pop { grid-template-columns: 90px 1fr; bottom: 10px; }
  .card-pop .pic { width: 90px; height: 110px; }
  .dl { font-size: 17px; }
}
[hidden] { display: none !important; }

.page-top { padding: 56px 0 26px; }
.page-top h1 { margin: 12px 0 8px; font-family: var(--head); font-weight: 400; font-size: clamp(52px, 8vw, 88px); line-height: 0.9; text-shadow: 5px 5px 0 var(--tomato); }
.page-top p { margin: 0; font-size: 24px; color: #d0c8f0; max-width: 700px; }
.mine-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; padding-bottom: 90px; align-items: start; }
.panel { background: var(--night2); padding: 20px 22px 24px; }
.panel.light { background: var(--paper); color: var(--ink); }
.panel h2 { margin: 0 0 14px; font-family: var(--head); font-weight: 400; font-size: 34px; line-height: 1; color: var(--sun); }
.panel.light h2 { color: var(--ink); }
.reel { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; background: var(--ink); padding: 12px; }
.reel canvas { width: 100%; aspect-ratio: 1; display: block; background: #0d0b1f; }
.reel .center { box-shadow: 0 0 0 4px var(--sun); }
.reel .status { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); white-space: nowrap; }
.mstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.mstat { background: var(--ink); padding: 10px 12px 12px; }
.mstat span { display: block; font-size: 17px; color: #bdb4e6; }
.mstat b { display: block; font-family: var(--head); font-weight: 400; font-size: 30px; line-height: 1; color: var(--paper); margin-top: 4px; word-break: break-all; }
.mstat b.hot { color: var(--sun); }
.progress { height: 22px; background: var(--ink); margin-top: 16px; padding: 4px; }
.progress i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--teal) 0 12px, var(--teal2) 12px 16px); transition: width 0.4s; }
.prog-label { display: flex; justify-content: space-between; font-size: 18px; color: #bdb4e6; margin-top: 6px; }
.controls { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.threads { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 19px; color: #bdb4e6; }
.threads .chip { font-size: 18px; padding: 4px 10px 6px; }
.console { margin-top: 22px; background: #0b0a1c; color: #7dffa1; font-size: 18px; line-height: 1.3; padding: 12px 14px; height: 180px; overflow: auto; box-shadow: inset 0 0 0 3px var(--ink2); }
.console div { white-space: pre-wrap; word-break: break-all; }
.console .y { color: var(--sun); }
.console .r { color: #ff8f86; }
.console .c { color: var(--teal); }
.hires { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hire { background: #fff; padding: 6px 6px 8px; text-align: center; box-shadow: 0 0 0 3px var(--ink); }
.hire canvas { width: 64px; height: 72px; display: block; margin: 0 auto; }
.hire b { display: block; font-family: var(--head); font-weight: 400; font-size: 20px; }
.hire span { font-size: 15px; color: var(--muted); }
.bullets { list-style: none; margin: 0; padding: 0; font-size: 20px; }
.bullets li { position: relative; padding: 8px 0 8px 26px; border-top: 2px dashed var(--paper3); }
.bullets li:first-child { border-top: 0; }
.bullets li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 10px; background: var(--tomato); }
.stack { display: grid; gap: 34px; }
.win { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; background: rgba(10, 6, 30, 0.75); padding: 20px; }
.win .box { background: var(--paper); color: var(--ink); width: min(440px, 100%); padding: 22px 22px 26px; text-align: center; animation: pop 0.3s steps(4); }
.win h2 { margin: 6px 0 8px; font-family: var(--head); font-weight: 400; font-size: 52px; line-height: 0.9; text-shadow: 4px 4px 0 var(--sun); }
.win canvas { width: 180px; height: 180px; box-shadow: 0 0 0 4px var(--ink); margin: 10px auto 14px; display: block; }
.win .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 111; }

@media (max-width: 960px) {
  .mine-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mstats { grid-template-columns: 1fr 1fr; }
  .mstat b { font-size: 24px; }
  .hires { grid-template-columns: repeat(3, 1fr); }
}

.connect-card { max-width: 620px; margin: 0 auto 90px; text-align: center; padding: 34px 26px 36px; }
.connect-card canvas { width: 128px; height: 144px; margin: 0 auto 10px; display: block; }
.connect-card p { font-size: 22px; margin: 8px 0 22px; }
.sumbar { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: stretch; margin-bottom: 26px; }
.sumbar .mstat { background: var(--night2); }
.sumbar .btn { align-self: center; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; background: var(--night2); padding: 14px; }
.toolbar .sep { width: 4px; height: 34px; background: var(--ink); margin: 0 4px; }
.toolbar .count { font-family: var(--head); font-size: 22px; color: var(--sun); margin-right: 6px; }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; padding-bottom: 90px; }
.acard { position: relative; background: var(--paper); color: var(--ink); padding: 10px 10px 12px; cursor: pointer; transition: transform 0.12s steps(2); user-select: none; }
.acard:hover { transform: translateY(-4px); }
.acard.sel { background: var(--sun); }
.acard .img { width: 100%; aspect-ratio: 1; background: #0d0b1f; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 3px var(--ink); }
.acard .img img, .acard .img canvas { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; display: block; }
.acard .tick { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; background: var(--paper); box-shadow: 0 0 0 3px var(--ink); display: grid; place-items: center; font-family: var(--head); font-size: 24px; color: transparent; }
.acard.sel .tick { background: var(--tomato); color: #fff; }
.acard h3 { margin: 10px 2px 0; font-family: var(--head); font-weight: 400; font-size: 28px; line-height: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.acard h3 small { font-family: var(--body); font-size: 18px; color: var(--muted); }
.acard .meta { margin: 6px 2px 0; font-size: 18px; display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.acard .pay { margin: 6px 2px 0; font-size: 18px; color: var(--teal2); }
.empty { text-align: center; padding: 50px 20px 90px; font-size: 22px; color: #d0c8f0; }
@media (max-width: 860px) {
  .sumbar { grid-template-columns: 1fr 1fr; }
  .sumbar .btn { grid-column: 1 / -1; }
  .toolbar .sep { display: none; }
}
@media (max-width: 520px) {
  .agrid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .acard h3 { font-size: 22px; }
}

.coin { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: center; max-width: 980px; }
.coin-img { width: 100%; height: auto; image-rendering: pixelated; box-shadow: 0 -5px 0 0 var(--ink), 0 5px 0 0 var(--ink), -5px 0 0 0 var(--ink), 5px 0 0 0 var(--ink), 12px 14px 0 0 rgba(26, 21, 48, 0.35); animation: coinbob 2.4s steps(4) infinite; }
@keyframes coinbob { 50% { transform: translateY(-8px); } }
.coin h2 { font-family: var(--head); font-weight: 400; font-size: clamp(56px, 9vw, 110px); line-height: 0.85; margin: 12px 0 14px; text-shadow: 5px 5px 0 var(--sun); }
.coin p { font-size: 23px; margin: 0 0 14px; }
.coin .addr { font-size: 18px; word-break: break-all; color: var(--violet2); }
@media (max-width: 760px) { .coin { grid-template-columns: 1fr; text-align: center; } .coin-img { max-width: 220px; margin: 0 auto; } }

.back { display: inline-block; margin-bottom: 14px; font-family: var(--head); font-size: 22px; color: var(--sun); text-decoration: none; }
.back:hover { color: var(--paper); }
.lp { padding-bottom: 20px; }
.lp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.lp-stats .mstat { background: var(--night2); }
.mstat small { display: block; font-size: 16px; color: #bdb4e6; margin-top: 4px; word-break: break-all; }
.fees-box { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.fees-box h2 { margin: 0 0 4px; }
.fees-box p { margin: 0; font-size: 19px; }
.fees-box.side { display: block; margin: 0; }
.fees-box.side p { margin-bottom: 12px; color: #d0c8f0; }
.fee-rows { display: grid; gap: 10px; }
.fee-row { display: flex; align-items: center; gap: 14px; justify-content: space-between; }
.fee-row b { font-family: var(--head); font-weight: 400; font-size: 28px; color: var(--teal2); }
.fees-box.side .fee-row b { color: var(--teal); }
.lp-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 30px; background: var(--night2); padding: 14px; }
.lp-tools input { flex: 1 1 260px; min-width: 0; font-family: var(--head); font-size: 24px; padding: 8px 12px; border: 0; background: var(--paper); color: var(--ink); box-shadow: inset 3px 3px 0 rgba(0, 0, 0, 0.18); }
.lp-tools input:focus, .field input:focus, .field textarea:focus, .amt input:focus { outline: 3px solid var(--sun); outline-offset: 0; }
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.seg .chip { font-size: 19px; padding: 5px 12px 7px; }
.lp-block { margin-bottom: 44px; }
.lp-h { font-family: var(--head); font-weight: 400; font-size: 44px; line-height: 1; margin: 0 0 18px; text-shadow: 3px 3px 0 var(--violet2); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lp-h small { font-family: var(--body); font-size: 20px; color: #bdb4e6; text-shadow: none; }
.hit-ic { color: var(--sun); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.tcard { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: start; background: var(--paper); color: var(--ink); padding: 12px; text-decoration: none; transition: transform 0.12s steps(2); }
a.tcard:hover { transform: translateY(-4px); }
.tcard.static { grid-template-columns: 92px 1fr; }
.tpic { width: 92px; height: 92px; background: var(--ink); box-shadow: 0 0 0 3px var(--ink); overflow: hidden; display: grid; place-items: center; }
.tpic img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; display: block; }
.tpic .ident { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.tpic .noimg { font-family: var(--head); font-size: 44px; color: var(--sun); }
.tpic.big { width: 132px; height: 132px; flex: none; }
.tbody { min-width: 0; }
.tbody h3 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 28px; line-height: 1; display: flex; flex-direction: column; }
.tbody h3 .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbody h3 small { font-family: var(--body); font-size: 19px; color: var(--muted); margin-top: 2px; }
.tbadges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge.eth { background: var(--violet); color: #fff; }
.badge.town { background: var(--sun); color: var(--ink); }
.tmc { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 8px; font-size: 18px; }
.tmc span { color: var(--muted); }
.tmc b { font-family: var(--head); font-weight: 400; font-size: 26px; color: var(--violet2); }
.hitbar { height: 12px; background: var(--ink); margin-top: 6px; padding: 2px; }
.hitbar i { display: block; height: 100%; width: 2%; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, var(--teal2) 8px 10px); transition: width 0.4s; }
.hitbar.hit i { background: repeating-linear-gradient(90deg, var(--sun) 0 8px, var(--sun2) 8px 10px); animation: glow 1s steps(2) infinite; }
@keyframes glow { 50% { filter: brightness(1.25); } }
.hitbar.big { height: 26px; padding: 4px; }
.hit-flag { position: absolute; top: -12px; right: 12px; background: var(--tomato); color: #fff; font-family: var(--head); font-size: 18px; padding: 2px 9px 3px; box-shadow: 0 0 0 3px var(--ink); animation: blink 1.2s steps(2) infinite; }
.lp .more { display: flex; margin: 22px auto 0; width: auto; }
.lp-how { margin-top: 40px; padding: 80px 0 90px; }
.lp-how .steps { margin-top: 10px; }
.lp-how .step h3 { margin-top: 14px; }
.dark-note { color: var(--ink2); }
.create-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; padding-bottom: 90px; }
.cform { display: grid; gap: 18px; }
.drop { display: flex; align-items: center; gap: 16px; cursor: pointer; background: #fff; padding: 12px; box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink); transition: background 0.1s; }
.drop:hover { background: #fffbe9; }
.drop-pic { width: 96px; height: 96px; flex: none; background: var(--paper2); box-shadow: inset 0 0 0 3px var(--paper3); display: grid; place-items: center; overflow: hidden; }
.drop-pic em { font-style: normal; font-family: var(--head); font-size: 56px; color: var(--muted); }
.drop-pic img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.drop-t b { display: block; font-family: var(--head); font-weight: 400; font-size: 28px; }
.drop-t small { font-size: 18px; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.field { display: grid; gap: 6px; position: relative; }
.field.wide { grid-column: 1 / -1; }
.field > span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-family: var(--head); font-size: 24px; }
.field input, .field textarea { width: 100%; font-family: var(--body); font-size: 22px; padding: 8px 12px; border: 0; background: #fff; color: var(--ink); box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink); resize: vertical; }
.field input.err, .field textarea.err, .amt input.err { background: #ffe1dd; }
.cnt { position: absolute; right: 8px; top: 6px; font-size: 16px; color: var(--muted); }
.links-box { background: var(--paper2); padding: 0 14px; }
.links-box summary { cursor: pointer; font-family: var(--head); font-size: 24px; padding: 10px 0; list-style: none; }
.links-box summary::-webkit-details-marker { display: none; }
.links-box summary::before { content: "+ "; color: var(--tomato); }
.links-box[open] summary::before { content: "– "; }
.links-box summary small { font-family: var(--body); font-size: 17px; color: var(--muted); }
.links-box .fgrid { padding-bottom: 14px; }
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pairopt { display: grid; gap: 4px; text-align: left; padding: 12px 14px; background: #fff; border: 0; cursor: pointer; box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink); transition: transform 0.1s steps(2); }
.pairopt b { font-family: var(--head); font-weight: 400; font-size: 28px; line-height: 1; }
.pairopt small { font-size: 17px; color: var(--muted); }
.pairopt:hover { transform: translateY(-2px); }
.pairopt.on { background: var(--sun); }
.pairopt.on small { color: var(--ink2); }
.pairopt[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.fee-val { color: var(--tomato2); font-weight: 400; }
.field input[type=range] { -webkit-appearance: none; appearance: none; height: 18px; padding: 0; background: var(--ink); box-shadow: none; }
.field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 30px; background: var(--sun); border: 0; box-shadow: 0 0 0 3px var(--ink); cursor: pointer; }
.field input[type=range]::-moz-range-thumb { width: 26px; height: 30px; background: var(--sun); border: 0; border-radius: 0; box-shadow: 0 0 0 3px var(--ink); cursor: pointer; }
.fee-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.fee-split .fs { background: #fff; padding: 6px 10px 8px; box-shadow: 0 0 0 2px var(--ink); }
.fee-split .fs span { display: block; font-size: 16px; color: var(--muted); }
.fee-split .fs b { font-family: var(--head); font-weight: 400; font-size: 28px; line-height: 1; }
.fee-split .fs.c b { color: var(--teal2); }
.fee-split .fs.m b { color: var(--violet2); }
.fee-split small { grid-column: 1 / -1; font-size: 17px; color: var(--muted); }
.amt { display: flex; align-items: stretch; background: #fff; box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink); }
.amt input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--head); font-size: 32px; padding: 6px 12px; color: var(--ink); box-shadow: none; }
.amt em { font-style: normal; display: grid; place-items: center; padding: 0 14px; background: var(--ink); color: var(--sun); font-family: var(--head); font-size: 22px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.quick .chip { font-size: 18px; padding: 4px 10px 6px; }
.hint { font-size: 18px; color: var(--teal2); }
.hint.bad { color: var(--tomato2); }
.muted-s { font-size: 17px; color: var(--muted); font-family: var(--body); }
.launch-btn { width: 100%; }
.fine { margin: 0; font-size: 17px; color: var(--muted); }
.cside { position: sticky; top: 90px; }
.sum { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 19px; }
.sum dt { color: #bdb4e6; }
.sum dd { margin: 0; text-align: right; word-break: break-word; }
.sum a { color: var(--sun); }
.pv-desc { margin: 14px 0 0; font-size: 19px; color: #d0c8f0; white-space: pre-wrap; word-break: break-word; }
.tlinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tlinks .chip { text-decoration: none; font-size: 18px; padding: 4px 11px 6px; }
.copy { background: var(--ink2); color: var(--paper); border: 0; font-family: var(--body); font-size: 18px; padding: 1px 8px 2px; cursor: pointer; }
.copy:hover { background: var(--sun); color: var(--ink); }
.tk-top { padding-bottom: 30px; }
.tk-head { display: flex; gap: 24px; align-items: flex-start; }
.tk-id { min-width: 0; }
.tk-id h1 { margin: 0; font-size: clamp(44px, 7vw, 76px); word-break: break-word; }
.tk-sym { font-family: var(--head); font-size: 28px; color: var(--sun); margin-top: 4px; }
.tk-desc { margin: 12px 0 0 !important; font-size: 21px; white-space: pre-wrap; word-break: break-word; }
.tk-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; align-items: start; padding-bottom: 90px; }
.tk-main, .tk-side { display: grid; gap: 26px; min-width: 0; }
.tk-main .lp-stats { margin: 0; }
.tk-side { position: sticky; top: 90px; }
.hit-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 20px; color: #d0c8f0; }
.hit-row b { font-family: var(--head); font-weight: 400; font-size: 28px; color: var(--sun); }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.chart-head h2 { margin: 0; }
.chart-box { position: relative; height: 300px; background: #0f0d2a; box-shadow: inset 0 0 0 3px var(--ink); }
.chart-box canvas { display: block; image-rendering: auto; cursor: crosshair; }
.chart-tip { position: absolute; pointer-events: none; background: var(--paper); color: var(--ink); font-size: 17px; padding: 2px 8px 3px; white-space: nowrap; box-shadow: 0 0 0 2px var(--ink); }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #bdb4e6; font-size: 20px; }
.trades { display: grid; gap: 4px; max-height: 460px; overflow: auto; }
.trow { display: grid; grid-template-columns: 54px 1fr 1fr 96px 40px; gap: 10px; align-items: center; padding: 6px 10px; background: var(--ink); text-decoration: none; font-size: 18px; color: #d9d2f5; }
.trow:hover { background: var(--ink3); }
.trow b { font-family: var(--head); font-weight: 400; font-size: 20px; }
.trow.b b { color: var(--teal); }
.trow.s b { color: #ff8f86; }
.trow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .ago { text-align: right; color: #8f86b8; }
.trow .who { color: #8f86b8; }
.trade-box { display: grid; gap: 14px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); padding: 4px; gap: 4px; }
.tabs button { border: 0; background: transparent; color: var(--paper); font-family: var(--head); font-size: 28px; padding: 6px 0 8px; cursor: pointer; }
.tabs button.on[data-v=buy] { background: var(--teal); color: var(--ink); }
.tabs button.on[data-v=sell] { background: var(--tomato); color: #fff; }
.bal { font-family: var(--body); font-size: 17px; color: var(--muted); }
.recv { display: grid; gap: 4px; background: #fff; padding: 10px 12px; box-shadow: 0 0 0 3px var(--ink); font-size: 19px; }
.recv div { display: flex; justify-content: space-between; gap: 10px; }
.recv span { color: var(--muted); }
.recv b { font-weight: 400; text-align: right; word-break: break-all; }
.recv b.bad { color: var(--tomato2); }
.recv .slip { cursor: pointer; text-decoration: underline dashed; }
.trade-btn { width: 100%; }
.tk-info .sum dd { text-align: right; }
@media (max-width: 980px) {
  .create-grid, .tk-grid { grid-template-columns: 1fr; }
  .cside, .tk-side { position: static; }
  .tk-side { order: -1; }
}
@media (max-width: 640px) {
  .lp-stats { grid-template-columns: 1fr 1fr; }
  .fgrid, .pairs { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: 1fr; }
  .tk-head { gap: 16px; }
  .tpic.big { width: 96px; height: 96px; }
  .trow { grid-template-columns: 46px 1fr 1fr 36px; }
  .trow .who { display: none; }
  .chart-box { height: 240px; }
  .fee-split .fs b { font-size: 24px; }
}
.lp-teaser .cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.os-link { display: inline-block; margin-top: 16px; font-family: var(--head); font-size: 22px; color: var(--sun); text-decoration: none; border-bottom: 3px dashed var(--sun); padding-bottom: 2px; }
.os-link:hover { color: var(--paper); border-color: var(--paper); }
.os-btn { margin-top: 16px; width: 100%; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.hires p { grid-column: 1 / -1; margin: 0; }
