:root {
  --bg: #070b19;
  --bg-deep: #040814;
  --raise: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --cyan: #22d3ee;
  --sky: #38bdf8;
  --violet: #a855f7;
  --pink: #ec4899;
  --emerald: #34d399;
  --shadow: 0 26px 70px rgba(2, 6, 23, 0.55);
  --radius: 26px;
  color-scheme: dark;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button, a, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -0.02em; }
img, svg { max-width: 100%; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(780px 500px at 88% 2%, rgba(168, 85, 247, 0.18), transparent 62%),
    radial-gradient(900px 620px at 50% 108%, rgba(236, 72, 153, 0.1), transparent 66%),
    var(--bg);
}

.shell {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  padding-bottom: 24px;
}

.eyebrow {
  color: #7c8aa5;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  margin-top: 8px;
  padding-block: 2px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 90s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 2px;
  padding-inline-end: 10px;
}
.ticker-group span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 17, 36, 0.92);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.3);
  white-space: nowrap;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
}
.ticker-group b { color: var(--soft); font-weight: 600; }
.ticker-group em { font-style: normal; font-weight: 600; color: var(--emerald); }
.ticker-group strong { color: #e2e8f0; font-weight: 500; }
.ticker-group i { font-style: normal; color: #64748b; font-size: 10px; }
.ticker-group .dot { width: 18px; height: 18px; font-size: 9px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 18px 0 14px;
}
.brand {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.4));
}
.brand-logo svg { display: block; width: 100%; height: 100%; }
.brand-text { display: grid; min-width: 0; gap: 2px; overflow: hidden; }
.brand-name {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}
.brand-name span {
  background: linear-gradient(100deg, var(--sky), var(--violet) 60%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-text small {
  max-width: 100%;
  overflow: hidden;
  color: #7c8aa5;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-nav {
  display: none;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: 26px;
  overflow: hidden;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.site-nav a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--cyan); }
.header-actions {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}
.header-register {
  display: inline-flex;
  width: auto;
  max-width: 210px;
  min-width: 0;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  padding: 0 13px;
  border: 1px solid rgba(34, 211, 238, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.24), rgba(168, 85, 247, 0.18));
  color: #e0f7ff;
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}
.header-register span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-register:active { transform: translateY(1px); }
.language { position: relative; flex: 0 0 auto; }
.language-button {
  display: flex;
  max-width: 200px;
  height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 20, 40, 0.8);
  color: var(--soft);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  white-space: nowrap;
}
.language-flag {
  width: 22px;
  height: 15px;
  flex-shrink: 0;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.28);
}
.language-name {
  max-width: 128px;
  min-width: 0;
  overflow: hidden;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 8;
  width: 214px;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #0b1224;
  box-shadow: var(--shadow);
}
.language-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  text-align: left;
}
.language-menu button:hover { background: rgba(56, 189, 248, 0.1); }
.language-menu button[aria-selected="true"] {
  background: rgba(34, 211, 238, 0.16);
  color: #a5f3fc;
}
.language-option-flag {
  width: 22px;
  height: 15px;
  flex-shrink: 0;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.28);
}
.language-option-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

