/* =========================================================
   HATCH — app styles
   ========================================================= */
:root {
  --bg: #070707;
  --side: #0a0a0a;
  --card: #0e0e0f;
  --card-2: #141416;
  --hover: #17171a;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .12);
  --text: #ececee;
  --muted: #8b8e95;
  --faint: #5d6067;
  --white: #fafafa;
  --yolk: #f1cf74;
  --green: #4add8c;
  --amber: #f5b14c;
  --red: #ff6367;
  --blue: #6aa8ff;
  --r: 14px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --side-w: 244px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 14px/1.5 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.up { color: var(--green); }
.down { color: var(--red); }
::selection { background: var(--yolk); color: #111; }
:focus-visible { outline: 2px solid rgba(241, 207, 116, .7); outline-offset: 2px; border-radius: 8px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .08); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- shell ---------- */
.app { display: grid; grid-template-columns: var(--side-w) 1fr; height: 100dvh; }
.side {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 18px 14px 16px; background: var(--side); border-right: 1px solid var(--line); overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 8px; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; }
.brand-mark svg { width: 26px; height: 26px; stroke: none; }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: .08em; }
.brand-tag { margin-left: auto; font: 500 10.5px/1 var(--mono); color: var(--muted); padding: 5px 7px; border: 1px solid var(--line); border-radius: 999px; }
.side-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 11px;
  background: var(--white); color: #0a0a0a; font-weight: 600; font-size: 13.5px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .2s;
}
.side-cta svg { width: 16px; height: 16px; stroke-width: 2.2; }
.side-cta:hover { box-shadow: 0 8px 26px -8px rgba(255, 255, 255, .35); transform: translateY(-1px); }
.side-nav { position: relative; display: flex; flex-direction: column; gap: 2px; }
.side-label { padding: 14px 10px 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.side-nav a {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px;
  border-radius: 10px; color: var(--muted); font-weight: 500; transition: color .25s;
}
.side-nav a:hover { color: var(--text); }
.side-nav a.active { color: var(--white); }
.side-nav a svg { width: 18px; height: 18px; }
.side-ind {
  position: absolute; left: 0; right: 0; top: 0; height: 38px; border-radius: 10px; z-index: 0;
  background: rgba(255, 255, 255, .065); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), opacity .3s; opacity: 0;
}
.live-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font: 500 10px/1 var(--mono); font-style: normal; color: var(--green); padding: 4px 6px; border-radius: 999px; background: rgba(74, 221, 140, .09); }
.live-pill i, .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(74, 221, 140, .5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 221, 140, .45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(74, 221, 140, 0); } }
.dot.off { background: var(--red); animation: none; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.net { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .015); display: grid; gap: 7px; font-size: 12.5px; }
.net-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.net-row:first-child { justify-content: flex-start; font-weight: 500; }
.net-row b { font-weight: 500; color: var(--text); font-size: 12px; }
.dim { color: var(--muted); }
.socials { display: flex; align-items: center; gap: 4px; padding: 0 4px; }
.socials a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); transition: background .2s, color .2s; }
.socials a:hover { background: var(--hover); color: var(--text); }
.socials svg { width: 15px; height: 15px; }
.socials .legal-link { width: auto; margin-left: auto; padding: 0 8px; font-size: 12px; }

.main { position: relative; height: 100dvh; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; display: flex; flex-direction: column; }
.main > .top, .main > .foot { flex: none; }
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 28px; background: rgba(7, 7, 7, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.m-brand { display: none; }
.top-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; margin-right: auto; }
.top-title h1 { font-size: 16px; font-weight: 600; white-space: nowrap; }
.top-sub { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search {
  display: flex; align-items: center; gap: 10px; width: 320px; height: 38px; padding: 0 8px 0 12px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); color: var(--faint); font-size: 13px;
  transition: border-color .2s, background .2s, color .2s;
}
.search:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .045); color: var(--muted); }
.search svg { width: 16px; height: 16px; }
.search span { flex: 1; text-align: left; }
kbd { font: 500 10.5px/1 var(--mono); padding: 5px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); background: rgba(255, 255, 255, .03); }

