/* PokePad: the coins launched here. Big square picture, name + age, ticker, then market cap / ATH / 24 h volume and a thin
   bar showing the market cap against its all-time high. */
.ctools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ctools .tabs { flex-wrap: wrap; }
.csearch { width: min(320px, 100%); height: 42px; border-radius: 99px; padding: 0 18px; background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.coins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.coin { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; min-width: 0; }
.coin:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cimg { position: relative; aspect-ratio: 1; border-radius: 13px; overflow: hidden; background: var(--well); }
.cimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.coin:hover .cimg img { transform: scale(1.04); }
.cimg em { position: absolute; top: 9px; left: 9px; font-style: normal; }
.cbody { padding: 12px 4px 4px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ctop { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ctop b { font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctop .age { font-size: 12.5px; color: var(--muted); white-space: nowrap; flex: none; }
.ctk { font-size: 13.5px; color: var(--blue-2); font-weight: 600; }
.cstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.cstats div { background: var(--well); border-radius: 10px; padding: 8px 9px; min-width: 0; }
.cstats span { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; }
.cstats b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cath { height: 4px; border-radius: 99px; background: var(--well); margin-top: 10px; overflow: hidden; }
.cath i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), #ff7476); }
.cmore { display: flex; justify-content: center; margin-top: 22px; }
@media (max-width: 1020px) { .coins { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .coins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .csearch { width: 100%; } }
@media (max-width: 420px) { .cstats { grid-template-columns: 1fr 1fr; } .cstats div:last-child { grid-column: 1 / -1; } }
.cfilters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -6px 0 18px; }
.cfilters span { font-size: 13.5px; color: var(--muted); margin-right: 4px; }
.cfilters button { height: 32px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; font-size: 13.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.cfilters button:hover { border-color: var(--ink-2); color: var(--ink); }
.cfilters button.on { background: var(--blue-soft); border-color: transparent; color: var(--blue-2); }
.cfee { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.cfee b { color: var(--blue-2); font-size: 14px; font-weight: 600; }
.top5 { margin-top: 16px; padding: 22px 26px; }
.top5 h3 { font-size: 20px; letter-spacing: -0.03em; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.top5 h3 a { font-size: 14px; font-weight: 500; color: var(--blue-2); letter-spacing: 0; }
.trow { display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.trow:first-of-type { border-top: 0; margin-top: 10px; }
.trow .rk { font-weight: 700; color: var(--muted); font-size: 15px; text-align: center; }
.trow img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; background: var(--well); }
.trow b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow small { color: var(--muted); font-size: 12.5px; }
.trow .tbar { height: 4px; border-radius: 99px; background: var(--well); margin-top: 6px; overflow: hidden; }
.trow .tbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #ff7476); border-radius: 99px; }
.trow .amt { text-align: right; font-weight: 600; font-size: 15px; color: var(--blue-2); white-space: nowrap; }
.trow .amt small { display: block; font-weight: 400; }

