/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"JetBrains_Mono","arguments":[{"subsets":["latin"],"weight":["400","500","600","700"],"variable":"--font-mono","display":"swap"}],"variableName":"mono"} ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/edc640959b0c7826-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/ac0e76ddaeeb7981-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/64d784ea54a4acde-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/ff71da380fbe67dd-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/6d831b18ae5b01dc-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/558ca1a6aa3cb55e-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/edc640959b0c7826-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/ac0e76ddaeeb7981-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/64d784ea54a4acde-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/ff71da380fbe67dd-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/6d831b18ae5b01dc-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/558ca1a6aa3cb55e-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/edc640959b0c7826-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/ac0e76ddaeeb7981-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/64d784ea54a4acde-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/ff71da380fbe67dd-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/6d831b18ae5b01dc-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/558ca1a6aa3cb55e-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/edc640959b0c7826-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/ac0e76ddaeeb7981-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/64d784ea54a4acde-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/ff71da380fbe67dd-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/6d831b18ae5b01dc-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/558ca1a6aa3cb55e-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'JetBrains Mono Fallback';src: local("Arial");ascent-override: 75.79%;descent-override: 22.29%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_bfdb28 {font-family: 'JetBrains Mono', 'JetBrains Mono Fallback';font-style: normal
}.__variable_bfdb28 {--font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* MultiPair Pad — teal-black + ice-blue sticker system (after the Launch launchpad on Stonk).
   Ink borders, hard shadows, lift on hover, press-in on active. EVERYTHING STRAIGHT: no rotate, skew or 3D tilt.
   Accent is ICE-BLUE #b8ecfd. Up/buy = ice-blue, down/sell = coral #ff7b86. No greens anywhere. */
:root {
  --bg: #060b0b;
  --panel: #0a1113;
  --card: #0c1416;
  --card-2: #111c1f;
  --card-3: #17262a;
  --line: #1b2c31;
  --line-2: #2a4650;
  --text: #eaf4f7;
  --soft: #bfd2d9;
  --muted: #86a0a9;
  --faint: #5d767f;
  --accent: #b8ecfd;
  --accent-hi: #dcf7ff;
  --accent-dk: #4886a1;
  --ink: #060b0b;
  --ink-deep: #346a7e;
  --white: #ffffff;
  --pale: #cfe4ec;
  --cyan: #86c5df;
  --red: #ff7b86;
  --red-dk: #8c3b45;
  --up: var(--accent);
  --down: var(--red);
  --up-soft: rgba(184, 236, 253, 0.12);
  --down-soft: rgba(255, 123, 134, 0.12);
  --display: "Clash Display", "General Sans", ui-sans-serif, system-ui, sans-serif;
  --ui: "General Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: var(--font-mono), "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 16px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --hard: 0 4px 0 var(--ink-deep);
  --hard-sm: 0 3px 0 var(--ink-deep);
  --hard-up: 0 6px 0 var(--ink-deep);
  --hard-in: 0 1px 0 var(--ink-deep);
  --side-w: 248px;
  --top-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --z-header: 20;
  --z-sticky: 30;
  --z-sheet: 50;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 16px);
}
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font: 500 15px/1.55 var(--ui);
  background-color: var(--bg);
  /* faint straight "+" grid — original pattern, no tilt */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M36 31v10M31 36h10' stroke='%23b8ecfd' stroke-opacity='.06' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; font-size: 16px; color: inherit; }
