/* YEET shared parts. Colours, type and motion come from tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
/* The document scrolls (native toolbar collapse, tap-to-top, pinch zoom). The ground is a fixed layer behind it
   that moves by transform only, so it never repaints with the page. */
html { -webkit-text-size-adjust: 100%; background: var(--ink-950); }
body {
  margin: 0;
  color: var(--text);
  background: var(--ink-950);
  font: 400 var(--text-body)/var(--leading-body) var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.scroller { position: relative; z-index: 1; overflow-x: clip; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--yellow); color: var(--ink); }

/* ---------- display type: Archivo outlines set by ui.js, one svg per word ---------- */
.display {
  margin: 0;
  font: italic 900 var(--text-h2)/var(--leading-display) var(--font-display);
  letter-spacing: -.035em;
  color: #fff;
}
.display.hero { font-size: var(--text-hero); line-height: .86; }
.display em { font-style: inherit; color: var(--yellow); }
.display.set { letter-spacing: 0; word-spacing: -.04em; }
.yw { display: inline-block; white-space: nowrap; }
.yw svg { display: inline-block; height: 1em; vertical-align: -.22em; overflow: visible; }
.yw path { fill: currentColor; }
.yw.em { color: var(--yellow); }
.yw.em path { fill: url(#glint-y) #FFE03A; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { display: block; height: 30px; width: auto; }
.logo img.appmark { height: 30px; width: 30px; border-radius: 8px; box-shadow: 0 6px 16px -6px rgba(36, 48, 255, .8); animation: markBob 6s ease-in-out infinite; }
@keyframes markBob { 0%, 82%, 100% { transform: none; } 88% { transform: rotate(-8deg) scale(1.06); } 94% { transform: rotate(3deg); } }

/* ---------- buttons: YEET green, SKEET pink, yellow for the brand's own calls ---------- */
.btn {
  --f0: var(--yellow); --f1: var(--yellow-lift); --f2: #FFD41C; --gl: var(--glow-yellow); --rb: var(--yellow-deep); --ra: rgba(255, 252, 232, .95);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  height: 58px;
  padding: 0 26px;
  border-radius: var(--r-btn);
  color: var(--ink);
  font: italic 900 1.2rem/1 var(--font-display);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  background: var(--f0);
  transition: transform var(--dur-press) var(--ease-out), filter .2s;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(2px) scale(.985); }
.btn.big { height: 68px; font-size: 1.45rem; padding: 0 30px; border-radius: 22px; }
.btn.yeet { --f0: var(--yeet); --f1: var(--yeet-lift); --f2: var(--yeet-deep); --gl: var(--glow-yeet); --rb: var(--yeet-deep); --ra: rgba(236, 255, 244, .95); }
.btn.skeet { --f0: var(--skeet); --f1: var(--skeet-lift); --f2: var(--skeet-deep); --gl: var(--glow-skeet); --rb: var(--skeet-deep); --ra: rgba(255, 232, 242, .95); }
.btn svg.ico { width: 1.05em; height: 1.05em; flex: none; }

/* flat buttons: solid fill, no border, no sheen. Now and then a thin light runs along part of the edge, then it is gone. */
.btn { border: 0; box-shadow: 0 8px 22px -14px var(--gl); }
.btn > .fx { position: absolute; inset: 0; border-radius: inherit; z-index: 1; pointer-events: none; }
.btn { --shim: #FFFFFF; }
.btn.act { --shim: #3D2BFF; }
.btn.act.ink, .on-ultra .btn.act, .on-ink .btn.act { --shim: #FFFFFF; }
.btn.glint > .fx { filter: drop-shadow(0 0 5px var(--shim)) drop-shadow(0 0 2px var(--shim)); }
.fx-edge { position: absolute; inset: 0; border-radius: inherit; padding: 3px; overflow: hidden; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.fx-edge b { position: absolute; left: 50%; top: 50%; width: max(300%, 260px); aspect-ratio: 1; background: conic-gradient(from 0deg, transparent 0 74%, var(--shim) 86%, var(--shim) 89%, transparent 97%); transform: translate(-50%, -50%) rotate(var(--sa, 0deg)); opacity: 0; }
/* the light runs by itself every few seconds: one CSS loop per button (start angle, delay and period set once by ui.js) */
.btn.zap > .fx { filter: drop-shadow(0 0 5px var(--shim)) drop-shadow(0 0 2px var(--shim)); }
.btn.zap .fx-edge b { animation: edgeLoop var(--gp, 7s) linear var(--gd, 2s) infinite; }
@keyframes edgeLoop {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--sa, 0deg)); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  4.5% { opacity: 1; }
  23% { opacity: 1; }
  30%, 100% { opacity: 0; transform: translate(-50%, -50%) rotate(calc(var(--sa, 0deg) + 150deg)); }
}
.btn.glint .fx-edge b { animation: edgeRun 2.1s var(--ease-glint) both; }
@keyframes edgeRun { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--sa, 0deg)); } 15%, 78% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) rotate(calc(var(--sa, 0deg) + 150deg)); } }
.btn.act { height: 52px; padding: 0 22px; font-size: 1.05rem; }

