/* FOMORUNE: the whole site is one 3D flight through fomo's space (web/3d/world.js). The page is only the frame around it:
   the mark, Buy, a menu, a few words per scene, labels pinned to the runes, and full-screen pages for everything else.
   Type: Aeonik everywhere, 14px at the smallest; the mono is kept for addresses and nothing else. */
@font-face { font-family: "Aeonik"; font-weight: 400; font-display: swap; src: url(fonts/Aeonik-Regular.woff2) format("woff2"); }
@font-face { font-family: "Aeonik"; font-weight: 500; font-display: swap; src: url(fonts/Aeonik-Medium.woff2) format("woff2"); }
@font-face { font-family: "Aeonik"; font-weight: 700; font-display: swap; src: url(fonts/Aeonik-Bold.woff2) format("woff2"); }
:root {
  --bg: #03030a; --line: rgba(207, 205, 246, .12); --line-2: rgba(207, 205, 246, .24); --glass: rgba(3, 3, 10, .38);
  --ink: #eef0ff; --ink-2: rgba(226, 228, 255, .74); --ink-3: rgba(206, 208, 245, .5);
  --lav: #cfcdf6; --v: #bdb6ff; --violet: #9680ff;
  --common: #dcd8ff; --rare: #95bcff; --gold: #ffc766; --red: #ff8fa0;
  --font: "Aeonik", "Inter", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: 40px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
body { font: 400 16px/1.5 var(--font); font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* app mode (set by app.js): no page scroll, the scenes sit over the world one at a time */
html.is-app, html.is-app body { height: 100%; overflow: hidden; overscroll-behavior: none; touch-action: none; }
#world { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
html:not(.has-world) body { background: #03030a url(img/space-bg.webp) 70% 0 / cover no-repeat; }
.dots { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .38;
  background: radial-gradient(circle, rgba(207, 205, 246, .6) 1px, transparent 1.3px) 0 0 / 66px 66px;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 50%, #000 30%, transparent 92%); mask-image: radial-gradient(120% 95% at 50% 50%, #000 30%, transparent 92%); }

/* ---------- the way in: stars, the rune filling with light, then a portal onto the Earth ---------- */
@property --hole { syntax: "<length>"; inherits: true; initial-value: 0px; }
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 46%, #0c0a1f 0%, #03030a 62%);
  --hole: 0px; transition: --hole 1.3s cubic-bezier(.7, 0, .15, 1);
  -webkit-mask-image: radial-gradient(circle at 50% 46%, transparent var(--hole), #000 calc(var(--hole) + 1.5px));
          mask-image: radial-gradient(circle at 50% 46%, transparent var(--hole), #000 calc(var(--hole) + 1.5px)); }
.loader.is-open { --hole: 150vmax; pointer-events: none; }
/* a glowing rim on the portal's edge: the ring sits on the hole, its inner half masked away with it */
.js .loader::after { content: ""; position: absolute; left: 50%; top: 46%; width: calc(var(--hole) * 2); height: calc(var(--hole) * 2); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none;
  box-shadow: 0 0 0 2px rgba(223, 219, 255, .9), 0 0 36px 10px rgba(150, 128, 255, .55), 0 0 120px 30px rgba(90, 80, 238, .35); opacity: 0; transition: opacity .3s; }
.js .loader.is-open::after { opacity: 1; }
.js .loader.is-done { display: none; }
.loader__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__core { position: relative; display: grid; justify-items: center; gap: 16px; transform: translateY(-3vh); transition: transform 1s cubic-bezier(.7, 0, .2, 1), opacity .55s ease; }
.loader.is-leaving .loader__core { transform: translateY(-3vh) scale(2.8); opacity: 0; }
.loader__rune { width: 124px; height: auto; margin-bottom: 10px; overflow: visible; animation: rune-in 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rune-in { from { opacity: 0; transform: translateY(10px) scale(.94); } }
.loader.is-lit .loader__rune { cursor: pointer; }
.loader__surface { fill: none; stroke: #f4f1ff; stroke-width: 5; stroke-linecap: round; opacity: .9; }
.loader.is-lit .loader__surface { opacity: 0; }
/* the glow is its own layer behind the logo: only its opacity and scale animate, so the lit moment costs nothing */
.loader__halo { position: absolute; left: 50%; top: 0; width: 300px; height: 300px; margin: -40px 0 0 -150px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(126, 92, 255, .55), rgba(96, 70, 255, .18) 55%, transparent); transform: scale(.6); transition: opacity .8s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.loader.is-lit .loader__halo { opacity: 1; transform: none; }
.loader.is-lit .loader__rune { animation: ignite .9s cubic-bezier(.2, .8, .2, 1); }
@keyframes ignite { 30% { transform: scale(1.07); } }
.loader__n { font: 500 56px/1 var(--font); letter-spacing: -.03em; color: #fff; }
.loader__n::after { content: "%"; margin-left: 4px; font-size: 22px; vertical-align: top; color: var(--ink-3); }
.loader__stage { min-height: 20px; font: 400 15px/1.3 var(--font); color: var(--ink-3); }

/* ---------- the frame ---------- */
.top, .bottom { position: fixed; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px var(--pad); pointer-events: none; }
.top { top: 0; } .bottom { bottom: 0; transition: opacity .3s; }
.top > *, .bottom > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-18deg); }
.brand b { font: 700 26px/1 var(--font); letter-spacing: -.02em; }
.top__right { display: flex; align-items: center; gap: 10px; }
.pill, .menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; font: 500 15px/1 var(--font); white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.pill { background: var(--lav); color: #0a0914; }
.pill:hover { background: #fff; }
.pill__short { display: none; }
.menu-btn { border: 1px solid var(--line-2); color: #fff; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: var(--lav); }
.menu-btn i { position: relative; width: 14px; height: 8px; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.menu-btn i::before { top: 0; } .menu-btn i::after { top: 6.5px; }
.menu-btn[aria-expanded="true"] i::before { top: 3.25px; transform: rotate(45deg); } .menu-btn[aria-expanded="true"] i::after { top: 3.25px; transform: rotate(-45deg); }
/* sound: a round icon; the scenes: a strip of six marks, the current one lit */
.sound { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; transition: border-color .2s; }
.sound:hover { border-color: var(--lav); }
.sound svg { width: 19px; height: 19px; }
.sound[aria-pressed="true"] .sound__off, .sound:not([aria-pressed="true"]) .sound__on { display: none; }
.where { display: flex; gap: 6px; }
.where button { position: relative; width: 30px; height: 24px; }
.where button::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 2px; background: var(--line-2); transition: background .3s; }
.where button:hover::after { background: var(--ink-3); }
.where button.is-on::after { background: var(--lav); box-shadow: 0 0 10px rgba(207, 205, 246, .6); }
/* while the menu or a page is open the scenes and the strip step back */
.is-overlay .bottom, .is-overlay .scenes { opacity: 0; pointer-events: none; }
.scenes { transition: opacity .3s; }

/* ---------- the menu: big words over the blurred world, the contracts and X at the foot ---------- */
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; padding: 110px var(--pad) 90px;
  background: rgba(3, 3, 10, .8); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); animation: fade .35s ease both; }
.menu__links { display: grid; justify-items: start; gap: 2px; }
.menu__links a { font: 700 clamp(38px, 6vw, 86px)/1.04 var(--font); letter-spacing: -.035em; text-transform: uppercase; color: var(--ink); transition: color .2s, transform .35s cubic-bezier(.2, .8, .2, 1); animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.menu__links a:nth-child(2) { animation-delay: .04s; } .menu__links a:nth-child(3) { animation-delay: .08s; } .menu__links a:nth-child(4) { animation-delay: .12s; } .menu__links a:nth-child(5) { animation-delay: .16s; }
.menu__links a:hover { color: var(--v); transform: translateX(10px); }
.menu__foot { display: grid; gap: 12px; margin-top: 56px; max-width: 620px; animation: fade .6s .2s ease both; }
.ca { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 16px; font: 400 15px/1.3 var(--font); }
.ca span { color: var(--ink-3); }
.ca code { font: 400 15px/1.3 var(--font); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca code.is-addr { font: 400 14px/1.3 var(--mono); color: #fff; }
.ca button { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 14px/1 var(--font); color: var(--lav); transition: border-color .2s, color .2s; }
.ca button:hover { border-color: var(--lav); color: #fff; }
.ca button[disabled] { opacity: .35; pointer-events: none; }
.menu__x { justify-self: start; margin-top: 10px; font: 500 17px/1 var(--font); color: var(--ink-2); } .menu__x:hover { color: #fff; }

/* ---------- scenes ---------- */
.scenes { position: relative; z-index: 10; }
.scene { position: relative; min-height: 100vh; padding: 120px var(--pad) 90px; }
.is-app .scene { position: fixed; inset: 0; min-height: 0; padding: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s ease, visibility .7s; }
.is-app .scene.is-on { opacity: 1; visibility: visible; }
.is-app .scene.is-on :is(a, button, input, form, select, .tag) { pointer-events: auto; }
.block { max-width: 440px; }
.is-app .block { position: absolute; }
.is-app .block--left { left: var(--pad); top: 50%; transform: translateY(-50%); }
.is-app .block--right { right: var(--pad); top: 50%; transform: translateY(-50%); }
.is-app .block--low { top: auto; bottom: 104px; transform: none; }
.block p { margin: 18px 0 0; font: 400 18px/1.45 var(--font); color: var(--ink-2); }
.title { margin: 0; font: 700 clamp(40px, 5vw, 74px)/.9 var(--font); letter-spacing: -.035em; text-transform: uppercase; }
.title .line { display: block; }
.title .v { color: var(--v); }
.title--hero { font-size: clamp(44px, 6.2vw, 96px); text-shadow: 0 10px 60px rgba(3, 3, 10, .7); }
.is-app .block--hero { left: var(--pad); bottom: 104px; max-width: 1000px; }
.lead { margin: 22px 0 0; font: 400 20px/1.4 var(--font); color: var(--ink-2); max-width: 520px; }
.title--big { font-size: clamp(40px, 5.2vw, 82px); }
.is-app .scene--ring .block--left { max-width: 640px; }
.hint { position: absolute; left: 50%; bottom: 30px; width: 1px; height: 44px; overflow: hidden; }
.hint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--lav), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.cta { display: inline-block; margin-top: 22px; font: 500 16px/1 var(--font); color: var(--lav); border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: color .2s, border-color .2s; }
.cta:hover { color: #fff; border-color: var(--lav); }
.btn { display: inline-flex; align-items: center; height: 54px; padding: 0 28px; border-radius: 999px; background: var(--lav); color: #0a0914; font: 500 16px/1 var(--font); transition: background .2s; }
.btn:hover { background: #fff; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.ctas .cta { margin: 0; }
.block .live { display: flex; align-items: center; gap: 10px; margin-top: 18px; font: 500 15px/1.3 var(--font); color: var(--ink-2); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #6fe3b5; box-shadow: 0 0 0 0 rgba(111, 227, 181, .6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 7px rgba(111, 227, 181, 0); } }

/* labels pinned to the world */
.tag { position: absolute; left: 0; top: 0; transform: translate3d(var(--x, -999px), var(--y, -999px), 0); transition: opacity .5s; will-change: transform; }
.tag.is-off { opacity: 0; pointer-events: none !important; }
.tag__line { display: block; width: 64px; height: 1px; margin-top: 10px; background: linear-gradient(90deg, transparent, var(--lav)); }
.tag__body { display: grid; gap: 6px; justify-items: start; }
.tag__body b { font: 500 17px/1.2 var(--font); color: var(--gold); white-space: nowrap; }
.tag__body small { font: 400 14px/1.3 var(--font); color: var(--ink-2); }
.tag--ped { width: 0; height: 0; }
.arrow { position: absolute; top: -22px; width: 84px; height: 44px; display: grid; place-items: center; color: var(--ink-2); transition: color .2s, transform .2s; }
.arrow:hover { color: #fff; }
.arrow--prev { left: -330px; } .arrow--prev:hover { transform: translateX(-4px); }
.arrow--next { left: 246px; } .arrow--next:hover { transform: translateX(4px); }
.tag__explore { position: absolute; left: 70px; top: -70px; display: flex; align-items: flex-start; gap: 12px; }
.tag__explore:hover small { color: #fff; }

/* the machine's readout: the four marks around the ring, the total under the core, the thesis being read */
.gauge { display: grid; justify-items: center; gap: 6px; transform: translate3d(calc(var(--x, -999px) - 50%), calc(var(--y, -999px) - 50%), 0); white-space: nowrap; text-align: center; }
.gauge span { font: 500 15px/1 var(--font); color: var(--ink-2); }
.gauge b { font: 700 28px/1 var(--font); letter-spacing: -.01em; color: #fff; }
.gauge--core { transform: translate3d(calc(var(--x, -999px) - 50%), calc(var(--y, -999px) + 34px), 0); }
.gauge--core b { font-size: 38px; }
.gauge--core span { font: 500 15px/1.2 var(--font); color: var(--gold); }
.quote { margin-top: 26px; padding: 16px 18px; border-left: 1px solid var(--lav); background: rgba(150, 128, 255, .07); }
.quote small { display: block; font: 500 14px/1 var(--font); color: var(--ink-3); }
.block .quote p { margin: 10px 0 0; font: 400 16px/1.45 var(--font); color: var(--ink); min-height: 2.9em; }

/* the pool's split: one row per tier, a bar as long as its share */
.split { display: grid; gap: 14px; margin-top: 26px; }
.split__row { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; align-items: baseline; font: 500 16px/1 var(--font); }
.split__row b { font-weight: 500; color: var(--c); }
.split__row span { font: 400 15px/1 var(--font); color: var(--ink-2); }
.split__row i { grid-column: 1 / -1; height: 2px; background: var(--line); position: relative; }
.split__row i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--c); box-shadow: 0 0 10px var(--c); }
.split small { margin-top: 2px; font: 400 14px/1.4 var(--font); color: var(--ink-3); }

/* the decode: a hidden copy holds the layout, the live copy flickers on top until every letter lands */
.dec { position: relative; }
.dec__ghost { visibility: hidden; }
.dec__live { position: absolute; inset: 0; white-space: inherit; overflow: hidden; }
.is-app .scene .title .line, .is-app .scene .block > :not(.title) { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.is-app .scene.is-on .title .line, .is-app .scene.is-on .block > :not(.title) { opacity: 1; transform: none; }
.is-app .scene.is-on .title .line:nth-child(2) { transition-delay: .08s; } .is-app .scene.is-on .title .line:nth-child(3) { transition-delay: .16s; }
.is-app .scene.is-on .block > :nth-child(3) { transition-delay: .12s; } .is-app .scene.is-on .block > :nth-child(4) { transition-delay: .2s; }
.is-app .scene.is-on .block > :nth-child(5) { transition-delay: .28s; } .is-app .scene.is-on .block > :nth-child(n + 6) { transition-delay: .34s; }

/* ---------- pages: the same blurred backdrop as the menu, a big title, the content in the sans ---------- */
.page { position: fixed; inset: 0; z-index: 40; background: rgba(3, 3, 10, .8); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); animation: fade .35s ease both; }
.page.is-instant { animation: none; }
.page.is-closing { animation: fade .26s ease reverse both; }
.page__scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.page__inner { padding: 132px var(--pad) 100px; animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.page__title { margin: 0 0 36px; font: 700 clamp(44px, 6vw, 86px)/.94 var(--font); letter-spacing: -.035em; text-transform: uppercase; overflow-wrap: anywhere; }
.page__lead { display: flex; align-items: center; gap: 10px; margin: -12px 0 30px; font: 400 18px/1.45 var(--font); color: var(--ink-2); }
.page__sub { margin: 60px 0 14px; font: 500 22px/1.2 var(--font); letter-spacing: -.01em; }

/* collection */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }
.seg { display: flex; gap: 4px; padding: 4px; margin-right: auto; border: 1px solid var(--line-2); border-radius: 999px; }
.seg button { height: 38px; padding: 0 16px; border-radius: 999px; font: 500 15px/1 var(--font); color: var(--ink-2); transition: background .2s, color .2s; }
.seg button small { font-size: 14px; color: var(--ink-3); margin-left: 3px; }
.seg button:hover { color: #fff; }
.seg button.is-on { background: rgba(207, 205, 246, .14); color: #fff; }
.field { height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(3, 3, 10, .5); outline: 0; font: 400 15px/1 var(--font); color: #fff; }
.field::placeholder { color: var(--ink-3); }
.field:focus { border-color: var(--lav); }
input.field { width: 260px; }
select.field { padding-right: 38px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: rgba(3, 3, 10, .5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23cfcdf6' stroke-width='1.5'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: radial-gradient(circle at 50% 58%, var(--tg, rgba(220, 216, 255, .22)), transparent 64%), #090914; border: 1px solid var(--line);
  transition: border-color .25s, transform .3s cubic-bezier(.3, 1.4, .5, 1); animation: rise .5s ease both; animation-delay: calc(var(--i, 0) * 30ms); }
.tile.is-still { animation: none; }
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile--rare { --tg: rgba(149, 188, 255, .28); } .tile--legendary { --tg: rgba(255, 199, 102, .3); }
.tile img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.tile:hover img { transform: scale(1.06) rotate(3deg); }
.tile__id { position: absolute; left: 12px; bottom: 11px; font: 500 14px/1 var(--font); color: var(--ink-2); }
.tile__tier { position: absolute; right: 12px; top: 12px; font: 500 14px/1 var(--font); }
.tile__tier--rare { color: var(--rare); } .tile__tier--legendary { color: var(--gold); }
.tile__soon { position: absolute; inset: 0; display: grid; place-items: center; font: 400 14px/1 var(--font); color: var(--ink-3); }
.more { display: flex; justify-content: center; margin-top: 18px; }
.empty { max-width: 640px; padding: 30px 0 34px; font: 400 17px/1.55 var(--font); color: var(--ink-2); }
.empty b { display: block; margin-bottom: 6px; font: 500 24px/1.25 var(--font); letter-spacing: -.01em; color: #fff; }
.empty--left { padding: 0; }
.empty .find { margin: 26px 0 0; }

/* log */
.log { border-top: 1px solid var(--line); }
.log__row { display: grid; grid-template-columns: 48px minmax(0, 190px) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 15px/1.4 var(--font); animation: rise .45s ease both; animation-delay: calc(var(--i, 0) * 40ms); }
.log__row time { color: var(--ink-3); }
.log__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.log__who b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log__text { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { padding: 8px 12px; border-radius: 999px; font: 500 14px/1 var(--font); white-space: nowrap; border: 1px solid currentColor; }
.chip--common { color: var(--common); } .chip--rare { color: var(--rare); } .chip--legendary { color: var(--gold); } .chip--points { color: var(--v); } .chip--low { color: var(--red); border-color: rgba(255, 143, 160, .4); }
.ava { display: grid; place-items: center; width: 30px; height: 30px; overflow: hidden; flex: none; border-radius: 50%; color: #0a0914; font: 700 14px/1 var(--font); background: var(--lav); }
.ava img { width: 100%; height: 100%; object-fit: cover; }

/* pool */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 26px 0 24px; min-width: 0; }
.stats > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.stats b { display: block; font: 700 52px/1 var(--font); letter-spacing: -.03em; }
.stats span { display: block; margin-top: 8px; font: 400 15px/1.3 var(--font); color: var(--ink-2); }
.board { border-top: 1px solid var(--line); }
.board__r { display: grid; grid-template-columns: 40px minmax(0, 1fr) 90px 150px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 16px/1.3 var(--font); transition: background .2s; }
.board__r:hover { background: rgba(150, 128, 255, .06); }
.board__rank { color: var(--ink-3); } .board__r:nth-child(-n + 3) .board__rank { color: var(--gold); }
.board__who { display: flex; align-items: center; gap: 12px; min-width: 0; } .board__who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__w { color: var(--ink-3); text-align: right; }
.board b { font-weight: 500; }
.bar { height: 2px; background: var(--line); margin-top: 8px; } .bar i { display: block; height: 100%; background: var(--lav); }
.rows__r { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 16px/1.3 var(--font); }
.rows__r span { color: var(--ink-3); } .rows__r b { font-weight: 500; } .rows__r a { color: var(--lav); }
.rows + .cta { margin-top: 26px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 500 24px/1.25 var(--font); letter-spacing: -.01em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--v); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--v); }
.faq details p { margin: -6px 0 24px; max-width: 720px; font: 400 17px/1.6 var(--font); color: var(--ink-2); }
.odds { display: grid; max-width: 620px; margin: 0 0 18px; font: 400 16px/1.3 var(--font); border-top: 1px solid var(--line); }
.odds > div { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.odds > div:first-child { font-size: 14px; color: var(--ink-3); }
.odds b { color: #fff; font-weight: 500; }

/* a rune */
.rune { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: start; }
.rune__art { position: relative; aspect-ratio: 1; border-radius: 20px; background: radial-gradient(circle at 50% 58%, var(--tg, rgba(220, 216, 255, .22)), transparent 62%), #07070f; border: 1px solid var(--line); }
.rune__art img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -8px; } }
.rune__info { display: grid; gap: 20px; min-width: 0; }
.badge { justify-self: start; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--c); color: var(--c); font: 500 15px/1 var(--font); }
.author { display: inline-flex; align-items: center; gap: 12px; justify-self: start; font: 500 17px/1 var(--font); } .author:hover { color: var(--lav); }
.score { display: flex; justify-content: space-between; align-items: baseline; }
.score span { font: 400 16px/1 var(--font); color: var(--ink-2); }
.score b { font: 700 52px/1 var(--font); letter-spacing: -.03em; }
.meter { height: 2px; background: var(--line); margin-top: -8px; } .meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--lav)); }
.traits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trait { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.trait span { display: block; margin-bottom: 8px; font: 400 14px/1 var(--font); color: var(--ink-3); }
.trait b { display: block; font: 500 17px/1.2 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .trait a { color: var(--rare); }
.thesis { margin: 0; padding: 18px 20px; border-radius: 14px; background: rgba(150, 128, 255, .07); font: 400 17px/1.6 var(--font); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.actions .cta { margin: 0; }

/* an account */
.acct__head { display: flex; align-items: center; gap: 18px; margin: -8px 0 28px; min-width: 0; }
.acct__head .ava { width: 64px; height: 64px; font-size: 26px; }
.acct__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 400 16px/1.3 var(--font); color: var(--ink-2); }
.acct__meta a:hover { color: #fff; }
.acct__meta .v { color: var(--v); }
.specs { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 28px; overflow: hidden; }
.spec { padding: 18px 20px; border-right: 1px solid var(--line); min-width: 0; } .spec:last-child { border-right: 0; }
.spec span { display: block; font: 400 14px/1.2 var(--font); color: var(--ink-3); }
.spec b { display: block; margin: 12px 0 8px; font: 700 34px/1 var(--font); letter-spacing: -.02em; }
.spec small { font: 400 14px/1.3 var(--font); color: var(--ink-3); }

/* find */
.find { display: flex; align-items: center; gap: 6px; max-width: 560px; margin-top: 26px; padding: 6px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(3, 3, 10, .5); transition: border-color .2s; }
.find:focus-within { border-color: var(--lav); }
.find input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; outline: 0; background: none; font: 400 17px/1 var(--font); }
.find input::placeholder { color: var(--ink-3); }
.find button { height: 46px; padding: 0 22px; border-radius: 999px; background: var(--lav); color: #0a0914; font: 500 15px/1 var(--font); transition: background .2s; }
.find button:hover { background: #fff; }

.faq .addr { font: 400 14px/1.5 var(--mono); color: var(--ink); overflow-wrap: anywhere; }

/* ---------- narrow screens ---------- */
@media (max-width: 900px) {
  :root { --pad: 20px; }
  .loader__rune { width: 96px; } .loader__n { font-size: 46px; }
  .top, .bottom { padding: 18px var(--pad); }
  .brand img { width: 28px; height: 28px; } .brand b { font-size: 21px; }
  .pill, .menu-btn { height: 40px; padding: 0 16px; }
  .pill__long { display: none; } .pill__short { display: inline; }
  .sound { width: 40px; height: 40px; }
  .where button { width: 22px; }
  .menu__foot { margin-top: 36px; }
  .ca { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; } .ca span { grid-column: 1 / -1; }
  .is-app .block--left, .is-app .block--right { left: var(--pad); right: var(--pad); top: auto; bottom: 78px; transform: none; max-width: none; }
  .is-app .block--hero { right: var(--pad); bottom: 80px; }
  .lead { font-size: 17px; }
  .block p { font-size: 16px; }
  .title { font-size: clamp(34px, 10vw, 54px); }
  .title--hero { font-size: clamp(42px, 13vw, 72px); }
  .hint { display: none; }
  .arrow--prev { left: -170px; } .arrow--next { left: 86px; }
  .tag__explore { left: -84px; top: -196px; }
  .gauge:not(.gauge--core) { display: none; }
  .quote { display: none; }
  .page__inner { padding: 104px var(--pad) 64px; }
  .page__title { margin-bottom: 26px; font-size: clamp(38px, 11vw, 56px); }
  .page__lead { font-size: 16px; }
  .toolbar { gap: 10px; }
  .seg { margin: 0; width: 100%; overflow-x: auto; }
  .seg button { flex: none; padding: 0 12px; }
  input.field { flex: 1 1 160px; width: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .log__row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px 12px; } .log__row .log__text { grid-column: 2 / -1; grid-row: 2; }
  .stats > div + div { padding-left: 14px; } .stats b { font-size: 32px; }
  .board__r { grid-template-columns: 30px minmax(0, 1fr) 110px; } .board__w { display: none; }
  .faq summary { font-size: 20px; }
  .rune { grid-template-columns: 1fr; gap: 26px; }
  .traits { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: repeat(2, 1fr); } .spec { border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
