/* ELYSIUM10. Palette: Obsidian #080D14, Elysium Mint #B6F5D2, Platinum #E8EDF3, Slate #596779. */
:root {
  --bg: #080D14;
  --ink: #E8EDF3;
  --mint: #B6F5D2;
  --slate: #596779;
  --muted: #94A1B2; /* slate lifted for readable small text on obsidian */
  --line: rgba(232, 237, 243, .09);
  --panel: #0B121B;
  --head: "Montserrat", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--slate); }
a:hover { text-decoration-color: var(--mint); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 5; }

.strip { margin: 0; padding: 8px 20px; text-align: center; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; border-radius: 8px; border: 1px solid var(--line); }
.word { font: 700 22px/1 var(--head); letter-spacing: .01em; }
.word b { color: var(--mint); font-weight: 700; margin-left: 2px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.ca { background: none; border: 1px solid var(--line); color: var(--muted); font: 500 13px var(--body); padding: 9px 14px; border-radius: 8px; cursor: pointer; }
.ca:disabled { cursor: default; }
.ca:not(:disabled):hover { color: var(--ink); border-color: var(--slate); }
.btn { display: inline-block; background: var(--mint); color: var(--bg); font: 600 14px var(--body); padding: 10px 18px; border-radius: 8px; border: 1px solid var(--mint); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #c9f8de; }
.btn[aria-disabled="true"] { background: none; color: var(--muted); border-color: var(--line); cursor: default; }
.btn.quiet { background: none; color: var(--ink); border-color: var(--slate); }
.btn.quiet:hover { border-color: var(--mint); background: none; }

/* hero */
.hero { padding: 72px 0 56px; }
h1 { font: 700 clamp(32px, 6vw, 64px)/1.05 var(--head); letter-spacing: -.02em; margin: 0 0 20px; max-width: 16ch; text-wrap: balance; }
.lede { max-width: 56ch; margin: 0; color: var(--muted); font-size: 18px; }
.closer { margin: 20px 0 0; font: 600 18px/1.3 var(--head); color: var(--mint); }
.split { display: grid; grid-template-columns: 7fr 4fr 3fr; margin: 56px 0 0; border-top: 1px solid var(--line); }
.split > div { padding: 24px 24px 0 0; }
.split > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.split dt { font: 700 40px/1 var(--head); letter-spacing: -.02em; }
.split > div:first-child dt { color: var(--mint); }
.split dd { margin: 12px 0 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.split dd b { color: var(--ink); font-weight: 600; font-size: 15px; }
.split dd i { font-style: normal; color: var(--ink); }

/* live panels */
.live { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font: 600 15px/1.3 var(--body); letter-spacing: 0; margin: 0; }
.sub { font-size: 13px; color: var(--muted); }
.reward { display: flex; align-items: center; gap: 28px; padding: 32px 0; flex: 1; }
.dial { position: relative; width: 148px; height: 148px; flex: none; }
.dial svg { width: 100%; height: 100%; display: block; }
.dial circle { fill: none; stroke-width: 3; }
.dial .track { stroke: var(--line); }
.dial .prog { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1s linear; }
.dial-logo { position: absolute; inset: 22px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #111a26; }
.dial-logo img { width: 100%; height: 100%; object-fit: cover; }
.dial-logo .ph { font: 700 28px var(--head); color: var(--mint); }
.reward-info { display: grid; gap: 4px; min-width: 0; }
.sym { font: 700 clamp(30px, 4vw, 44px)/1.05 var(--head); letter-spacing: -.02em; overflow-wrap: anywhere; }
.clock { font: 600 30px/1.2 var(--body); color: var(--mint); margin-top: 10px; }
.burn { display: grid; justify-items: center; gap: 6px; padding: 32px 0; flex: 1; align-content: center; text-align: center; }
.big { font: 700 clamp(44px, 6vw, 64px)/1 var(--head); letter-spacing: -.02em; overflow-wrap: anywhere; }
.pill { margin-top: 8px; font-size: 13px; color: var(--mint); border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px; }
.rows { margin: 0; font-size: 14px; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.rows > div:last-child { padding-bottom: 0; }
.rows dt { color: var(--muted); flex: none; }
.rows dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.rows a { color: var(--mint); }
.note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

/* sections */
section[id] { padding: 64px 0 0; scroll-margin-top: 12px; }
h2 { font: 700 26px/1.2 var(--head); letter-spacing: -.01em; margin: 0 0 6px; }
.intro { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.empty { color: var(--muted); padding: 20px 0; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tiles .empty { grid-column: 1 / -1; }
.tile { position: relative; display: grid; justify-items: center; gap: 4px; padding: 28px 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; text-align: center; min-width: 0; }
.tile:hover { border-color: var(--slate); }
.tile.next { border-color: var(--mint); }
.tile img, .tile .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #111a26; margin-bottom: 6px; }
.tile .ph { display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.tile b { font-weight: 600; font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile span.num { font-size: 14px; }
.tile small { font-size: 12px; color: var(--muted); }
.tag { position: absolute; top: 8px; left: 10px; font-size: 12px; color: var(--muted); }
.tag.on { color: var(--mint); font-weight: 600; }
.bar { width: 100%; height: 2px; background: var(--line); margin: 6px 0 4px; }
.bar i { display: block; height: 100%; background: var(--slate); }
.tile.next .bar i { background: var(--mint); }

/* receipts */
.feed { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.feed li { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.feed time, .feed .proof { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.feed em { font-style: normal; color: var(--muted); overflow-wrap: anywhere; }
.feed b { font-weight: 600; }
.feed a.proof { color: var(--mint); }

.lookup { margin-top: 32px; max-width: 520px; }
.lookup label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field { display: flex; gap: 10px; }
input { flex: 1; min-width: 0; background: none; border: 1px solid var(--slate); color: var(--ink); font: 400 14px var(--body); padding: 10px 12px; border-radius: 8px; }
input::placeholder { color: var(--muted); }
.wallet-out { max-width: 520px; font-size: 14px; color: var(--muted); }
.wallet-out p { margin: 14px 0 6px; }
.wallet-out ul { margin: 0 0 8px; padding: 0; list-style: none; }
.wallet-out li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.wallet-out .err { color: var(--ink); }

/* footer */
.foot { margin-top: 88px; padding: 28px 0 44px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot p { margin: 0; max-width: 78ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 14px; }
.foot-links:empty { display: none; }
.foot-links a { color: var(--ink); }

@media (max-width: 760px) {
  .hero { padding: 44px 0 40px; }
  .lede { font-size: 16px; }
  .closer { font-size: 16px; }
  .split { grid-template-columns: 1fr; margin-top: 36px; }
  .split > div, .split > div + div { padding: 20px 0; border-left: 0; display: grid; grid-template-columns: 96px 1fr; gap: 0 12px; }
  .split > div + div { border-top: 1px solid var(--line); }
  .split > div:last-child { padding-bottom: 0; }
  .split dt { font-size: 32px; }
  .split dd { margin: 0; }
  .live { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .reward { gap: 20px; padding: 24px 0; }
  .dial { width: 112px; height: 112px; }
  .dial-logo { inset: 17px; }
  .clock { font-size: 24px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  section[id] { padding-top: 48px; }
  .feed li { grid-template-columns: 58px 1fr; }
  .feed .proof { grid-column: 2; }
  .word { font-size: 19px; }
  .ca { display: none; }
  .ca:not(:disabled) { display: block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