/* the word on YEET and SKEET: outlines that run from narrow to wide and back */
.btn .lbl { display: block; line-height: 0; }
.btn .lbl svg { display: block; height: .82em; width: auto; overflow: visible; }
.btn .lbl .w { fill: currentColor; }
.btn .lbl .ico-in { color: currentColor; }

/* two buttons, side by side, always */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 460px; }
.pair .btn { width: 100%; padding: 0 12px; }

/* ---------- cards and boxes: a line of light crosses the top edge now and then ---------- */
.edge { position: relative; overflow: hidden; }
.edge::before { content: ""; position: absolute; left: 0; top: 0; height: 1.5px; width: 40%; z-index: 3; pointer-events: none; background: linear-gradient(90deg, transparent, var(--el, rgba(255, 224, 58, .85)), transparent); animation: edge var(--dur-edge) linear infinite; animation-delay: var(--ed, 0s); }
@keyframes edge { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(260%); } }

/* ---------- stars ---------- */
.tw { position: absolute; left: var(--x); top: var(--y); width: var(--s, 10px); height: var(--s, 10px); opacity: 0; animation: twinkle var(--t, 4s) ease-in-out var(--dl, 0s) infinite; }
.tw::before, .spk::before { content: ""; position: absolute; inset: 0; background: var(--c, #fff); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
@keyframes twinkle { 0%, 64%, 100% { opacity: 0; transform: scale(.2) rotate(0); } 76% { opacity: 1; transform: scale(1) rotate(45deg); } 88% { opacity: .4; transform: scale(.55) rotate(80deg); } }
.fx-layer { position: fixed; left: 0; right: 0; top: 0; height: 100vh; height: 100lvh; pointer-events: none; z-index: 45; overflow: hidden; }
.spk { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); filter: drop-shadow(0 0 3px var(--g, rgba(255, 224, 58, .9))); animation: spk var(--t, .9s) cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes spk { 0% { transform: translate3d(var(--x), var(--y), 0) scale(0) rotate(0); opacity: 0; } 25% { opacity: 1; transform: translate3d(var(--x), var(--y), 0) scale(1) rotate(50deg); } 100% { transform: translate3d(calc(var(--x) + var(--dx, 0px)), calc(var(--y) + var(--dy, 0px)), 0) scale(0) rotate(150deg); opacity: 0; } }
.ring { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--c); animation: ring .6s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes ring { 0% { transform: translate3d(var(--x), var(--y), 0) scale(.3); opacity: .95; } 100% { transform: translate3d(var(--x), var(--y), 0) scale(var(--k, 4)); opacity: 0; } }

/* ---------- chat input: typed "@yeet" turns into a chip ---------- */
.composer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 460px;
  height: 60px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: #171A4F;
  box-shadow: var(--shadow-card);
  animation: composerGlow var(--dur-breathe) ease-in-out infinite;
}
/* the flowing border: a masked ring; the colour band inside it slides by transform (one period = half its width) */
.composer .ring { position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; overflow: hidden; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.composer .ring i { position: absolute; left: 0; top: 0; bottom: 0; width: 300%; background: linear-gradient(90deg, rgba(255, 255, 255, .16), var(--yellow), rgba(74, 85, 255, .9), rgba(255, 255, 255, .16), var(--yellow), rgba(74, 85, 255, .9), rgba(255, 255, 255, .16)); animation: ringflow 3s linear infinite; }
@keyframes ringflow { from { transform: translate3d(-50%, 0, 0); } to { transform: none; } }
@keyframes composerGlow { 0%, 100% { box-shadow: var(--shadow-card), 0 0 0 0 rgba(255, 224, 58, 0); } 50% { box-shadow: var(--shadow-card), 0 0 34px -8px rgba(255, 224, 58, .3); } }
.composer .plus { color: var(--muted); font-size: 24px; font-weight: 300; line-height: 1; flex: none; }
.composer .typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; font-size: 17px; line-height: 28px; transition: opacity .28s ease-in, transform .28s var(--ease-out); }
.composer .typed.out { opacity: 0; transform: translateY(14px); }
.mention { display: inline-block; padding: 0 8px; border-radius: 8px; background: rgba(255, 224, 58, .18); color: var(--yellow); font-weight: 650; animation: chipIn .42s var(--ease-out) both; }
@keyframes chipIn { 0% { background: rgba(255, 224, 58, 0); color: var(--text); box-shadow: 0 0 0 0 rgba(255, 224, 58, .7); } 40% { background: rgba(255, 224, 58, .5); color: #fff; } 100% { box-shadow: 0 0 0 9px rgba(255, 224, 58, 0); } }
.caret { display: inline-block; width: 2px; height: 20px; margin-left: 2px; vertical-align: -4px; background: var(--yellow); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.composer .send { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); flex: none; transition: transform .18s var(--ease-out), background .2s, box-shadow .3s; }
.composer .send svg { width: 18px; height: 18px; }
.composer .send.go { transform: scale(.9); background: var(--yellow); box-shadow: 0 0 0 8px rgba(255, 224, 58, .16); }

/* ---------- copy chip ---------- */
.urlchip { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 6px 6px 6px 14px; border-radius: 16px; background: #fff; color: var(--ink); font-weight: 800; font-size: 14.5px; text-align: left; box-shadow: 0 10px 24px -12px rgba(6, 7, 28, .7); transition: transform var(--dur-press) var(--ease-out); position: relative; overflow: hidden; }
.urlchip:active { transform: translateY(2px) scale(.985); }
.urlchip .url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: text; -webkit-user-select: text; }
.urlchip .cp { display: inline-flex; align-items: center; gap: 6px; flex: none; background: var(--ink); color: #fff; border-radius: 11px; padding: .6em .8em; font-size: 13px; font-weight: 700; transition: background .15s; }
.urlchip .cp svg { width: 14px; height: 14px; }
.urlchip.done .cp { background: var(--yeet-deep); }
.urlchip::after { content: ""; position: absolute; top: -40%; bottom: -40%; left: 0; width: 36%; background: linear-gradient(90deg, transparent, rgba(255, 224, 58, .6) 50%, transparent); transform: translateX(-160%) skewX(-20deg); animation: glint 6.5s var(--ease-glint) infinite; pointer-events: none; }
@keyframes glint { 0%, 66% { transform: translateX(-160%) skewX(-20deg); } 86%, 100% { transform: translateX(340%) skewX(-20deg); } }

/* ---------- coin chips ---------- */
.coin { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font: italic 900 11.5px/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); border: 2px solid var(--ink); background: var(--coin-1); }
.coin.c2 { background: var(--coin-2); } .coin.c3 { background: var(--coin-3); } .coin.c4 { background: var(--coin-4); } .coin.c5 { background: var(--coin-5); }
.xp { display: inline-flex; align-items: center; gap: .3em; background: var(--yellow); color: var(--ink); border-radius: var(--r-chip); padding: .25em .7em .25em .5em; font-weight: 800; font-size: .85rem; }
.xp svg { width: 1em; height: 1em; }

/* ---------- win code: six slots ---------- */
.code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; max-width: 348px; }
.code span { aspect-ratio: 5/6; border-radius: 14px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font: italic 900 clamp(20px, 6vw, 30px)/1 var(--font-display); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .6); animation: codeIn .5s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 70ms); }
.code span.e { background: rgba(255, 255, 255, .06); border: 2px dashed var(--line-strong); box-shadow: none; animation: slotWait 1.6s ease-in-out infinite; animation-delay: calc(var(--n, 0) * .11s); }
@keyframes codeIn { from { opacity: 0; transform: translateY(8px) scale(.9); } }
@keyframes slotWait { 50% { background: rgba(255, 255, 255, .14); } }