main { padding: 4px 0 0; }
.hero-block {
  display: grid;
  gap: 22px;
  padding-top: 24px;
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(32px, 8.4vw, 54px);
  line-height: 1.04;
  font-weight: 700;
}
.hero h1 em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  background: linear-gradient(100deg, var(--sky) 6%, var(--violet) 62%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.season-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: #bae6fd;
  font-size: 12.5px;
  line-height: 1.3;
}
.pulse {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 1.8s infinite;
}
.lede {
  margin-top: 16px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 22px;
  max-width: 460px;
}
.countdown div {
  padding: 11px 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(8, 13, 30, 0.94));
  box-shadow: var(--shadow);
  text-align: center;
}
.countdown strong {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 700;
  color: #fff;
}
.countdown div:first-child strong { color: var(--cyan); }
.countdown div:last-child strong { color: var(--violet); }
.countdown span {
  display: block;
  margin-top: 3px;
  color: #7c8aa5;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.assets-block { margin-top: 24px; scroll-margin-top: 20px; }
.asset-label { color: #7c8aa5; font-size: 10px; }
.asset-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
}
.asset-toggle b { transition: transform 0.25s ease; }
.asset-toggle b.is-open { transform: rotate(180deg); }
.asset-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
}
.chip:hover { border-color: rgba(34, 211, 238, 0.45); }
.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
  margin-top: 12px;
  padding: 12px 2px 0 0;
  border-top: 1px solid var(--line);
}
.asset-grid[hidden] { display: none; }
.asset-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 13, 30, 0.9);
  font-size: 11.5px;
  font-weight: 700;
}
.dot {
  display: grid;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.dot.lg { width: 40px; height: 40px; border-radius: 12px; font-size: 13px; }


.claim-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(320px 180px at 88% -12%, rgba(168, 85, 247, 0.24), transparent 62%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 30, 0.98));
  box-shadow: var(--shadow);
}
.live-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: #67e8f9;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
}
.live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 1.8s infinite;
}
.claim-card h2 { font-size: clamp(21px, 4.6vw, 26px); line-height: 1.16; }
.claim-subtitle { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.progress-block { display: grid; gap: 8px; }
.progress-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 11.5px;
}
.progress-label strong {
  color: #a5f3fc;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
}
.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}
.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky), var(--cyan) 52%, var(--violet));
}
.estimate {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.5);
}
.estimate-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.estimate-head em { font-style: normal; color: var(--emerald); font-weight: 600; }
.estimate-tokens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.estimate-tokens div {
  padding: 8px 6px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  text-align: center;
}
.estimate-tokens small {
  display: block;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.06em;
}
.estimate-tokens strong { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; }
.estimate-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.2);
  color: var(--muted);
  font-size: 11.5px;
}
.estimate-total strong {
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 18px;
}
.primary {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(100deg, #22d3ee, #6366f1 55%, #a855f7);
  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.34);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
}
.primary:hover { filter: brightness(1.06); }
.primary:active { transform: translateY(1px); }
.primary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fine-print { color: var(--muted); font-size: 11px; text-align: center; line-height: 1.5; }


