/* PokePad: a clean collectibles platform. Light grey canvas, near-black type, one blue accent, white cards with soft
   shadows, and real product imagery (graded slabs, the foil pack) doing the talking. Geist throughout. */
:root {
  --bg: #efefef; --card: #fff; --ink: #18181b; --ink-2: #52525b; --muted: #8a8a93; --line: #e4e4e7; --line-2: #d4d4d8; --well: #f6f6f7;
  --blue: #1f5bff; --blue-2: #1546d6; --blue-soft: #e8eeff; --gold: #f2b631; --gold-soft: #fff4d6; --green: #16a34a; --green-soft: #e3f7ea; --red: #e5484d; --red-soft: #fdecec;
  --r: 18px; --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 28px rgba(0, 0, 0, .06); --shadow-lg: 0 2px 6px rgba(0, 0, 0, .06), 0 24px 60px rgba(0, 0, 0, .12);
  --font: Geist, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
p { margin: 0; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* top bar: logo left, floating pill nav centre, action right */
.bar { position: sticky; top: 0; z-index: 40; transition: background .2s, box-shadow .2s; }
.bar.scrolled { background: rgba(239, 239, 239, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.bar .wrap { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 21px; letter-spacing: -0.05em; justify-self: start; }
.logo img { height: 31px; display: block; }
.navpill { display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .7); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.navpill a { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 15px; border-radius: 99px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
.navpill a svg { width: 15px; height: 15px; opacity: .7; }
.navpill a:hover { color: var(--ink); }
.navpill a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.bar .right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.mode { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.mode i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.mode.prac i { background: var(--gold); box-shadow: 0 0 0 3px rgba(242, 182, 49, .25); }

/* buttons: blue pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 99px; border: 0; background: var(--blue); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; transition: background .15s, transform .12s, box-shadow .15s; }
.btn:hover { background: var(--blue-2); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.btn.light:hover { background: var(--well); }
.btn.dark { background: var(--ink); } .btn.dark:hover { background: #000; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn.wide { width: 100%; }
.btn svg { width: 17px; height: 17px; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--well); color: var(--ink-2); font-weight: 500; font-size: 12.5px; white-space: nowrap; }
.chip.b { background: var(--blue-soft); color: var(--blue-2); } .chip.g { background: var(--green-soft); color: #11803a; } .chip.y { background: var(--gold-soft); color: #8a6200; } .chip.d { background: var(--ink); color: #fff; } .chip.r { background: var(--red-soft); color: #b42318; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.live-dot { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* hero: centred, then a fanned arc of real slabs */
.hero { text-align: center; padding: 60px 0 0; overflow: hidden; }
.hero h1 { font-size: clamp(44px, 6.4vw, 82px); max-width: 900px; margin: 0 auto; }
.hero .lede { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--ink-2); max-width: 600px; margin: 20px auto 0; }
.hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.fan { position: relative; height: clamp(260px, 30vw, 410px); margin-top: 50px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.fan .slab-img { position: absolute; bottom: -40px; left: 50%; width: clamp(150px, 16vw, 232px); aspect-ratio: 0.62; border-radius: 14px; background: linear-gradient(180deg, #e9e9eb, #dcdce0); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); overflow: hidden; transform-origin: 50% 330%; will-change: transform; }
.fan .slab-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fan .cap { position: absolute; bottom: 10px; left: 0; right: 0; }
.statrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); position: relative; z-index: 3; margin-top: 8px; }
.statrow div { padding: 20px 22px; text-align: left; }
.statrow div + div { border-left: 1px solid var(--line); }
.statrow b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.statrow span { font-size: 13.5px; color: var(--muted); }

/* sections */
section.sec { padding: 110px 0 0; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.head h2 { font-size: clamp(34px, 4.4vw, 54px); }
.head p { color: var(--ink-2); font-size: 17px; margin-top: 12px; max-width: 560px; }
.center { text-align: center; } .center .head { justify-content: center; } .center .head p { margin-left: auto; margin-right: auto; }

/* next rip panel */
.riphero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); overflow: hidden; }
.riphero .left { position: relative; background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f3f3f5 55%, #e7e7ea 100%); display: flex; align-items: center; justify-content: center; padding: 44px 24px; min-height: 480px; }
.riphero .right { padding: 38px 40px; display: flex; flex-direction: column; }
.riphero .tagline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.riphero h3 { font-size: clamp(30px, 3.2vw, 42px); margin-top: 14px; }
.riphero .sub { color: var(--ink-2); margin-top: 10px; font-size: 16px; }
.amount { display: flex; align-items: baseline; gap: 10px; margin-top: 30px; }
.amount b { font-size: clamp(40px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.amount span { color: var(--muted); font-size: 16px; }
.track { height: 12px; border-radius: 99px; background: var(--well); margin-top: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue), #6f95ff); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); position: relative; overflow: hidden; }
.track i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-100%); animation: sweep 2.4s ease-in-out infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
.note { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 28px; }
.facts div { background: var(--well); border-radius: 14px; padding: 13px 14px; }
.facts b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.facts span { font-size: 12.5px; color: var(--muted); }
.riphero .acts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* the pack (a product shot) */
.packwrap { position: relative; width: min(250px, 62vw); aspect-ratio: 300 / 460; --shake: 0; animation: float calc(3.4s - var(--shake) * 2.6s) ease-in-out infinite; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .22)); }
.packwrap svg.pack { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.packwrap .shine { position: absolute; inset: 3% 2%; background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .45) 46%, transparent 60%); background-size: 260% 100%; mix-blend-mode: soft-light; animation: shine 4.2s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0% { background-position: 130% 0; } 55%, 100% { background-position: -60% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(calc(-1deg - var(--shake) * 3deg)); } 25% { transform: translateY(calc(-4px - var(--shake) * 4px)) rotate(calc(1deg + var(--shake) * 3deg)); } 50% { transform: translateY(-10px) rotate(-.5deg); } 75% { transform: translateY(-4px) rotate(calc(.8deg + var(--shake) * 3deg)); } }
.shadow-floor { position: absolute; bottom: 44px; left: 50%; width: 150px; height: 18px; margin-left: -75px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .16), transparent); }

/* pulled cards */
.pulls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.slab { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 12px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; min-width: 0; }
.slab:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.slab .pic { position: relative; aspect-ratio: 0.7; border-radius: 12px; background: linear-gradient(180deg, #f4f4f5, #e9e9ec); display: grid; place-items: center; padding: 12px; overflow: hidden; }
.slab .pic img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .15)); }
.slab .pic em { position: absolute; top: 9px; left: 9px; font-style: normal; }
.slab .body { padding: 12px 4px 2px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.slab .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.slab .top b { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slab .top .val { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; flex: none; }
.slab small { color: var(--muted); font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slab .row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.slab .out { font-size: 12.5px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 9px; margin-top: 6px; }
.slab .out a { color: var(--blue-2); }
.empty { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 26px 28px; display: flex; gap: 18px; align-items: center; }
.empty .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; flex: none; color: var(--blue-2); }
.empty .ic svg { width: 26px; height: 26px; }
.empty b { font-size: 18px; letter-spacing: -0.02em; }
.sub-h { display: flex; align-items: center; gap: 10px; margin: 40px 0 16px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 99px; background: #fff; box-shadow: var(--shadow); }
.tabs button { height: 34px; padding: 0 14px; border-radius: 99px; border: 0; background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.tabs button.on { background: var(--ink); color: #fff; }

/* the live rip stage */
.stage { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; flex-direction: column; background: radial-gradient(circle at 50% 46%, #23262f 0%, #0d0e12 70%); overflow: hidden; }
.stage.on { display: flex; }
.stage .glow { position: absolute; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(239, 43, 45, .3), transparent); left: 50%; top: 50%; transform: translate(-50%, -50%); animation: breathe 3s ease-in-out infinite; }
.stage.charging .glow { background: radial-gradient(closest-side, rgba(242, 182, 49, .4), transparent); animation-duration: .9s; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.12); opacity: .75; } }
.stage .label { position: relative; z-index: 3; color: #fff; text-align: center; margin-bottom: 30px; transition: opacity .4s; }
.stage.shown .label { opacity: 0; }
.stage .label .chip { background: rgba(255, 255, 255, .1); color: #fff; }
.stage .label b { display: block; font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.045em; margin-top: 12px; }
.stage .label span.s { color: rgba(255, 255, 255, .6); font-size: 15px; }
.stage .arena { position: relative; z-index: 2; width: min(300px, 64vw); aspect-ratio: 300 / 460; }
.stage .arena .packwrap { width: 100%; animation: none; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.stage.charging .arena .packwrap { animation: shake .16s linear infinite; }
@keyframes shake { 0% { transform: translate(0, 0) rotate(-1.5deg); } 25% { transform: translate(-4px, 2px) rotate(1.5deg); } 50% { transform: translate(3px, -3px) rotate(-2deg); } 75% { transform: translate(-2px, -1px) rotate(2deg); } 100% { transform: translate(0, 0) rotate(-1.5deg); } }
.stage .tearTop { transition: transform 1s cubic-bezier(.3, 1.2, .5, 1), opacity 1s; transform-box: fill-box; transform-origin: 85% 100%; }
.stage.torn .tearTop { transform: translate(120px, -240px) rotate(34deg); opacity: 0; }
.stage.torn .arena .packwrap { transition: transform 1.1s cubic-bezier(.5, 0, .3, 1) .7s, opacity .8s .9s; transform: translateY(75%) scale(.9); opacity: 0; }
.stage .reveal { position: absolute; z-index: 4; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; pointer-events: none; opacity: 0; padding: 20px; }
.stage.shown .reveal { opacity: 1; pointer-events: auto; }
.stage .flash { position: absolute; inset: 0; z-index: 5; background: #fff; opacity: 0; pointer-events: none; }
.stage.flashing .flash { animation: flash .9s ease-out; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .9; } 100% { opacity: 0; } }
.holo { position: relative; height: min(56vh, 520px); aspect-ratio: 0.62; border-radius: 18px; padding: 3px; background: linear-gradient(135deg, #f2b631, #ff7ab6, #7fd0ff, #8dffb0, #f2b631); background-size: 300% 300%; animation: holo 5s linear infinite, pop .9s cubic-bezier(.2, 1.5, .4, 1); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 80px rgba(242, 182, 49, .25); }
.holo > div { width: 100%; height: 100%; border-radius: 15px; background: linear-gradient(180deg, #f4f4f5, #e4e4e7); display: grid; place-items: center; padding: 10px; overflow: hidden; }
.holo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes holo { to { background-position: 300% 300%; } }
@keyframes pop { from { transform: scale(.3) rotate(-10deg); opacity: 0; } to { transform: none; opacity: 1; } }
.reveal .info { margin-top: 26px; text-align: center; color: #fff; max-width: 560px; animation: up .7s .45s both; }
.reveal .info .k { color: rgba(255, 255, 255, .6); font-size: 14px; }
.reveal .info b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.04em; margin-top: 4px; }
.reveal .info .chips { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.reveal .info .chips .chip { background: rgba(255, 255, 255, .12); color: #fff; }
.reveal .info .worth { font-size: 40px; font-weight: 700; color: var(--gold); letter-spacing: -0.05em; margin-top: 10px; line-height: 1; }
.reveal .info small { display: block; color: rgba(255, 255, 255, .55); margin-top: 8px; font-size: 13.5px; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.stage .close { position: absolute; top: 18px; right: 18px; z-index: 6; }
.burst { position: absolute; z-index: 3; width: 10px; height: 10px; pointer-events: none; left: 50%; top: 50%; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 24px 22px 26px; }
.step .n { width: 34px; height: 34px; border-radius: 10px; background: var(--well); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.step h3 { font-size: 21px; margin-top: 18px; letter-spacing: -0.03em; }
.step p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }

/* holders */
.holders { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; }
.split { padding: 28px; }
.split h3 { font-size: 22px; letter-spacing: -0.03em; }
.flow { display: grid; gap: 0; margin-top: 16px; }
.flow div { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.flow div:first-child { border-top: 0; }
.flow i { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-2); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; flex: none; }
.lookup { padding: 28px; background: var(--ink); color: #fff; }
.lookup h3 { font-size: 22px; letter-spacing: -0.03em; }
.lookup p { color: rgba(255, 255, 255, .65); margin-top: 8px; font-size: 15px; }
.lookup form { display: flex; gap: 8px; margin-top: 18px; }
.lookup .in { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
.lookup .in::placeholder { color: rgba(255, 255, 255, .45); }
.lookup .res { margin-top: 16px; background: rgba(255, 255, 255, .07); border-radius: 14px; padding: 14px 16px; font-size: 14px; display: none; color: rgba(255, 255, 255, .8); line-height: 1.7; }
.lookup .res.on { display: block; }
.lookup .res b { font-size: 28px; display: block; color: #fff; letter-spacing: -0.04em; }
.lookup .res a { color: #ff9a9b; }

/* the launcher */
.launch { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; align-items: start; }
.formcard { padding: 28px; }
.f { margin-top: 18px; }
.f label { display: flex; justify-content: space-between; font-weight: 500; font-size: 14px; margin-bottom: 7px; }
.f label span { color: var(--muted); font-weight: 400; }
.in { width: 100%; height: 48px; padding: 0 15px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; outline: 0; font-size: 15.5px; transition: border-color .15s, box-shadow .15s; }
textarea.in { height: auto; min-height: 92px; padding: 12px 15px; resize: vertical; line-height: 1.45; }
.in:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.in.bad, .drop.bad { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.in::placeholder { color: #a1a1aa; }
.msg { display: none; color: var(--red); font-size: 13px; font-weight: 500; margin-top: 6px; }
.msg.show { display: block; }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.drop { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px; border: 1.5px dashed var(--line-2); background: var(--well); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--blue); background: var(--blue-soft); }
.drop.has { border-style: solid; background: #fff; }
.thumb { width: 64px; height: 64px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; color: var(--muted); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.thumb svg { width: 26px; height: 26px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop b { display: block; font-weight: 600; font-size: 16px; }
.drop small { color: var(--muted); font-size: 13.5px; }
.drop .btn { margin-left: auto; }
details.more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
details.more summary { cursor: pointer; font-weight: 500; font-size: 15px; list-style: none; color: var(--ink-2); }
details.more summary::-webkit-details-marker { display: none; }
.linkin { position: relative; }
.linkin svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.linkin .in { padding-left: 40px; }
.need { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.preview { padding: 22px; position: sticky; top: 90px; }
.preview .k { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.pv-top { display: flex; gap: 14px; align-items: center; }
.pv-pic { width: 76px; height: 76px; border-radius: 18px; background: var(--well); display: grid; place-items: center; font-weight: 700; font-size: 28px; color: var(--muted); overflow: hidden; flex: none; transition: transform .3s; }
.pv-pic.pop { transform: scale(1.06); }
.pv-pic img { width: 100%; height: 100%; object-fit: cover; }
.pv-top b { display: block; font-size: 21px; letter-spacing: -0.03em; word-break: break-word; font-weight: 700; }
.ghost-t { color: #b4b4bb; }
.pv-desc { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; word-break: break-word; }
.pv-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pv-links span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 99px; background: var(--well); font-size: 12.5px; font-weight: 500; }
.pv-links svg { width: 13px; height: 13px; }
.happens { list-style: none; padding: 16px 0 0; margin: 18px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.happens li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.happens li svg { width: 18px; height: 18px; flex: none; color: var(--green); }

/* coins */
.coins { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile { background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow); transition: transform .15s; min-width: 0; }
.tile:hover { transform: translateY(-2px); }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: var(--well); }
.tile b { display: block; margin-top: 9px; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile small { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; color: var(--muted); }
.none { grid-column: 1 / -1; background: #fff; border-radius: var(--r); padding: 30px; text-align: center; color: var(--muted); box-shadow: var(--shadow); }

/* faq */
.faq { padding: 6px 26px; max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: 3px; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }

/* sheets */
.veil { position: fixed; inset: 0; z-index: 80; background: rgba(15, 15, 18, .45); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 18px; }
.veil.show { display: flex; }
.sheet { width: min(460px, 100%); padding: 28px; text-align: center; animation: pop .4s cubic-bezier(.2, 1.3, .4, 1); box-shadow: var(--shadow-lg); }
.sheet h2 { font-size: 26px; letter-spacing: -0.04em; }
.sheet > p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.prog { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; text-align: left; }
.prog li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--muted); font-size: 15px; }
.prog li i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.prog li i svg { width: 13px; height: 13px; opacity: 0; }
.prog li.now { color: var(--ink); } .prog li.now i { border-color: var(--blue); animation: pulse 1s infinite; }
.prog li.done { color: var(--ink); } .prog li.done i { background: var(--green); border-color: var(--green); color: #fff; } .prog li.done i svg { opacity: 1; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px var(--blue-soft); } }
.yay { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.yay svg { width: 28px; }
.donecoin { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px; border-radius: 14px; background: var(--well); text-align: left; }
.donecoin img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.donecoin b { display: block; font-weight: 600; }
.ca { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 8px 8px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; text-align: left; }
.ca code { flex: 1; min-width: 0; word-break: break-all; font-family: var(--font); color: var(--ink-2); }
.acts { display: grid; gap: 10px; margin-top: 18px; }
.acts .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.testnote { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); font-size: 13.5px; text-align: left; color: #6b4d00; }
#confetti { position: fixed; inset: 0; z-index: 95; pointer-events: none; }

/* footer */
.foot { margin-top: 120px; border-top: 1px solid var(--line-2); padding: 40px 0 48px; color: var(--muted); font-size: 13.5px; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; }
.foot .logo { color: var(--ink); margin-bottom: 12px; }
.foot p { max-width: 720px; }
.foot nav { display: flex; gap: 18px; font-weight: 500; }
.foot nav a:hover { color: var(--ink); }

.rise { animation: up .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 80ms); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 1020px) { .pulls { grid-template-columns: repeat(3, minmax(0, 1fr)); } .coins { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .riphero, .launch, .holders { grid-template-columns: 1fr; }
  .riphero .left { min-height: 380px; }
  .riphero .right { padding: 28px 24px; }
  .navpill { display: none; }
  .bar .wrap { grid-template-columns: 1fr auto; }
  .preview { position: static; }
  .statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statrow div:nth-child(3) { border-left: 0; }
  .statrow div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .pulls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .facts b { font-size: 16px; }
  .mode { display: none; }
  section.sec { padding-top: 80px; }
  .foot .wrap { grid-template-columns: 1fr; }
  .lookup form { flex-direction: column; }
  .slab .top { flex-direction: column; gap: 2px; }
  .hero { padding-top: 36px; }
}
@media (max-width: 420px) {
  .bar .right .btn { height: 34px; padding: 0 13px; font-size: 13.5px; }
  .logo { font-size: 19px; } .logo img { height: 25px; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 44px); }
}
@media (max-width: 330px) { .bar .right .btn { display: none; } }
.xbtn { width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); flex: none; }
.xbtn svg { width: 15px; height: 15px; }
.xbtn:hover { background: var(--well); }
@media (max-width: 560px) { .bar .xbtn { display: none; } }
/* contract strip above the top bar */
.castrip { background: #1f5bff; color: #fff; }
.castrip .wrap { height: 36px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13.5px; }
.castrip .ct { font-weight: 600; opacity: .9; white-space: nowrap; }
.castrip code { white-space: nowrap; font-family: inherit; font-weight: 500; letter-spacing: -0.01em; user-select: all; }
.castrip .cshort { display: none; }
.castrip .ccopy { flex: none; white-space: nowrap; height: 24px; padding: 0 11px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .2); color: #fff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.castrip .ccopy:hover { background: rgba(255, 255, 255, .32); }
@media (max-width: 560px) { .castrip .cfull { display: none; } .castrip .cshort { display: inline; } }

/* each coin's meter to its next slab */
.cslab { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.cslab .cs-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--muted); }
.cslab .cs-top b { font-size: 14px; color: var(--ink); }
.cslab .cs-top small { color: var(--muted); font-weight: 500; }
.cslab .cs-bar { height: 8px; border-radius: 99px; background: var(--blue-soft); overflow: hidden; margin-top: 6px; }
.cslab .cs-bar i { display: block; height: 100%; border-radius: 99px; background: var(--blue); transition: width .6s; }
.cslab.full .cs-bar i, .cslab.ripping .cs-bar i { background: linear-gradient(90deg, var(--blue), #6f95ff, var(--blue)); background-size: 200% 100%; animation: slabrun 1.2s linear infinite; }
@keyframes slabrun { to { background-position: -200% 0; } }
.cslab.ripping .cs-top span { color: var(--blue-2); font-weight: 700; }
.cslab .cs-done { margin-top: 5px; font-size: 12px; color: var(--blue-2); font-weight: 600; }

@media (max-width: 760px) { .statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .statrow div:nth-child(odd) { border-left: 0; } .statrow div:nth-child(n + 3) { border-top: 1px solid var(--line); } .statrow div:last-child { grid-column: 1 / -1; } }