.view { flex: 1 0 auto; width: 100%; padding: 26px 28px 60px; max-width: 1360px; margin: 0 auto; }
.m-only { display: none; }
.view.enter { animation: viewIn .55s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 10px; font-weight: 600; font-size: 13.5px; white-space: nowrap;
  transition: transform .35s var(--ease), background .2s, border-color .2s, box-shadow .35s var(--ease), opacity .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-white { background: var(--white); color: #0a0a0a; }
.btn-white:hover { box-shadow: 0 8px 26px -10px rgba(255, 255, 255, .45); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
.btn-sm { height: 36px; padding: 0 13px; font-size: 13px; }
.btn-lg { height: 46px; padding: 0 20px; font-size: 14.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.icon-btn { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 8px; color: var(--muted); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--hover); color: var(--text); }
.icon-btn svg { width: 15px; height: 15px; }
.wallet-btn .addr { font-family: var(--mono); font-weight: 500; }
.wallet-btn.connected { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line-2); }
.wallet-btn.wrong { background: rgba(245, 177, 76, .12); color: var(--amber); border: 1px solid rgba(245, 177, 76, .3); }
.link { color: var(--muted); display: inline-flex; align-items: center; gap: 5px; font-size: 13px; transition: color .2s; }
.link:hover { color: var(--text); }
.link svg { width: 13px; height: 13px; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.card-h { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.card-h h3 { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.card-h h3 svg { width: 16px; height: 16px; color: var(--muted); }
.card-b { padding: 16px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g-main { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.stack { display: grid; gap: 16px; }
.section-gap { margin-top: 16px; }

.tile { padding: 16px; display: grid; gap: 8px; }
.tile .k { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.tile .v { font: 600 26px/1.1 var(--sans); letter-spacing: -.035em; }
.tile .s { font-size: 12px; color: var(--faint); }
.flash-up { animation: fUp 1.2s var(--ease); }
.flash-down { animation: fDown 1.2s var(--ease); }
@keyframes fUp { 0% { color: var(--green); } }
@keyframes fDown { 0% { color: var(--red); } }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px;
  padding: 34px; border-radius: 18px; border: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 0% 0%, rgba(241, 207, 116, .085), transparent 60%),
    radial-gradient(700px 320px at 100% 100%, rgba(106, 168, 255, .05), transparent 60%),
    var(--card);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask: radial-gradient(ellipse at 20% 30%, #000, transparent 70%); mask: radial-gradient(ellipse at 20% 30%, #000, transparent 70%);
}
.hero > * { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--mono); color: var(--muted); padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .02); }
.hero h2 { margin-top: 20px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; }
.hero h2 em, .display em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--yolk); padding-right: .04em; }
.hero p.lead { margin-top: 16px; font-size: 15.5px; color: var(--muted); max-width: 520px; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 12.5px; color: var(--muted); }
.hero-meta b { color: var(--text); font-family: var(--mono); font-weight: 500; }
.feed { border: 1px solid var(--line); border-radius: 14px; background: rgba(7, 7, 7, .55); backdrop-filter: blur(6px); overflow: hidden; align-self: stretch; display: flex; flex-direction: column; }
.feed-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.feed-h b { color: var(--text); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.feed-list { flex: 1; }

/* ---------- token rows ---------- */
.tlogo { position: relative; flex: none; width: 34px; height: 34px; border-radius: 10px; overflow: hidden; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.tlogo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .4s; background: var(--card-2); }
.tlogo img.ok { opacity: 1; }
.tlogo .mono-l { position: absolute; inset: 0; display: grid; place-items: center; font: 600 12px var(--mono); color: rgba(255, 255, 255, .85); background: linear-gradient(145deg, hsl(var(--h) 30% 26%), hsl(calc(var(--h) + 40) 25% 14%)); }
.tlogo.lg { width: 64px; height: 64px; border-radius: 16px; }
.tlogo.lg .mono-l { font-size: 20px; }
.tlogo.sm { width: 28px; height: 28px; border-radius: 8px; }
.tlogo.sm .mono-l { font-size: 10.5px; }
.tname { min-width: 0; display: grid; }
.tname b { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tname span { font: 12px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .045); transition: background .2s; }
.frow:last-child { border-bottom: 0; }
.frow:hover { background: rgba(255, 255, 255, .03); }
.frow .r { text-align: right; display: grid; font-size: 12px; }
.frow .r b { font: 500 13px var(--mono); }
.frow .r span { color: var(--faint); }
.row-in { animation: rowIn .7s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); background: rgba(241, 207, 116, .08); } 60% { background: rgba(241, 207, 116, .05); } to { background: transparent; } }

/* table */
.table { width: 100%; }
.tr { display: grid; grid-template-columns: minmax(200px, 2.2fr) .7fr 1fr 1.25fr .8fr .8fr 1fr; align-items: center; gap: 14px; padding: 0 18px; }
.th { height: 40px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); }
.th .sortable { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.th .sortable:hover, .th .sorted { color: var(--text); }
.trow { height: 60px; border-bottom: 1px solid rgba(255, 255, 255, .045); transition: background .2s; cursor: pointer; }
.trow:hover { background: rgba(255, 255, 255, .028); }
.trow:last-child { border-bottom: 0; }
.tr .tok { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tr .num { font: 13px var(--mono); }
.tr .r { text-align: right; justify-self: end; }
.tr .warn { color: var(--amber); }
.tr .bad { color: var(--red); }
.pair-tag { font: 500 10px/1 var(--mono); color: var(--muted); padding: 3px 5px; border-radius: 5px; border: 1px solid var(--line); margin-left: 6px; vertical-align: 1px; }

/* progress */
.prog { display: grid; gap: 6px; }
.prog-bar { position: relative; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.prog-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, .55), var(--white)); transition: width 1s var(--ease); }
.prog-bar.done i { background: linear-gradient(90deg, var(--yolk), #ffe3a0); }
.prog span { font: 11.5px var(--mono); color: var(--muted); }
.prog.lg .prog-bar { height: 8px; }

/* score */
.score { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px 0 7px; border-radius: 999px; font: 600 12px/1 var(--mono); white-space: nowrap; }
.score i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.score em { font-style: normal; font-family: var(--sans); font-weight: 500; font-size: 12px; opacity: .9; }
.score.clean { color: var(--green); background: rgba(74, 221, 140, .09); box-shadow: inset 0 0 0 1px rgba(74, 221, 140, .16); }
.score.caution { color: var(--amber); background: rgba(245, 177, 76, .09); box-shadow: inset 0 0 0 1px rgba(245, 177, 76, .16); }
.score.risky { color: var(--red); background: rgba(255, 99, 103, .09); box-shadow: inset 0 0 0 1px rgba(255, 99, 103, .16); }
.score.grad { color: var(--yolk); background: rgba(241, 207, 116, .09); box-shadow: inset 0 0 0 1px rgba(241, 207, 116, .18); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); white-space: nowrap; }
.chip svg { width: 13px; height: 13px; }
.chip.yolk { color: var(--yolk); border-color: rgba(241, 207, 116, .25); background: rgba(241, 207, 116, .06); }

/* ring */
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.6; }
.ring .bg { stroke: rgba(255, 255, 255, .07); }
.ring .fg { stroke: currentColor; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: var(--off, 100); transition: stroke-dashoffset 1.3s var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 30px var(--mono); letter-spacing: -.05em; color: var(--text); }
.ring.clean { color: var(--green); } .ring.caution { color: var(--amber); } .ring.risky { color: var(--red); }

.bars { display: grid; gap: 14px; }
.bar-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 7px; }
.bar-top span:last-child { font: 12.5px var(--mono); color: var(--muted); }
.bar-row .track { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar-row .fill { height: 100%; width: 0; border-radius: inherit; background: var(--c); transition: width 1.1s var(--ease); transition-delay: var(--d, 0s); }
.bar-row .note { margin-top: 6px; font-size: 12px; color: var(--faint); }

/* toolbar + tabs */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tabs { position: relative; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; z-index: 1; height: 30px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .25s; }
.tabs button.on { color: #0a0a0a; }
.tabs button .n { font: 11px var(--mono); margin-left: 5px; opacity: .6; }
.tabs .ind { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 7px; background: var(--white); transition: transform .5s var(--ease), width .5s var(--ease); }
.mini-input { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); min-width: 220px; color: var(--faint); transition: border-color .2s; }
.mini-input:focus-within { border-color: var(--line-2); }
.mini-input svg { width: 15px; height: 15px; }
.mini-input input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 13px; color: var(--text); }
.live-note { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }

/* skeleton */
.sk { position: relative; overflow: hidden; background: rgba(255, 255, 255, .05); border-radius: 6px; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-line { height: 11px; width: 70%; }
.sk-line.s { width: 40%; }
.empty { padding: 36px 16px; text-align: center; color: var(--muted); font-size: 13px; }
.more { display: flex; justify-content: center; padding: 14px; border-top: 1px solid var(--line); }

/* ---------- token page ---------- */
.t-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 22px; }
.t-head .who { min-width: 0; flex: 1; display: grid; gap: 6px; }
.t-head h2 { font-size: 26px; letter-spacing: -.035em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-head h2 small { font: 500 15px var(--mono); color: var(--muted); letter-spacing: -.01em; }
.t-head .ca { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 12.5px var(--mono); color: var(--muted); }
.t-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.desc { color: var(--muted); font-size: 13.5px; line-height: 1.65; white-space: pre-line; word-break: break-word; }
.kv { display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 13px; }
.kv > div:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { font: 500 12.5px var(--mono); text-align: right; word-break: break-all; }
.kv a b { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .2); text-underline-offset: 3px; }
.trade { display: grid; grid-template-columns: 54px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .045); font-size: 12.5px; }
.trade:last-child { border-bottom: 0; }
.side-buy { color: var(--green); font-weight: 600; }
.side-sell { color: var(--red); font-weight: 600; }
.score-card { display: flex; align-items: center; gap: 20px; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.score-card .verdict { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }

/* ---------- forms (launch) ---------- */
.form { display: grid; gap: 18px; padding: 20px; }
.field { display: grid; gap: 7px; }
.field label, .field .lbl { font-size: 13px; font-weight: 500; display: flex; justify-content: space-between; gap: 10px; }
.field label small, .field .lbl small { color: var(--faint); font-weight: 400; font-family: var(--mono); font-size: 11.5px; }
.field .hint { font-size: 12px; color: var(--faint); }
.inp {
  width: 100%; height: 42px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025);
  outline: 0; color: var(--text); font-size: 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
textarea.inp { height: 92px; padding: 11px 13px; resize: vertical; line-height: 1.5; }
.inp:focus { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 4px rgba(255, 255, 255, .04); }
.inp.err { border-color: rgba(255, 99, 103, .6); }
.inp::placeholder { color: var(--faint); }
.inp-wrap { position: relative; display: flex; align-items: center; }
.inp-wrap .inp { padding-right: 60px; }
.inp-wrap .suffix { position: absolute; right: 12px; font: 500 12px var(--mono); color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.img-field { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.img-drop { width: 76px; height: 76px; border-radius: 16px; border: 1px dashed var(--line-2); display: grid; place-items: center; overflow: hidden; color: var(--faint); background: rgba(255, 255, 255, .02); }
.img-drop img { width: 100%; height: 100%; object-fit: cover; }
.seg { display: flex; gap: 4px; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.seg button { flex: 1; height: 32px; border-radius: 7px; font: 500 12.5px var(--mono); color: var(--muted); transition: background .2s, color .2s; }
.seg button.on { background: var(--white); color: #0a0a0a; }
.seg button:hover:not(.on) { color: var(--text); background: rgba(255, 255, 255, .04); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; }
.switch .t { display: grid; gap: 2px; font-size: 13px; font-weight: 500; }
.switch .t small { font-weight: 400; color: var(--faint); font-size: 12px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .knob { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .3s; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.switch input:checked + .knob { background: var(--green); }
.switch input:checked + .knob::after { transform: translateX(16px); }
details.adv { border: 1px solid var(--line); border-radius: 12px; }
details.adv summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; font-weight: 500; font-size: 13px; }
details.adv summary::-webkit-details-marker { display: none; }
details.adv summary::after { content: "+"; font: 400 18px/1 var(--mono); color: var(--muted); transition: transform .3s var(--ease); }
details.adv[open] summary::after { transform: rotate(45deg); }
details.adv .adv-b { display: grid; gap: 16px; padding: 4px 14px 16px; }
.preview-card { overflow: hidden; }
.pv-top { display: flex; align-items: center; gap: 14px; padding: 18px; border-bottom: 1px solid var(--line); }
.pv-top .tname b { font-size: 17px; }
.cost { display: grid; gap: 0; padding: 6px 18px; }
.cost > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 13px; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.cost > div:last-child { border-bottom: 0; font-weight: 600; }
.cost span { color: var(--muted); }
.cost b { font: 500 13px var(--mono); }
.cost .total span { color: var(--text); }
.note-box { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.note-box svg { color: var(--yolk); margin-top: 1px; }
.note-box.warn { border-color: rgba(245, 177, 76, .25); background: rgba(245, 177, 76, .05); }
.note-box.warn svg { color: var(--amber); }

/* ---------- docs ---------- */
.prose { display: grid; gap: 14px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.prose h3 { color: var(--text); font-size: 16px; margin-top: 8px; }
.prose b { color: var(--text); font-weight: 500; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .25); }
.w-table { display: grid; }
.w-table > div { display: grid; grid-template-columns: 170px 60px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.w-table > div b { color: var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 0; font-weight: 500; color: var(--text); display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 18px/1 var(--mono); color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 16px; }

/* ---------- $HATCH ---------- */
.display { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.045em; font-weight: 600; }
.perk { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.perk:last-child { border-bottom: 0; }
.perk .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(241, 207, 116, .08); color: var(--yolk); flex: none; }
.perk b { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 2px; }
.perk span { color: var(--muted); font-size: 13px; }
.ca-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-2); font: 13px var(--mono); }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.overlay.on { opacity: 1; pointer-events: auto; }
.palette, .modal { width: min(600px, 100%); border-radius: 16px; border: 1px solid var(--line-2); background: #0f0f10; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9); overflow: hidden; transform: translateY(-8px) scale(.98); transition: transform .45s var(--ease); }
.overlay.on .palette, .overlay.on .modal { transform: none; }
.modal { width: min(460px, 100%); }
.pal-input { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 54px; border-bottom: 1px solid var(--line); color: var(--muted); }
.pal-input input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 15px; color: var(--text); }
.pal-list { max-height: 56vh; overflow-y: auto; padding: 6px; }
.pal-group { padding: 10px 10px 6px; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.pal-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border-radius: 10px; text-align: left; }
.pal-item.act { background: rgba(255, 255, 255, .06); }
.pal-item .tname { flex: 1; }
.pal-item .go { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--card-2); color: var(--muted); }
.modal-b { padding: 22px; display: grid; gap: 16px; }
.modal-b h3 { font-size: 17px; }
.steps { display: grid; gap: 4px; }
.step { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--faint); font-size: 13.5px; transition: color .3s; }
.step .st { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); flex: none; }
.step .st svg { width: 13px; height: 13px; stroke-width: 2.4; }
.step.now { color: var(--text); }
.step.now .st { border-color: var(--white); border-top-color: transparent; animation: spin .8s linear infinite; }
.step.ok { color: var(--text); }
.step.ok .st { border-color: var(--green); background: var(--green); color: #07130c; }
.step.fail { color: var(--red); }
.step.fail .st { border-color: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }
.err-box { padding: 12px 14px; border-radius: 12px; background: rgba(255, 99, 103, .07); border: 1px solid rgba(255, 99, 103, .25); color: #ffb3b5; font-size: 13px; }
.ok-box { padding: 12px 14px; border-radius: 12px; background: rgba(74, 221, 140, .07); border: 1px solid rgba(74, 221, 140, .25); color: #b6f3cf; font-size: 13px; }
.menu { position: absolute; z-index: 60; right: 28px; top: 58px; width: 250px; border-radius: 14px; border: 1px solid var(--line-2); background: #0f0f10; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); padding: 6px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.menu.on { opacity: 1; transform: none; pointer-events: auto; }
.menu .m-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: grid; gap: 4px; }
.menu .m-head b { font: 500 13px var(--mono); }
.menu .m-head span { font-size: 12px; color: var(--muted); }
.menu button, .menu a { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 13px; color: var(--muted); }
.menu button:hover, .menu a:hover { background: var(--hover); color: var(--text); }
.menu svg { width: 15px; height: 15px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #151517; font-size: 13px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- home: marquee ---------- */
.marquee {
  position: relative; overflow: hidden; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card);
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.mq-track { display: flex; width: max-content; min-height: 50px; animation: mq 80s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; border-right: 1px solid var(--line); white-space: nowrap; font-size: 13px; transition: background .2s; }
.mq-item:hover { background: rgba(255, 255, 255, .03); }
.mq-item .sym { font-weight: 600; }
.mq-item .mc { font: 12.5px var(--mono); color: var(--muted); }
.mq-item .sd { width: 7px; height: 7px; border-radius: 50%; }
.sd.clean { background: var(--green); } .sd.caution { background: var(--amber); } .sd.risky { background: var(--red); }

/* ---------- home: charts ---------- */
.g-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.chart { position: relative; padding: 10px 16px 12px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; stroke: none; fill: none; }
.chart .gl { stroke: rgba(255, 255, 255, .07); stroke-width: 1; shape-rendering: crispEdges; }
.chart .tk { fill: var(--faint); font: 11px var(--mono); font-variant-numeric: tabular-nums; }
.chart .bar { fill: #c9cacf; transition: opacity .2s; }
.chart .bar.now { fill: var(--yolk); }
.chart.hovering .bar { opacity: .4; }
.chart.hovering .bar.hl { opacity: 1; }
.chart .hit { fill: transparent; }
.chart-meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.chart-meta b { color: var(--text); font-weight: 600; }
.tip {
  position: absolute; z-index: 5; pointer-events: none; padding: 8px 11px; border-radius: 10px; background: #18181b; border: 1px solid var(--line-2);
  font-size: 12px; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .8); opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .15s; white-space: nowrap;
}
.tip.on { opacity: 1; }
.tip b { display: block; font-weight: 600; font-size: 13px; color: var(--text); }
.tip span { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mix-head { display: flex; align-items: baseline; gap: 10px; }
.big-num { font: 600 36px/1 var(--sans); letter-spacing: -.045em; }
.mix { display: flex; gap: 2px; height: 12px; margin: 16px 0 18px; }
.mix i { display: block; height: 100%; min-width: 3px; transition: flex-grow .9s var(--ease); cursor: default; }
.mix i:first-child { border-radius: 4px 0 0 4px; }
.mix i:last-child { border-radius: 0 4px 4px 0; }
.m-clean { background: #2b9f73; } .m-caut { background: #c98500; } .m-risk { background: #e0445a; }
.legend { display: grid; gap: 12px; }
.legend > div { display: grid; grid-template-columns: 10px 1fr auto 48px; gap: 10px; align-items: center; font-size: 13px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend b { font: 500 13px var(--mono); font-variant-numeric: tabular-nums; }
.legend .p { color: var(--muted); font: 12px var(--mono); text-align: right; }

/* ---------- home: leaderboards, buys ---------- */
.lb { display: grid; grid-template-columns: 22px auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .045); transition: background .2s; }
.lb:last-child { border-bottom: 0; }
.lb:hover { background: rgba(255, 255, 255, .03); }
.lb .rk { font: 500 12px var(--mono); color: var(--faint); }
.lb .who { display: grid; min-width: 0; }
.lb .who b { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb .who b.mono { font-weight: 500; font-size: 13px; }
.lb .who span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb .val { display: grid; justify-items: end; gap: 2px; }
.lb .val b { font: 600 14px var(--sans); }
.lb .val span { font-size: 11.5px; color: var(--faint); }
.wav { width: 30px; height: 30px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px var(--line-2); background: radial-gradient(circle at 30% 28%, hsl(var(--a) 60% 62% / .85), transparent 58%), linear-gradient(140deg, hsl(var(--a) 38% 30%), hsl(var(--b) 42% 18%)); }
.buy { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .045); transition: background .2s; }
.buy:last-child { border-bottom: 0; }
.buy:hover { background: rgba(255, 255, 255, .03); }
.buy .meta { display: grid; min-width: 0; }
.buy .meta b { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy .meta b em { font-style: normal; font-family: var(--mono); color: var(--green); font-weight: 500; }
.buy .meta span { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.buy .when { font: 12px var(--mono); color: var(--faint); text-align: right; display: grid; }
.buy .when b { font: 500 12.5px var(--mono); color: var(--text); }

/* ---------- home: how it works ---------- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); }
.how > div { padding: 24px 22px; border-right: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.how > div:last-child { border-right: 0; }
.how .n { font: 500 12px var(--mono); color: var(--yolk); }
.how h4 { font-size: 16px; letter-spacing: -.02em; margin-top: 6px; }
.how p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.how p b { color: var(--text); font-weight: 500; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-top: 1px solid var(--line); background: radial-gradient(600px 220px at 0% 100%, rgba(241, 207, 116, .08), transparent 70%); border-radius: 0 0 var(--r) var(--r); }
.cta-band h3 { font-size: 20px; letter-spacing: -.03em; }
.cta-band p { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ---------- launched on HATCH ---------- */
.hchip { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 6px; border-radius: 5px; vertical-align: -3px; background: rgba(241, 207, 116, .12); color: var(--yolk); box-shadow: inset 0 0 0 1px rgba(241, 207, 116, .25); }
.hchip svg { width: 11px; height: 11px; stroke-width: 2; }
.tname b .hchip { flex: none; }
.featured { margin-top: 16px; overflow: hidden; background: radial-gradient(700px 240px at 100% 0%, rgba(241, 207, 116, .07), transparent 70%), var(--card); }
.featured .card-h h3 svg { color: var(--yolk); }
.hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0 -1px -1px 0; }
.hcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; box-shadow: inset -1px -1px 0 var(--line); transition: background .2s; }
.hcard:hover { background: rgba(255, 255, 255, .03); }
.hcard .r { display: grid; justify-items: end; gap: 4px; font-size: 12px; color: var(--faint); }
.hcard .r b { font: 600 13.5px var(--sans); color: var(--text); }
.hempty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px; }
.hempty p { color: var(--muted); font-size: 13.5px; max-width: 560px; }
.hempty b { color: var(--text); font-weight: 600; }

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.perks > div { display: grid; gap: 6px; align-content: start; padding: 16px; border-right: 1px solid var(--line); }
.perks > div:last-child { border-right: 0; }
.perks svg { width: 18px; height: 18px; color: var(--yolk); }
.perks b { font-size: 13.5px; font-weight: 600; }
.perks span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.img-drop { position: relative; cursor: pointer; transition: border-color .2s, background .2s; }
.img-drop:hover, .img-drop.over { border-color: rgba(241, 207, 116, .6); background: rgba(241, 207, 116, .05); }
.img-drop.busy::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(0, 0, 0, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 3a9 9 0 1 0 9 9'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") center/22px no-repeat; }
.img-side { display: grid; gap: 8px; align-content: center; }
.img-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.upl { font-size: 12.5px; color: var(--muted); }
.upl.ok { color: var(--green); }
.upl.err { color: var(--red); }
.img-link summary { cursor: pointer; font-size: 12.5px; color: var(--muted); list-style: none; width: max-content; }
.img-link summary::-webkit-details-marker { display: none; }
.img-link summary:hover { color: var(--text); }
.img-link[open] summary { margin-bottom: 8px; }
.share-img { width: 100%; border-radius: 12px; border: 1px solid var(--line-2); display: block; }

/* ---------- footer ---------- */
.foot {
  position: relative; margin-top: 36px; border-top: 1px solid var(--line); background-color: #080808;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 36px 36px; background-position: -1px -1px;
}
.foot-in { max-width: 1360px; margin: 0 auto; padding: 52px 28px 60px; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand .brand { padding: 0; }
.foot-brand p { color: var(--muted); font-size: 13px; }
.foot-x { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; width: max-content; transition: color .2s; }
.foot-x:hover { color: var(--text); }
.foot-x svg { width: 14px; height: 14px; }
.foot-live { display: flex; align-items: center; gap: 8px; }
.foot-live b { color: var(--text); font-weight: 500; font-size: 12px; }
.foot-brand .foot-note { font-size: 12px; color: var(--faint); }
.foot-col { display: grid; gap: 11px; align-content: start; }
.foot-col h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.foot-col a { color: var(--muted); font-size: 13.5px; width: max-content; transition: color .2s; }
.foot-col a:hover { color: var(--text); }

/* ---------- mobile ---------- */
.tabbar, .sheet { display: none; }
@media (max-width: 1180px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g-main, .g-2-1 { grid-template-columns: 1fr; }
  .tr { grid-template-columns: minmax(180px, 2fr) .7fr 1fr 1.2fr 1fr; }
  .hide-l { display: none; }
  .search { width: 240px; }
}
@media (max-width: 900px) {
  :root { --side-w: 0px; }
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { height: 100dvh; padding-bottom: 76px; }
  .top { padding: 0 16px; gap: 10px; }
  .m-brand { display: grid; place-items: center; }
  .top-sub { display: none; }
  .search { width: 38px; padding: 0; justify-content: center; }
  .search span, .search kbd { display: none; }
  .view { padding: 18px 16px 40px; }
  .hero { grid-template-columns: 1fr; padding: 22px; }
  .g2 { grid-template-columns: 1fr; }
  .tr { grid-template-columns: minmax(0, 1fr) auto auto; padding: 0 14px; gap: 10px; }
  .hide-m { display: none; }
  .m-only { display: inline; }
  .trow { height: 62px; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(10, 10, 10, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 3px; padding: 6px 0; font-size: 10.5px; color: var(--faint); transition: color .2s; }
  .tabbar a.active, .tabbar button.active { color: var(--text); }
  .tabbar svg { width: 20px; height: 20px; }
  .tab-launch .tl-ico { width: 34px; height: 26px; border-radius: 9px; background: var(--white); color: #0a0a0a; display: grid; place-items: center; }
  .tab-launch .tl-ico svg { width: 16px; height: 16px; stroke-width: 2.4; }
  .sheet { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .sheet.on { opacity: 1; pointer-events: auto; }
  .sheet-box { position: absolute; left: 10px; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 8px; border-radius: 16px; border: 1px solid var(--line-2); background: #111113; transform: translateY(12px); transition: transform .4s var(--ease); }
  .sheet.on .sheet-box { transform: none; }
  .sheet-box a { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px; border-radius: 10px; font-weight: 500; }
  .sheet-box a:active { background: var(--hover); }
  .menu { right: 12px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perks > div:nth-child(2n) { border-right: 0; }
  .perks > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .how { grid-template-columns: 1fr; }
  .how > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .chart-meta { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; padding: 36px 16px 40px; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .w-table > div { grid-template-columns: 1fr 50px; }
  .w-table > div > span:last-child { grid-column: 1 / -1; }
  .ring { width: 92px; height: 92px; }
  .ring b { font-size: 24px; }
}
@media (max-width: 520px) {
  .tr .score em { display: none; }
  .g4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile .v { font-size: 19px; }
  .t-head h2 { font-size: 21px; }
  .img-field { grid-template-columns: 64px 1fr; }
  .img-drop { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