/* ---------- the steps strip ---------- */
.steps { list-style: none; margin: 0; display: flex; gap: 16px; overflow-x: auto; padding: 8px 2px 18px; scroll-snap-type: x mandatory; counter-reset: j; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.steps::-webkit-scrollbar { display: none; }
.ph.wide { width: 286px; }
.scr .wm { position: absolute; right: -34px; bottom: -30px; width: 190px; opacity: .16; animation: floatSm 7s ease-in-out infinite; }
.scr .mini-logo { height: 20px; width: auto; align-self: flex-start; }
.ph { flex: none; width: 236px; scroll-snap-align: start; counter-increment: j; }
.ph .scr { height: 300px; border-radius: var(--r-tile); position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.ph .cap { display: flex; gap: 10px; margin-top: 14px; font-size: 14px; line-height: 1.35; align-items: flex-start; }
.ph .cap::before { content: counter(j); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font: italic 900 13px/1 var(--font-display); }
.ph .cap b { display: block; font-weight: 800; color: #fff; }
.ph .cap span { color: var(--muted); }
.scr.blue { background: linear-gradient(150deg, var(--blue-lift), var(--blue) 45%, var(--blue-deep)); color: #fff; }
.scr.white { background: #fff; color: var(--ink); --el: rgba(36, 48, 255, .7); }
.scr.dark { background: var(--surface-solid); color: #fff; }
.scr .pad { position: relative; z-index: 1; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; justify-content: center; min-width: 0; }
.scr .h { font: italic 900 22px/.95 var(--font-display); letter-spacing: -.03em; }
.scr .h.set { letter-spacing: 0; }
.scr .s { font-size: 12px; opacity: .8; }
.scr .gpt { font-size: 12px; color: #6B6B78; padding: 11px 14px; border-bottom: 1px solid #ECECF2; }
.scr.dark .gpt { color: var(--muted); border-color: var(--line); }
.scr .bubble { align-self: flex-end; background: var(--sky); border-radius: 16px 16px 4px 16px; padding: 7px 10px; font-size: 13px; font-weight: 600; }
.scr .bubble .mention { background: rgba(36, 48, 255, .12); color: var(--blue); animation: none; padding: 0 6px; }
.scr .rowm { display: flex; align-items: center; gap: 8px; background: var(--sky); border-radius: 12px; padding: 6px 8px; font-size: 12px; font-weight: 700; animation: rowIn .6s var(--ease-out) both; }
.scr .rowm .coin { width: 24px; height: 24px; font-size: 8px; border-width: 1.5px; }
.scr .rowm em { margin-left: auto; font: italic 900 15px/1 var(--font-display); }
.scr .btn { height: 44px; font-size: 1rem; width: 100%; pointer-events: none; }
.scr .appicon { width: 76px; height: 76px; border-radius: 20px; background: var(--blue); display: grid; place-items: center; box-shadow: 0 14px 28px -12px rgba(36, 48, 255, .7); animation: floatSm 5s ease-in-out infinite; }
.scr .appicon img { width: 46px; height: 46px; display: block; }
.scr .add { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; }
@keyframes floatSm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- a trade in progress: USDC to NEAR Intents to the wallet ---------- */
.route { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-radius: 14px; background: var(--ink-950); color: #fff; }
.route .nd { display: flex; flex-direction: column; align-items: center; gap: 4px; font: 10px/1.2 var(--font-mono); color: var(--muted); text-align: center; min-width: 0; }
.route .nd b { color: #fff; font-size: 12px; }
.route .nd .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 11px; }
.route .nd .ic svg { width: 14px; height: 14px; }
.route .nd:nth-child(3) .ic { animation: pulseNode 1.8s ease-in-out infinite; }
.route .wire { flex: 1; height: 2px; margin: 0 6px 18px; min-width: 14px; background: repeating-linear-gradient(90deg, var(--yeet) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: wire .9s linear infinite; }
@keyframes wire { to { background-position: 22px 0; } }
@keyframes pulseNode { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 224, 58, .5); } 60% { box-shadow: 0 0 0 7px rgba(255, 224, 58, 0); } }

/* ---------- a buy going through: the bar fills, the coin drops into the wallet ---------- */
.land { display: flex; flex-direction: column; gap: 12px; }
.land .bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.land .bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--yeet-deep), var(--yeet), var(--yeet-lift)); transform-origin: 0 50%; animation: fillBar 3.6s var(--ease-out) infinite; }
.land .got { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--ink-950); border: 1px solid var(--line); font-weight: 800; font-size: 14px; }
.land .got .coin { width: 32px; height: 32px; font-size: 9.5px; animation: coinDrop 3.6s var(--ease-settle) infinite; }
.land .got b { font-weight: 800; animation: gotIn 3.6s ease-out infinite; }
.land .got em { margin-left: auto; font: italic 900 16px/1 var(--font-display); color: var(--yeet); animation: gotIn 3.6s ease-out infinite; }
@keyframes fillBar { 0% { transform: scaleX(0); } 45%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes coinDrop { 0%, 44% { transform: translateY(-34px) scale(.6); opacity: 0; } 58%, 90% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes gotIn { 0%, 52% { opacity: 0; transform: translateX(8px); } 64%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- strip dots (phones) ---------- */
.dots { display: none; gap: 8px; justify-content: center; align-self: stretch; margin-top: -8px; }
.dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--line-strong); transition: width .3s var(--ease-out), background .3s; }
.dots i.on { width: 22px; background: var(--yellow); }

/* ---------- streak ---------- */
.stchip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 8px; border-radius: 999px; background: rgba(255, 224, 58, .12); color: var(--yellow); font-weight: 800; font-size: 14px; border: 1px solid rgba(255, 224, 58, .35); }
.stchip svg { width: 18px; height: 18px; transform-origin: 50% 100%; animation: flame 1.7s ease-in-out infinite; }
.days { display: flex; gap: 6px; max-width: 320px; }
.days .dd { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 10px/1 var(--font-mono); color: var(--muted); }
.days .dd i { width: 100%; max-width: 38px; aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; border: 1px solid var(--line); }
.days .dd.on i { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.days .dd.today i { background: transparent; border: 2px dashed var(--yellow); animation: today 2.4s ease-in-out infinite; }
.days .dd i svg { width: 16px; height: 16px; transform-origin: 50% 100%; animation: flame 1.7s ease-in-out infinite; }
.days .dd.on:nth-child(2) i svg { animation-delay: -.4s; } .days .dd.on:nth-child(3) i svg { animation-delay: -.9s; } .days .dd.on:nth-child(4) i svg { animation-delay: -1.3s; }
@keyframes flame { 0%, 100% { transform: scaleY(1) skewX(0); } 25% { transform: scaleY(1.08) skewX(-3deg); } 50% { transform: scaleY(.95) skewX(2deg); } 75% { transform: scaleY(1.05) skewX(-1deg); } }
@keyframes today { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 224, 58, .45); } 60% { box-shadow: 0 0 0 7px rgba(255, 224, 58, 0); } }

/* ---------- leaderboard ---------- */
.lb { display: grid; gap: 6px; max-width: 420px; }
.lb .lr { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.lb .lr .rk { width: 26px; font: 800 13px/1 var(--font-mono); color: var(--muted); text-align: center; }
.lb .lr .av { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.lb .lr .nm { flex: 1; font-weight: 700; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb .lr .pts { font: 800 13px/1 var(--font-mono); color: var(--yellow-lift); }
.lb .lr.me { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.lb .lr.me .rk, .lb .lr.me .pts { color: var(--ink); }
.lb .lr.top .rk { color: var(--yellow); }
.lb .gap { text-align: center; color: var(--dim); font: 12px/1 var(--font-mono); }

/* ---------- share card ---------- */
.og { border-radius: 18px; aspect-ratio: 1.91/1; width: 100%; max-width: 520px; position: relative; overflow: hidden; border: 1px solid var(--line-strong); container-type: inline-size; background: linear-gradient(90deg, var(--ink-950) 20%, var(--blue-deep) 70%, var(--blue)); }
.og .ogw { position: absolute; right: -30%; top: -22%; width: 68%; aspect-ratio: 1; border-radius: 50%; opacity: .95; background: conic-gradient(var(--yellow) 0 30deg, var(--blue) 0 60deg, var(--sky) 0 90deg, var(--blue-deep) 0 120deg, var(--skeet) 0 150deg, var(--blue-lift) 0 180deg, var(--yellow) 0 210deg, var(--blue) 0 240deg, var(--sky) 0 270deg, var(--blue-deep) 0 300deg, var(--yeet) 0 330deg, var(--blue-lift) 0); box-shadow: 0 0 0 1.6cqi var(--ink), 0 0 0 2.2cqi var(--yellow); animation: turn 70s linear infinite; }
.og .ogt { position: absolute; left: 6%; bottom: 10%; font-size: 12cqi; line-height: .86; }
.og .ogm { position: absolute; left: 6%; top: 10%; }
.og .ogm img { height: max(16px, 5.4cqi); display: block; }
@keyframes turn { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .tw { opacity: .7; transform: scale(.8) rotate(45deg); animation: none !important; }
  .caret, .fx-edge { animation: none !important; }
  .fx-edge { display: none; }
  .edge::before, .urlchip::after { display: none; }
}