.panel {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(8, 13, 30, 0.92));
  box-shadow: var(--shadow);
  scroll-margin-top: 20px;
}
.panel h2 { font-size: clamp(22px, 4.4vw, 30px); line-height: 1.16; }
.panel-copy { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.pools-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.sync-pill {
  align-self: flex-start;
  padding: 6px 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  color: #bae6fd;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  line-height: 1.5;
}
.pool-grid { display: grid; gap: 12px; }
.pool-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.45);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pool-card:hover { border-color: rgba(34, 211, 238, 0.42); transform: translateY(-2px); }
.pool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pool-main { display: flex; min-width: 0; align-items: center; gap: 10px; }
.pool-name { min-width: 0; }
.pool-name b { display: block; font-size: 13.5px; letter-spacing: 0.01em; }
.pool-name small {
  display: block;
  overflow: hidden;
  color: #7c8aa5;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pool-apr {
  flex-shrink: 0;
  padding: 3px 6px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.08);
  color: #67e8f9;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  white-space: nowrap;
}
.pool-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--muted);
  font-size: 10.5px;
}
.pool-foot strong {
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.security-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.security-head > div { min-width: 0; }
.certik-badge {
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid rgba(52, 211, 153, 0.34);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: #a7f3d0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.notice .eyebrow { margin: 18px 0 10px; }
.accordion { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.3);
}
.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  text-align: left;
}
.faq-item button > span { display: flex; align-items: baseline; gap: 10px; }
.faq-item b {
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
}
.faq-item em { font-style: normal; font-size: 13.5px; line-height: 1.5; }
.faq-item i {
  color: var(--cyan);
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq-item p {
  display: none;
  margin: 0;
  padding: 0 14px 14px 42px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
.faq-item.is-open p { display: block; }
.faq-item.is-open i { transform: rotate(45deg); }

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #7c8aa5;
  font-size: 11.5px;
  line-height: 1.6;
}


.gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--bg-deep);
  transition: opacity 0.6s ease;
}
.gate.is-done { opacity: 0; pointer-events: none; }
.gate-card {
  width: min(100%, 430px);
  padding: 26px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(7, 12, 28, 0.98));
  box-shadow: var(--shadow);
  text-align: center;
}
.gate-mark {
  display: grid;
  width: max-content;
  grid-template-columns: 10px 10px;
  gap: 5px;
  margin: 0 auto 16px;
}
.gate-mark span {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--sky), var(--violet));
}
.gate-mark span:nth-child(2) { opacity: 0.55; }
.gate-mark span:nth-child(3) { opacity: 0.75; }
.gate-card h2 { margin: 10px 0 8px; font-size: 24px; line-height: 1.15; }
.gate-status { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.gate-card .progress-track { margin-top: 18px; }
.gate-log {
  min-height: 62px;
  margin: 14px 0 0;
  padding: 11px;
  border-radius: 12px;
  background: #060c1a;
  color: #9fb4d4;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  line-height: 1.6;
  text-align: left;
  white-space: pre-wrap;
}
.gate-count { margin-top: 12px; color: var(--muted); font-size: 12px; }
.gate-count strong { color: #fff; font-family: "JetBrains Mono", ui-monospace, monospace; }

dialog.sheet {
  width: min(100% - 32px, 470px);
  max-height: calc(100vh - 48px);
  margin: auto;
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 26px;
  background:
    radial-gradient(320px 170px at 84% -12%, rgba(168, 85, 247, 0.22), transparent 62%),
    linear-gradient(180deg, #0f172a, #070d1c);
  color: var(--text);
  box-shadow: var(--shadow);
}
dialog.sheet::backdrop {
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(6px);
  animation: fade 0.25s ease;
}
dialog.sheet[open] { animation: rise 0.28s ease; }
dialog.sheet h2 {
  margin: 8px 0;
  padding-right: 54px;
  font-size: clamp(20px, 4.4vw, 25px);
  line-height: 1.16;
}
.sheet-center { text-align: center; }
.sheet-center h2 { padding: 0; }
.sheet-copy { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.dialog-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  aspect-ratio: 1;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(12, 20, 40, 0.85);
  color: var(--soft);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.register-form { display: grid; gap: 12px; margin-top: 16px; }

.field { display: grid; gap: 6px; color: #b6c2d6; font-size: 11.5px; }
.field input, .field select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.7);
  color: #fff;
  font-size: 13.5px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px 14px;
}
[dir="rtl"] .field select {
  padding-right: 12px;
  padding-left: 42px;
  background-position: left 15px center;
}
.field input::placeholder { color: #64748b; }
.field input:focus, .field select:focus {
  outline: 2px solid rgba(34, 211, 238, 0.5);
  outline-offset: 1px;
}
.register-form .primary { margin-top: 6px; }
.verify-mark {
  display: grid;
  width: 46px;
  height: 46px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 auto 14px;
}
.verify-mark span {
  border-radius: 4px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  animation: flicker 1.4s ease-in-out infinite;
}
.verify-mark span:nth-child(2) { animation-delay: 0.2s; }
.verify-mark span:nth-child(3) { animation-delay: 0.4s; }
.verify-mark span:nth-child(4) { animation-delay: 0.6s; }
.sheet-center .progress-track { margin: 18px 0 12px; }
.verify-count { color: var(--muted); font-size: 12px; }
.verify-count strong { color: #fff; font-family: "JetBrains Mono", ui-monospace, monospace; }
.success-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
  font-size: 24px;
}
.sheet-center .primary { margin-top: 18px; }

@media (min-width: 560px) {
  .pool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-meta { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 900px) {
  .shell { width: min(100% - 48px, 1180px); }
  .site-nav { display: flex; }
  .header-actions { margin-inline-start: 0; }
  .hero-block {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 420px);
    align-items: start;
    gap: 30px;
    padding-top: 34px;
  }
  .claim-card { padding: 24px; }
  .hero h1 { max-width: 620px; }
  .panel { padding: 26px; }
  .pools-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
@media (min-width: 1060px) {
  .pool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .language-name { display: none; }
}
@media (max-width: 420px) {
  .header-register span {
    display: block;
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand-text small { display: none; }
}

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes flicker {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

[dir="rtl"] .ticker-track { animation-direction: reverse; }
[dir="rtl"] .asset-toggle, [dir="rtl"] .asset-cell { flex-direction: row-reverse; }
[dir="rtl"] .faq-item p { padding: 0 42px 14px 14px; }

/* Touch devices: don't let hover styles stick as a background after a tap. */
@media (hover: none) {
  .site-nav a:hover { color: inherit; }
  .language-menu button:hover { background: transparent; }
  .chip:hover { border-color: var(--line-strong); }
  .primary:hover { filter: none; }
  .pool-card:hover { border-color: var(--line); transform: none; }
  .ticker:hover .ticker-track { animation-play-state: running; }
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

