@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Sans:wght@400..700&display=swap');
:root {
  --paper: #111416;
  --ink: #eff3f2;
  color-scheme: dark;
  --panel: #1b2023;
  --cream: #f4f7f6;
  --accent: #b8f58c;
  --line: #333d41;
  --muted: #a2adb1;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 75px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.48 var(--sans); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1136px, calc(100% - 64px)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; font-size: 23px; font-weight: 650; line-height: 1; letter-spacing: -.065em; white-space: nowrap; }
.brand img { margin-right: 6px; }
.brand span { color: var(--accent); }
.network { display: flex; align-items: center; gap: 7px; font: 600 10px var(--mono); letter-spacing: .09em; }
.network i, .status-note i { width: 6px; height: 6px; display: inline-block; background: var(--accent); flex: none; }
.arrow { display: inline-block; position: relative; width: 14px; height: 11px; flex: none; }
.arrow::before { content: ""; position: absolute; width: 12px; height: 1.5px; top: 5px; left: 0; background: currentColor; }
.arrow::after { content: ""; position: absolute; width: 7px; height: 7px; top: 2px; right: 1px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.stepped {
  --step: 6px;
  clip-path: polygon(calc(2 * var(--step)) 0,calc(100% - 2 * var(--step)) 0,calc(100% - 2 * var(--step)) var(--step),calc(100% - var(--step)) var(--step),calc(100% - var(--step)) calc(2 * var(--step)),100% calc(2 * var(--step)),100% calc(100% - 2 * var(--step)),calc(100% - var(--step)) calc(100% - 2 * var(--step)),calc(100% - var(--step)) calc(100% - var(--step)),calc(100% - 2 * var(--step)) calc(100% - var(--step)),calc(100% - 2 * var(--step)) 100%,calc(2 * var(--step)) 100%,calc(2 * var(--step)) calc(100% - var(--step)),var(--step) calc(100% - var(--step)),var(--step) calc(100% - 2 * var(--step)),0 calc(100% - 2 * var(--step)),0 calc(2 * var(--step)),var(--step) calc(2 * var(--step)),var(--step) var(--step),calc(2 * var(--step)) var(--step));
}
.entrance { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 23px clamp(19px, 4vw, 56px) 20px; background: radial-gradient(ellipse 300px 225px at 50% 38%, #19231b 0%, var(--paper) 100%); color: var(--cream); }
.entry-top { display: flex; justify-content: space-between; align-items: center; }
.entry-top .brand span, .entry-body h1 span { color: var(--accent); }
.entry-body { --entry-mark: 108px; align-self: center; justify-self: center; text-align: center; padding: 18px 0 28px; }
.entry-logo { display: block; width: var(--entry-mark); height: var(--entry-mark); margin: 0 auto 23px; }
.entry-body h1 { font-size: clamp(79px, 11vw, 126px); line-height: .88; font-weight: 650; letter-spacing: -.07em; margin: 0; padding-right: .07em; }
.entry-body p { margin: 20px 0 25px; font-size: clamp(17px,2.6vw,23px); line-height: 1.2; letter-spacing: -.035em; }
.entry-body p strong { color: var(--accent); font-weight: 600; }
.enter {
  position: relative; isolation: isolate; display: inline-grid; place-items: center;
  min-width: 116px; min-height: 46px; padding: 9px 22px;
  color: #182116; font-size: 14px; font-weight: 650; transition: transform .18s;
}
.enter::before, .enter::after {
  content: ""; position: absolute; pointer-events: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.enter::before { z-index: -2; inset: 0; background: linear-gradient(150deg, #e1ffc9, #9fde76 53%, #58864e); }
.enter::after { z-index: -1; inset: 2px; background: linear-gradient(152deg, #c5f79f, #a3e57b); transition: filter .18s; }
.enter:hover { transform: translateY(-2px); }
.enter:hover::after, .enter:focus-visible::after { filter: brightness(1.1); }
.entry-footer { text-align: center; margin: 0; color: #aebbc0; font: 500 10px var(--mono); letter-spacing: .12em; }
.entrance.leaving .entry-body { animation: close-gate .23s ease-in both; }
#dashboard.visible { animation: show-page .24s ease-out both; }
@keyframes close-gate { to { opacity: .35; transform: translateY(-5px); } }
@keyframes show-page { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.site-header { position: sticky; top: 0; z-index: 2; background: #171b1d; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-inner .brand img { padding: 4px; }
nav { display: flex; gap: clamp(12px, 2.5vw, 30px); color: #aebbc0; font-size: 13px; }
nav a:hover, nav a[aria-current="location"] { color: var(--accent); }
.wallet { display: inline-flex; align-items: center; gap: 8px; min-height: 37px; padding: 6px 10px; border: 0; border-radius: 4px; color: #f4f7f6; background: #252d30; font-size: 12px; font-weight: 600; }
.wallet:hover { background: #334044; }
.wallet-icon { width: 13px; height: 10px; border: 1px solid currentColor; position: relative; border-radius: 2px; }
.wallet-icon::after { content: ""; position: absolute; right: 1px; top: 2px; width: 4px; height: 3px; border: 1px solid currentColor; }
.wallet-picker { width: min(430px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 22px; border: 1px solid #414e52; border-radius: 12px; background: #1b2023; color: var(--cream); box-shadow: 0 24px 72px #0009; }
.wallet-picker::backdrop { background: #080b0dba; }
.wallet-handoff { min-height: 100svh; display: grid; place-items: center; padding: 16px 0; }
.wallet-handoff .wallet-picker h1 { margin: 18px 0 14px; font-size: 27px; }
.wallet-handoff .wallet-picker p { color: var(--muted); font-size: 14px; }
.wallet-handoff .wallet-picker > a:last-child { color: var(--accent); }
.wallet-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wallet-picker-head h2 { margin: 0; font-size: 22px; font-weight: 620; letter-spacing: -.04em; }
.wallet-picker-close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--cream); font-size: 22px; line-height: 1; }
.wallet-picker-close:hover, .wallet-option:hover { background: #283336; border-color: #5b7462; }
.wallet-list { display: grid; gap: 8px; }
.wallet-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 55px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #22292c; color: var(--cream); text-align: left; }
.wallet-option:disabled, .wallet-disconnect:disabled { cursor: wait; opacity: .65; }
.wallet-option img, .wallet-option-mark { width: 28px; height: 28px; flex: none; border-radius: 6px; }
.wallet-option-mark { display: grid; place-items: center; background: #293932; color: var(--accent); }
.wallet-option-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.wallet-option-state { color: var(--accent); font-size: 11px; }
.wallet-app-help { margin-top: 4px; color: var(--muted); font-size: 12px; }
.wallet-app-help p { margin: 0 0 6px; }
.wallet-app-help button { padding: 5px 0; border: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.wallet-app-help input { display: block; width: 100%; margin: 5px 0; padding: 7px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font: inherit; }
.wallet-app-help [role=status] { display: block; }
.wallet-downloads { display: flex; flex-wrap: wrap; gap: 8px; }
.wallet-downloads a { padding: 7px 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--accent); font-size: 12px; }
.wallet-downloads a:hover { border-color: #5b7462; background: #283336; }
#wallet-picker-status { color: var(--muted); margin: 0 0 12px; font-size: 13px; }
.wallet-disconnect { display: block; margin: 14px 0 0 auto; padding: 4px 0; border: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hero { margin-top: 24px; padding: clamp(17px, 3vw, 32px); background: var(--panel); color: var(--cream); box-shadow: inset 0 0 0 1px #3c494d; }
.hero-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hero-heading img { width: clamp(55px, 7.5vw, 84px); height: auto; }
.hero-heading h1 { font-size: clamp(35px, 5.25vw, 72px); font-weight: 620; line-height: .99; letter-spacing: -.064em; margin: 0; }
.hero-heading h1 em { color: var(--accent); font-style: normal; }
.hero-heading p { color: #ced8db; margin: 12px 0 0; max-width: 500px; font-size: 14px; }
.lookup { margin: 19px 0 0; }
.lookup label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.lookup > div { display: flex; gap: 5px; }
.lookup input { flex: 1; min-width: 0; border: 1px solid #455257; border-radius: 3px; padding: 10px 12px; color: var(--ink); background: #14191c; font: 500 13px var(--mono); }
.lookup button { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); background: #293737; border: 1px solid #293737; border-radius: 3px; padding: 9px 12px; font-weight: 650; }
.lookup button:hover { background: #354849; }
#lookup-result { color: var(--accent); font: 500 12px var(--mono); margin: 8px 0 0; overflow-wrap: anywhere; }
.hero-stats { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.15fr; gap: 7px; margin-top: 19px; padding-top: 13px; border-top: 1px solid #364347; }
.hero-stats section { padding: 10px 9px 9px; min-width: 0; min-height: 103px; background: #22292c; border: 1px solid #333f43; }
.hero-stats .pool { background: #26342b; border-color: #26342b; }
.hero-stats h2 { margin: 0 0 6px; font-size: 11px; color: #d4dfe1; font-weight: 550; }
.hero-stats strong { display: block; font: 500 clamp(19px, 2.8vw, 32px)/1.15 var(--mono); letter-spacing: -.07em; overflow-wrap: anywhere; }
.hero-stats .pool strong { color: var(--accent); }
.hero-stats strong small { font: 600 10px var(--mono); }
.hero-stats section p { font-size: 10px; margin: 4px 0 0; color: #aebbc0; }
.hero-footer { margin-top: 11px; }
.status-note { display: flex; align-items: center; gap: 6px; color: #c1ccd0; margin: 0; font-size: 11px; }
.mint-link { display: inline-block; margin: 4px 0 0 12px; color: var(--accent); font: 11px var(--mono); text-decoration: underline; text-underline-offset: 3px; }
.status-note i { width: 5px; height: 5px; }
.content-section { margin-top: 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.section-heading h2 { font-size: clamp(25px,4vw,38px); font-weight: 640; line-height: 1.05; margin: 0; letter-spacing: -.07em; }
.section-heading h2 span { color: var(--accent); }
.section-heading > span { color: var(--muted); font: 500 10px var(--mono); text-align: right; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: #191e21; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 12px; text-align: left; white-space: nowrap; }
th { background: #222a2e; color: #b8c7cc; font: 500 11px var(--mono); }
td { font-size: 13px; border-top: 1px solid #2e393e; }
td:nth-child(n+2) { font: 500 11px var(--mono); }
td a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
tr.mine { background: #25342b; }
.share-cell { position: relative; min-width: 90px; }
.share-cell span { position: relative; }
.share-fill { position: absolute; inset: 4px auto 4px 6px; max-width: calc(100% - 12px); background: #b8f58c22; border-right: 1px solid #b8f58c63; }
.rule-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.rule-grid article { border-top: 1px solid var(--line); padding: 9px 0; }
.rule-grid h3 { margin: 0; font-size: 15px; }
.rule-grid p, #wallet-view { color: #b8c5c9; margin: 4px 0; font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 7px; margin-top: 26px; padding: 15px 0 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer .brand { color: var(--ink); }
@media (max-width: 650px) {
  .shell { width: calc(100% - 27px); }
  .header-inner { min-height: 58px; flex-wrap: wrap; justify-content: space-between; gap: 5px; padding: 6px 0; }
  nav { order: 3; flex-basis: 100%; gap: 12px; padding: 4px 0 0; }
  html { scroll-padding-top: 90px; }
  .hero { margin-top: 13px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .hero-stats section { min-height: 77px; }
  .rule-grid { grid-template-columns: 1fr; gap: 4px; }
  th, td { padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
