/* urlpad: a browser's new-tab page. One address bar, and link blue. */
:root {
  --bg: #fbfbfc; --card: #ffffff; --soft: #f2f3f6; --ink: #15171c; --muted: #646a76; --faint: #9aa0ab; --line: #e6e8ed; --line-2: #d3d7df;
  --link: #1f5bff; --link-soft: #e9efff; --visited: #7b2ff7; --ok: #12a150; --bad: #d92d20;
  --shadow: 0 1px 2px rgba(21, 23, 28, .05), 0 12px 32px -14px rgba(21, 23, 28, .18);
}
* { 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.5 Geist, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.lnk { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.lnk:hover { color: var(--visited); }

.bar .wrap { height: 64px; display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 20px; letter-spacing: -0.04em; }
.logo i { width: 32px; height: 32px; border-radius: 9px; background: var(--link); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.bar nav { display: flex; gap: 2px; flex: 1; }
.bar nav a { padding: 7px 12px; border-radius: 9px; color: var(--muted); font-size: 15px; font-weight: 500; }
.bar nav a:hover, .bar nav a.on { color: var(--ink); background: var(--soft); }
.count { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.count i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; background: var(--link); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; transition: transform .12s, background .15s, opacity .15s; }
.btn:hover { background: #1448e6; } .btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--link-soft); outline-offset: 2px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.plain { background: var(--card); color: var(--ink); border-color: var(--line-2); } .btn.plain:hover { background: var(--soft); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.big { height: 58px; font-size: 18px; border-radius: 14px; }
.btn.wide { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.chip.b { background: var(--link-soft); color: var(--link); }
.in { width: 100%; height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: #fff; outline: 0; transition: border-color .15s, box-shadow .15s; }
textarea.in { height: auto; padding: 11px 14px; resize: vertical; min-height: 76px; line-height: 1.45; }
.in::placeholder { color: var(--faint); }
.in:focus { border-color: var(--link); box-shadow: 0 0 0 4px var(--link-soft); }

/* coins as new-tab shortcuts */
.cuts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.cut { display: block; padding: 16px 8px 14px; border-radius: 16px; text-align: center; transition: background .15s; min-width: 0; }
.cut:hover { background: var(--soft); }
.cut img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--soft); display: block; margin: 0 auto 10px; border: 1px solid var(--line); }
.cut b { display: block; font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cut small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* coins as cards, on the explore page */
.coins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; min-width: 0; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.tile .shot { position: relative; display: block; aspect-ratio: 1; background: var(--soft); }
.tile .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .shot em { position: absolute; top: 10px; right: 10px; font-style: normal; height: 24px; padding: 0 9px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; box-shadow: 0 1px 2px rgba(21, 23, 28, .15); }
.tile .body { display: block; padding: 12px 14px 0; }
.tile .body b { display: block; font-weight: 600; font-size: 16.5px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .body small { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 13px; min-width: 0; }
.tile .tkr { color: var(--link); font-weight: 600; flex: none; } .tile .from { color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 14px 0; border-radius: 12px; background: var(--soft); }
.tile .stats > span { display: block; padding: 8px 10px; font-size: 11px; color: var(--faint); white-space: nowrap; min-width: 0; } .tile .stats > span + span { border-left: 1px solid var(--card); }
.tile .stats i { display: block; font-style: normal; font-weight: 600; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.tile .cabar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 14px 14px; font-size: 12.5px; color: var(--faint); }
.tile .cabar button { height: 26px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card); font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.tile .cabar button:hover { border-color: var(--link); color: var(--link); }
.tile .stats:last-child { margin-bottom: 14px; }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); }
.nums > span { display: block; font-size: 11.5px; color: var(--faint); white-space: nowrap; min-width: 0; }
.nums i { display: block; font-style: normal; font-weight: 600; font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.none { grid-column: 1 / -1; border: 1px dashed var(--line-2); border-radius: 16px; padding: 34px 20px; text-align: center; color: var(--muted); }

section { padding: 72px 0 0; }
.head2 { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.head2 h2 { font-size: clamp(24px, 3.4vw, 32px); }
.foot { margin-top: 90px; border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 13.5px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { max-width: 640px; } .foot nav { display: flex; gap: 18px; }
.banner { background: #fff6d6; color: #6b5300; font-size: 13.5px; text-align: center; padding: 7px 16px; border-bottom: 1px solid #f0e2a8; }
.rise { opacity: 0; transform: translateY(12px); animation: rise .6s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; opacity: 1; transform: none; } }
@media (max-width: 860px) { .cuts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .coins { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cuts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .coins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cut img { width: 62px; height: 62px; } section { padding-top: 54px; } }
