/* Emojipad — Sticker Sheet world: glossy die-cut stickers on an electric-blue field, one yellow accent. */
:root {
  --field: #1d3af5;
  --field-2: #1229c9;
  --on-field: #ffffff;
  --on-field-2: #cfd7ff;
  --paper: #ffffff;
  --paper-2: #f3f5ff;
  --line: #e1e6ff;
  --ink: #0b1140;
  --ink-2: #39427a;
  --muted: #5c669b;
  --yellow: #ffd23f;
  --yellow-2: #ffbf00;
  --coral-ink: #9b1414;
  --green: #17a35a;
  --green-ink: #0b5a30;
  --display: 'Gabarito', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Gabarito', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, 1.2, .3, 1);
  --shadow: 0 14px 34px rgba(5, 12, 70, .35), 0 2px 6px rgba(5, 12, 70, .2);
  --shadow-sm: 0 6px 16px rgba(5, 12, 70, .28), 0 1px 3px rgba(5, 12, 70, .18);
  --cut: 0 0 0 5px #fff;
  --wrap: 1240px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #7f92ff var(--field-2); background: var(--field); }
body {
  margin: 0; color: var(--on-field); font: 400 16px/1.5 var(--sans); min-height: 100vh;
  background: radial-gradient(1200px 700px at 12% -10%, #3d5bff 0%, transparent 60%), radial-gradient(900px 600px at 100% 30%, #2a48ff 0%, transparent 55%), var(--field);
}
::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
a:hover { text-decoration-color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dim { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -40px; background: var(--yellow); color: var(--ink); padding: 8px 12px; z-index: 50; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 8px; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--field-2); }
::-webkit-scrollbar-thumb { background: #7f92ff; border: 3px solid var(--field-2); border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.g { font-family: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; }

/* ---------- sticker primitives ---------- */
.peel::before, .peel::after { content: ''; position: absolute; top: -1px; right: -1px; width: 30px; height: 30px; pointer-events: none; }
.peel::before { background: linear-gradient(225deg, var(--field) 0 50%, transparent 50%); border-top-right-radius: inherit; }
.peel::after { background-image: linear-gradient(45deg, #dfe5ff 0 40%, #ffffff 50%, transparent 50%); filter: drop-shadow(-2px 3px 3px rgba(5, 12, 70, .35)); }
.tile.peel::before, .tile.peel::after { width: 20px; height: 20px; }

/* ---------- masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 30; background: linear-gradient(180deg, rgba(29, 58, 245, .97), rgba(29, 58, 245, .9)); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.masthead-row { display: flex; align-items: center; gap: 26px; height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font: 800 24px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; color: #fff; }
.wordmark .mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 4px 8px rgba(5, 12, 70, .35)); transition: transform .35s var(--ease); }
.wordmark:hover .mark { transform: rotate(-8deg) scale(1.06); }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--on-field-2); padding: 9px 13px; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav a[aria-current='page'] { color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }

.btn { font: 800 15px/1 var(--sans); border: 0; border-radius: 999px; background: #fff; color: var(--ink); padding: 12px 18px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .2s, background .15s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-red { background: var(--yellow); color: var(--ink); }
.btn-red:hover { background: var(--yellow-2); }
.btn[disabled] { background: #e9ecff; color: var(--muted); cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-busy { position: relative; color: transparent !important; }
.btn.is-busy::after { content: ''; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border: 3px solid var(--ink); border-left-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-ink.is-busy::after { border-color: #fff; border-left-color: transparent; }
@keyframes spin { to { transform: rotate(1turn); } }
.wallet.is-connected { font-family: var(--mono); font-weight: 600; font-size: 13px; }
.sm { padding: 8px 12px; font-size: 13px; }

/* ---------- hero ---------- */
.hero { padding: 54px 0 0; }
.hero h1 { margin: 0; font: 800 clamp(44px, 6.4vw, 92px)/.96 var(--display); letter-spacing: -0.04em; text-wrap: balance; max-width: 15ch; }
.hero h1 em { font-style: normal; display: inline-block; background: var(--yellow); color: var(--ink); padding: .02em .18em .06em; border-radius: .22em; transform: rotate(-1.6deg); box-shadow: 0 8px 22px rgba(5, 12, 70, .3); }
.hero .lede { margin: 22px 0 0; max-width: 60ch; font-size: 19px; color: var(--on-field-2); }
.hero .lede a { color: #fff; }
.ledger { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 34px; }
.ledger > div { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 18px 18px 16px; box-shadow: var(--cut), var(--shadow); transition: transform .35s var(--ease); }
.ledger > div:nth-child(odd) { transform: rotate(-1.2deg); }
.ledger > div:nth-child(even) { transform: rotate(1deg); }
.ledger > div:hover { transform: rotate(0) translateY(-4px); }
.ledger b { display: block; font: 800 34px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ledger b.red { color: var(--field); }
.ledger span { display: block; margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.notice { margin: 22px 0 0; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(11, 17, 64, .35); border: 1px solid rgba(255, 255, 255, .18); font-size: 15px; color: #fff; }
.notice b { color: var(--yellow); }

/* ---------- search ---------- */
.search-wrap { position: relative; margin-top: 30px; }
.search { display: flex; align-items: center; background: #fff; color: var(--ink); height: 72px; padding: 0 10px 0 22px; border-radius: 999px; box-shadow: var(--cut), var(--shadow); }
.search svg { width: 24px; height: 24px; color: var(--field); flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; font: 500 22px/1 var(--sans); padding: 0 14px; background: transparent; color: var(--ink); }
.search input::placeholder { color: #8b93c4; font-weight: 400; }
.search kbd { font: 600 12px/1 var(--mono); border: 1px solid var(--line); padding: 6px 8px; color: var(--muted); background: var(--paper-2); border-radius: 8px; }
.search .go { margin-left: 10px; height: 50px; padding: 0 22px; font-size: 16px; }
.results { position: absolute; left: 12px; right: 12px; top: calc(100% + 14px); background: #fff; color: var(--ink); border-radius: var(--r); z-index: 20; max-height: min(62vh, 560px); overflow: auto; box-shadow: var(--cut), 0 30px 60px rgba(5, 12, 70, .45); }
.results[hidden] { display: none; }
.results ol { list-style: none; margin: 0; padding: 8px; }
.results li a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 8px 10px; text-decoration: none; border-radius: 14px; }
.results li a:hover, .results li a.is-active { background: var(--paper-2); }
.results .name { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; text-transform: capitalize; }
.results .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 2px; }
.results .foot { padding: 10px 14px 12px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); margin: 0; }
.tile { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: #fff; box-shadow: 0 0 0 2px #fff, var(--shadow-sm); position: relative; flex: none; }
.tile img { width: 38px; height: 38px; object-fit: contain; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 800 11.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chip.is-claimed { background: var(--yellow); color: var(--ink); }
.chip.is-claimed::before { background: var(--field); }
.chip .m { font-family: var(--mono); font-weight: 600; letter-spacing: 0; text-transform: none; }

/* ---------- sections ---------- */
.section { margin-top: 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font: 800 28px/1.05 var(--display); letter-spacing: -0.03em; color: #fff; }
.section-head p, .section-head a { margin: 0; font-size: 15px; color: var(--on-field-2); }
.section-head a { font-weight: 700; color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* sticker sheet of unclaimed picks (24 picks: 12 / 8 / 4 columns) */
.picks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px 16px; padding: 8px 6px 12px; }
.picks a { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: #fff; border-radius: 24px; text-decoration: none; box-shadow: var(--cut), var(--shadow); transition: transform .4s var(--ease), box-shadow .3s; }
.picks a:nth-child(3n) { transform: rotate(2deg); }
.picks a:nth-child(3n+1) { transform: rotate(-2.5deg); }
.picks a:nth-child(5n) { transform: rotate(1.2deg); }
.picks a:hover, .picks a:focus-visible { transform: rotate(0) translateY(-8px) scale(1.08); box-shadow: var(--cut), 0 26px 50px rgba(5, 12, 70, .45); z-index: 2; }
.picks img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(5, 12, 70, .18)); margin-bottom: 8px; }
.picks a .cp { position: absolute; bottom: 7px; font: 600 10px/1 var(--mono); color: var(--muted); }

/* ranked lists in a sticker card */
.rank { list-style: none; margin: 0; padding: 8px 10px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--cut), var(--shadow); }
.rank li { display: grid; grid-template-columns: 30px 60px 1fr auto; align-items: center; gap: 14px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.rank li:last-child { border-bottom: 0; }
.rank .n { font: 800 15px/1 var(--display); color: var(--muted); text-align: center; }
.rank li:nth-child(-n+3) .n { color: var(--ink); background: var(--yellow); border-radius: 999px; width: 28px; height: 28px; display: grid; place-items: center; }
.rank .tile { width: 60px; height: 60px; border-radius: 16px; transition: transform .35s var(--ease); }
.rank .tile img { width: 42px; height: 42px; }
.rank li:hover .tile { transform: rotate(-6deg) scale(1.08); }
.rank .title { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.rank .title a { font: 800 16px/1.15 var(--display); letter-spacing: -0.01em; text-transform: capitalize; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.rank .title a:hover { text-decoration: underline; text-decoration-color: var(--field); }
.rank .sub { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; }
.rank .val { text-align: right; }
.rank .val b { display: block; font: 800 17px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.rank .val span { font-size: 12px; color: var(--muted); }
.rank .bar { width: 96px; height: 6px; background: var(--line); border-radius: 4px; margin: 6px 0 0 auto; overflow: hidden; }
.rank .bar i { display: block; height: 100%; background: var(--field); border-radius: 4px; }
.rank .bar.is-grad i { background: var(--yellow-2); }
.v { display: inline-block; font: 700 11px/1 var(--mono); padding: 4px 7px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.v.is-red { background: var(--yellow); color: var(--ink); }
.rank li.empty-row, .empty-row { display: block; padding: 26px 12px; color: var(--muted); font-size: 15px; border-bottom: 0; }

/* blocks bars */
.blocks { list-style: none; margin: 0; padding: 14px 20px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--cut), var(--shadow); }
.blocks li { display: grid; grid-template-columns: 180px 1fr 120px; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.blocks li:last-child { border-bottom: 0; }
.blocks .bar { height: 12px; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.blocks .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--field), #4c66ff); border-radius: 6px; }
.blocks .cnt { font: 600 13px/1 var(--mono); text-align: right; color: var(--ink-2); }

/* tables */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--cut), var(--shadow); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl thead th { background: var(--paper-2); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); font-weight: 800; white-space: nowrap; }
.tbl th.num, .tbl td.num { text-align: right; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.tbl img.g { width: 30px; height: 30px; object-fit: contain; vertical-align: middle; margin-right: 10px; }
.tbl a.name { font: 800 15px/1.2 var(--display); text-transform: capitalize; text-decoration: none; }
.tbl a.name:hover { text-decoration: underline; text-decoration-color: var(--field); }
.tabs { display: flex; gap: 6px; margin-top: 26px; overflow-x: auto; padding-bottom: 4px; }
.tabs button { font: 800 15px/1 var(--sans); background: rgba(255, 255, 255, .12); border: 0; padding: 11px 16px; color: #fff; cursor: pointer; border-radius: 999px; white-space: nowrap; transition: background .15s; }
.tabs button:hover { background: rgba(255, 255, 255, .22); }
.tabs button[aria-selected='true'] { color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }

/* ---------- emoji page ---------- */
.emoji-page { display: grid; grid-template-columns: minmax(0, 1fr) 410px; grid-template-areas: 'id launch' 'featured launch' 'versions launch'; gap: 36px 44px; padding-top: 44px; align-items: start; }
.emoji-page > .id-card { grid-area: id; } .emoji-page > [data-featured] { grid-area: featured; } .emoji-page > [data-versions] { grid-area: versions; } .emoji-page > .launch { grid-area: launch; }
.id-card { display: flex; gap: 30px; align-items: flex-start; }
.glyph { width: 220px; height: 220px; flex: none; display: grid; place-items: center; background: #fff; border-radius: 44px; box-shadow: var(--cut), var(--shadow); position: relative; transform: rotate(-4deg); transition: transform .5s var(--ease); }
.glyph:hover { transform: rotate(0) scale(1.03); }
.glyph img, .glyph .g { width: 150px; height: 150px; font-size: 128px; line-height: 150px; text-align: center; filter: drop-shadow(0 6px 10px rgba(5, 12, 70, .2)); }
.glyph.peel::before, .glyph.peel::after { width: 48px; height: 48px; }
.id-card .cp { margin: 6px 0 8px; font: 600 13px/1 var(--mono); color: var(--on-field-2); }
.id-card h1 { margin: 0; font: 800 clamp(34px, 4vw, 56px)/.98 var(--display); letter-spacing: -0.035em; text-transform: capitalize; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 800 12.5px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; }
.status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.status.is-claimed { background: var(--yellow); color: var(--ink); }
.status.is-claimed::before { background: var(--field); }
.fields { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; max-width: 520px; background: rgba(255, 255, 255, .1); border-radius: var(--r-sm); padding: 4px 14px; }
.fields dt, .fields dd { margin: 0; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; }
.fields dt:last-of-type, .fields dd:last-of-type { border-bottom: 0; }
.fields dt { color: var(--on-field-2); padding-right: 22px; }
.fields dd { text-align: right; overflow-wrap: anywhere; font-weight: 600; }
.fields dd .g { font-size: 22px; line-height: 1; vertical-align: -3px; }
.fields dd a { color: #fff; }
.featured { margin: 0; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--cut), var(--shadow); overflow: hidden; }
.featured .fields { background: var(--paper-2); }
.featured .fields dt { color: var(--muted); } .featured .fields dt, .featured .fields dd { border-color: var(--line); } .featured .fields dd a { color: var(--ink); }
.featured-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; background: var(--yellow); }
.featured-head h2 { margin: 0; font: 800 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.featured-head h2 i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--field); margin-right: 8px; vertical-align: -1px; }
.featured-body { padding: 20px 20px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.stat b { display: block; font: 800 30px/1.05 var(--display); letter-spacing: -0.03em; }
.stat span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.meter { height: 10px; background: var(--paper-2); border-radius: 6px; margin: 10px 0 4px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--field), #4c66ff); border-radius: 6px; }
.featured-body .full { grid-column: 1 / -1; }
.route { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.route th, .route td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.route td { text-align: right; font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.route tr.is-you th, .route tr.is-holders th, .route tr.is-pons th { padding-left: 18px; position: relative; }
.route tr.is-you th::before, .route tr.is-holders th::before, .route tr.is-pons th::before { content: ''; position: absolute; left: 0; top: 13px; width: 10px; height: 10px; border-radius: 50%; }
.route tr.is-you th::before { background: var(--ink); }
.route tr.is-holders th::before { background: var(--yellow-2); }
.route tr.is-pons th::before { background: var(--line); }
.route tr.is-you th { font-weight: 800; }
.route caption { caption-side: bottom; text-align: left; color: var(--muted); font-size: 13px; padding-top: 10px; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hint { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.msg { margin: 12px 0 0; padding: 10px 12px; font-size: 14px; border-radius: 12px; background: var(--paper-2); color: var(--ink); overflow-wrap: anywhere; }
.msg.is-error { background: #ffe3e3; color: var(--coral-ink); }
.msg.is-ok { background: #dcf6e7; color: var(--green-ink); }
.msg[hidden] { display: none; }

.launch { position: sticky; top: 88px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--cut), var(--shadow); overflow: hidden; }
.launch-head { padding: 14px 20px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: baseline; }
.launch-head h2 { margin: 0; font: 800 19px/1 var(--display); letter-spacing: -0.02em; }
.launch-head span { font: 600 11.5px/1 var(--mono); opacity: .75; }
.launch-body { padding: 20px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.field > span em { font-style: normal; font-weight: 500; color: var(--muted); }
.amount { display: flex; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .15s; }
.amount:focus-within { border-color: var(--field); }
.amount input { border: 0; outline: 0; flex: 1; min-width: 0; height: 48px; padding: 0 14px; font: 600 18px/1 var(--mono); color: var(--ink); background: #fff; }
.amount b { display: grid; place-items: center; padding: 0 16px; background: var(--paper-2); font-weight: 800; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips button { font: 600 13px/1 var(--mono); background: var(--paper-2); border: 0; color: var(--ink-2); padding: 9px 12px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.chips button:hover { background: var(--line); color: var(--ink); }
.chips button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; margin: 16px 0; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); font-weight: 800; }
.total .mono { font-size: 18px; font-weight: 700; }
.cta { width: 100%; padding: 17px; font-size: 18px; border-radius: 16px; }
.sect { margin-top: 28px; }
.sect h3 { margin: 0 0 12px; font: 800 12.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- text pages ---------- */
.page { padding-top: 44px; padding-bottom: 80px; }
.page-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { margin: 0; font: 800 clamp(38px, 5vw, 64px)/.98 var(--display); letter-spacing: -0.04em; }
.page-head p { margin: 0; color: var(--on-field-2); font-size: 17px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; margin-top: 30px; align-items: start; }
.prose { background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--cut), var(--shadow); padding: 34px 40px 40px; font-size: 17px; line-height: 1.62; }
.prose > * { max-width: 68ch; }
.prose h2 { margin: 42px 0 10px; font: 800 28px/1.1 var(--display); letter-spacing: -0.03em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 6px; font: 800 18px/1.3 var(--display); }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .86em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose table { width: 100%; max-width: none; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 800; }
.prose td.num, .prose th.num { text-align: right; font-family: var(--mono); font-size: 14px; }
.toc { position: sticky; top: 90px; background: rgba(255, 255, 255, .1); border-radius: var(--r-sm); padding: 8px 16px; }
.toc a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); text-decoration: none; font-weight: 700; color: var(--on-field-2); }
.toc a:last-child { border-bottom: 0; }
.toc a:hover { color: #fff; }
.panel { background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--cut), var(--shadow); padding: 22px 22px 24px; }
.panel h2 { margin: 0 0 6px; font: 800 22px/1.1 var(--display); letter-spacing: -0.02em; }
.big { font: 800 40px/1 var(--display); letter-spacing: -0.03em; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.lost { text-align: center; padding: 110px 24px; }
.lost .cell-lg { display: inline-grid; place-items: center; width: 160px; height: 160px; background: #fff; color: var(--muted); border-radius: 36px; box-shadow: var(--cut), var(--shadow); font: 700 18px/1 var(--mono); margin-bottom: 26px; transform: rotate(-5deg); }
.lost h1 { font: 800 44px/1 var(--display); letter-spacing: -0.03em; margin: 0 0 10px; }
.lost .dim { color: var(--on-field-2); }

/* ---------- footer ---------- */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 80px; padding-top: 22px; padding-bottom: 36px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: var(--on-field-2); }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: #fff; text-decoration: none; font-weight: 700; }
.foot a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .emoji-page { grid-template-columns: 1fr; grid-template-areas: 'id' 'launch' 'featured' 'versions'; gap: 30px; }
  .launch { position: static; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  .cols { grid-template-columns: 1fr; }
  .toc { position: static; }
  .picks { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .hero { padding-top: 30px; }
  .hero .lede { font-size: 16.5px; }
  .ledger { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ledger > div { padding: 14px 14px 12px; }
  .ledger > div:last-child { grid-column: 1 / -1; }
  .ledger b { font-size: 26px; }
  .search { height: 62px; padding-left: 16px; } .search input { font-size: 17px; padding: 0 10px; } .search kbd { display: none; } .search .go { padding: 0 16px; height: 44px; font-size: 14px; }
  .results { left: 0; right: 0; } .results li a { grid-template-columns: 48px 1fr; } .results .tile { width: 48px; height: 48px; } .results .tile img { width: 32px; height: 32px; } .results .chip { grid-column: 2; justify-self: start; }
  .picks { grid-template-columns: repeat(4, 1fr); gap: 16px 14px; }
  .rank li { grid-template-columns: 26px 52px 1fr; } .rank .tile { width: 52px; height: 52px; } .rank .tile img { width: 36px; height: 36px; } .rank .val { grid-column: 3; text-align: left; } .rank .bar { margin-left: 0; }
  .blocks li { grid-template-columns: 1fr 90px; } .blocks .bar { grid-column: 1 / -1; }
  .id-card { flex-direction: column; gap: 22px; } .glyph { width: 160px; height: 160px; border-radius: 34px; } .glyph img, .glyph .g { width: 110px; height: 110px; font-size: 96px; line-height: 110px; }
  .featured-body { grid-template-columns: 1fr; }
  .prose { padding: 24px 20px 28px; }
  .tbl { font-size: 14px; } .tbl th, .tbl td { padding: 10px 10px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .masthead-row { display: grid; grid-template-columns: 1fr auto; height: auto; padding-block: 10px 8px; gap: 6px 12px; }
  .nav { grid-column: 1 / -1; gap: 2px; margin: 0; overflow-x: auto; }
  .nav a { padding: 8px 11px; font-size: 14px; }
  .wallet { justify-self: end; padding: 10px 14px; font-size: 14px; }
  .wordmark { font-size: 21px; } .wordmark .mark { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .ledger > div, .picks a, .glyph { transform: none !important; } }

/* ===================== UX pass: sheet texture, hero cluster, quick picks, skeletons, motion ===================== */
body { background-image: radial-gradient(rgba(255, 255, 255, .13) 1.2px, transparent 1.3px), radial-gradient(1200px 700px at 12% -10%, #3d5bff 0%, transparent 60%), radial-gradient(900px 600px at 100% 30%, #2a48ff 0%, transparent 55%); background-size: 26px 26px, auto, auto; background-attachment: fixed; }

/* hero: copy left, live sticker cluster right */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px 40px; align-items: center; }
.hero-copy { grid-column: 1; }
.hero > .ledger, .hero > .notice, .hero > .search-wrap { grid-column: 1 / -1; }
.cluster { position: relative; height: 380px; grid-column: 2; grid-row: 1; }
.cluster a { position: absolute; display: grid; place-items: center; width: 132px; height: 132px; background: #fff; border-radius: 30px; box-shadow: var(--cut), var(--shadow); text-decoration: none; animation: float 6s ease-in-out infinite; transition: transform .4s var(--ease); will-change: transform; }
.cluster a img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(5, 12, 70, .2)); }
.cluster a .tag { position: absolute; bottom: -12px; left: 50%; translate: -50% 0; background: var(--yellow); color: var(--ink); font: 800 11px/1 var(--mono); padding: 5px 8px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.cluster a:hover { z-index: 3; animation-play-state: paused; transform: scale(1.1) rotate(0) !important; }
.cluster a:nth-child(1) { left: 6%; top: 4%; --rot: -8deg; width: 150px; height: 150px; animation-delay: -1s; }
.cluster a:nth-child(2) { left: 52%; top: 0; --rot: 7deg; animation-delay: -2.5s; }
.cluster a:nth-child(3) { left: 0; top: 50%; --rot: 5deg; width: 116px; height: 116px; animation-delay: -4s; }
.cluster a:nth-child(4) { left: 40%; top: 44%; --rot: -5deg; width: 160px; height: 160px; animation-delay: -.5s; }
.cluster a:nth-child(5) { left: 74%; top: 58%; --rot: 9deg; width: 104px; height: 104px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-10px) rotate(calc(var(--rot, 0deg) + 1.5deg)); } }

/* quick picks under search */
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.quick span { font-size: 13px; font-weight: 700; color: var(--on-field-2); margin-right: 4px; }
.quick a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; background: rgba(255, 255, 255, .12); color: #fff; font: 700 13.5px/1 var(--sans); padding: 8px 12px 8px 8px; border-radius: 999px; transition: background .15s, transform .3s var(--ease); text-transform: capitalize; }
.quick a img { width: 20px; height: 20px; }
.quick a:hover { background: #fff; color: var(--ink); transform: translateY(-2px) rotate(-2deg); }

/* stick-on entrance (one authored moment) */
@keyframes stick { 0% { opacity: 0; transform: scale(1.25) rotate(var(--rot, 0deg)); filter: drop-shadow(0 30px 30px rgba(5, 12, 70, .5)); } 100% { opacity: 1; transform: scale(1) rotate(var(--rot, 0deg)); } }
.picks a { --rot: 0deg; transform: rotate(var(--rot)); animation: stick .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms); }
.picks a:nth-child(3n) { --rot: 2deg; }
.picks a:nth-child(3n+1) { --rot: -2.5deg; }
.picks a:nth-child(5n) { --rot: 1.2deg; }
.picks a:hover, .picks a:focus-visible { transform: rotate(0) translateY(-8px) scale(1.08); }
.glyph.peel::before, .glyph.peel::after { transition: width .3s var(--ease), height .3s var(--ease); }
.glyph.peel:hover::before, .glyph.peel:hover::after { width: 64px; height: 64px; }

/* skeletons */
.sk { position: relative; overflow: hidden; background: var(--paper-2); border-radius: 10px; color: transparent !important; }
.sk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.rank li.is-sk .tile { background: var(--paper-2); box-shadow: none; }
.rank li.is-sk .n { visibility: hidden; }
.rank li.is-sk .line { display: block; height: 14px; width: 60%; margin: 4px 0; }
.rank li.is-sk .line.short { width: 35%; height: 11px; }
.ledger b.sk { display: inline-block; min-width: 80px; height: 34px; }

/* share + success */
.share { display: inline-flex; gap: 8px; margin-top: 16px; }
.share .btn { padding: 9px 13px; font-size: 13px; }
.share .btn svg { width: 15px; height: 15px; }
@keyframes pop { 0% { transform: scale(.4) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.15) rotate(4deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
.glyph.is-pop { animation: pop .7s var(--ease) both; }
.msg.is-ok.is-big { font: 800 17px/1.3 var(--display); padding: 14px 16px; border-radius: 14px; }

/* tables scroll on small screens */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); box-shadow: var(--cut), var(--shadow); }
.scroll .tbl { box-shadow: none; min-width: 640px; }

/* wallet connected */
.wallet.is-connected::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--field), var(--yellow)); }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; }
  .cluster { grid-column: 1; grid-row: auto; height: 200px; margin-top: 6px; }
  .cluster a { width: 92px !important; height: 92px !important; }
  .cluster a:nth-child(1) { left: 2%; top: 8%; } .cluster a:nth-child(2) { left: 24%; top: 40%; } .cluster a:nth-child(3) { left: 46%; top: 2%; } .cluster a:nth-child(4) { left: 66%; top: 34%; } .cluster a:nth-child(5) { display: none; }
}
@media (max-width: 760px) { .cluster { height: 170px; } .cluster a { width: 80px !important; height: 80px !important; border-radius: 22px; } .cluster a .tag { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .cluster a, .picks a, .glyph.is-pop { animation: none !important; } }

/* ===================== masthead actions, $EMOJI coin block ===================== */
.actions { display: flex; align-items: center; gap: 8px; }
.btn-x { padding: 10px 14px 10px 12px; }
.btn-x svg, .coin-copy .btn svg { width: 16px; height: 16px; }
.btn-buy .coin-dot { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 900 13px/1 var(--display); }
.coin-sect { margin-top: 48px; }
.coin { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; background: #fff; color: var(--ink); border-radius: 28px; box-shadow: var(--cut), var(--shadow); padding: 30px 34px; position: relative; overflow: hidden; }
.coin::before { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffe066, var(--yellow-2)); opacity: .18; pointer-events: none; }
.coin h2 { margin: 0; font: 800 clamp(36px, 4vw, 54px)/1 var(--display); letter-spacing: -0.04em; display: flex; align-items: center; gap: 10px; }
.coin-mark { display: grid; place-items: center; width: .95em; height: .95em; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .62em; box-shadow: var(--shadow-sm); transform: rotate(-8deg); }
.coin-lede { margin: 12px 0 18px; font-size: 17px; color: var(--ink-2); max-width: 52ch; }
.coin-hint { margin-top: 12px; }
.coin-hint a { color: var(--ink); }
.coin-stats { margin: 0; display: grid; gap: 10px; }
.coin-stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 16px; border-radius: 16px; background: var(--paper-2); }
.coin-stats dt { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.coin-stats dd { margin: 0; font: 800 20px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }
.coin-stats dd.sk { height: 22px; }
@media (max-width: 1040px) { .coin { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .coin { padding: 22px 20px; border-radius: 22px; } .btn-x span { display: none; } .btn-x { padding: 10px 12px; } .btn-buy span:last-child { display: none; } .btn-buy { padding: 10px 12px; } }
@media (max-width: 640px) { .actions { justify-self: end; } .wallet { justify-self: auto; } }

/* ===================== native emoji on Apple devices ===================== */
.native-emoji .g, .native { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.native { display: inline-grid; place-items: center; line-height: 1; }
.tile .native { font-size: 32px; }
.picks a, .cluster a { container-type: inline-size; }
.picks .native { font-size: 58cqw; margin-bottom: 8px; }
.cluster .native { font-size: 58cqw; }
.glyph .native { font-size: 118px; width: 150px; height: 150px; }
.cellg { display: inline-grid; place-items: center; vertical-align: middle; margin-right: 10px; }
.cellg img { width: 30px; height: 30px; object-fit: contain; }
.cellg .native { font-size: 25px; }
.quick .native { font-size: 17px; }
@media (max-width: 760px) { .glyph .native { font-size: 86px; width: 110px; height: 110px; } }

/* ===================== live trades ===================== */
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); margin-right: 10px; vertical-align: 2px; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 63, .7); } 100% { box-shadow: 0 0 0 12px rgba(255, 210, 63, 0); } }
.trades { list-style: none; margin: 0; padding: 6px 10px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--cut), var(--shadow); max-height: 560px; overflow: auto; }
.trades li { display: grid; grid-template-columns: 52px 56px 1fr auto; align-items: center; gap: 12px; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.trades li:last-child { border-bottom: 0; }
.trades .k { font: 800 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; border-radius: 999px; text-align: center; }
.trades li.buy .k { background: #dcf6e7; color: var(--green-ink); }
.trades li.sell .k { background: #ffe3e3; color: var(--coral-ink); }
.trades .tile { width: 56px; height: 56px; border-radius: 14px; }
.trades .tile img { width: 40px; height: 40px; }
.trades .what { min-width: 0; font-weight: 800; }
.trades .what a { text-decoration: none; text-transform: capitalize; }
.trades .what a:hover { text-decoration: underline; text-decoration-color: var(--field); }
.trades .sub { font: 500 12px/1.4 var(--mono); color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.trades .amt { text-align: right; }
.trades .amt b { display: block; font: 800 16px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.trades li.buy .amt b { color: var(--green-ink); }
.trades li.sell .amt b { color: var(--coral-ink); }
.trades .amt a { font-size: 12px; color: var(--muted); }
.trades li.is-new { animation: tradeIn .6s var(--ease) both; }
@keyframes tradeIn { 0% { background: #fff7d6; transform: translateX(-6px); opacity: 0; } 100% { background: transparent; transform: none; opacity: 1; } }
.emoji-page { grid-template-areas: 'id launch' 'featured launch' 'versions launch' 'trades launch'; }
.emoji-page .trades li { grid-template-columns: 52px 1fr auto; }
@media (max-width: 1040px) { .emoji-page { grid-template-areas: 'id' 'launch' 'featured' 'versions' 'trades'; } }
@media (max-width: 760px) { .trades li { grid-template-columns: 44px 44px 1fr; } .trades .tile { width: 44px; height: 44px; } .trades .tile img { width: 32px; height: 32px; } .trades .amt { grid-column: 3; text-align: left; } .emoji-page .trades li { grid-template-columns: 44px 1fr; } }

/* ===================== import a Pons coin ===================== */
.import { border-top: 2px solid var(--line); margin-top: 6px; }
.import summary { cursor: pointer; padding: 16px 20px; font: 800 14px/1.2 var(--sans); color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.import summary::-webkit-details-marker { display: none; }
.import summary::after { content: '+'; font: 800 18px/1 var(--display); color: var(--muted); }
.import[open] summary::after { content: '−'; }
.import-body { padding: 0 20px 20px; }
.import-steps { list-style: none; margin: 12px 0 0; padding: 0; }
.import-steps li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.import-steps li:last-child { border-bottom: 0; }
.import-check .fields { margin-top: 0; padding: 2px 12px; }
.import-check .fields dt { color: var(--muted); } .import-check .fields dt, .import-check .fields dd { border-color: var(--line); font-size: 13.5px; }