h1, h2, h3 { color: var(--text); font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
button, a, [role="button"], [role="tab"], label.drop {
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
}
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.dim { color: var(--muted); }
.up { color: var(--up); }
.down { color: var(--down); }
.white { color: var(--text); }
.accent-t { color: var(--accent) !important; }
.accent { color: var(--accent); }
.display { font-family: var(--display); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.spacer { flex: 1 1; }

/* ── Sticker buttons ─────────────────────────────────────
   rest: ink border + hard shadow · hover: lift 2px, taller shadow · active: press into the shadow.
   No rotate — the owner wants everything straight. */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; flex-shrink: 0;
  border: 2.5px solid var(--ink); border-radius: 8px; background: var(--accent); color: var(--ink);
  font: 700 15px/1 var(--ui); white-space: nowrap; cursor: pointer;
  box-shadow: var(--hard);
  transition: translate .12s var(--out), box-shadow .12s var(--out), background-color .15s ease;
}
.btn svg { flex-shrink: 0; }
.btn:active { translate: 0 3px; box-shadow: var(--hard-in); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; translate: none; box-shadow: var(--hard); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; box-shadow: var(--hard-sm); }
.btn-big { height: 54px; padding: 0 26px; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.btn-big::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  translate: -120% 0; animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine { 55%, 100% { translate: 120% 0; } }
.btn-block { width: 100%; }
.btn-ghost { background: var(--card-2); color: var(--text); border-color: var(--line-2); box-shadow: 0 4px 0 #050807; }
.btn-ghost.btn-sm { box-shadow: 0 3px 0 #050807; }
.btn-ghost.btn-big::after { background: linear-gradient(100deg, transparent 35%, rgba(184, 236, 253, .12) 50%, transparent 65%); }
.btn-ghost:active { box-shadow: 0 1px 0 #050807; }
.btn-sell { background: var(--red); color: var(--ink); border-color: var(--ink); box-shadow: 0 4px 0 var(--red-dk); }
.btn-sell:active { box-shadow: 0 1px 0 var(--red-dk); }
.icon-btn { width: 44px; padding: 0; }
.btn-sm.icon-btn { width: 36px; }
.btn[aria-current="page"] { cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover:not(:disabled):not(:active) { background: var(--accent-hi); translate: 0 -2px; box-shadow: var(--hard-up); }
  .btn-ghost:hover:not(:disabled):not(:active) { background: var(--card-3); box-shadow: var(--hard-up); }
  .btn-sell:hover:not(:disabled):not(:active) { background: #ff9aa3; box-shadow: 0 6px 0 var(--red-dk); }
}

/* ── Stickers (hero tags) — straight, scale on hover only ── */
.stickers { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sticker {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 10px;
  border: 2.5px solid var(--ink); border-radius: 8px; background: var(--white); color: var(--ink);
  font-size: 13.5px; font-weight: 700; line-height: 1.2; box-shadow: var(--hard-sm);
  transition: scale .25s var(--spring);
  animation: pop-in .45s var(--spring) backwards; animation-delay: calc(.35s + var(--i, 0) * 90ms);
}
.sticker:nth-child(1) { background: var(--accent); }
.sticker:nth-child(3) { background: var(--cyan); }
.sticker:nth-child(4) { background: var(--pale); }
@keyframes pop-in { from { opacity: 0; scale: .6; } }
@media (hover: hover) and (pointer: fine) { .sticker:hover { scale: 1.07; } }

/* ── Chips / tags ────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; flex-shrink: 0;
  border: 2px solid var(--line-2); border-radius: 8px; background: var(--card-2); color: var(--text);
  font-size: 13.5px; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: translate .12s var(--out), border-color .15s ease, background-color .15s ease, box-shadow .12s var(--out);
}
.chip .n { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--accent); color: var(--ink); box-shadow: var(--hard-sm); }
.chip[aria-pressed="true"] .n { color: var(--ink); opacity: .7; }
.chip:active:not(:disabled) { translate: 0 2px; }
.chip:disabled { opacity: .4; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .chip:hover:not(:disabled):not([aria-pressed="true"]) { border-color: var(--accent-dk); translate: 0 -2px; }
}
.tag {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; flex-shrink: 0;
  background: var(--card-3); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.tag-on { background: var(--accent); color: var(--ink); border: 2px solid var(--ink); height: 24px; box-shadow: 0 2px 0 var(--ink-deep); }
.pair-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 28px; padding: 0 10px 0 4px; min-width: 0; overflow: hidden;
  border-radius: 8px; background: var(--card-2); border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 600; color: var(--soft); white-space: nowrap;
}
.pair-chip b { color: var(--text); font-family: var(--mono); font-weight: 600; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pair-chip.custom { border-style: dashed; border-color: var(--accent-dk); }
.glyph {
  display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 50%;
  color: var(--ink); font-weight: 700; line-height: 1; border: 1.5px solid var(--ink); font-family: var(--display);
}
.glyph-any { background: var(--card-3); color: var(--accent); border: 1.5px dashed var(--accent-dk); }
.pct {
  display: inline-flex; align-items: center; gap: 2px; height: 22px; padding: 0 7px; border-radius: 6px; flex-shrink: 0;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.pct.up { background: var(--up-soft); }
.pct.down { background: var(--down-soft); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; display: inline-block; }

/* ── Avatar ──────────────────────────────────────────── */
.avatar {
  position: relative; display: inline-grid; place-items: center; flex-shrink: 0; overflow: hidden;
  border-radius: 12px; background: linear-gradient(150deg, var(--card-3), #0f2a33); color: var(--accent);
  font-family: var(--display); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2);
}
.avatar.round { border-radius: 50%; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Progress ────────────────────────────────────────── */
.bar { position: relative; height: 8px; border-radius: 4px; background: var(--card-3); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.bar > i { position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform-origin: left center; }
.bar.pale > i { background: var(--pale); }
.bar.cyan > i { background: var(--cyan); }
.bar.red > i { background: var(--red); }
.bar-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; margin-bottom: 7px; color: var(--muted); }
.bar-head span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.bar-head b { font-family: var(--mono); color: var(--accent); font-weight: 600; flex-shrink: 0; }

/* ── Cards ───────────────────────────────────────────── */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.card-pad { padding: 22px; }
.card-title { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--text); }
.kv { margin: 0; display: grid; grid-gap: 10px; gap: 10px; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-width: 0; }
.kv dt { color: var(--muted); font-size: 13px; flex-shrink: 0; }
.kv dd { margin: 0; color: var(--text); font-family: var(--mono); font-size: 13px; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.kv dd small { display: block; color: var(--muted); font-size: 11.5px; }
.note { font-size: 12.5px; color: var(--muted); }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); }
.empty-card { padding: 40px 20px; text-align: center; color: var(--soft); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; font-weight: 600; flex-shrink: 0; transition: color .15s ease; }
@media (hover: hover) and (pointer: fine) { .back:hover { color: var(--text); } }

/* ── App shell: sidebar + topbar ─────────────────────── */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "side top" "side main"; min-height: 100dvh; }
.main { grid-area: main; min-width: 0; padding-bottom: 40px; }
.side {
  grid-area: side; position: -webkit-sticky; position: sticky; top: 0; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 18px; padding: 18px 14px 20px;
  background: var(--panel); border-right: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; white-space: nowrap; flex-shrink: 0; min-width: 0; }
.side .brand { padding: 2px 4px 4px; }
.brand-tile {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: var(--accent); color: var(--ink); border: 2.5px solid var(--ink); box-shadow: var(--hard-sm);
}
.brand-pad { color: var(--accent); }
.side-nav { display: grid; grid-gap: 4px; gap: 4px; }
.sidelink {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px;
  color: var(--muted); font-size: 15px; font-weight: 600; transition: background-color .15s ease, color .15s ease;
}
.sideicon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  background: var(--card-2); color: var(--accent-hi); transition: background-color .2s ease, color .2s ease, scale .25s var(--spring);
}
.sidelink.on { background: var(--card-2); color: var(--text); }
.sidelink.on .sideicon { background: var(--accent); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .sidelink:hover { background: var(--card-2); color: var(--text); }
  .sidelink:hover .sideicon { scale: 1.08; }
}
.side-cta { display: grid; grid-gap: 12px; gap: 12px; padding-top: 4px; }
.side-stats { margin: 4px 0 0; padding: 12px; display: grid; grid-gap: 7px; gap: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 12px; }
.side-stats > div { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.side-stats dt { color: var(--muted); flex-shrink: 0; }
.side-stats dd { margin: 0; font-family: var(--mono); color: var(--text); text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-stats small { color: var(--faint); font-size: 10.5px; }
.side-note { margin-top: auto; font-size: 11.5px; color: var(--muted); line-height: 1.45; padding: 0 4px; }

.topbar {
  grid-area: top; position: -webkit-sticky; position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(6, 11, 11, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 14px; height: var(--top-h); padding: 0 24px; min-width: 0; }
.search { position: relative; display: flex; align-items: center; flex: 0 1 440px; min-width: 160px; }
.search > svg { position: absolute; left: 15px; color: var(--muted); pointer-events: none; transition: color .15s ease; }
.search input {
  width: 100%; height: 42px; padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--text); outline: none; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.search input::placeholder { color: var(--faint); }
.search:focus-within input { border-color: var(--accent); background: var(--card-2); box-shadow: 0 0 0 3px rgba(184, 236, 253, .16); }
.search:focus-within > svg { color: var(--accent-hi); }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.search-lg { flex: none; width: 100%; margin-top: 20px; }
.search-lg input { height: 48px; }
.search-hero { flex: none; width: 100%; max-width: 560px; margin-top: 26px; }
.search-hero input { height: 52px; padding-right: 108px; }
.search-hero .btn { position: absolute; right: 7px; }
.lboxes { display: flex; gap: 10px; min-width: 0; }
.lbox {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; min-width: 0; max-width: 300px;
  border: 2.5px solid var(--ink); border-radius: 10px; background: var(--accent); color: var(--ink);
  font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; box-shadow: var(--hard-sm);
  transition: translate .15s var(--out), box-shadow .15s var(--out);
}
.lbox.alt { background: var(--pale); }
.lbox b { font-weight: 700; }
.lbox .mono { font-weight: 600; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.lbox .ago { font-family: var(--mono); font-size: 11.5px; opacity: .65; }
.lbox:active { translate: 0 2px; box-shadow: var(--hard-in); }
@media (hover: hover) and (pointer: fine) { .lbox:hover:not(:active) { translate: 0 -2px; box-shadow: 0 5px 0 var(--ink-deep); } }
.demo-chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card); color: var(--soft); font-size: 12px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.only-m { display: none !important; }

/* ── Home ────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); grid-gap: 48px; gap: 48px; align-items: center; padding-top: 44px; }
.hero-h {
  font-family: var(--display); font-weight: 700; font-size: clamp(52px, 6.6vw, 104px); line-height: .94; letter-spacing: -0.022em;
}
.hero-h .accent { position: relative; display: inline-block; color: var(--accent); }
.hero-h .accent::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.14em; height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 22 2, 38 2, 60 8 S 98 13, 118 5' fill='none' stroke='%23b8ecfd' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  opacity: .8;
}
.hero-sub { margin-top: 26px; max-width: 600px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--soft); }
.hero-copy .stickers { margin-top: 24px; max-width: 620px; }
.hero-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hstats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.hstat { display: flex; align-items: center; gap: 11px; }
.hs-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line-2); color: var(--accent-hi); flex-shrink: 0; }
.hstat b { display: block; font-family: var(--mono); font-size: 21px; font-weight: 600; color: var(--text); line-height: 1.15; }
.hstat span:not(.hs-ic) { font-size: 12px; color: var(--muted); }

.hero-art { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 16px; gap: 16px; min-width: 0; }
.board-frame { position: relative; padding: 30px 16px 16px; border: 2px dashed var(--line-2); border-radius: 18px; }
.frame-tag {
  position: absolute; top: -14px; left: 16px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border: 2.5px solid var(--ink); border-radius: 7px; background: var(--accent); color: var(--ink);
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; box-shadow: var(--hard-sm); white-space: nowrap;
}
.mini-card {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 14px; gap: 14px; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); min-width: 0;
  transition: translate .25s var(--out), border-color .2s ease, box-shadow .25s ease, background-color .2s ease;
}
a.mini-card:active { translate: 0 1px; }
@media (hover: hover) and (pointer: fine) {
  a.mini-card:hover { translate: 0 -3px; background: var(--card-2); border-color: rgba(184, 236, 253, .55); box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(184, 236, 253, .25); }
}
.mini-empty { place-items: center; min-height: 200px; color: var(--accent); font-family: var(--display); font-size: 20px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.mc-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mc-id { flex: 1 1; min-width: 0; }
.mc-name { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--text); line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-tick { font-family: var(--mono); font-size: 12.5px; color: var(--soft); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; min-width: 0; }
.mc-row .r { text-align: right; }
.mc-v { font-family: var(--mono); font-size: 28px; font-weight: 600; color: var(--text); letter-spacing: -.02em; line-height: 1.1; margin-top: 3px; white-space: nowrap; }
.mc-v.sm { font-size: 18px; color: var(--accent); }
.spark { width: 46%; max-width: 200px; height: 56px; flex-shrink: 1; display: block; }
.mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; flex-wrap: wrap; }
.pair-rail { display: grid; grid-gap: 9px; gap: 9px; }
.rail-label { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.rail-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.rail-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px 0 5px; border-radius: 8px; border: 2px solid var(--line-2); background: var(--card-2); font-size: 12.5px; font-weight: 700; }
.rail-chip.any { padding-left: 10px; border-style: dashed; border-color: var(--accent-dk); color: var(--accent); }
.feed { padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.feed-title { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--soft); margin-bottom: 10px; }
.feed-title .dot { margin-left: auto; }
.feed-row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-top: 1px solid var(--line); font-size: 13px; min-width: 0; }
.feed-row .sym { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.feed-row .amt { margin-left: auto; font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.feed-row .ago { font-family: var(--mono); color: var(--muted); font-size: 11px; width: 28px; text-align: right; flex-shrink: 0; }
.feed-empty { padding: 14px 4px 4px; color: var(--muted); font-size: 13px; }

.section { padding-top: 84px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head h2 { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.sec-head h2 svg { color: var(--accent); }
.sec-head p { color: var(--muted); max-width: 520px; font-size: 15px; }
.xlink { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; color: var(--soft); font-size: 13.5px; font-weight: 600; transition: background-color .15s ease, color .15s ease, translate .25s var(--spring); }
@media (hover: hover) and (pointer: fine) { .xlink:hover { background: var(--card-2); color: var(--text); translate: 3px 0; } }
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); grid-gap: 16px; gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.tile {
  position: relative; display: flex; flex-direction: column; min-width: 0; scroll-snap-align: start; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  transition: translate .3s var(--out), border-color .2s ease, background-color .2s ease;
}
.tile .rank { position: absolute; top: 10px; left: 10px; z-index: 1; height: 24px; padding: 0 7px; display: inline-grid; place-items: center; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); color: var(--ink); font-family: var(--mono); font-size: 11.5px; font-weight: 700; box-shadow: 0 2px 0 var(--ink-deep); }
.tile-pic { display: grid; place-items: center; height: 150px; background: radial-gradient(120px 90px at 50% 60%, rgba(184, 236, 253, .12), transparent 70%), var(--card-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.tile-pic .avatar { transition: scale .3s var(--out); }
.tile-body { display: grid; grid-gap: 4px; gap: 4px; padding: 12px 14px 14px; min-width: 0; }
.tile-name { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; min-width: 0; }
.tile-row .tick { font-family: var(--mono); color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { translate: 0 -6px; border-color: var(--accent); background: var(--card-2); }
  .tile:hover .tile-pic .avatar { scale: 1.08; }
}
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 16px; gap: 16px; }
.feat { padding: 24px; }
.feat-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; margin-bottom: 16px; background: var(--accent); color: var(--ink); border: 2.5px solid var(--ink); box-shadow: var(--hard-sm); }
.feat:nth-child(3n+2) .feat-ic { background: var(--cyan); }
.feat:nth-child(3n) .feat-ic { background: var(--pale); }
.feat h3 { font-size: 20px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 14.5px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 16px; gap: 16px; }
.step { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.step-n { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink); background: var(--accent); border: 2px solid var(--ink); border-radius: 6px; padding: 1px 7px; box-shadow: 0 2px 0 var(--ink-deep); }
.step h3 { font-size: 22px; margin: 14px 0 8px; }
.step p { color: var(--muted); flex: 1 1; }
.step .btn { margin-top: 18px; }
.footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 26px 0 calc(26px + var(--safe-b)); font-size: 13px; color: var(--muted); }
.footer .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand-foot { font-family: var(--display); font-weight: 600; color: var(--text); font-size: 16px; }
.footer nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.footer nav a { color: var(--soft); }
@media (hover: hover) and (pointer: fine) { .footer nav a:hover { color: var(--text); } }

/* ── Explore ─────────────────────────────────────────── */
.page { padding-top: 30px; }
.page-head { margin-bottom: 18px; }
.display-h { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 4.6vw, 64px); letter-spacing: -.03em; line-height: 1; }
.page-head p, .launch-head p { color: var(--muted); margin-top: 10px; max-width: 640px; }
.koth {
  position: relative; padding: 24px; border-radius: 18px; background: var(--card);
  border: 2.5px solid var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 4px 0 1px var(--ink-deep);
}
.koth-label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--accent); font-family: var(--display); font-weight: 600; font-size: 18px; }
.koth-main { display: flex; align-items: center; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.koth-id { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 280px; }
.koth-id .nm { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.koth-id .tk { font-family: var(--mono); color: var(--soft); font-size: 14px; margin-left: 8px; }
.koth-id .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; color: var(--muted); }
.rank-1 { font-family: var(--mono); font-weight: 700; color: var(--ink); background: var(--accent); border-radius: 5px; padding: 0 6px; }
.koth-tiles { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.stat-tile { min-width: 112px; padding: 11px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.stat-tile .v { font-family: var(--mono); font-weight: 600; color: var(--text); font-size: 16px; margin-top: 4px; overflow-wrap: anywhere; }
.koth-go { height: auto; min-height: 52px; width: 56px; padding: 0; }
.koth-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 28px; gap: 28px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.koth-bars .bar-head span { text-transform: uppercase; letter-spacing: 0.06em; font-size: 11.5px; }
.koth-bars .hint { font-size: 12px; color: var(--muted); margin-top: 8px; }
.toolbar { display: flex; align-items: center; gap: 12px; margin: 18px 0; flex-wrap: wrap; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); flex-shrink: 0; }
.seg-btn { display: grid; place-items: center; min-width: 36px; height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); transition: color .15s ease, background-color .15s ease; }
.seg-btn[aria-pressed="true"] { background: var(--accent); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 2px 0 var(--ink-deep); }
@media (hover: hover) and (pointer: fine) { .seg-btn:hover:not([aria-pressed="true"]) { color: var(--text); } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1 1; padding: 4px 2px 6px; }
.chips::-webkit-scrollbar { display: none; }
.count { font-family: var(--mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 16px; gap: 16px; }

/* coin card — straight lift, border glow, no 3D tilt */
.ccard {
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: 18px; min-width: 0; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  transition: translate .25s var(--out), scale .16s var(--out), border-color .2s ease, box-shadow .25s ease, background-color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .ccard:hover { translate: 0 -3px; background: var(--card-2); border-color: rgba(184, 236, 253, .55); box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(184, 236, 253, .25); }
  .ccard:hover .cc-pic .avatar { scale: 1.04; }
}
.cc-pic .avatar { transition: scale .25s var(--out); }
.cc-top { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.cc-id { flex: 1 1; min-width: 0; padding-top: 2px; }
.cc-name { font-family: var(--display); color: var(--text); font-weight: 600; font-size: 18px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-tick { font-family: var(--mono); color: var(--soft); font-size: 12.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-mid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; min-width: 0; }
.cc-stat { min-width: 0; }
.cc-stat.r { text-align: right; }
.cc-stat .label { font-size: 10.5px; }
.cc-stat .v { font-family: var(--mono); color: var(--text); font-size: 14px; margin-top: 3px; white-space: nowrap; }
.cc-stat .v.big { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.cc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); min-width: 0; }
.cc-foot .pair-chip { flex: 0 1 auto; }
.cc-vol { margin-left: auto; font-family: var(--mono); white-space: nowrap; }
.cc-foot .age { font-family: var(--mono); flex-shrink: 0; }
.grad { color: var(--ink); background: var(--accent); border-radius: 5px; padding: 1px 6px; font-weight: 700; font-size: 11px; flex-shrink: 0; }
.list { display: grid; grid-gap: 8px; gap: 8px; }
.list-row { display: grid; flex-direction: initial; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; grid-gap: 14px; gap: 14px; padding: 12px 16px; border-radius: 14px; }
.list-row.head { padding: 0 16px; background: none; border: 0; }
.list-row .r { text-align: right; }
.list-row .id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.list-row .v { font-family: var(--mono); color: var(--text); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Coin page ───────────────────────────────────────── */
.coin-top { display: flex; align-items: center; gap: 16px; padding: 22px 0 16px; min-width: 0; flex-wrap: wrap; }
.coin-top .back { flex-basis: 100%; }
.coin-ident { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 280px; }
.coin-ident h1 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; line-height: 1.1; }
.coin-ident .tk { font-family: var(--mono); color: var(--soft); font-size: 13px; margin-top: 2px; }
.coin-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.x-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 6px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card-2); font-size: 13px; color: var(--soft); max-width: 100%; min-width: 0; }
.x-chip .h { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xlink-chip { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
@media (hover: hover) and (pointer: fine) { .xlink-chip:hover { background: var(--card-3); border-color: var(--accent-dk); color: var(--text); } }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-gap: 10px; gap: 10px; }
.stat-strip > div { padding: 12px 14px; min-width: 0; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.stat-strip .label { font-size: 10.5px; }
.stat-strip .v { font-family: var(--mono); color: var(--text); font-size: 16px; font-weight: 600; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-strip .v small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; }
.coin-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-gap: 20px; gap: 20px; margin-top: 16px; align-items: start; }
.coin-side { position: -webkit-sticky; position: sticky; top: calc(var(--top-h) + 16px); display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 16px; gap: 16px; min-width: 0; }
.chart-panel { overflow: hidden; }
.chart-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tf { display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
.tf-btn { height: 28px; min-width: 36px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-family: var(--mono); font-size: 12.5px; transition: color .15s ease, background-color .15s ease; }
.tf-btn[aria-pressed="true"] { color: var(--ink); background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (hover: hover) and (pointer: fine) { .tf-btn:hover:not([aria-pressed="true"]) { color: var(--text); } }
.vsep { width: 1px; height: 20px; background: var(--line-2); flex-shrink: 0; }
.chart-legend { display: flex; gap: 12px; flex-wrap: wrap; padding: 10px 14px 0; font-family: var(--mono); font-size: 12px; color: var(--muted); min-height: 30px; }
.chart-legend b { font-weight: 500; }
.chart-wrap { position: relative; height: 380px; margin: 4px 64px 0 0; touch-action: pan-y; }
.chart-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.chart-y { position: absolute; right: -60px; font-family: var(--mono); font-size: 11px; color: var(--muted); transform: translateY(-50%); white-space: nowrap; pointer-events: none; }
.chart-x { display: flex; justify-content: space-between; padding: 8px 64px 12px 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.chart-last { position: absolute; right: -62px; transform: translateY(-50%); font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--ink); padding: 2px 5px; border-radius: 4px; pointer-events: none; white-space: nowrap; }
.chart-foot { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.below { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 16px; gap: 16px; margin-top: 16px; }
.about p { color: var(--soft); margin-top: 12px; overflow-wrap: anywhere; }
.about .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; color: var(--muted); font-size: 13px; }
.info-rows { display: grid; grid-gap: 10px; gap: 10px; margin-top: 14px; }
.info-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.info-row .k { color: var(--muted); font-size: 13px; width: 110px; flex-shrink: 0; }
.info-row code { font-family: var(--mono); color: var(--text); font-size: 13px; min-width: 0; overflow-wrap: anywhere; flex: 1 1; }
.trades-table { width: 100%; }
.tr { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 56px; grid-gap: 10px; gap: 10px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--text); }
.tr.head { font-family: var(--ui); color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; border-top: 0; }
.tr .r { text-align: right; }
.tr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-tag { display: inline-flex; align-items: center; justify-content: center; height: 22px; width: 46px; flex-shrink: 0; border-radius: 6px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.side-tag.buy { color: var(--ink); background: var(--accent); }
.side-tag.sell { color: var(--ink); background: var(--red); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 18px 14px; }

/* Trade panel */
.trade-panel { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 14px; gap: 14px; overflow: hidden; }
.side-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 2px; gap: 2px; padding: 4px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
.tab { position: relative; z-index: 1; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 17px; transition: color .2s ease, scale .12s var(--out); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab:active { scale: .95; }
@media (hover: hover) and (pointer: fine) { .tab:hover:not([aria-selected="true"]) { color: var(--text); } }
.side-tabs .ind {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 5px); border-radius: 8px;
  background: var(--accent); box-shadow: inset 0 0 0 2px var(--ink), 0 2px 0 var(--ink-deep);
  transition: translate .45s var(--spring), background-color .2s ease;
}
.side-tabs[data-side="sell"] .ind { translate: calc(100% + 2px) 0; background: var(--red); box-shadow: inset 0 0 0 2px var(--ink), 0 2px 0 var(--red-dk); }
.amount { position: relative; }
.amount input { width: 100%; height: 56px; padding: 0 92px 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); outline: none; font-family: var(--mono); font-size: 18px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.amount input:focus { border-color: var(--accent); background: var(--card-2); box-shadow: 0 0 0 3px rgba(184, 236, 253, .16); }
.amount[data-state="error"] input { border-color: var(--red); }
.amount .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text); font-weight: 700; font-family: var(--mono); font-size: 14px; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-gap: 6px; gap: 6px; }
.quick .chip { display: block; height: 34px; text-align: center; line-height: 30px; padding: 0 6px; font-family: var(--mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.trade-msg { font-size: 13px; min-height: 20px; text-align: center; overflow-wrap: anywhere; }
.trade-panel .kv { padding-top: 14px; border-top: 1px solid var(--line); }
.attn { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--accent); opacity: 0; pointer-events: none; }
.sticky-trade { display: none; }

/* ── Launch ──────────────────────────────────────────── */
.launch-page { padding-top: 22px; max-width: 1280px; }
.launch-head { padding: 14px 0 26px; }
.head-mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; flex-shrink: 0; background: var(--accent); color: var(--ink); border: 2.5px solid var(--ink); box-shadow: var(--hard); }
.launch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-gap: 28px; gap: 28px; align-items: start; padding-bottom: 48px; }
.launch-main { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 18px; gap: 18px; min-width: 0; }
.lsec { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.pair-sec { border: 2.5px solid var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 4px 0 1px var(--ink-deep); }
.lsec-head { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lsec-head h2 { font-size: 24px; font-weight: 600; }
.lsec-head span { color: var(--muted); font-size: 13px; }
.pp-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 7px;
  border: 2px solid var(--line-2); border-radius: 8px; background: var(--card-2); color: var(--text);
  font-size: 14.5px; font-weight: 700; cursor: pointer;
  transition: translate .12s var(--out), border-color .15s ease, background-color .15s ease, box-shadow .12s var(--out);
}
.pp-chip.on { border-color: var(--ink); background: var(--accent); color: var(--ink); box-shadow: var(--hard-sm); }
.pp-chip.on .glyph-any { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.pp-chip:active:not([disabled]) { translate: 0 2px; box-shadow: var(--hard-in); }
.pp-chip[disabled] { opacity: .4; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .pp-chip:hover:not([disabled]):not(.on):not(:active) { border-color: var(--accent-dk); translate: 0 -2px; } }
.anymint { display: grid; grid-template-columns: minmax(0, 1fr) 150px; grid-gap: 12px; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 12px; border: 1.5px dashed var(--line-2); background: var(--panel); transition: border-color .15s ease, opacity .15s ease; }
.anymint[data-active="false"] { opacity: .72; }
.anymint[data-active="true"] { border-color: var(--accent-dk); border-style: solid; opacity: 1; }
.pair-math { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line-2); font-size: 14px; color: var(--soft); }
.pair-math > span { min-width: 0; }
.pair-math b { color: var(--accent); font-family: var(--mono); font-weight: 600; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-gap: 16px; gap: 16px; }
.field { display: grid; grid-gap: 7px; gap: 7px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .flabel { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.field label .opt, .flabel .opt { color: var(--muted); font-weight: 500; font-size: 12px; }
.input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); outline: none; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.input::placeholder { color: var(--faint); }
textarea.input { height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus { border-color: var(--accent); background: var(--card-2); box-shadow: 0 0 0 3px rgba(184, 236, 253, .16); }
.field[data-state="error"] .input { border-color: var(--red); }
.field[data-state="ok"] .input { border-color: var(--accent-dk); }
.input-wrap { position: relative; }
.input-wrap .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 13px; color: var(--soft); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.input-wrap .input { padding-right: 96px; }
.input-prefix .pre { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-family: var(--mono); }
.input-prefix .input { padding-left: 30px; padding-right: 14px; }
.msg { display: flex; align-items: center; gap: 6px; font-size: 12.5px; min-height: 18px; overflow-wrap: anywhere; }
.msg svg { flex-shrink: 0; }
.msg.ok { color: var(--accent); }
.msg.err { color: var(--red); }
.msg.hint { color: var(--muted); }
.drop {
  position: relative; display: grid; place-items: center; grid-gap: 6px; gap: 6px; min-height: 168px; padding: 18px; text-align: center; cursor: pointer;
  border: 2px dashed var(--line-2); border-radius: 16px; background: var(--card); color: var(--muted); font-size: 12.5px;
  transition: border-color .2s ease, background-color .2s ease;
}
.drop b { color: var(--text); font-size: 14px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:focus-within { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.drop.has { border-color: var(--accent); background: var(--card-2); }
@media (hover: hover) and (pointer: fine) { .drop:hover { border-color: var(--accent); background: var(--card-2); } }
.drop-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: var(--accent); color: var(--ink); border: 2.5px solid var(--ink); box-shadow: var(--hard-sm); }
.drop img { width: 120px; height: 120px; object-fit: cover; border-radius: 14px; border: 2.5px solid var(--ink); box-shadow: var(--hard-sm); animation: pop-in .45s var(--spring); }
.drop-clear { justify-self: start; }
.cost { display: grid; grid-gap: 9px; gap: 9px; margin-top: 14px; }
.cost > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; min-width: 0; }
.cost > div span:first-child { color: var(--muted); flex-shrink: 0; }
.cost > div span:last-child { color: var(--text); font-family: var(--mono); text-align: right; overflow-wrap: anywhere; min-width: 0; }
.cost .total { padding-top: 9px; border-top: 1px solid var(--line); }
.launch-side { position: -webkit-sticky; position: sticky; top: calc(var(--top-h) + 20px); display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 18px; gap: 18px; padding-top: 14px; min-width: 0; }
.pv-card { gap: 12px; }
.pv-ds { color: var(--soft); font-size: 13px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-card { padding: 18px; }
.side-h { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 12px; }
.side-h svg { color: var(--accent); }
.check { list-style: none; margin: 0; padding: 0; display: grid; grid-gap: 9px; gap: 9px; }
.check li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; min-width: 0; }
.ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; background: var(--card-3); color: var(--muted); transition: background-color .2s ease, color .2s ease, scale .25s var(--spring); }
.ck.yes { background: var(--accent); color: var(--ink); scale: 1.08; box-shadow: inset 0 0 0 1.5px var(--ink); }
.ck.no { background: var(--red); color: var(--ink); }
.ck.todo { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.ck-k { color: var(--text); font-weight: 600; flex-shrink: 0; }
.ck-n { margin-left: auto; color: var(--muted); font-size: 12.5px; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feebar { display: flex; border: 2.5px solid var(--ink); border-radius: 4px; box-shadow: var(--hard-sm); overflow: hidden; font-size: 12.5px; font-weight: 700; margin-bottom: 12px; }
.feebar span { padding: 7px 10px; background: var(--accent); color: var(--ink); white-space: nowrap; }
.feebar .rcpt { flex: 1 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; background: var(--pale); border-left: 2.5px solid var(--ink); font-family: var(--mono); font-weight: 600; }
.launch-cta { display: grid; grid-gap: 10px; gap: 10px; }
.form-error { padding: 10px 14px; border-radius: 12px; background: var(--down-soft); border: 1px solid rgba(255, 123, 134, .45); color: #ffb3ba; font-size: 13.5px; }

/* ── Sheet ───────────────────────────────────────────── */
.scrim { position: fixed; inset: 0; z-index: var(--z-sheet); background: rgba(2, 5, 5, .7); opacity: 0; pointer-events: none; transition: opacity 240ms var(--out); }
.scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
.m-sheet {
  position: fixed; z-index: calc(var(--z-sheet) + 1); left: 50%; top: 50%; width: min(440px, calc(100vw - 32px));
  margin-left: max(-220px, calc(-50vw + 16px)); max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain;
  padding: 22px; border-radius: 18px; background: var(--card); border: 2.5px solid var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 6px 0 1px var(--ink-deep), 0 30px 80px rgba(0, 0, 0, .6);
  transform: translateY(-50%) scale(.96); opacity: 0; pointer-events: none;
  transition: transform 240ms var(--out), opacity 200ms var(--out);
}
.m-sheet[data-open="true"] { transform: translateY(-50%) scale(1); opacity: 1; pointer-events: auto; }
.sheet-grab { display: none; width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); margin: -8px auto 14px; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sheet-title { font-size: 22px; }
.sheet-body { color: var(--soft); margin: 10px 0 16px; }
.sheet-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-gap: 8px; gap: 8px; }
.sheet-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.sheet-nav { display: grid; grid-gap: 6px; gap: 6px; margin: 14px 0 16px; }
.sheet-nav a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.sheet-nav a[aria-current="page"] { color: var(--ink); background: var(--accent); border-color: var(--ink); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1280px) {
  .coin-layout, .launch-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .hide-t { display: none !important; }
}
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-art { max-width: 560px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .koth-bars { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .list-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); }
  .list-row .c-vol, .list-row .c-pair { display: none; }
}
@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "main"; }
  .side { display: none; }
  .topbar-in { padding: 0 16px; gap: 10px; }
  .only-m { display: inline-flex !important; }
  .hide-m { display: none !important; }
  .coin-layout, .launch-layout { grid-template-columns: minmax(0, 1fr); }
  .coin-side, .launch-side { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-trade {
    display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
    padding: 10px 16px calc(14px + var(--safe-b)); background: rgba(6, 11, 11, .92); border-top: 1px solid var(--line-2);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .has-sticky { padding-bottom: calc(90px + var(--safe-b)); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  :root { --top-h: 60px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand-tile { width: 32px; height: 32px; }
  .hide-s { display: none !important; }
  .hero { padding-top: 28px; }
  .hero-h { font-size: clamp(46px, 14vw, 64px); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hstats { gap: 16px 22px; }
  .section { padding-top: 64px; }
  .features, .grid { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-auto-columns: 72%; }
  .koth { padding: 18px; }
  .koth-tiles { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .koth-go { grid-column: 1 / -1; width: auto; min-height: 44px; }
  .stat-tile { min-width: 0; }
  .list-row { grid-template-columns: minmax(0, 1fr) auto; }
  .list-row .c-mc, .list-row.head { display: none; }
  .anymint, .fields { grid-template-columns: minmax(0, 1fr); }
  .lsec { padding: 16px; }
  .pp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 8px; gap: 8px; }
  .pp-chip { padding: 0 8px 0 5px; gap: 6px; font-size: 13.5px; min-width: 0; overflow: hidden; white-space: nowrap; }
  .display-h { gap: 10px; }
  .head-mark { width: 46px; height: 46px; }
  .head-mark svg { width: 26px; height: 26px; }
  .chart-wrap { height: 280px; margin-right: 56px; }
  .chart-y, .chart-last { right: -54px; }
  .chart-x { padding-right: 56px; }
  .tr { grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1fr) 44px; padding: 10px 14px; }
  .tr .c-mc { display: none; }
  .info-row { flex-wrap: wrap; }
  .info-row .k { width: 100%; }
  .mc-name { font-size: 19px; }
  .mc-v { font-size: 24px; }
  .m-sheet {
    left: 0; right: 0; top: auto; bottom: 0; width: auto; margin: 0; border-radius: 18px 18px 0 0; border-bottom: 0;
    padding-bottom: calc(22px + var(--safe-b));
    transform: translateY(100%); transition: transform 320ms var(--ease-drawer), opacity 200ms var(--out);
  }
  .m-sheet[data-open="true"] { transform: translateY(0); }
  .sheet-grab { display: block; }
}
@media (max-width: 380px) {
  .brand-pad { display: none; }
  .hero-h { font-size: 44px; }
  .search-hero input { padding-right: 16px; }
  .search-hero .btn { display: none; }
}

/* ── Motion system (sticker) ───────────────────────────
   No rotate anywhere — straight only. Animated properties: translate, scale, transform, opacity,
   box-shadow, background-color, border-color, color. Springy translate/scale (--spring/--out).
   .btn        sticker: hover lift translate(0,-2px) + 6px shadow · active press-in translate(0,3px) + 1px shadow
   .btn-big    + shine sweep (::after, 3.4s)
   .chip/.pp-chip  hover lift 2px, active press 2px, selected = ice-blue + hard shadow
   .sticker    pop-in (opacity + scale) · hover scale 1.07
   .ccard/.tile/.mini-card  hover translateY lift + border glow (no perspective)
   .m-press    secondary press for non-sticker surfaces: scale .98
   .m-rise     staggered fade-up on load (--i)  .m-flash value changed  .m-fade fade in
   .m-fill     progress scaleX                  .m-sheet dialog / bottom sheet
   ───────────────────────────────────────────────────── */
.m-press { transition: scale .16s var(--out), translate .25s var(--out), border-color .2s ease, box-shadow .25s ease, background-color .2s ease; }
.m-press:active { scale: .98; }
.m-rise { animation: m-rise 520ms var(--out) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes m-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.m-pulse { animation: m-pulse 1.6s ease-in-out infinite; }
@keyframes m-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.m-flash { display: inline-block; animation: m-flash 360ms var(--out); }
@keyframes m-flash { from { opacity: .2; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.m-fade { animation: m-fade 260ms var(--out); }
@keyframes m-fade { from { opacity: 0; } to { opacity: 1; } }
.m-fill { transition: transform 600ms var(--out); }
.attn.on { animation: m-attn 900ms var(--out); }
@keyframes m-attn { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-property: opacity, color, background-color, border-color !important; transition-duration: .15s !important; }
  .btn:active, .chip:active, .pp-chip:active, .lbox:active, .m-press:active, .tab:active, a.mini-card:active { translate: none; scale: none; }
  .btn:hover, .chip:hover, .pp-chip:hover, .lbox:hover, .ccard:hover, .tile:hover, a.mini-card:hover, .xlink:hover, .sticker:hover { translate: none !important; scale: none !important; }
  .ccard:hover .cc-pic .avatar, .tile:hover .tile-pic .avatar, .sidelink:hover .sideicon { scale: none !important; }
  .btn-big::after { animation: none; display: none; }
  .sticker, .drop img { animation: m-fade 200ms ease-out; }
  .m-rise, .m-flash { animation: m-fade 200ms ease-out; }
  .m-pulse { animation: none; }
  .m-sheet, .m-sheet[data-open="true"] { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 640px) {
  .m-sheet, .m-sheet[data-open="true"] { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar, .sticky-trade { background: var(--panel); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .card, .ccard, .tile, .lsec { border-color: var(--line-2); }
}

