@font-face {
  font-family: "FKGrotesk";
  src: url("/fonts/FKGrotesk.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FKGrotesk";
  src: url("/fonts/FKGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FKGrotesk";
  src: url("/fonts/FKGrotesk-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #090b0a;
  --ink-2: #111411;
  --ink-3: #1a1e1a;
  --paper: #efeee8;
  --paper-2: #dad9d2;
  --muted: #9a9d95;
  --line: rgba(255,255,255,.11);
  --lime: #dfff68;
  --mint: #b7f7d2;
  --lilac: #b8a8ff;
  --danger: #ff847c;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-height: 100vh; color: var(--paper); background: var(--ink); font-family: "FKGrotesk", sans-serif; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--lime); }

.shell { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.ambient { position: fixed; width: 460px; height: 460px; border-radius: 50%; filter: blur(120px); opacity: .09; pointer-events: none; z-index: 0; }
.ambient-a { top: -220px; right: 6%; background: var(--lime); }
.ambient-b { top: 45%; left: -300px; background: var(--lilac); }
.site-header { width: min(1320px, calc(100% - 40px)); height: 78px; margin: 16px auto 0; padding: 0 18px 0 14px; border: 1px solid var(--line); border-radius: 22px; background: rgba(15,18,15,.73); backdrop-filter: blur(20px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: sticky; top: 16px; z-index: 50; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 11px; font-family: "FKGrotesk",sans-serif; font-weight: 600; letter-spacing: -.072em; font-size: 22px; }
.brand > span > span { color: var(--lime); }
.brand-mark { width: 44px; height: 44px; display: block; }
.main-nav { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 14px; background: rgba(255,255,255,.045); }
.main-nav a { padding: 10px 17px; border-radius: 10px; color: #adafa8; font-size: 13px; font-weight: 700; transition: .25s ease; }
.main-nav a:hover, .main-nav a.active { background: var(--paper); color: var(--ink); }
.wallet-wrap { justify-self: end; position: relative; margin-left: 18px; }
.wallet-button { min-height: 45px; padding: 0 17px; border: 0; border-radius: 13px; color: var(--ink); background: var(--lime); font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 9px; cursor: pointer; transition: .2s ease; }
.wallet-button:hover { transform: translateY(-1px); box-shadow: 0 9px 30px rgba(223,255,104,.13); }
.wallet-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(10,12,11,.09); }
.wallet-button.connected .wallet-dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(223,255,104,.1); }
.account-menu { position: absolute; top: 55px; right: 0; width: 280px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #171a17; box-shadow: var(--shadow); }
.account-menu-head { display: flex; align-items: center; gap: 12px; padding: 9px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg,var(--lime),var(--mint),var(--lilac)); color: #10120f; font-weight: 800; }
.account-menu-head div { min-width: 0; }
.account-menu-head small, .account-menu-head strong { display: block; }
.account-menu-head small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.account-menu-head strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; margin-top: 3px; }
.account-menu button, .account-menu a { width: 100%; padding: 11px 9px; border: 0; background: none; border-radius: 9px; display: flex; justify-content: space-between; cursor: pointer; color: #d5d7d1; font-size: 12px; }
.account-menu button:hover, .account-menu a:hover { background: rgba(255,255,255,.06); }
.account-menu .danger { color: var(--danger); }

main, .site-footer { position: relative; z-index: 1; }
.hero { min-height: 760px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; padding-top: 60px; padding-bottom: 70px; }
.eyebrow, .section-kicker { color: #b8bbb2; font-family: "FKGrotesk", sans-serif; font-size: 11px; line-height: 1; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 27px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 20px var(--lime); }
.hero h1, .create-intro h1 { margin: 0; font-size: clamp(62px, 7.1vw, 110px); line-height: .88; letter-spacing: -.075em; font-weight: 700; }
.hero h1 em, .create-intro h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px rgba(239,238,232,.56); }
.hero-lead { max-width: 580px; margin: 34px 0 0; color: #a9aca4; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 11px; margin-top: 36px; }
.button { min-height: 52px; padding: 0 22px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-size: 13px; font-weight: 800; cursor: pointer; border: 1px solid transparent; transition: .22s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--lime); }
.button-primary:hover { box-shadow: 0 12px 38px rgba(223,255,104,.16); }
.button-ghost { color: var(--paper); background: rgba(255,255,255,.045); border-color: var(--line); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.hero-proof { margin-top: 58px; display: flex; gap: 38px; }
.hero-proof div { display: flex; flex-direction: column; gap: 4px; }
.hero-proof strong { font-family: "FKGrotesk",sans-serif; font-size: 16px; }
.hero-proof span { color: #777b74; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.hero-art { height: 580px; position: relative; display: grid; place-items: center; }
.liquid-card { width: min(480px, 90%); aspect-ratio: .83; border-radius: 180px 180px 36px 36px; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 30% 15%, rgba(255,255,255,.18), transparent 25%), linear-gradient(145deg, rgba(184,168,255,.92), rgba(172,255,221,.87) 48%, rgba(223,255,104,.94)); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 60px 100px rgba(0,0,0,.4); overflow: hidden; transform: rotate(2deg); }
.liquid-card::before { content: ""; position: absolute; width: 320px; height: 220px; border-radius: 50%; top: -80px; left: -100px; background: rgba(255,255,255,.36); filter: blur(30px); transform: rotate(-20deg); }
.liquid-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -140px; bottom: 30px; border: 1px solid rgba(9,11,10,.2); box-shadow: 0 0 0 28px rgba(9,11,10,.025),0 0 0 56px rgba(9,11,10,.02); }
.liquid-sphere { width: 245px; height: 245px; border-radius: 50%; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 28% 20%, #fff 0, #e9ffd0 11%, #a5f4c9 37%, #ad9afb 73%, #463f62 100%); box-shadow: inset -28px -28px 60px rgba(15,12,35,.25), inset 16px 15px 28px rgba(255,255,255,.45), 0 38px 70px rgba(41,38,72,.3); z-index: 2; }
.liquid-sphere svg { width: 62%; filter: drop-shadow(0 5px 3px rgba(255,255,255,.2)); }
.sphere-shine { position: absolute; width: 90px; height: 38px; border-radius: 50%; top: 30px; left: 40px; background: rgba(255,255,255,.43); filter: blur(9px); transform: rotate(-25deg); }
.floating-pill { position: absolute; z-index: 4; padding: 11px 14px; border-radius: 999px; color: #10120f; background: rgba(245,245,238,.75); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.56); font-family: "FKGrotesk",sans-serif; font-size: 10px; box-shadow: 0 12px 30px rgba(27,24,42,.15); }
.floating-pill i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #1d9c5c; margin-right: 6px; }
.floating-pill b { margin-left: 6px; }
.pill-one { top: 27%; left: 2%; transform: rotate(-7deg); }
.pill-two { right: 3%; top: 17%; transform: rotate(7deg); }
.art-caption { position: absolute; z-index: 3; bottom: 27px; left: 34px; right: 34px; padding-top: 17px; border-top: 1px solid rgba(9,11,10,.19); display: flex; justify-content: space-between; color: #11130f; }
.art-caption span { font-family: "FKGrotesk",sans-serif; font-size: 10px; text-transform: uppercase; }
.art-caption b { font-size: 11px; }
.orbit { position: absolute; border: 1px solid rgba(223,255,104,.14); border-radius: 50%; }
.orbit-a { width: 570px; height: 570px; }
.orbit-b { width: 650px; height: 290px; transform: rotate(-20deg); }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #0d100e; }
.ticker div { min-width: max-content; height: 76px; display: flex; align-items: center; gap: 38px; animation: ticker 28s linear infinite; color: #e4e6df; font-size: 13px; font-weight: 700; letter-spacing: .13em; }
.ticker i { color: var(--lime); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.launches-section, .how-section { padding-top: 110px; padding-bottom: 120px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 38px; }
.section-head h2 { margin: 10px 0 0; font-size: clamp(38px,5vw,64px); line-height: .98; letter-spacing: -.06em; }
.live-label { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: #9ea198; font-family: "FKGrotesk",sans-serif; font-size: 9px; text-transform: uppercase; }
.live-label i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: 6px; box-shadow: 0 0 10px var(--lime); }
.token-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.token-card { min-height: 320px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #111411; transition: .25s ease; position: relative; overflow: hidden; }
.token-card:hover { transform: translateY(-5px); border-color: rgba(223,255,104,.28); }
.token-card-art { height: 185px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg,var(--lilac),var(--mint),var(--lime)); overflow: hidden; position: relative; }
.token-card-art::after { content: ""; position: absolute; width: 130px; height: 130px; border: 1px solid rgba(8,10,9,.18); border-radius: 50%; box-shadow: 0 0 0 22px rgba(8,10,9,.025); }
.token-card-art img { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; position: relative; z-index: 2; box-shadow: 0 20px 35px rgba(14,17,15,.25); }
.token-card-art span { position: relative; z-index: 2; width: 106px; height: 106px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.4); font-size: 38px; font-weight: 800; }
.token-card-body { padding: 17px 3px 2px; display: flex; justify-content: space-between; align-items: start; gap: 15px; }
.token-card-body h3 { margin: 0; font-size: 19px; letter-spacing: -.035em; }
.token-card-body p { margin: 4px 0 0; color: var(--muted); font-family: "FKGrotesk",sans-serif; font-size: 10px; }
.token-card-body a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); background: var(--lime); }
.token-status { position: absolute; top: 26px; left: 26px; z-index: 3; padding: 6px 9px; border-radius: 999px; color: #0e110e; background: rgba(242,242,235,.82); backdrop-filter: blur(8px); font: 500 8px "FKGrotesk",sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.empty-launches { min-height: 340px; padding: 55px 25px; border: 1px dashed rgba(255,255,255,.15); border-radius: 26px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.empty-orb { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: linear-gradient(145deg,var(--lime),var(--mint),var(--lilac)); font-size: 22px; font-weight: 800; margin-bottom: 20px; box-shadow: 0 20px 40px rgba(184,168,255,.1); }
.empty-launches h3 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.empty-launches p { max-width: 490px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.text-link { margin-top: 8px; color: var(--lime); font-size: 13px; font-weight: 700; }
.how-section { border-top: 1px solid var(--line); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.steps-grid article { min-height: 315px; padding: 27px; border-radius: var(--radius); background: var(--paper); color: var(--ink); position: relative; }
.steps-grid article:nth-child(2) { background: var(--mint); }
.steps-grid article:nth-child(3) { background: var(--lilac); }
.steps-grid article > span { font: 500 10px "FKGrotesk",sans-serif; }
.step-icon { width: 62px; height: 62px; margin: 52px 0 31px; border: 1px solid rgba(9,11,10,.18); border-radius: 18px; display: grid; place-items: center; font-size: 27px; }
.steps-grid h3 { margin: 0; font-size: 21px; letter-spacing: -.04em; }
.steps-grid p { margin: 10px 0 0; color: rgba(9,11,10,.6); font-size: 13px; line-height: 1.6; }

.create-shell { padding-top: 84px; padding-bottom: 120px; display: grid; grid-template-columns: .72fr 1.35fr .78fr; gap: 24px; align-items: start; }
.create-intro { position: sticky; top: 126px; padding: 24px 20px 0 0; }
.create-intro h1 { font-size: clamp(55px,5.1vw,78px); }
.create-intro > p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 27px 0; }
.safety-note { display: flex; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.safety-note > span { color: var(--lime); }
.safety-note p { margin: 0; color: #898c84; font-size: 11px; line-height: 1.6; }
.safety-note strong { color: #d5d7d0; }
.create-panel { padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: rgba(17,20,17,.8); }
.form-section-head { display: flex; align-items: start; gap: 14px; margin-bottom: 25px; }
.form-section-head.divider { margin-top: 34px; padding-top: 31px; border-top: 1px solid var(--line); }
.form-section-head > span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--ink); background: var(--lime); font: 600 9px "FKGrotesk",sans-serif; }
.form-section-head h2 { margin: 0; font-size: 17px; letter-spacing: -.03em; }
.form-section-head p { margin: 4px 0 0; color: #777a73; font-size: 11px; }
.identity-row { display: flex; gap: 16px; }
.image-upload { width: 126px; height: 126px; flex: 0 0 126px; border-radius: 18px; border: 1px dashed rgba(255,255,255,.2); cursor: pointer; overflow: hidden; }
.upload-preview { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; color: #777a73; background: rgba(255,255,255,.025); }
.upload-preview b { font-size: 24px; font-weight: 400; }
.upload-preview small { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.grow { flex: 1; }
.field-stack { display: grid; gap: 14px; }
.field { display: block; position: relative; }
.field > span { display: flex; justify-content: space-between; margin-bottom: 8px; color: #b9bcb4; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.field > span i { color: #656860; font-style: normal; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid rgba(255,255,255,.1); outline: 0; border-radius: 12px; background: #0d100e; color: var(--paper); transition: .2s ease; }
.field input, .field select { height: 48px; padding: 0 14px; }
.field textarea { min-height: 100px; padding: 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(223,255,104,.55); box-shadow: 0 0 0 3px rgba(223,255,104,.05); }
.field input::placeholder, .field textarea::placeholder { color: #50534e; }
.field small { display: block; margin-top: 6px; color: #5f625c; font-size: 9px; }
.field .char-count { position: absolute; bottom: 10px; right: 12px; margin: 0; }
.input-affix { position: relative; }
.input-affix b { position: absolute; z-index: 2; left: 14px; top: 14px; color: var(--lime); font-size: 12px; }
.input-affix input { padding-left: 29px; }
.create-panel form > .field { margin-top: 16px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.links-grid { grid-template-columns: 1fr; }
.contract-preview { margin-top: 28px; padding: 15px; border: 1px solid rgba(223,255,104,.13); border-radius: 13px; background: rgba(223,255,104,.035); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.contract-preview span, .contract-preview strong { display: block; }
.contract-preview span { color: #6d7169; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.contract-preview strong { margin-top: 4px; max-width: 380px; overflow: hidden; text-overflow: ellipsis; color: #cfd2ca; font: 500 10px "FKGrotesk",sans-serif; }
.contract-preview > b { padding: 7px 9px; border-radius: 8px; color: var(--ink); background: var(--mint); font-size: 9px; }
.cost-row { display: flex; justify-content: space-between; margin-top: 17px; color: #777b73; font-size: 10px; }
.cost-row strong { color: #cfd1ca; }
.cost-row small { color: #6e716a; font-weight: 500; }
.launch-submit { width: 100%; margin-top: 17px; justify-content: space-between; border: 0; }
.launch-submit[disabled] { cursor: wait; opacity: .7; transform: none; }
.launch-layout .near-intents-soon { min-height: 42px; margin: 12px 0 0; padding: 8px 10px 8px 12px; display: flex !important; align-items: center; justify-content: flex-start; gap: 5px; visibility: visible !important; opacity: 1 !important; border: 1px solid rgba(227,255,113,.2); border-radius: 12px; color: #d7dcd7; background: rgba(227,255,113,.055); font: 500 12px "FKGrotesk",sans-serif; line-height: 1; }
.launch-layout .near-intents-soon strong { color: var(--near-green); font-weight: 700; }
.launch-layout .near-intents-soon span { margin-left: auto; padding: 5px 8px; border: 1px solid rgba(227,255,113,.24); border-radius: 999px; color: var(--near-green); background: rgba(227,255,113,.08); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form-disclaimer { margin: 12px 6px 0; color: #5b5e58; text-align: center; font-size: 8px; line-height: 1.5; }
.preview-panel { position: sticky; top: 126px; }
.preview-label { display: block; margin: 0 0 10px 5px; color: #73776f; font: 500 9px "FKGrotesk",sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.token-preview-card { padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: #121512; box-shadow: var(--shadow); }
.preview-art { height: 230px; border-radius: 17px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(145deg,var(--lilac),var(--mint) 51%,var(--lime)); }
.preview-art::before, .preview-art::after { content: ""; position: absolute; border: 1px solid rgba(9,11,10,.14); border-radius: 50%; }
.preview-art::before { width: 190px; height: 190px; }
.preview-art::after { width: 145px; height: 145px; }
.preview-art span, .preview-art img { width: 105px; height: 105px; border-radius: 50%; position: relative; z-index: 3; box-shadow: 0 25px 45px rgba(26,23,45,.25); }
.preview-art span { display: grid; place-items: center; color: #10120f; background: rgba(255,255,255,.46); font-size: 36px; font-weight: 800; }
.preview-art img { object-fit: cover; }
.preview-art i { position: absolute; top: -35px; left: -30px; width: 130px; height: 85px; border-radius: 50%; background: rgba(255,255,255,.55); filter: blur(25px); }
.preview-meta { padding: 17px 3px 16px; border-bottom: 1px solid var(--line); }
.preview-badge { padding: 5px 7px; border-radius: 6px; color: var(--ink); background: var(--lime); font: 600 8px "FKGrotesk",sans-serif; text-transform: uppercase; }
.preview-meta h3 { margin: 12px 0 3px; font-size: 22px; letter-spacing: -.04em; }
.preview-meta p { margin: 0; color: #898d84; font: 500 10px "FKGrotesk",sans-serif; }
.preview-owner, .preview-supply { padding: 12px 3px 2px; display: flex; justify-content: space-between; gap: 10px; font-size: 9px; }
.preview-owner span, .preview-supply span { color: #666a63; }
.preview-owner strong, .preview-supply strong { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mainnet-card { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; display: flex; align-items: center; gap: 10px; background: #111411; }
.mainnet-card i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 13px var(--lime); }
.mainnet-card div { flex: 1; }
.mainnet-card strong, .mainnet-card span { display: block; }
.mainnet-card strong { font-size: 10px; }
.mainnet-card span { margin-top: 2px; color: #686b65; font-size: 8px; }
.mainnet-card > b { color: var(--lime); font: 500 8px "FKGrotesk",sans-serif; text-transform: uppercase; }

.profile-shell { padding-top: 85px; padding-bottom: 120px; }
.profile-hero { min-height: 260px; padding: 42px; border-radius: 30px; display: flex; align-items: center; gap: 27px; background: linear-gradient(125deg,var(--lilac),var(--mint) 55%,var(--lime)); color: var(--ink); position: relative; overflow: hidden; }
.profile-hero::after { content: ""; position: absolute; width: 380px; height: 380px; border: 1px solid rgba(9,11,10,.13); border-radius: 50%; right: -100px; top: -160px; box-shadow: 0 0 0 42px rgba(9,11,10,.025),0 0 0 84px rgba(9,11,10,.02); }
.profile-avatar { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 28px; display: grid; place-items: center; background: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.42); box-shadow: 0 20px 45px rgba(44,39,72,.16); font-size: 34px; font-weight: 800; }
.profile-hero .section-kicker { color: rgba(9,11,10,.55); }
.profile-hero h1 { margin: 10px 0 5px; max-width: 650px; overflow: hidden; text-overflow: ellipsis; font-size: clamp(32px,5vw,64px); line-height: .95; letter-spacing: -.06em; }
.profile-hero p { margin: 0; color: rgba(9,11,10,.6); font-size: 12px; }
.profile-hero .button { margin-left: auto; position: relative; z-index: 2; background: var(--ink); color: var(--paper); }
.profile-stats { margin-top: 16px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 20px; background: #111411; }
.profile-stats div { padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; border-right: 1px solid var(--line); }
.profile-stats div:last-child { border: 0; }
.profile-stats span { color: #73766f; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.profile-stats strong { font: 500 14px "FKGrotesk",sans-serif; }
.profile-list-head { margin-top: 85px; }
.profile-list-head .button { min-height: 44px; }
.empty-launches.compact { min-height: 285px; }

.not-found { min-height: 72vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.not-found > span { color: var(--lime); font: 500 13px "FKGrotesk",sans-serif; }
.not-found h1 { margin: 10px 0; font-size: 64px; letter-spacing: -.07em; }
.not-found p { color: var(--muted); }
.not-found .button { margin-top: 18px; }

.site-footer { min-height: 170px; padding-block: 45px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-footer > p { color: #6c7068; font-size: 11px; }
.site-footer > div { grid-column: 3; justify-self: end; display: flex; gap: 20px; color: #777a73; font-size: 10px; }
.site-footer a:hover { color: var(--lime); }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 200; min-width: 320px; max-width: calc(100% - 30px); padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; display: flex; align-items: center; gap: 10px; background: rgba(24,28,24,.93); backdrop-filter: blur(18px); box-shadow: var(--shadow); transform: translate(-50%,130px); opacity: 0; pointer-events: none; transition: .35s ease; }
.toast.show { transform: translate(-50%,0); opacity: 1; pointer-events: auto; }
.toast > span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; }
.toast.error > span { background: var(--danger); }
.toast p { flex: 1; margin: 0; font-size: 11px; }
.toast button { border: 0; background: none; color: #777b74; cursor: pointer; font-size: 18px; }

.launch-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.launch-modal-backdrop { position: absolute; inset: 0; background: rgba(3,4,3,.77); backdrop-filter: blur(12px); }
.launch-modal-card { width: min(470px,100%); padding: 44px; border: 1px solid var(--line); border-radius: 28px; background: #141714; text-align: center; position: relative; z-index: 2; box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.05); cursor: pointer; }
.modal-icon { width: 90px; height: 90px; margin: 0 auto 25px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: linear-gradient(145deg,var(--lilac),var(--mint),var(--lime)); box-shadow: 0 25px 50px rgba(184,168,255,.17); font-size: 30px; font-weight: 800; }
.launch-modal h2 { margin: 13px 0 10px; font-size: 34px; line-height: 1.05; letter-spacing: -.055em; }
.launch-modal p { color: #8b8f86; font-size: 12px; line-height: 1.7; }
.launch-modal .button { width: 100%; margin-top: 15px; }
.launch-modal .button + .button { margin-top: 8px; }

.reveal { opacity: 0; transform: translateY(14px); animation: reveal .7s cubic-bezier(.2,.75,.3,1) forwards; }
.delay-1 { animation-delay: .08s; }.delay-2 { animation-delay: .16s; }.delay-3 { animation-delay: .24s; }.delay-4 { animation-delay: .32s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-art { transform: scale(.86); }
  .create-shell { grid-template-columns: .8fr 1.45fr; }
  .preview-panel { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: auto 250px; gap: 15px; align-items: end; }
  .preview-label { grid-column: 1 / -1; }
  .token-preview-card { display: grid; grid-template-columns: 220px 1fr; gap: 18px; }
  .preview-art { height: 220px; grid-row: 1 / 5; }
  .mainnet-card { height: max-content; }
}

@media (max-width: 800px) {
  .shell { width: min(100% - 28px, 680px); }
  .site-header { width: calc(100% - 20px); height: 68px; top: 10px; margin-top: 10px; padding: 0 10px; grid-template-columns: 1fr auto; }
  .brand-mark { width: 40px; height: 40px; }.brand { font-size: 18px; }
  .main-nav { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 60; width: min(360px,calc(100% - 24px)); justify-content: space-around; background: rgba(21,24,21,.9); backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: 0 12px 45px rgba(0,0,0,.38); }
  .main-nav a { flex: 1; text-align: center; padding: 10px 8px; font-size: 11px; }
  .wallet-button { min-height: 42px; padding: 0 13px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 90px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(58px,16vw,88px); }
  .hero-lead { font-size: 15px; }.hero-proof { gap: 20px; flex-wrap: wrap; }
  .hero-art { height: 490px; transform: none; }
  .liquid-card { width: min(390px,90%); }.liquid-sphere { width: 205px; height: 205px; }
  .orbit-a { width: 440px; height: 440px; }.orbit-b { width: 480px; }
  .token-grid, .steps-grid { grid-template-columns: 1fr; }
  .token-card { min-height: 360px; }.token-card-art { height: 225px; }
  .steps-grid article { min-height: 260px; }.step-icon { margin: 35px 0 24px; }
  .create-shell { grid-template-columns: 1fr; padding-top: 65px; }
  .create-intro, .preview-panel { position: static; }
  .create-intro { padding-right: 0; }.create-panel { padding: 24px 18px; }
  .preview-panel { display: block; }.token-preview-card { display: block; }.preview-art { height: 310px; }
  .profile-hero { align-items: flex-start; flex-wrap: wrap; padding: 28px; }.profile-hero .button { margin-left: 0; }
  .profile-stats { grid-template-columns: 1fr; }.profile-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .site-footer { padding-bottom: 105px; grid-template-columns: 1fr; gap: 22px; }.site-footer > div { grid-column: 1; justify-self: start; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .site-header .brand > span { display: none; }
  .wallet-button { max-width: 180px; }
  .hero-actions { flex-direction: column; }.hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-art { height: 400px; }.liquid-card { width: 315px; border-radius: 120px 120px 28px 28px; }.liquid-sphere { width: 165px; height: 165px; }
  .orbit-a { width: 350px; height: 350px; }.orbit-b { width: 380px; }
  .pill-one { left: -2%; }.pill-two { right: -2%; }.art-caption { left: 22px; right: 22px; }
  .launches-section, .how-section { padding-block: 78px; }.section-head { align-items: start; flex-direction: column; }
  .identity-row { align-items: center; }.image-upload { width: 100px; height: 100px; flex-basis: 100px; }
  .field-grid { grid-template-columns: 1fr; }.contract-preview strong { max-width: 235px; }
  .preview-art { height: 240px; }
  .profile-hero { display: block; }.profile-avatar { margin-bottom: 22px; }.profile-hero .button { margin-top: 24px; width: 100%; }
  .profile-list-head { flex-direction: row; align-items: end; }.profile-list-head .button { padding: 0 14px; }
  .launch-modal-card { padding: 38px 22px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* NearPad interface v2 */
.site-header {
  width: min(1240px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  top: 0;
}
.site-header::before { content: ""; position: fixed; z-index: -1; left: 0; right: 0; top: 0; height: 84px; background: rgba(9,11,10,.88); backdrop-filter: blur(22px); border-bottom: 1px solid rgba(255,255,255,.06); }
.brand-mark { width: 40px; height: 40px; }
.site-header .brand-mark { width: 70px; height: 70px; }
.site-header .brand > span { display: none; }
.main-nav { width: 300px; height: 52px; display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; padding: 5px; border: 1px solid rgba(255,255,255,.055); border-radius: 17px; background: #181b18; box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
@media (min-width: 801px) {
  .main-nav:has(#profileNav[hidden]) { width: 204px; grid-template-columns: repeat(2,1fr); }
}
.main-nav a { position: relative; min-width: 0; height: 40px; padding: 0 10px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #969a92; font-size: 12px; text-align: center; }
.main-nav a::after { display: none; }
.main-nav a:hover { color: var(--paper); background: rgba(255,255,255,.055); }
.main-nav a.active { color: #111411; background: #f2f1eb; box-shadow: 0 3px 14px rgba(0,0,0,.28), inset 0 0 0 1px rgba(0,0,0,.08); }
.wallet-button { min-height: 42px; padding-inline: 16px; border-radius: 11px; }

.home-shell { padding-top: 28px; padding-bottom: 130px; }
.home-intro { min-height: 350px; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.5fr); align-items: center; gap: 70px; padding: 24px 0 48px; border-bottom: 1px solid var(--line); }
.home-intro > div { max-width: none; min-width: 0; }
.network-line { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #8d9188; font: 500 10px "FKGrotesk",sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.network-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px rgba(223,255,104,.65); }
.home-intro h1 { margin: 0; font-size: clamp(58px,6.25vw,86px); line-height: .89; letter-spacing: -.073em; font-weight: 600; white-space: normal; }
.home-intro h1 span, .home-intro h1 em { display: block; }
.home-intro h1 em { margin-top: 10px; color: #747a71; font-size: .76em; font-style: normal; font-weight: 500; letter-spacing: -.06em; }
.home-intro h1 strong { color: var(--lime); font-weight: 600; text-shadow: 0 0 34px rgba(223,255,104,.12); }
.home-intro > div:first-child > p { max-width: 600px; margin: 24px 0 0; color: #858980; font-size: 13px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.hero-tags span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; color: #777c73; background: rgba(255,255,255,.025); font: 500 8px "FKGrotesk",sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.home-launch-card { position: relative; overflow: hidden; padding: 23px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: linear-gradient(145deg,rgba(24,29,24,.93),rgba(13,16,14,.8)); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.home-launch-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -70px; top: -85px; border-radius: 50%; background: var(--lime); filter: blur(52px); opacity: .12; pointer-events: none; }
.launch-card-kicker { color: var(--lime); font: 500 8px "FKGrotesk",sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.home-launch-card h2 { margin: 30px 0 12px; font-size: 30px; line-height: 1.02; letter-spacing: -.055em; }
.home-launch-card p { min-height: 0; margin: 0 0 22px; color: #777c73; font-size: 11px; line-height: 1.55; }
.home-launch-card .button { width: 100%; min-height: 46px; justify-content: space-between; padding-inline: 15px; border-radius: 11px; }
.home-launch-card small { display: block; margin-top: 12px; color: #585d56; font: 500 8px "FKGrotesk",sans-serif; text-align: center; text-transform: uppercase; }
.market-section { padding-top: 62px; }
.market-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.market-toolbar h2 { margin: 0; font-size: 30px; letter-spacing: -.05em; }
#latest-title { font-size: 24px; letter-spacing: -.04em; }
.market-toolbar > div > span { display: block; margin-top: 6px; color: #6d7169; font: 500 9px "FKGrotesk",sans-serif; text-transform: uppercase; letter-spacing: .09em; }
.contract-search { width: min(230px,100%); height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 11px; display: flex; align-items: center; gap: 8px; background: #0d100e; transition: border-color .2s ease,box-shadow .2s ease; }
.contract-search:focus-within { border-color: rgba(227,255,113,.45); box-shadow: 0 0 0 3px rgba(227,255,113,.07); }
.contract-search > span { width: 16px; height: 16px; flex: 0 0 16px; display: grid; place-items: center; color: #686c65; }
.contract-search > span svg { width: 16px; height: 16px; display: block; }
.contract-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--paper); background: transparent; font-size: 12px; line-height: 1; }
.contract-search input::placeholder { color: #565a53; }
.contract-search button { height: 34px; padding-inline: 13px; border: 0; border-radius: 8px; color: var(--ink); background: var(--paper); font-size: 10px; font-weight: 800; cursor: pointer; }
.coin-list-shell { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(16,19,16,.72); }
.coin-list-head, .coin-row { display: grid; grid-template-columns: minmax(260px,2fr) minmax(170px,1.25fr) minmax(100px,.9fr) minmax(100px,.75fr) 42px; align-items: center; gap: 20px; }
.coin-list-head { min-height: 48px; padding: 0 20px; color: #62665f; border-bottom: 1px solid var(--line); font: 500 8px "FKGrotesk",sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.coin-row { min-height: 86px; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.07); transition: .2s ease; }
.coin-row:last-child { border-bottom: 0; }
.coin-row:hover { background: rgba(255,255,255,.025); }
.coin-name { min-width: 0; display: flex; align-items: center; gap: 13px; }
.coin-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 15px; overflow: hidden; display: grid; place-items: center; color: var(--ink); background: linear-gradient(145deg,var(--lilac),var(--mint),var(--lime)); font-size: 16px; font-weight: 800; }
.coin-icon img { width: 100%; height: 100%; object-fit: cover; }
.coin-name h3 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; letter-spacing: -.025em; }
.coin-name p { margin: 4px 0 0; color: #747870; font: 500 9px "FKGrotesk",sans-serif; }
.coin-cell { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a2a69d; font: 500 10px "FKGrotesk",sans-serif; }
.coin-cell.supply { color: #d7dad2; }
.coin-cell.time { color: #696d66; }
.coin-open { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; color: #afb2aa; transition: .2s ease; }
.coin-row:hover .coin-open { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.list-empty { min-height: 190px; padding: 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.empty-mark { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); background: linear-gradient(145deg,var(--lilac),var(--mint),var(--lime)); font-weight: 800; }
.list-empty h3 { margin: 0; font-size: 15px; }
.list-empty p { margin: 5px 0 0; color: #6d7169; font-size: 11px; }
.list-empty > a { color: var(--lime); font-size: 11px; font-weight: 700; }

.launch-page { padding-top: 20px; padding-bottom: 80px; }
.page-toolbar { min-height: 58px; margin-bottom: 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.page-toolbar h1 { margin: 0; font-size: 20px; letter-spacing: -.04em; }
.page-toolbar .live-label { justify-self: end; }
.back-link { color: #83877f; font-size: 11px; font-weight: 700; }
.back-link:hover { color: var(--paper); }
.launch-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(290px,.6fr); gap: 0; align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(15,18,15,.86); box-shadow: 0 28px 80px rgba(0,0,0,.18); }
.launch-layout .create-panel { padding: 24px 26px 22px; border: 0; border-radius: 0; background: transparent; }
.launch-layout .preview-panel { position: relative; top: auto; align-self: stretch; padding: 24px; border-left: 1px solid var(--line); background: rgba(255,255,255,.018); }
.launch-layout .preview-label { margin: 0 0 9px; }
.launch-layout .token-preview-card { padding: 11px; border-radius: 17px; box-shadow: none; }
.launch-layout .preview-art { height: 176px; border-radius: 13px; }
.launch-layout .preview-art::before { width: 150px; height: 150px; }
.launch-layout .preview-art::after { width: 112px; height: 112px; }
.launch-layout .preview-art span, .launch-layout .preview-art img { width: 82px; height: 82px; }
.launch-layout .preview-meta { padding: 13px 2px 11px; }
.launch-layout .preview-meta h3 { margin-top: 10px; font-size: 19px; }
.launch-layout .preview-owner, .launch-layout .preview-supply { padding: 9px 2px 1px; }
.launch-layout .mainnet-card { margin-top: 10px; padding: 12px; border-radius: 13px; }
.launch-layout .form-section-head { align-items: center; gap: 10px; margin-bottom: 12px; }
.launch-layout .form-section-head.divider { margin-top: 16px; padding-top: 16px; }
.launch-layout .form-section-head > span { width: 24px; height: 24px; border-radius: 7px; }
.launch-layout .form-section-head h2 { font-size: 14px; }
.launch-layout .form-section-head p { display: none; }
.launch-layout .identity-row { gap: 12px; }
.launch-layout .image-upload { width: 98px; height: 98px; flex-basis: 98px; border-radius: 14px; }
.launch-layout .field-stack { gap: 8px; }
.launch-layout .field > span { margin-bottom: 5px; font-size: 8px; }
.launch-layout .field input, .launch-layout .field select { height: 40px; border-radius: 10px; }
.launch-layout .field textarea { min-height: 64px; padding: 11px 13px 20px; border-radius: 10px; resize: none; }
.launch-layout .create-panel form > .field { margin-top: 11px; }
.launch-layout .field-grid { gap: 10px; }
.launch-layout .links-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.launch-layout .field small { margin-top: 4px; font-size: 8px; }
.launch-layout .input-affix b { top: 11px; }
.launch-layout .contract-preview { margin-top: 14px; min-height: 44px; padding: 9px 11px; border-radius: 10px; }
.launch-layout .cost-row { margin-top: 11px; }
.launch-layout .launch-submit { min-height: 44px; margin-top: 11px; }
.launch-layout .form-disclaimer { margin-top: 8px; line-height: 1.35; }

.profile-shell { padding-top: 72px; padding-bottom: 120px; }
.profile-header { min-height: 180px; padding-bottom: 38px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.profile-identity { min-width: 0; display: flex; align-items: center; gap: 22px; }
.profile-avatar { width: 78px; height: 78px; flex: 0 0 78px; border-radius: 22px; font-size: 25px; }
.profile-header h1 { max-width: 720px; margin: 10px 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(32px,4.4vw,58px); line-height: 1; letter-spacing: -.06em; }
.profile-header p { margin: 0; color: #747870; font-size: 11px; }
.profile-stats { width: 100%; margin-top: 18px; border-radius: 14px; }
.profile-stats div { padding: 18px 22px; }
.profile-list-head { margin-top: 68px; }
.profile-list-head .button { min-height: 43px; }

.coin-page { padding-top: 55px; padding-bottom: 120px; }
.coin-page > .back-link { display: inline-flex; margin-bottom: 30px; }
.coin-loading { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #777b73; font: 500 10px "FKGrotesk",sans-serif; }
.coin-loading span { width: 26px; height: 26px; border: 2px solid rgba(255,255,255,.12); border-top-color: var(--lime); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.coin-error { min-height: 450px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.coin-error h2 { margin: 20px 0 5px; font-size: 32px; }
.coin-error p { color: #777b73; font-size: 12px; }
.coin-error .button { margin-top: 18px; }
.coin-hero-card { min-height: 330px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; display: grid; grid-template-columns: 278px minmax(0,1fr) auto; align-items: center; gap: 38px; background: #111411; }
.coin-hero-art { width: 278px; height: 278px; border-radius: 20px; overflow: hidden; display: grid; place-items: center; color: var(--ink); background: linear-gradient(145deg,var(--lilac),var(--mint) 53%,var(--lime)); position: relative; }
.coin-hero-art::after { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid rgba(9,11,10,.14); border-radius: 50%; box-shadow: 0 0 0 28px rgba(9,11,10,.025); }
.coin-hero-art img, .coin-hero-art > span { width: 128px; height: 128px; border-radius: 50%; position: relative; z-index: 2; }
.coin-hero-art img { object-fit: cover; box-shadow: 0 25px 50px rgba(22,18,45,.22); }
.coin-hero-art > span { display: grid; place-items: center; background: rgba(255,255,255,.43); font-size: 38px; font-weight: 800; }
.onchain-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; color: #858980; font: 500 8px "FKGrotesk",sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.onchain-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.coin-hero-copy h1 { margin: 22px 0 5px; font-size: clamp(46px,6vw,76px); line-height: .9; letter-spacing: -.07em; }
.coin-hero-copy > p { margin: 0; color: var(--lime); font: 500 13px "FKGrotesk",sans-serif; }
.coin-contract { margin-top: 34px; }
.coin-contract > span { display: block; margin-bottom: 8px; color: #5f635c; font: 500 8px "FKGrotesk",sans-serif; text-transform: uppercase; }
.coin-contract button { max-width: 440px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: #a8aca3; background: #0d100e; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.coin-contract strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 9px "FKGrotesk",sans-serif; }
.coin-contract b { color: var(--lime); font-size: 8px; text-transform: uppercase; }
.coin-actions { min-width: 170px; display: grid; gap: 8px; }
.coin-actions .button { width: 100%; }
.coin-metrics { margin-top: 16px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #111411; }
.coin-metrics div { padding: 20px 22px; border-right: 1px solid var(--line); }
.coin-metrics div:last-child { border: 0; }
.coin-metrics span, .coin-metrics strong { display: block; }
.coin-metrics span { color: #666a63; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.coin-metrics strong { margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 11px "FKGrotesk",sans-serif; }
.status-live { color: var(--lime); }
.coin-info-grid { margin-top: 16px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 16px; }
.coin-info-grid article, .coin-info-grid aside { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #111411; }
.coin-info-grid h2 { margin: 12px 0 20px; font-size: 29px; letter-spacing: -.05em; }
.coin-info-grid h3 { margin: 12px 0; font-size: 21px; }
.coin-info-grid p { max-width: 670px; color: #7f837a; font-size: 12px; line-height: 1.75; }
.coin-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.coin-socials a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; color: #aeb1a9; font-size: 10px; }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 28px); }
  .coin-list-head, .coin-row { grid-template-columns: minmax(220px,1.8fr) minmax(100px,.8fr) 40px; }
  .coin-list-head span:nth-child(2), .coin-row > .coin-cell.creator, .coin-list-head span:nth-child(4), .coin-row > .coin-cell.time { display: none; }
  .launch-layout { grid-template-columns: minmax(0,1fr) 290px; }
  .launch-layout .links-grid { grid-template-columns: 1fr; }
  .coin-hero-card { grid-template-columns: 220px minmax(0,1fr); }
  .coin-hero-art { width: 220px; height: 220px; }
  .coin-actions { grid-column: 1 / -1; display: flex; }
  .coin-actions .button { width: auto; }
}

@media (max-width: 800px) {
  .site-header { height: 70px; top: 0; margin-top: 0; }
  .site-header::before { height: 70px; }
  .site-header .brand-mark { width: 58px; height: 58px; }
  .main-nav { position: fixed; left: 12px; right: 12px; bottom: 12px; transform: none; z-index: 60; width: auto; height: 52px; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,21,18,.92); backdrop-filter: blur(18px); }
  .main-nav a { padding: 12px 8px; border-radius: 10px; }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: var(--ink); background: var(--paper); }
  .home-shell { padding-top: 34px; }
  .home-intro { min-height: 0; grid-template-columns: 1fr; align-items: start; gap: 30px; padding: 30px 0 44px; }
  .home-intro h1 { white-space: normal; }
  .home-launch-card { width: 100%; }
  .market-toolbar { align-items: stretch; flex-direction: column; }
  .contract-search { width: min(240px,100%); }
  .launch-layout { grid-template-columns: 1fr; }
  .launch-layout .preview-panel { position: static; display: block; padding: 18px; border-top: 1px solid var(--line); border-left: 0; }
  .token-preview-card { display: block; }
  .preview-art { height: 310px; }
  .page-toolbar { grid-template-columns: 1fr auto; }
  .page-toolbar h1 { grid-row: 2; grid-column: 1 / -1; margin: 25px 0 18px; font-size: 34px; }
  .profile-header { align-items: flex-start; flex-direction: column; }
  .profile-header .button { width: 100%; justify-content: space-between; }
  .profile-stats { grid-template-columns: 1fr; }
  .profile-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .coin-hero-card { grid-template-columns: 1fr; }
  .coin-hero-art { width: 100%; height: 360px; }
  .coin-actions { grid-column: auto; }
  .coin-metrics { grid-template-columns: 1fr 1fr; }
  .coin-metrics div:nth-child(2) { border-right: 0; }
  .coin-metrics div { border-bottom: 1px solid var(--line); }
  .coin-metrics div:nth-child(3), .coin-metrics div:nth-child(4) { border-bottom: 0; }
  .coin-info-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 560px) {
  .site-header .brand > span { display: none; }
  .wallet-button { max-width: 160px; }
  .home-intro h1 { font-size: 44px; }
  .coin-list-head { display: none; }
  .coin-row { min-height: 90px; grid-template-columns: minmax(0,1fr) auto 34px; gap: 10px; padding: 14px; }
  .coin-row > .coin-cell.supply::before { content: "Supply "; color: #60645d; }
  .coin-icon { width: 48px; height: 48px; flex-basis: 48px; }
  .list-empty { grid-template-columns: auto 1fr; padding: 24px 18px; }
  .list-empty > a { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); }
  .create-panel { padding: 22px 16px; }
  .identity-row { align-items: stretch; flex-direction: column; }
  .launch-layout .create-panel { padding: 18px 15px; }
  .launch-layout .image-upload { width: 100%; height: 128px; flex-basis: 128px; }
  .field-grid { grid-template-columns: 1fr; }
  .profile-identity { align-items: flex-start; flex-direction: column; }
  .profile-header h1 { white-space: normal; font-size: 34px; }
  .profile-list-head { align-items: end; flex-direction: row; }
  .coin-hero-card { padding: 14px; }
  .coin-hero-art { height: 290px; }
  .coin-hero-copy { padding: 8px; }
  .coin-actions { padding: 0 8px 8px; flex-direction: column; }
  .coin-actions .button { width: 100%; }
  .coin-metrics { grid-template-columns: 1fr; }
  .coin-metrics div, .coin-metrics div:nth-child(2), .coin-metrics div:nth-child(3) { border-right: 0; border-bottom: 1px solid var(--line); }
  .coin-metrics div:last-child { border-bottom: 0; }
}

/* Full launchpad market and creator revenue */
.profile-stats { grid-template-columns: repeat(4,1fr); }
.profile-revenue {
  margin-top: 18px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 22px;
  background: linear-gradient(115deg,rgba(223,255,104,.055),rgba(184,168,255,.035)),#111411;
}
.profile-revenue h2 { margin: 9px 0 4px; font-size: 27px; letter-spacing: -.045em; }
.profile-revenue p { margin: 0; color: #797d75; font-size: 11px; }
.profile-revenue .button[disabled] { opacity: .46; cursor: not-allowed; transform: none; box-shadow: none; }
.reward-list { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 13px; }
.reward-list > p { margin: 4px 0; color: #666a63; font-size: 11px; }
.reward-list > div { min-height: 52px; padding: 8px 2px; border-bottom: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.reward-list > div:last-child { border-bottom: 0; }
.reward-list span, .reward-list small { display: block; }
.reward-list b { font-size: 12px; }
.reward-list small { margin-top: 3px; color: #666a63; font: 500 8px "FKGrotesk",sans-serif; }
.reward-list strong { color: var(--lime); font: 500 11px "FKGrotesk",sans-serif; }

.trading-layout { margin-top: 16px; display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 16px; align-items: start; }
.chart-panel, .swap-panel { border: 1px solid var(--line); background: #111411; }
.chart-panel { min-width: 0; border-radius: 18px; overflow: hidden; }
.chart-toolbar { min-height: 82px; padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.chart-toolbar h2 { margin: 8px 0 0; font-size: 20px; letter-spacing: -.04em; }
.timeframe-switch { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #0c0f0d; }
.timeframe-switch button { min-width: 40px; height: 31px; padding: 0 9px; border: 0; border-radius: 7px; color: #73776f; background: transparent; font: 600 9px "FKGrotesk",sans-serif; cursor: pointer; }
.timeframe-switch button.active { color: var(--ink); background: var(--lime); }
.chart-wrap { height: 420px; position: relative; background: radial-gradient(circle at 42% 24%,rgba(223,255,104,.045),transparent 34%),#101310; }
#coinChart { width: 100%; height: 100%; display: block; }
.chart-source { position: absolute; right: 16px; bottom: 12px; z-index: 2; color: rgba(223,255,104,.7); font: 600 8px "FKGrotesk",sans-serif; letter-spacing: .12em; pointer-events: none; }
.chart-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 30%,rgba(223,255,104,.035),transparent 45%); }
.chart-empty strong { font-size: 14px; }
.chart-empty span { margin-top: 6px; color: #676b64; font-size: 10px; }
.trades-head { min-height: 58px; padding: 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.trades-head > div { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.trades-head h3 { margin: 0; font-size: 14px; }
.trades-head span { color: #666a63; font: 500 9px "FKGrotesk",sans-serif; }
.trade-list { min-height: 85px; max-height: 360px; overflow: auto; }
.trade-list > p { margin: 0; min-height: 85px; display: grid; place-items: center; color: #666a63; font-size: 10px; }
.trade-table-head,
.trade-row {
  min-width: 520px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 66px 48px 76px 70px minmax(88px,1fr) 32px;
  align-items: center;
  gap: 8px;
}
.trade-table-head {
  min-height: 34px;
  position: sticky;
  top: 0;
  z-index: 2;
  color: #646a62;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: #0d100e;
  font: 600 8px "FKGrotesk",sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trade-row { min-height: 50px; border-bottom: 1px solid rgba(255,255,255,.055); color: #92978e; font: 500 9px "FKGrotesk",sans-serif; }
.trade-row > :nth-child(3),
.trade-row > :nth-child(4),
.trade-table-head > :nth-child(3),
.trade-table-head > :nth-child(4) { text-align: right; }
.trade-row time { color: #696f67; }
.trade-row b { font-size: 9px; letter-spacing: .04em; }
.trade-row.buy b,
.trade-row b.buy { color: var(--lime); }
.trade-row.sell b,
.trade-row b.sell { color: var(--danger); }
.trade-row.buy > strong { color: var(--lime); }
.trade-row.sell > strong { color: var(--danger); }
.trade-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trade-row a { color: #b8bdb5; text-decoration: none; }
.trade-row a:hover { color: var(--lime); }
.trade-trader { text-align: left; }
.trade-tx-link { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 8px; display: inline-grid; place-items: center; }
.coin-activity-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 16px; }
.coin-activity-grid > .activity-panel { height: 100%; grid-column: auto; display: flex; flex-direction: column; }
.activity-panel { min-width: 0; overflow: hidden; color: #fff; border: 1px solid var(--line); border-radius: 18px; background: #111411; }
.activity-panel .trades-head { border-top: 0; }
.holder-list { min-height: 85px; max-height: 334px; overflow: auto; }
.holder-list > p { margin: 0; min-height: 85px; display: grid; place-items: center; color: #666a63; font-size: 10px; }
.holder-table-head,
.holder-row { padding: 0 20px; display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.holder-table-head { min-height: 34px; position: sticky; top: 0; z-index: 2; color: #646a62; border-bottom: 1px solid rgba(255,255,255,.07); background: #0d100e; font: 600 8px "FKGrotesk",sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.holder-table-head span:last-child { text-align: right; }
.holder-row { min-height: 50px; border-bottom: 1px solid rgba(255,255,255,.055); color: #858980; font: 500 9px "FKGrotesk",sans-serif; }
.holder-row:last-child { border-bottom: 0; }
.holder-row b { color: #62665f; }
.holder-row a { overflow: hidden; color: #aeb3ac; text-overflow: ellipsis; white-space: nowrap; }
.holder-row a:hover { color: var(--lime); }
.holder-row strong { color: #fff; font-weight: 500; }

.swap-panel { padding: 18px; border-radius: 18px; position: sticky; top: 102px; }
.swap-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 11px; background: #0b0e0c; }
.swap-tabs button { height: 40px; border: 0; border-radius: 8px; color: #7d8179; background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.swap-tabs button.active { color: var(--ink); background: var(--lime); }
.swap-field { display: block; margin-top: 20px; }
.swap-field > span { display: block; margin-bottom: 8px; color: #6d7169; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.swap-field > div { min-height: 76px; padding: 0 15px; border: 1px solid var(--line); border-radius: 13px; display: flex; align-items: center; gap: 12px; background: #0c0f0d; }
.swap-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--paper); background: transparent; font: 600 25px "FKGrotesk",sans-serif; }
.swap-field input::placeholder { color: #3f433e; }
.swap-field strong { color: var(--lime); font: 600 11px "FKGrotesk",sans-serif; }
.swap-chips { margin-top: 8px; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.swap-chips[data-mode="percent"] { grid-template-columns: repeat(5,minmax(0,1fr)); }
.swap-chips button { height: 32px; border: 1px solid var(--line); border-radius: 8px; color: #969a91; background: rgba(255,255,255,.025); font-size: 9px; cursor: pointer; }
.swap-chips button:hover { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.swap-summary { margin-top: 20px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.swap-summary span { display: flex; justify-content: space-between; color: #686c65; font-size: 9px; }
.swap-summary b { color: #bfc2ba; font-weight: 600; }
.swap-submit { width: 100%; margin-top: 16px; }
.swap-submit[disabled] { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.swap-recovery { width: 100%; margin-top: 8px; }
.swap-panel > p { margin: 11px 4px 0; color: #5f635c; font-size: 9px; line-height: 1.6; text-align: center; }

.coin-detail-metrics { margin-top: 16px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #111411; }
.coin-detail-metrics > div { min-width: 0; padding: 18px 20px; border-right: 1px solid var(--line); }
.coin-detail-metrics > div:last-child { border-right: 0; }
.coin-detail-metrics span, .coin-detail-metrics strong { display: block; }
.coin-detail-metrics span { color: #666a63; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.coin-detail-metrics strong { margin-top: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 10px "FKGrotesk",sans-serif; }
.coin-detail-metrics #coinOwner { color: inherit; text-decoration: none; transition: color .18s ease; }
.coin-detail-metrics #coinOwner[href]:hover { color: var(--near-green); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .trading-layout { grid-template-columns: 1fr; }
  .swap-panel { position: static; }
}
@media (max-width: 800px) {
  .profile-stats { grid-template-columns: 1fr 1fr; }
  .profile-stats div:nth-child(2) { border-right: 0; }
  .profile-revenue { grid-template-columns: 1fr; padding: 22px; }
  .profile-revenue .button { width: 100%; }
  .reward-list { grid-column: auto; }
  .chart-toolbar { align-items: flex-start; flex-direction: column; }
  .chart-wrap { height: 340px; }
  .coin-detail-metrics { grid-template-columns: 1fr 1fr; }
  .coin-detail-metrics > div:nth-child(2) { border-right: 0; }
  .coin-detail-metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .profile-stats { grid-template-columns: 1fr; }
  .profile-stats div { border-right: 0; }
  .chart-wrap { height: 300px; }
  .timeframe-switch { width: 100%; }
  .timeframe-switch button { flex: 1; }
  .trade-table-head,
  .trade-row { min-width: 500px; padding-inline: 12px; grid-template-columns: 62px 46px 72px 66px minmax(82px,1fr) 30px; gap: 7px; }
  .holder-row { padding-inline: 14px; grid-template-columns: 28px minmax(0,1fr) auto; }
  .holder-row strong { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .coin-detail-metrics { grid-template-columns: 1fr; }
  .coin-detail-metrics > div, .coin-detail-metrics > div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .coin-detail-metrics > div:last-child { border-bottom: 0; }
}

/* NEAR-inspired visual system */
@font-face { font-family: "FKGrotesk"; src: url("https://www.near.org/fonts/FKGrotesk.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "FKGrotesk"; src: url("https://www.near.org/fonts/FKGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "FKGrotesk"; src: url("https://www.near.org/fonts/FKGrotesk-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
:root { --near-green: #e3ff71; --near-mint: #b6f9d2; --near-lilac: #b8a7ff; --near-paper: #f3f5f1; --near-black: #050705; --lime: #e3ff71; --mint: #b6f9d2; --lilac: #b8a7ff; }
html, body { background: var(--near-paper); }
body { color: var(--near-black); font-family: "FKGrotesk",sans-serif; }
button, input, textarea, select { font-family: inherit; }
body::before { opacity: .018; }
.ambient { display: none; }
.brand { font-family: "FKGrotesk",sans-serif; font-weight: 400; letter-spacing: -.045em; }
.site-header { color: var(--near-black); border-bottom-color: rgba(5,7,5,.14); }
.site-header::before { background: rgba(247,249,246,.92); border-bottom-color: rgba(5,7,5,.1); }
.site-header .brand { gap: 2px; }
.site-header .brand-mark { color: var(--near-black); }
.site-header .brand > span { display: inline-flex; align-items: baseline; color: var(--near-black); font-size: 28px; line-height: 1; letter-spacing: -.065em; }
.site-header .brand > span > span { color: var(--near-green); }
.main-nav { border-color: rgba(5,7,5,.07); background: #e6e9e4; box-shadow: inset 0 1px 0 rgba(255,255,255,.75); }
.main-nav a { color: #666b66; }
.main-nav a:hover { color: var(--near-black); background: rgba(255,255,255,.65); }
.main-nav a.active { color: #fff; background: var(--near-black); box-shadow: none; }
.wallet-button { color: var(--near-black); background: var(--near-green); border-radius: 999px; }
.wallet-button:hover { box-shadow: 0 9px 30px rgba(227,255,113,.22); }
.wallet-dot { background: var(--near-black); }
.home-shell { padding-top: 24px; padding-bottom: 72px; }
.home-intro { min-height: 300px; padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 26px; display: block; position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 18% 26%,rgba(227,255,113,.12),transparent 34%),radial-gradient(circle at 68% 48%,rgba(182,249,210,.08),transparent 34%),radial-gradient(circle at 88% 18%,rgba(184,167,255,.09),transparent 29%),linear-gradient(125deg,#0b0e0c,#111612 55%,#17141d); box-shadow: 0 26px 76px rgba(0,0,0,.24); }
.home-intro::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg,rgb(19 22 18) 0%,rgb(3 6 4 / 0%) 35%,rgba(3,6,4,.2) 63%,rgba(4,6,5,.18) 100%),linear-gradient(to bottom,rgba(255,255,255,.018),transparent 38%,rgba(0,0,0,.1)) !important; }
.near-flow-canvas { display: none; }
.near-star-field { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; opacity: .24; background-image: url("/favicon.svg"); background-repeat: repeat; background-size: 72px 72px; background-position: 0 0; animation: nearLogoFlow 6s linear infinite !important; will-change: background-position; transform: translateZ(0); -webkit-mask-image: linear-gradient(90deg,rgba(0,0,0,.34),rgba(0,0,0,.72) 52%,rgba(0,0,0,.5)); mask-image: linear-gradient(90deg,rgba(0,0,0,.34),rgba(0,0,0,.72) 52%,rgba(0,0,0,.5)); }
.near-star-field::before, .near-star-field::after { display: none; }
@keyframes nearLogoFlow { to { background-position: -144px 0; } }
.home-hero-panel { width: 100%; min-height: 300px; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(310px,360px); position: relative; z-index: 2; overflow: hidden; color: #fff; background: transparent; border-radius: inherit; box-shadow: none; }
.home-hero-panel::after { display: none; }
.home-hero-copy, .home-launch-card { position: relative; z-index: 2; }
.home-hero-copy { padding: clamp(38px,4.2vw,52px); display: flex; flex-direction: column; justify-content: center; }
.network-line { color: rgba(255,255,255,.58); }
.network-line i { background: var(--near-green); box-shadow: 0 0 16px rgba(227,255,113,.48); }
.home-intro h1 { margin: 0; max-width: 760px; color: #fff; font-family: "FKGrotesk",sans-serif; font-size: clamp(52px,4.8vw,68px); font-weight: 400; line-height: .91; letter-spacing: -.058em; }
.home-intro h1 em { margin-top: 8px; color: var(--near-green); font-size: .72em; font-weight: 400; letter-spacing: -.048em; }
.home-intro h1 strong { color: inherit; font-weight: 400; text-shadow: none; }
.home-hero-description { max-width: 590px; margin: 22px 0 0; color: rgba(255,255,255,.66); font-size: 14px; font-weight: 400; line-height: 1.55; letter-spacing: -.01em; }
.home-launch-card { margin: 16px 16px 16px 0; padding: 26px 28px 24px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: radial-gradient(circle at 88% 12%,rgba(184,167,255,.08),transparent 34%),rgba(8,10,9,.62); box-shadow: inset 0 1px 0 rgba(255,255,255,.035),0 20px 50px rgba(0,0,0,.2); backdrop-filter: blur(18px) saturate(1.08); }
.home-launch-card > * { position: relative; z-index: 1; }
.home-launch-card::before { content: ""; position: absolute; z-index: 0; width: 122px; height: 122px; right: -54px; top: -58px; border: 1px solid rgba(227,255,113,.13); border-radius: 50%; box-shadow: 0 0 0 26px rgba(227,255,113,.022),0 0 0 52px rgba(184,167,255,.018); }
.home-launch-card::after { content: ""; position: absolute; z-index: 0; right: 28px; bottom: 16px; left: 28px; height: 1px; background: linear-gradient(90deg,rgba(227,255,113,.55),rgba(184,167,255,.15),transparent); opacity: .5; }
.home-launch-head { position: absolute; top: 26px; right: 26px; display: flex; align-items: center; justify-content: flex-end; }
.home-launch-mark { width: 60px; height: 60px; flex: 0 0 60px; filter: drop-shadow(0 0 18px rgba(227,255,113,.16)); }
.launch-card-kicker { color: var(--near-green); }
.home-launch-card h2 { max-width: none; margin: 30px 0 22px; color: #fff; font-size: clamp(36px,2.7vw,46px); font-weight: 400; line-height: .96; letter-spacing: -.05em; white-space: nowrap; }
.home-launch-card h2 em { color: var(--near-green); font-style: normal; font-weight: inherit; }
.home-launch-card p { color: rgba(255,255,255,.56); }
.home-launch-card .button { width: 100%; min-height: 50px; padding-inline: 18px; color: var(--near-black); background: var(--near-green); border-radius: 13px; box-shadow: 0 10px 28px rgba(227,255,113,.1); }
.home-launch-card .button:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(227,255,113,.2); }
.home-launch-card small { color: rgba(255,255,255,.42); }
.market-section { color: var(--near-black); }
.market-toolbar h2 { font-family: "FKGrotesk",sans-serif; font-weight: 400; }
.market-toolbar > div > span { color: #747a74; }
.contract-search { border-color: rgba(5,7,5,.14); background: #fff; }
.contract-search input { color: var(--near-black); }
.contract-search input::placeholder { color: #8b908b; }
.contract-search button { color: #fff; background: var(--near-black); }
.coin-list-shell { border-color: rgba(5,7,5,.14); background: #fff; }
.coin-list-head { color: #777d77; border-bottom-color: rgba(5,7,5,.12); }
.coin-row { border-bottom-color: rgba(5,7,5,.1); }
.coin-row:hover { background: #f4f7f3; }
.coin-name h3 { color: var(--near-black); }
.coin-name p, .coin-cell, .list-empty p { color: #707670; }
.coin-cell.supply { color: #262b27; }
.coin-cell.time { color: #7d827d; }
.coin-open { color: #434943; border-color: rgba(5,7,5,.14); }
.coin-row:hover .coin-open { color: var(--near-black); border-color: var(--near-green); background: var(--near-green); }
.empty-mark, .coin-icon { background: linear-gradient(145deg,var(--near-mint),var(--near-green)); }
.list-empty h3 { color: var(--near-black); }
.list-empty > a { color: #087b52; }
.button-primary { color: var(--near-black); background: var(--near-green); }
.button-primary:hover { box-shadow: 0 12px 38px rgba(227,255,113,.2); }
.button-ghost { color: var(--near-black); background: #fff; border-color: rgba(5,7,5,.14); }
.launch-page, .profile-shell, .coin-page { color: var(--near-black); }
.page-toolbar { border-bottom-color: rgba(5,7,5,.14); }
.back-link { color: #505650; }
.back-link:hover { color: var(--near-black); }
.live-label { color: #505650; border-color: rgba(5,7,5,.14); }
.launch-layout { color: #fff; border-color: rgba(5,7,5,.35); background: var(--near-black); box-shadow: 0 28px 80px rgba(10,32,20,.15); }
.launch-layout .preview-panel { border-left-color: rgba(255,255,255,.12); }
.launch-layout .button-primary { background: var(--near-green); }
.launch-layout .contract-preview { border-color: rgba(227,255,113,.2); background: rgba(227,255,113,.05); }
.launch-layout .contract-preview > b { background: var(--near-green); }
.profile-header { border-bottom-color: rgba(5,7,5,.14); }
.profile-header p { color: #697069; }
.profile-avatar { color: var(--near-black); background: var(--near-green); border-color: rgba(5,7,5,.08); box-shadow: none; }
.profile-stats { color: #fff; border-color: rgba(5,7,5,.2); background: var(--near-black); }
.profile-stats div { border-right-color: rgba(255,255,255,.12); }
.profile-stats span { color: #858c85; }
.profile-revenue { color: #fff; border-color: rgba(5,7,5,.2); background: var(--near-black); }
.profile-revenue p, .reward-list > p, .reward-list small { color: #858c85; }
.reward-list, .reward-list > div { border-color: rgba(255,255,255,.12); }
.coin-page > .back-link { color: #535a53; }
.coin-hero-card { color: #fff; border-color: rgba(5,7,5,.2); background: var(--near-black); }
.coin-hero-art { background: linear-gradient(145deg,var(--near-mint),var(--near-green)); }
.coin-metrics { color: var(--near-black); border-color: rgba(5,7,5,.14); background: #fff; }
.coin-metrics div { border-right-color: rgba(5,7,5,.12); }
.coin-metrics span { color: #747a74; }
.coin-info-grid article, .coin-info-grid aside { color: var(--near-black); border-color: rgba(5,7,5,.14); background: #fff; }
.coin-info-grid p { color: #686f68; }
.coin-socials a { color: #3e453f; border-color: rgba(5,7,5,.14); }
.chart-panel, .swap-panel, .coin-detail-metrics { color: #fff; border-color: rgba(5,7,5,.2); background: var(--near-black); }
.chart-toolbar, .trades-head, .swap-summary, .coin-detail-metrics > div { border-color: rgba(255,255,255,.12); }
.coin-loading, .coin-error { color: #666d66; }
.site-footer { min-height: 104px; margin-bottom: 24px; padding: 0 24px; position: relative; overflow: hidden; grid-template-columns: 1fr auto; color: #fff; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: radial-gradient(circle at 7% 50%,rgba(227,255,113,.055),transparent 26%),linear-gradient(125deg,#171a18,#111411); box-shadow: 0 18px 58px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.025); backdrop-filter: blur(14px); }
.site-footer::before { content: ""; position: absolute; top: 0; right: 24px; left: 24px; height: 1px; background: linear-gradient(90deg,transparent,rgba(227,255,113,.28),rgba(184,167,255,.18),transparent); }
.site-footer .brand { gap: 7px; }
.site-footer .brand-mark { width: 46px; height: 46px; color: var(--near-green); }
.site-footer .brand > span { font-size: 20px; letter-spacing: -.045em; }
.site-footer > p, .site-footer > div { color: #8f9690; }
.site-footer > div { grid-column: 2; align-items: center; gap: 8px; }
.site-footer > div a { padding: 8px 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; color: #a5aba6; background: rgba(255,255,255,.025); transition: color .2s ease,border-color .2s ease,background .2s ease; }
.site-footer > div > a.footer-social-link { inline-size: 34px !important; min-inline-size: 34px !important; max-inline-size: 34px !important; block-size: 34px !important; min-block-size: 34px !important; max-block-size: 34px !important; width: 34px !important; min-width: 34px !important; max-width: 34px !important; height: 34px !important; min-height: 34px !important; max-height: 34px !important; aspect-ratio: 1 / 1; box-sizing: border-box; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; overflow: hidden; border-radius: 50% !important; line-height: 0; }
.site-footer .footer-social-link svg { width: 15px !important; min-width: 15px !important; max-width: 15px !important; height: 15px !important; min-height: 15px !important; max-height: 15px !important; display: block; flex: 0 0 15px; fill: currentColor; }
.site-footer > div a:hover { color: #050705; border-color: var(--near-green); background: var(--near-green); }
.site-footer > div span { margin-left: 6px; padding-left: 14px; border-left: 0; }
@media (max-width: 800px) {
  .site-footer { min-height: auto; padding: 24px 20px 92px; grid-template-columns: 1fr; gap: 18px; }
  .site-footer > div { grid-column: 1; justify-self: start; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .site-footer > div span { width: 100%; margin: 4px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255,255,255,.09); border-left: 0; }
}

@keyframes nearLogoFlowMobile { to { background-position: -86px 0; } }

@media (max-width: 800px) {
  .main-nav { background: rgba(243,245,241,.94); border-color: rgba(5,7,5,.14); }
  .main-nav a.active { color: var(--near-black); background: var(--near-green); }
  .home-intro { width: 100%; min-width: 0; max-width: 100%; min-height: 0; padding: 0; border-radius: 20px; }
  .home-intro::before { display: none; }
  .near-star-field { display: block; opacity: .19; background-size: 43px 43px; animation: nearLogoFlowMobile 5.5s linear infinite !important; }
  .home-hero-panel { width: 100%; min-width: 0; max-width: 100%; min-height: 0; grid-template-columns: minmax(0,1fr); }
  .home-hero-copy { min-width: 0; padding: 34px 28px 22px; }
  .home-intro h1 { max-width: 100%; font-size: clamp(40px,8.2vw,56px); overflow-wrap: normal; }
  .home-launch-card { width: calc(100% - 28px); min-width: 0; max-width: calc(100% - 28px); box-sizing: border-box; margin: 0 14px 14px; padding: 16px 18px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: radial-gradient(circle at 88% 12%,rgba(184,167,255,.08),transparent 34%),rgba(8,10,9,.72); }
  .home-launch-card::after { display: none; }
  .home-launch-head { position: static; grid-column: 1; }
  .home-launch-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .home-launch-card h2 { grid-column: 2; max-width: 100%; margin: 0; font-size: 26px; white-space: nowrap; }
  .home-launch-card .button { grid-column: 3; width: auto; max-width: 100%; min-height: 44px; box-sizing: border-box; padding-inline: 15px; white-space: nowrap; }
  .launch-layout .preview-panel { border-top-color: rgba(255,255,255,.12); }
  .profile-stats div { border-right: 0; border-bottom-color: rgba(255,255,255,.12); }
}

@media (max-width: 560px) {
  .site-header .brand { gap: 0; }
  .site-header .brand-mark { width: 54px; height: 54px; }
  .site-header .brand > span { display: inline-flex; font-size: 20px; }
  .home-intro { padding: 0; border-radius: 18px; }
  .near-star-field { opacity: .17; }
  .home-hero-copy { padding: 28px 20px 18px; }
  .home-intro h1 { font-size: clamp(34px,10vw,42px); line-height: .92; }
  .home-launch-card { width: calc(100% - 20px); max-width: calc(100% - 20px); margin: 0 10px 10px; padding: 11px 12px; gap: 9px; border-radius: 14px; }
  .home-launch-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .home-launch-card h2 { font-size: clamp(18px,5.2vw,21px); }
  .home-launch-card .button { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .site-footer { margin-inline: 12px; width: calc(100% - 24px); }
}

@media (max-width: 360px) {
  .home-hero-copy { padding-inline: 17px; }
  .home-intro h1 { font-size: 33px; }
  .home-launch-card { grid-template-columns: auto minmax(0,1fr); }
  .home-launch-card .button { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-panel::after { animation: nearDots 4.5s linear infinite !important; animation-duration: 4.5s !important; animation-iteration-count: infinite !important; }
}

/* Persistent dark/light theme */
html[data-theme="dark"] {
  color-scheme: dark;
  --theme-bg: #101210;
  --theme-surface: #1e211f;
  --theme-surface-2: #191c1a;
  --theme-text: #f7f8f6;
  --theme-muted: #969d98;
  --theme-line: rgba(255,255,255,.09);
  --theme-hover: #272b28;
  --theme-header: rgba(16,18,16,.9);
}
html[data-theme="light"] {
  color-scheme: light;
  --theme-bg: #f3f5f1;
  --theme-surface: #ffffff;
  --theme-surface-2: #e6e9e4;
  --theme-text: #050705;
  --theme-muted: #707970;
  --theme-line: rgba(5,7,5,.14);
  --theme-hover: #f4f7f3;
  --theme-header: rgba(247,249,246,.92);
}
html, body { background: var(--theme-bg); }
body { color: var(--theme-text); }
.site-header { color: var(--theme-text); border-bottom-color: var(--theme-line); }
.site-header::before { background: var(--theme-header); border-bottom-color: var(--theme-line); }
.site-header .brand-mark, .site-header .brand > span { color: var(--theme-text); }
.site-header .brand > span > span { color: var(--near-green); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 42px; min-width: 42px; max-width: 42px; height: 42px; flex: 0 0 42px; padding: 0; border: 1px solid var(--theme-line); border-radius: 50%; display: inline-grid; place-items: center; color: var(--theme-text); background: var(--theme-surface-2); overflow: hidden; cursor: pointer; transition: transform .2s ease,background .2s ease,border-color .2s ease; }
.theme-toggle:hover { transform: translateY(-1px); border-color: rgba(227,255,113,.55); }
.theme-toggle-icon { width: 22px; height: 22px; display: block; }
.main-nav { border-color: var(--theme-line); background: var(--theme-surface-2); }
.main-nav a { color: var(--theme-muted); }
.main-nav a:hover { color: var(--theme-text); background: var(--theme-hover); }
.main-nav a.active { color: var(--theme-bg); background: var(--theme-text); }
.market-section, .launch-page, .profile-shell, .coin-page, .not-found { color: var(--theme-text); }
.market-toolbar > div > span, .profile-header p, .coin-loading, .coin-error { color: var(--theme-muted); }
.contract-search, .coin-list-shell, .button-ghost, .coin-metrics, .coin-info-grid article, .coin-info-grid aside { color: var(--theme-text); border-color: var(--theme-line); background: var(--theme-surface); }
.contract-search input { color: var(--theme-text); }
.contract-search input::placeholder { color: var(--theme-muted); }
.contract-search button { color: var(--theme-bg); background: var(--theme-text); }
.coin-list-head, .coin-row, .page-toolbar, .profile-header, .coin-metrics div { border-color: var(--theme-line); }
.coin-list-head, .coin-name p, .coin-cell, .coin-cell.time, .coin-metrics span, .coin-info-grid p { color: var(--theme-muted); }
.coin-name h3, .coin-cell.supply, .list-empty h3, .coin-metrics, .coin-info-grid article, .coin-info-grid aside { color: var(--theme-text); }
.coin-row:hover { background: var(--theme-hover); }
.coin-open, .coin-socials a, .live-label, .back-link, .coin-page > .back-link { color: var(--theme-muted); border-color: var(--theme-line); }
.back-link:hover, .coin-socials a:hover { color: var(--theme-text); }
.list-empty > a { color: var(--near-green); }
.button-ghost { color: var(--theme-text); }
html[data-theme="light"] .button-ghost { color: #050705; }
html[data-theme="dark"] .home-shell + * { color: var(--theme-text); }
html[data-theme="dark"] .empty-mark, html[data-theme="dark"] .coin-icon { color: #050705; }
html[data-theme="dark"] .site-footer { border: 1px solid rgba(255,255,255,.08); }
html[data-theme="light"] .site-footer { border: 0; }
@media (max-width: 800px) {
  .main-nav { background: var(--theme-header); border-color: var(--theme-line); }
  .header-actions { gap: 6px; }
}
/* The theme control remains icon-only at every viewport size. */

html[data-theme="dark"] body { background: radial-gradient(circle at 82% 7%,rgba(227,255,113,.055),transparent 28%),radial-gradient(circle at 12% 46%,rgba(227,255,113,.028),transparent 30%),var(--theme-bg); }
html[data-theme="dark"] .site-header::before { background: rgba(16,18,16,.88); box-shadow: 0 12px 34px rgba(0,0,0,.16); }
html[data-theme="dark"] .main-nav { border-color: rgba(255,255,255,.08); background: #1b1e1c; box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
html[data-theme="dark"] .main-nav a.active { color: #03140d; background: var(--near-green); box-shadow: 0 8px 22px rgba(227,255,113,.13); }
html[data-theme="dark"] .theme-toggle { background: #1b1e1c; }
html[data-theme="dark"] .market-section { margin-top: 46px; padding: 32px; border: 1px solid var(--theme-line); border-radius: 28px; background: #171a18; box-shadow: 0 28px 80px rgba(0,0,0,.16); }
html[data-theme="dark"] .contract-search { background: #202321; border-radius: 16px; }
html[data-theme="dark"] .contract-search button { color: #03140d; background: var(--near-green); border-radius: 11px; }
html[data-theme="dark"] .coin-list-shell { border-radius: 24px; background: #1e211f; box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
html[data-theme="dark"] .coin-row:hover { background: #272b28; }
html[data-theme="dark"] .coin-open { background: #191c1a; }
html[data-theme="dark"] .button-ghost { background: #1e211f; }
html[data-theme="dark"] .page-toolbar { border-bottom-color: var(--theme-line); }
html[data-theme="dark"] .coin-metrics, html[data-theme="dark"] .coin-info-grid article, html[data-theme="dark"] .coin-info-grid aside { background: #1e211f; }
html[data-theme="dark"] .list-empty > a, html[data-theme="dark"] .text-link { color: var(--near-green); }
@media (max-width: 800px) {
  html[data-theme="dark"] .market-section { margin-top: 42px; padding: 22px; border-radius: 22px; }
}

/* Refined create and profile workspaces */
.launch-page { padding-top: 24px; padding-bottom: 96px; }
.page-toolbar { min-height: 64px; margin-bottom: 16px; padding-inline: 4px; border-bottom: 0; }
.page-toolbar h1 { font-size: 24px; font-weight: 500; letter-spacing: -.045em; }
.page-toolbar .live-label { padding: 8px 12px; border-radius: 999px; background: var(--theme-surface-2); }

.launch-layout {
  grid-template-columns: minmax(0,1fr) 350px;
  gap: 14px;
  align-items: start;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.launch-layout .create-panel {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0,rgba(227,255,113,.045),transparent 32%),
    #111411;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.launch-layout .preview-panel {
  position: sticky;
  top: 108px;
  align-self: start;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 0,rgba(182,249,210,.045),transparent 38%),
    #111411;
  box-shadow: 0 24px 70px rgba(0,0,0,.14);
}
.launch-layout .form-section-head { gap: 12px; margin-bottom: 16px; }
.launch-layout .form-section-head.divider { margin-top: 24px; padding-top: 22px; border-top-color: rgba(255,255,255,.08); }
.launch-layout .form-section-head > span { width: 28px; height: 28px; border-radius: 8px; }
.launch-layout .form-section-head h2 { font-size: 16px; font-weight: 600; }
.launch-layout .form-section-head p { display: block; margin-top: 3px; color: #747a74; font-size: 10px; }
.launch-layout .identity-row { gap: 14px; }
.launch-layout .image-upload { width: 108px; height: 108px; flex-basis: 108px; border-radius: 16px; border-color: rgba(227,255,113,.22); background: #151916; }
.launch-layout .upload-preview { color: #858b84; background: radial-gradient(circle,rgba(227,255,113,.05),transparent 68%); }
.launch-layout .field-stack { gap: 10px; }
.launch-layout .field > span { margin-bottom: 6px; color: #b8bdb8; font-size: 9px; }
.launch-layout .field input,
.launch-layout .field select { height: 46px; padding-inline: 14px; border-radius: 12px; }
.launch-layout .field textarea { min-height: 82px; padding: 13px 14px 22px; border-radius: 12px; }
.launch-layout .field input,
.launch-layout .field textarea,
.launch-layout .field select { border-color: rgba(255,255,255,.1); background: #171b18; }
.launch-layout .field input:focus,
.launch-layout .field textarea:focus,
.launch-layout .field select:focus { border-color: rgba(227,255,113,.55); box-shadow: 0 0 0 3px rgba(227,255,113,.055); }
.launch-layout .create-panel form > .field { margin-top: 14px; }
.launch-layout .field-grid { gap: 10px; }
.launch-layout .links-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.launch-layout .input-affix b { top: 14px; }
.launch-layout .contract-preview { min-height: 52px; margin-top: 18px; padding: 11px 13px; border-radius: 12px; }
.launch-layout .cost-row { margin-top: 14px; padding-inline: 2px; }
.launch-layout .launch-submit { min-height: 50px; margin-top: 14px; border-radius: 12px; }
.launch-layout .preview-label { margin: 0 0 12px 2px; color: #858b84; }
.launch-layout .token-preview-card { padding: 12px; border-radius: 18px; border-color: rgba(255,255,255,.1); background: #171b18; }
.launch-layout .preview-art { height: 190px; border-radius: 14px; }
.launch-layout .preview-art::before { width: 162px; height: 162px; }
.launch-layout .preview-art::after { width: 118px; height: 118px; }
.launch-layout .preview-art span,
.launch-layout .preview-art img { width: 86px; height: 86px; }
.launch-layout .preview-meta { padding: 15px 3px 12px; }
.launch-layout .preview-meta h3 { margin-top: 11px; font-size: 21px; }
.launch-layout .preview-owner,
.launch-layout .preview-supply { padding: 10px 3px 2px; }
.launch-layout .mainnet-card { margin-top: 12px; padding: 13px; border-radius: 14px; border-color: rgba(255,255,255,.1); background: #171b18; }

.profile-shell { padding-top: 34px; padding-bottom: 100px; }
.profile-header {
  min-height: 0;
  padding: 28px 30px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0,rgba(227,255,113,.085),transparent 34%),
    linear-gradient(130deg,#111411,#171a18);
  box-shadow: 0 24px 70px rgba(0,0,0,.16);
}
.profile-identity { gap: 18px; }
.profile-avatar { width: 68px; height: 68px; flex-basis: 68px; border-radius: 19px; font-size: 23px; }
.profile-header h1 { max-width: 680px; margin: 8px 0 5px; font-size: clamp(30px,3.2vw,46px); line-height: .98; }
.profile-header p { max-width: 620px; color: #949b94; font-size: 11px; }
.profile-header .button { min-height: 48px; padding-inline: 22px; border-radius: 12px; }

.profile-stats {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 18px;
  border-color: rgba(255,255,255,.09);
  background: #151815;
  box-shadow: 0 18px 54px rgba(0,0,0,.1);
}
.profile-stats div { min-width: 0; padding: 18px 20px; display: block; }
.profile-stats span { display: block; font-size: 9px; }
.profile-stats strong { display: block; margin-top: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }

.profile-revenue {
  margin-top: 12px;
  padding: 24px;
  border-radius: 18px;
  border-color: rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 100% 0,rgba(227,255,113,.045),transparent 35%),
    #151815;
  box-shadow: 0 18px 54px rgba(0,0,0,.1);
}
.profile-revenue h2 { margin-top: 8px; font-size: 25px; }
.profile-revenue .button { min-width: 170px; min-height: 46px; border-radius: 12px; }
.reward-list { margin-top: 2px; padding-top: 14px; }

.profile-list-head { margin-top: 42px; padding-inline: 4px; }
.profile-list-head h2 { font-size: 34px; letter-spacing: -.05em; }
.profile-list-head .button { min-height: 44px; border-radius: 12px; }
.profile-shell > .coin-list-shell { border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.1); }

html[data-theme="light"] .page-toolbar .live-label { background: #e6e9e4; }
html[data-theme="light"] .profile-header { border-color: rgba(5,7,5,.16); }
html[data-theme="light"] .profile-stats,
html[data-theme="light"] .profile-revenue { border-color: rgba(5,7,5,.18); }

@media (max-width: 980px) {
  .launch-layout { grid-template-columns: minmax(0,1fr) 310px; }
  .launch-layout .links-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .launch-page, .profile-shell { padding-top: 20px; }
  .launch-layout { grid-template-columns: 1fr; }
  .launch-layout .preview-panel { position: static; padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; }
  .profile-header { padding: 24px; align-items: flex-start; flex-direction: column; }
  .profile-header .button { width: 100%; justify-content: space-between; }
  .profile-stats { grid-template-columns: 1fr 1fr; }
  .profile-stats div:nth-child(2) { border-right: 0; }
  .profile-revenue { grid-template-columns: 1fr; }
  .profile-revenue .button { width: 100%; }
}
@media (max-width: 560px) {
  .page-toolbar h1 { font-size: 30px; }
  .launch-layout .create-panel { padding: 20px 16px; border-radius: 20px; }
  .launch-layout .identity-row { flex-direction: column; }
  .launch-layout .image-upload { width: 100%; height: 132px; flex-basis: 132px; }
  .profile-header { padding: 22px 18px; border-radius: 20px; }
  .profile-identity { align-items: flex-start; flex-direction: column; }
  .profile-header h1 { white-space: normal; font-size: 34px; }
  .profile-stats { grid-template-columns: 1fr; }
  .profile-stats div { border-right: 0; }
  .profile-list-head { margin-top: 34px; align-items: end; flex-direction: row; }
  .profile-list-head h2 { font-size: 28px; }
}

/* Profile dashboard composition */
.profile-shell {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(350px,.55fr);
  gap: 14px;
  align-items: stretch;
}
.profile-header {
  grid-column: 1;
  grid-row: 1;
  min-height: 232px;
  position: relative;
  overflow: hidden;
}
.profile-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: radial-gradient(circle,rgba(227,255,113,.52) 1px,transparent 1.4px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg,transparent 35%,#000 100%);
}
.profile-header::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -170px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(227,255,113,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(227,255,113,.018),0 0 0 84px rgba(227,255,113,.012);
  pointer-events: none;
}
.profile-identity,
.profile-header > .button { position: relative; z-index: 1; }
.profile-stats {
  grid-column: 2;
  grid-row: 1;
  min-height: 232px;
  margin-top: 0;
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.profile-stats div {
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,.09);
  border-bottom: 1px solid rgba(255,255,255,.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.profile-stats div:nth-child(2),
.profile-stats div:nth-child(4) { border-right: 0; }
.profile-stats div:nth-child(3),
.profile-stats div:nth-child(4) { border-bottom: 0; }
.profile-stats strong { margin-top: 18px; font-size: 15px; }
.profile-revenue,
.profile-list-head,
.profile-shell > .coin-list-shell { grid-column: 1 / -1; }
.profile-revenue {
  min-height: 168px;
  margin-top: 0;
  padding: 28px 30px;
  border-radius: 22px;
  grid-template-columns: 4px minmax(0,1fr) auto;
  column-gap: 22px;
}
.profile-revenue::before {
  content: "";
  width: 4px;
  align-self: stretch;
  grid-row: 1 / span 2;
  border-radius: 999px;
  background: var(--near-green);
  box-shadow: 0 0 24px rgba(227,255,113,.28);
}
.profile-revenue > div:first-child { grid-column: 2; }
.profile-revenue > .button { grid-column: 3; }
.profile-revenue > .reward-list { grid-column: 2 / -1; }
.profile-list-head { margin-top: 28px; }
.profile-shell > .coin-list-shell { margin-top: -2px; }

@media (max-width: 1000px) {
  .profile-shell { grid-template-columns: 1fr; }
  .profile-header,
  .profile-stats { grid-column: 1; grid-row: auto; }
  .profile-stats { min-height: 0; }
}
@media (max-width: 800px) {
  .profile-header { min-height: 0; }
  .profile-revenue::before { display: none; }
  .profile-revenue > div:first-child,
  .profile-revenue > .button,
  .profile-revenue > .reward-list { grid-column: auto; }
}
@media (max-width: 560px) {
  .profile-stats { grid-template-columns: 1fr; }
  .profile-stats div,
  .profile-stats div:nth-child(2),
  .profile-stats div:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
  .profile-stats div:last-child { border-bottom: 0; }
}

/* Profile dashboard polish */
.profile-shell {
  grid-template-columns: minmax(0,1.5fr) minmax(360px,.62fr);
  gap: 16px;
}
.profile-header {
  min-height: 216px;
  padding: 30px 34px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 12%,rgba(223,255,104,.1),transparent 32%),
    linear-gradient(132deg,#111411 0%,#161a17 100%);
}
.profile-header::before {
  opacity: .12;
  background-size: 20px 20px;
  mask-image: linear-gradient(90deg,transparent 42%,#000 100%);
}
.profile-header::after {
  right: -118px;
  bottom: -205px;
  width: 380px;
  height: 380px;
}
.profile-identity {
  max-width: calc(100% - 220px);
  gap: 20px;
}
.profile-copy { min-width: 0; }
.profile-avatar {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(145deg,#f0ff99 0%,var(--lime) 62%,#c9ff7f 100%);
  box-shadow: 0 16px 44px rgba(223,255,104,.12);
  font-size: 24px;
  font-weight: 700;
}
.profile-header h1 {
  max-width: 650px;
  margin: 9px 0 7px;
  font-size: clamp(36px,3.15vw,48px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 500;
}
.profile-header p {
  max-width: 600px;
  color: #9aa098;
  font-size: 14px;
  line-height: 1.5;
}
.profile-header .button {
  min-width: 184px;
  min-height: 52px;
  padding-inline: 20px;
  justify-content: space-between;
  border-radius: 14px;
}
.profile-stats {
  min-height: 216px;
  border-radius: 26px;
  background: linear-gradient(145deg,#151915,#111411);
}
.profile-stats div { padding: 24px 26px; }
.profile-stats span { font-size: 10px; }
.profile-stats strong {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 500;
}
.profile-revenue {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: 24px;
  grid-template-columns: minmax(0,1fr) 132px auto;
  column-gap: 18px;
  row-gap: 22px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 0,rgba(223,255,104,.07),transparent 31%),
    linear-gradient(135deg,#151915,#121512);
}
.profile-revenue::before { display: none !important; }
.profile-revenue::after {
  content: "";
  position: absolute;
  top: -86px;
  right: 180px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(223,255,104,.035);
  filter: blur(22px);
  pointer-events: none;
}
.profile-revenue > * { position: relative; z-index: 1; }
.profile-revenue > div.profile-revenue-copy:first-child { grid-column: 1; }
.profile-revenue-copy h2 {
  margin: 8px 0 6px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 500;
}
.profile-revenue-copy p {
  margin: 0;
  color: #8f968e;
  font-size: 14px;
  line-height: 1.5;
}
.profile-revenue-share {
  grid-column: 2;
  min-height: 78px;
  padding: 13px 16px;
  border: 1px solid rgba(223,255,104,.16);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(223,255,104,.055);
}
.profile-revenue-share span {
  color: #8f968e;
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.profile-revenue-share strong {
  color: var(--lime);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.045em;
}
.profile-revenue > .button {
  grid-column: 3;
  min-width: 186px;
  min-height: 50px;
  border-radius: 14px;
}
.profile-revenue > .reward-list {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.085);
}
.profile-list-head {
  margin-top: 20px;
  padding-inline: 6px;
}
.profile-list-head h2 {
  font-size: 36px;
  font-weight: 500;
}
.profile-shell > .coin-list-shell { margin-top: 0; }

html[data-theme="light"] .profile-revenue-share {
  border-color: rgba(5,7,5,.14);
  background: rgba(167,204,47,.11);
}
html[data-theme="light"] .profile-revenue-share span,
html[data-theme="light"] .profile-revenue-copy p { color: #666d65; }

@media (max-width: 1000px) {
  .profile-shell { grid-template-columns: 1fr; }
  .profile-identity { max-width: calc(100% - 220px); }
}
@media (max-width: 800px) {
  .profile-revenue { grid-template-columns: minmax(0,1fr) 124px; }
  .profile-revenue > div.profile-revenue-copy:first-child { grid-column: 1; }
  .profile-revenue > .profile-revenue-share { grid-column: 2; }
  .profile-revenue > .button,
  .profile-revenue > .reward-list { grid-column: 1 / -1; }
  .profile-revenue > .button { width: 100%; }
}
@media (max-width: 620px) {
  .profile-header {
    min-height: 0;
    padding: 24px 20px;
  }
  .profile-identity {
    max-width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-header h1 {
    white-space: normal;
    font-size: 36px;
  }
  .profile-header .button { width: 100%; }
  .profile-revenue {
    padding: 22px 18px;
    grid-template-columns: 1fr;
  }
  .profile-revenue > div.profile-revenue-copy:first-child,
  .profile-revenue > .profile-revenue-share,
  .profile-revenue > .button,
  .profile-revenue > .reward-list { grid-column: 1; }
  .profile-revenue-share {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .profile-list-head h2 { font-size: 30px; }
}
@media (max-width: 560px) {
  .profile-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .profile-stats div,
  .profile-stats div:nth-child(2),
  .profile-stats div:nth-child(3) {
    border-right: 1px solid rgba(255,255,255,.09);
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
  .profile-stats div:nth-child(2),
  .profile-stats div:nth-child(4) { border-right: 0; }
  .profile-stats div:nth-child(3),
  .profile-stats div:nth-child(4) { border-bottom: 0; }
}

/* Create workspace refinement */
.launch-page { padding-top: 18px; padding-bottom: 72px; }
.launch-page .page-toolbar {
  min-height: 64px;
  margin-bottom: 14px;
  padding: 0 2px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.launch-page .page-toolbar h1 {
  grid-column: 2;
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.05em;
}
.launch-page .back-link {
  justify-self: start;
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  color: #a5aba6;
  background: #1b1e1c;
}
.launch-page .back-link:hover {
  color: #050705;
  border-color: var(--near-green);
  background: var(--near-green);
}
.launch-page .live-label { display: none; }

.launch-layout {
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 16px;
  align-items: start;
}
.launch-layout .create-panel,
.launch-layout .preview-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0,rgba(227,255,113,.055),transparent 30%),
    linear-gradient(145deg,#141714,#111411);
  box-shadow: 0 22px 64px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.025);
}
.launch-layout .create-panel { padding: 24px; }
.launch-layout .create-panel::before,
.launch-layout .preview-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(227,255,113,.36),transparent);
}
.launch-layout .create-panel form { position: relative; z-index: 1; }
.launch-layout .form-section-head { align-items: center; margin-bottom: 14px; }
.launch-layout .form-section-head.divider { margin-top: 20px; padding-top: 18px; }
.launch-layout .form-section-head > span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(227,255,113,.1);
}
.launch-layout .form-section-head h2 { font-size: 18px; letter-spacing: -.04em; }
.launch-layout .identity-row { align-items: stretch; gap: 14px; }
.launch-layout .image-upload {
  width: 136px;
  height: 136px;
  flex-basis: 136px;
  border-radius: 17px;
}
.launch-layout .field-stack { gap: 8px; }
.launch-layout .field > span { margin-bottom: 6px; font-size: 12px; letter-spacing: .065em; }
.launch-layout .field input,
.launch-layout .field select {
  height: 44px;
  padding-inline: 13px;
  border-radius: 11px;
  font-size: 16px;
}
.launch-layout .input-affix b {
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 13px;
}
.launch-layout #tokenSymbol { padding-left: 36px; }
.launch-layout .liquidity-field .input-affix b { right: 14px; left: auto; }
.launch-layout .liquidity-field .input-affix input { padding-right: 64px; padding-left: 13px; }
.launch-layout .field textarea {
  min-height: 76px;
  padding: 12px 13px 21px;
  border-radius: 11px;
  resize: none;
  font-size: 16px;
}
.launch-layout .create-panel form > .field { margin-top: 12px; }
.launch-layout .links-grid { gap: 12px; margin-top: 16px; }
.launch-layout .contract-preview { min-height: 48px; margin-top: 16px; padding: 9px 12px; border-radius: 11px; }
.launch-layout .launch-policy-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: start;
}
.launch-layout .holder-tax-control {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.launch-layout .holder-tax-control .holder-tax-slider {
  --holder-tax-progress: 0%;
  --holder-tax-active: var(--near-green);
  --holder-tax-rail: color-mix(in srgb,var(--near-green) 12%,transparent);
  --holder-tax-edge: color-mix(in srgb,var(--near-green) 22%,transparent);
  --holder-tax-thumb-border: #111411;
  min-width: 0;
  height: 44px;
  flex: 1 1 auto;
  padding: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
.launch-layout .holder-tax-control .holder-tax-slider:focus,
.launch-layout .holder-tax-control .holder-tax-slider:active {
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}
.launch-layout .holder-tax-control .holder-tax-slider::-webkit-slider-runnable-track {
  height: 6px;
  border: 1px solid var(--holder-tax-edge);
  border-radius: 999px;
  background: linear-gradient(90deg,var(--holder-tax-active) 0 var(--holder-tax-progress),var(--holder-tax-rail) var(--holder-tax-progress) 100%);
}
.launch-layout .holder-tax-control .holder-tax-slider::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 3px solid var(--holder-tax-thumb-border);
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--holder-tax-active);
  box-shadow: 0 5px 14px rgba(0,0,0,.24);
}
.launch-layout .holder-tax-control .holder-tax-slider::-moz-range-track {
  height: 6px;
  border: 1px solid var(--holder-tax-edge);
  border-radius: 999px;
  background: var(--holder-tax-rail);
}
.launch-layout .holder-tax-control .holder-tax-slider::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--holder-tax-active);
}
.launch-layout .holder-tax-control .holder-tax-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid var(--holder-tax-thumb-border);
  border-radius: 50%;
  background: var(--holder-tax-active);
  box-shadow: 0 5px 14px rgba(0,0,0,.24);
}
html[data-theme="light"] .launch-layout .holder-tax-control .holder-tax-slider,
html[data-theme="light"] .launch-layout .holder-tax-control .holder-tax-slider:focus,
html[data-theme="light"] .launch-layout .holder-tax-control .holder-tax-slider:active {
  --holder-tax-thumb-border: #fff;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}
.launch-layout .pair-asset-field {
  position: relative;
}
.launch-layout .pair-asset-field::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--theme-text);
  border-bottom: 2px solid var(--theme-text);
  opacity: .78;
  transform: rotate(45deg);
  pointer-events: none;
}
.launch-layout .pair-asset-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
}
.launch-layout .holder-tax-number {
  position: relative;
  width: 96px;
  flex: 0 0 96px;
}
.launch-layout .holder-tax-number input {
  width: 100%;
  padding: 0 34px 0 12px;
  text-align: left;
  -moz-appearance: textfield;
}
.launch-layout .holder-tax-number input::-webkit-inner-spin-button,
.launch-layout .holder-tax-number input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}
.launch-layout .holder-tax-number b {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: var(--near-green);
  font-size: 13px;
  pointer-events: none;
}
.launch-layout .holder-tax-field > small {
  display: block;
  margin-top: 5px;
  line-height: 1.25;
}
.launch-layout .contract-field .launch-contract-card {
  min-height: 44px;
  margin-top: 0;
  justify-content: flex-end;
  padding: 7px 9px;
}
.launch-layout .contract-field .launch-contract-card > b {
  width: 100%;
  min-height: 30px;
  display: grid;
  place-items: center;
}
.launch-layout .cost-row { margin-top: 12px; }
.launch-layout .launch-submit { min-height: 48px; margin-top: 12px; border-radius: 12px; }

.launch-layout .preview-panel {
  position: sticky;
  top: 100px;
  padding: 16px;
}
.launch-layout .preview-label { margin: 0 0 10px 2px; font-size: 12px; }
.launch-layout .token-preview-card { padding: 10px; border-radius: 17px; background: #171b18; }
.launch-layout .preview-art {
  height: 176px;
  border: 1px solid rgba(227,255,113,.2);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 48%,rgba(227,255,113,.19),transparent 35%),
    linear-gradient(145deg,#0d110e 0%,#182116 48%,#354a20 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.launch-layout .preview-art::before {
  width: 146px;
  height: 146px;
  border-color: rgba(227,255,113,.2);
}
.launch-layout .preview-art::after {
  width: 104px;
  height: 104px;
  border-color: rgba(227,255,113,.28);
}
.launch-layout .preview-art span,
.launch-layout .preview-art img { width: 76px; height: 76px; }
.launch-layout .preview-art span {
  color: #050705;
  background: var(--near-green);
  box-shadow: 0 18px 38px rgba(227,255,113,.22);
}
.launch-layout .preview-art i { background: rgba(227,255,113,.25); }
.launch-layout #previewArt > span.preview-default-icon {
  width: 76px;
  height: 76px;
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227,255,113,.2);
  border-radius: 50%;
  background: rgba(5,7,5,.9);
  box-shadow: 0 18px 38px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.04);
}
.launch-layout #previewArt .preview-default-token-mark {
  width: 42px;
  height: 42px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 5px 12px rgba(227,255,113,.18));
}
.launch-layout #previewArt .preview-default-token-mark path { stroke: #e3ff71; }
.launch-layout .preview-meta { padding: 15px 3px 13px; }
.launch-layout .preview-meta h3 { margin: 15px 0 0; font-size: 20px; }
.launch-layout .preview-meta p { margin-top: 8px; }
.launch-layout .preview-owner,
.launch-layout .preview-supply { padding: 10px 3px 3px; }
.launch-layout .preview-liquidity { margin-top: 2px; }
.launch-layout .preview-liquidity strong { color: var(--near-green); }
.launch-layout .mainnet-card { margin-top: 10px; padding: 11px 12px; border-radius: 13px; }

html[data-theme="light"] .launch-layout .create-panel,
html[data-theme="light"] .launch-layout .preview-panel {
  border-color: rgba(5,7,5,.13);
  background: radial-gradient(circle at 100% 0,rgba(227,255,113,.16),transparent 30%),#fff;
}
html[data-theme="light"] .launch-layout .field input,
html[data-theme="light"] .launch-layout .field textarea,
html[data-theme="light"] .launch-layout .field select {
  color: #050705;
  border-color: rgba(5,7,5,.12);
  background: #f3f5f1;
}
html[data-theme="light"] .launch-page .back-link {
  color: #4f574f;
  border-color: rgba(5,7,5,.12);
  background: #e6e9e4;
}

@media (max-width: 980px) {
  .launch-layout { grid-template-columns: minmax(0,1fr) 320px; }
}
@media (max-width: 800px) {
  .launch-page { padding-top: 14px; }
  .launch-page .page-toolbar { min-height: 60px; }
  .launch-layout { grid-template-columns: 1fr; }
  .launch-layout .preview-panel { position: static; padding: 16px; }
}
@media (max-width: 560px) {
  .launch-page .page-toolbar {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }
  .launch-page .page-toolbar h1 { font-size: 28px; }
  .launch-layout .create-panel { padding: 20px 16px; }
  .launch-layout .identity-row { flex-direction: column; }
  .launch-layout .image-upload { width: 100%; height: 118px; flex-basis: 118px; }
  .launch-layout .links-grid { grid-template-columns: 1fr; }
  .launch-layout .cost-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .launch-layout .preview-art { height: 210px; }
}

/* Complete light-theme surfaces */
.theme-toggle-moon { display: none; }
html[data-theme="dark"] .theme-toggle-sun { display: block; }
html[data-theme="dark"] .theme-toggle-moon { display: none; }
html[data-theme="light"] .theme-toggle-sun { display: none; }
html[data-theme="light"] .theme-toggle-moon { display: block; }

html[data-theme="light"] .home-intro {
  border-color: rgba(5,7,5,.12);
  background:
    radial-gradient(circle at 18% 26%,rgba(227,255,113,.34),transparent 36%),
    radial-gradient(circle at 68% 48%,rgba(182,249,210,.3),transparent 36%),
    radial-gradient(circle at 88% 18%,rgba(184,167,255,.22),transparent 30%),
    linear-gradient(125deg,#f8faf7,#edf3e6 58%,#f3f0f7);
  box-shadow: 0 26px 70px rgba(23,31,24,.13);
}
html[data-theme="light"] .home-intro::before {
  background:
    linear-gradient(90deg,rgba(248,250,247,.94) 0%,rgba(248,250,247,.38) 38%,rgba(248,250,247,.1) 68%,rgba(248,250,247,.18) 100%),
    linear-gradient(to bottom,rgba(255,255,255,.36),transparent 40%,rgba(5,7,5,.04)) !important;
}
html[data-theme="light"] .near-star-field {
  opacity: .55;
  filter: saturate(.8) brightness(.72);
}
html[data-theme="light"] .home-hero-panel,
html[data-theme="light"] .home-intro h1,
html[data-theme="light"] .home-launch-card h2 { color: #050705; }
html[data-theme="light"] .network-line { color: #667066; }
html[data-theme="light"] .home-launch-card {
  color: #050705;
  border-color: rgba(5,7,5,.13);
  background:
    radial-gradient(circle at 88% 12%,rgba(184,167,255,.15),transparent 35%),
    rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75),0 18px 44px rgba(25,32,25,.11);
}
html[data-theme="light"] .home-launch-card::before { border-color: rgba(92,116,13,.2); }
html[data-theme="light"] .home-launch-card::after {
  background: linear-gradient(90deg,rgba(92,116,13,.5),rgba(126,108,195,.18),transparent);
}
html[data-theme="light"] .home-launch-card p { color: #667066; }
html[data-theme="light"] .home-launch-card small { color: #747d74; }
html[data-theme="light"] .list-empty > a,
html[data-theme="light"] .text-link { color: #526b00; }

html[data-theme="light"] .launch-layout { color: #050705; }
html[data-theme="light"] .launch-layout .create-panel,
html[data-theme="light"] .launch-layout .preview-panel {
  border-color: rgba(5,7,5,.13);
  background:
    radial-gradient(circle at 100% 0,rgba(227,255,113,.18),transparent 31%),
    #fff;
  box-shadow: 0 22px 58px rgba(23,31,24,.11),inset 0 1px 0 rgba(255,255,255,.8);
}
html[data-theme="light"] .launch-layout .create-panel::before,
html[data-theme="light"] .launch-layout .preview-panel::before {
  background: linear-gradient(90deg,transparent,rgba(108,134,20,.34),transparent);
}
html[data-theme="light"] .launch-layout .form-section-head.divider {
  border-top-color: rgba(5,7,5,.1);
}
html[data-theme="light"] .launch-layout .field > span,
html[data-theme="light"] .launch-layout .preview-label { color: #5c655c; }
html[data-theme="light"] .launch-layout .field > span i { color: #7b837b; }
html[data-theme="light"] .launch-layout .image-upload {
  color: #596159;
  border-color: rgba(83,105,9,.3);
  background: #f1f5ed;
}
html[data-theme="light"] .launch-layout .upload-preview {
  color: #596159;
  background: radial-gradient(circle,rgba(227,255,113,.23),transparent 70%);
}
html[data-theme="light"] .launch-layout .field input::placeholder,
html[data-theme="light"] .launch-layout .field textarea::placeholder { color: #7c847c; }
html[data-theme="light"] .launch-layout .input-affix b { color: #617b00; }
html[data-theme="light"] .launch-layout .contract-preview {
  border-color: rgba(91,115,10,.23);
  background: rgba(227,255,113,.13);
}
html[data-theme="light"] .launch-layout .contract-preview span,
html[data-theme="light"] .launch-layout .cost-row { color: #687168; }
html[data-theme="light"] .launch-layout .contract-preview strong,
html[data-theme="light"] .launch-layout .cost-row strong { color: #252b25; }
html[data-theme="light"] .launch-layout .cost-row small { color: #697169; }
html[data-theme="light"] .launch-layout .token-preview-card {
  color: #050705;
  border-color: rgba(5,7,5,.13);
  background: #f7f9f6;
  box-shadow: 0 16px 42px rgba(23,31,24,.1);
}
html[data-theme="light"] .launch-layout .preview-art {
  border-color: rgba(91,115,10,.22);
  background:
    radial-gradient(circle at 50% 48%,rgba(227,255,113,.4),transparent 37%),
    linear-gradient(145deg,#f6f9f2 0%,#e9f2de 50%,#ddecad 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
html[data-theme="light"] .launch-layout .preview-art::before,
html[data-theme="light"] .launch-layout .preview-art::after { border-color: rgba(72,91,9,.22); }
html[data-theme="light"] .launch-layout .preview-art i { background: rgba(227,255,113,.42); }
html[data-theme="light"] .launch-layout .preview-meta { border-bottom-color: rgba(5,7,5,.12); }
html[data-theme="light"] .launch-layout .preview-meta p,
html[data-theme="light"] .launch-layout .preview-owner span,
html[data-theme="light"] .launch-layout .preview-supply span { color: #6b746b; }
html[data-theme="light"] .launch-layout .preview-owner strong,
html[data-theme="light"] .launch-layout .preview-supply strong { color: #252b25; }
html[data-theme="light"] .launch-layout .mainnet-card {
  color: #050705;
  border-color: rgba(5,7,5,.12);
  background: #fff;
}

html[data-theme="light"] .profile-header {
  color: #050705;
  border-color: rgba(5,7,5,.13);
  background:
    radial-gradient(circle at 88% 12%,rgba(227,255,113,.28),transparent 34%),
    linear-gradient(132deg,#fff 0%,#edf3e9 100%);
  box-shadow: 0 22px 60px rgba(23,31,24,.11);
}
html[data-theme="light"] .profile-header::before { opacity: .24; }
html[data-theme="light"] .profile-header h1 { color: #050705; }
html[data-theme="light"] .profile-header p,
html[data-theme="light"] .profile-header .section-kicker { color: #626b62; }
html[data-theme="light"] .profile-stats {
  color: #050705;
  border-color: rgba(5,7,5,.13);
  background: linear-gradient(145deg,#fff,#f0f4ee);
  box-shadow: 0 18px 50px rgba(23,31,24,.1);
}
html[data-theme="light"] .profile-stats div {
  border-right-color: rgba(5,7,5,.1);
  border-bottom-color: rgba(5,7,5,.1);
}
html[data-theme="light"] .profile-stats span { color: #697269; }
html[data-theme="light"] .profile-revenue {
  color: #050705;
  border-color: rgba(5,7,5,.13);
  background:
    radial-gradient(circle at 88% 0,rgba(227,255,113,.2),transparent 34%),
    linear-gradient(135deg,#fff,#eef3ea);
  box-shadow: 0 18px 50px rgba(23,31,24,.1);
}
html[data-theme="light"] .profile-revenue-copy p,
html[data-theme="light"] .profile-revenue-share span,
html[data-theme="light"] .profile-revenue p,
html[data-theme="light"] .reward-list > p,
html[data-theme="light"] .reward-list small { color: #687168; }
html[data-theme="light"] .profile-revenue-share {
  border-color: rgba(83,105,9,.2);
  background: rgba(227,255,113,.2);
}
html[data-theme="light"] .profile-revenue-share strong { color: #526b00; }
html[data-theme="light"] .profile-revenue > .reward-list,
html[data-theme="light"] .reward-list,
html[data-theme="light"] .reward-list > div { border-color: rgba(5,7,5,.1); }
html[data-theme="light"] .profile-revenue .button[disabled] { opacity: .58; }

html[data-theme="light"] .site-footer {
  color: #050705;
  border: 1px solid rgba(5,7,5,.11);
  background:
    radial-gradient(circle at 7% 50%,rgba(227,255,113,.18),transparent 28%),
    #fff;
  box-shadow: 0 16px 45px rgba(23,31,24,.08);
}
html[data-theme="light"] .launch-layout .near-intents-soon { color: #3f483f; border-color: rgba(69,101,20,.2); background: rgba(69,101,20,.055); }
html[data-theme="light"] .launch-layout .near-intents-soon strong,
html[data-theme="light"] .launch-layout .near-intents-soon span { color: #456514; }
html[data-theme="light"] .launch-layout .near-intents-soon span { border-color: rgba(69,101,20,.22); background: rgba(69,101,20,.07); }
html[data-theme="light"] .site-footer > p,
html[data-theme="light"] .site-footer > div { color: #687168; }
html[data-theme="light"] .site-footer > div a {
  color: #4f584f;
  border-color: rgba(5,7,5,.1);
  background: rgba(5,7,5,.025);
}
html[data-theme="light"] .site-footer > div span { border-color: rgba(5,7,5,.1); }

@media (max-width: 560px) {
  html[data-theme="light"] .profile-stats div,
  html[data-theme="light"] .profile-stats div:nth-child(2),
  html[data-theme="light"] .profile-stats div:nth-child(3) {
    border-right-color: rgba(5,7,5,.1);
    border-bottom-color: rgba(5,7,5,.1);
  }
}

/* High-contrast black accents for light mode */
html[data-theme="light"] {
  --near-green: #050705;
  --lime: #050705;
}
html[data-theme="light"] .brand-mark path,
html[data-theme="light"] .home-launch-mark path { stroke: #050705; }
html[data-theme="light"] .near-star-field {
  opacity: .12;
  filter: grayscale(1) brightness(0);
}
html[data-theme="light"] .wallet-button,
html[data-theme="light"] .button-primary,
html[data-theme="light"] .home-launch-card .button,
html[data-theme="light"] .main-nav a.active,
html[data-theme="light"] .launch-layout .form-section-head > span,
html[data-theme="light"] .launch-layout .contract-preview > b,
html[data-theme="light"] .launch-layout .preview-badge,
html[data-theme="light"] .launch-layout .preview-art span,
html[data-theme="light"] .coin-row:hover .coin-open {
  color: #fff;
  background: #050705;
}
html[data-theme="light"] .wallet-button:hover,
html[data-theme="light"] .button-primary:hover,
html[data-theme="light"] .home-launch-card .button:hover {
  box-shadow: 0 12px 34px rgba(5,7,5,.18);
}
html[data-theme="light"] .empty-mark {
  color: #fff;
  background: #050705;
}
html[data-theme="light"] .list-empty > a,
html[data-theme="light"] .text-link,
html[data-theme="light"] .launch-layout .input-affix b,
html[data-theme="light"] .profile-revenue-share strong { color: #050705; }
html[data-theme="light"] .launch-layout .preview-art {
  border-color: rgba(5,7,5,.18);
}
html[data-theme="light"] .launch-layout .preview-art::before,
html[data-theme="light"] .launch-layout .preview-art::after { border-color: rgba(5,7,5,.2); }
html[data-theme="light"] .launch-layout #previewArt > img[src="/favicon.svg"] {
  filter: grayscale(1) brightness(0);
}
html[data-theme="light"] .profile-avatar {
  position: relative;
  background: #fff;
  border: 1px solid rgba(5,7,5,.14);
}
html[data-theme="light"] .profile-avatar::before {
  content: "";
  width: 65%;
  height: 65%;
  background: #050705;
  -webkit-mask: url("/favicon.svg") center / contain no-repeat;
  mask: url("/favicon.svg") center / contain no-repeat;
}
html[data-theme="light"] .site-footer > div a:hover {
  color: #fff;
  border-color: #050705;
  background: #050705;
}

/* Final light-theme contrast and NearPad brand polish */
html[data-theme="light"] {
  --theme-bg: #f5f7f2;
  --theme-surface: #ffffff;
  --theme-surface-2: #ecefe9;
  --theme-text: #050705;
  --theme-muted: #626b63;
  --theme-line: rgba(5,7,5,.13);
  --theme-hover: #f0f3ed;
  --theme-header: rgba(251,252,249,.95);
}
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 78% -8%,rgba(227,255,113,.16),transparent 30%),
    radial-gradient(circle at 8% 44%,rgba(182,249,210,.09),transparent 27%),
    #f5f7f2;
}
html[data-theme="light"] .site-header::before {
  background: rgba(251,252,249,.95);
  border-bottom-color: rgba(5,7,5,.11);
  box-shadow: 0 10px 30px rgba(22,31,22,.07);
}
html[data-theme="light"] .main-nav {
  border-color: rgba(5,7,5,.12);
  background: #ecefe9;
  box-shadow: inset 0 1px 0 #fff,0 6px 18px rgba(20,28,20,.04);
}
html[data-theme="light"] .main-nav a:hover { background: #f8faf6; }
html[data-theme="light"] .main-nav a.active {
  color: #fff;
  background: #050705;
  box-shadow: 0 7px 18px rgba(5,7,5,.14);
}
html[data-theme="light"] .theme-toggle {
  border-color: rgba(5,7,5,.14);
  background: #fff;
  box-shadow: 0 6px 18px rgba(20,28,20,.06);
}
html[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(89,112,12,.3);
  background: #f1f7df;
}
html[data-theme="light"] .home-intro {
  border-color: rgba(5,7,5,.14);
  background:
    radial-gradient(circle at 64% 48%,rgba(182,249,210,.25),transparent 35%),
    radial-gradient(circle at 88% 18%,rgba(184,167,255,.18),transparent 30%),
    linear-gradient(125deg,#fff 0%,#f2f6eb 56%,#f4f1f8 100%);
  box-shadow: 0 24px 62px rgba(23,31,24,.11);
}
html[data-theme="light"] .home-intro::before {
  background:
    linear-gradient(90deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.4) 39%,rgba(255,255,255,.08) 69%,rgba(255,255,255,.2) 100%),
    linear-gradient(to bottom,rgba(255,255,255,.28),transparent 42%,rgba(5,7,5,.035)) !important;
}
html[data-theme="light"] .home-launch-card {
  border-color: rgba(5,7,5,.14);
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff,0 18px 42px rgba(24,32,24,.1);
}
html[data-theme="light"] .contract-search,
html[data-theme="light"] .coin-list-shell {
  border-color: rgba(5,7,5,.14);
  background: #fff;
  box-shadow: 0 16px 44px rgba(24,32,24,.07);
}
html[data-theme="light"] .coin-list-head { background: #f8faf7; }
html[data-theme="light"] .launch-layout .create-panel,
html[data-theme="light"] .launch-layout .preview-panel {
  border-color: rgba(5,7,5,.15);
  background:
    radial-gradient(circle at 100% 0,rgba(227,255,113,.16),transparent 28%),
    #fff;
  box-shadow: 0 20px 52px rgba(23,31,24,.09),inset 0 1px 0 #fff;
}
html[data-theme="light"] .launch-layout .field input,
html[data-theme="light"] .launch-layout .field textarea,
html[data-theme="light"] .launch-layout .field select {
  color: #050705;
  border-color: rgba(5,7,5,.16);
  background: #f7f9f5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
html[data-theme="light"] .launch-layout .field input:focus,
html[data-theme="light"] .launch-layout .field textarea:focus,
html[data-theme="light"] .launch-layout .field select:focus {
  border-color: rgba(91,113,14,.5);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(174,211,51,.12);
}
html[data-theme="light"] .launch-layout .image-upload {
  color: #4f584f;
  border-color: rgba(91,113,14,.3);
  background: linear-gradient(145deg,#fbfcf9,#f2f7e4);
}
html[data-theme="light"] .launch-layout .contract-preview {
  border-color: rgba(91,113,14,.25);
  background: #f6fae9;
}
html[data-theme="light"] .launch-layout .token-preview-card {
  border-color: rgba(5,7,5,.14);
  background: #fff;
  box-shadow: 0 14px 36px rgba(23,31,24,.08);
}
html[data-theme="light"] .launch-layout .preview-art {
  background:
    radial-gradient(circle at 50% 48%,rgba(227,255,113,.48),transparent 38%),
    linear-gradient(145deg,#fafcf7 0%,#edf5df 52%,#e0edb8 100%);
}
html[data-theme="light"] .profile-header {
  border-color: rgba(5,7,5,.14);
  background:
    radial-gradient(circle at 88% 12%,rgba(227,255,113,.24),transparent 34%),
    linear-gradient(132deg,#fff 0%,#f2f6ef 100%);
  box-shadow: 0 20px 52px rgba(23,31,24,.09);
}
html[data-theme="light"] .profile-stats {
  border-color: rgba(5,7,5,.14);
  background: #fff;
  box-shadow: 0 16px 42px rgba(23,31,24,.075);
}
html[data-theme="light"] .profile-revenue {
  border-color: rgba(5,7,5,.14);
  background:
    radial-gradient(circle at 90% 0,rgba(227,255,113,.22),transparent 34%),
    #fff;
  box-shadow: 0 16px 42px rgba(23,31,24,.075);
}
html[data-theme="light"] .profile-revenue-share {
  border-color: rgba(91,113,14,.24);
  background: #f3f9dd;
}
html[data-theme="light"] .profile-revenue .button[disabled] {
  color: #697169;
  border: 1px solid rgba(5,7,5,.12);
  background: #edf0eb;
  box-shadow: none;
  opacity: 1;
}
html[data-theme="light"] .profile-avatar {
  position: relative;
  background: #fff;
  border: 1px solid rgba(5,7,5,.14);
  box-shadow: 0 10px 28px rgba(23,31,24,.08);
}
html[data-theme="light"] .profile-avatar::before {
  display: block;
  background: #050705;
}
html[data-theme="light"] .account-menu {
  color: #050705;
  border-color: rgba(5,7,5,.14);
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 60px rgba(20,28,20,.16);
}
html[data-theme="light"] .account-menu-head { border-bottom-color: rgba(5,7,5,.1); }
html[data-theme="light"] .account-menu-head small { color: #6d756d; }
html[data-theme="light"] .account-menu button,
html[data-theme="light"] .account-menu a { color: #252b25; }
html[data-theme="light"] .account-menu button:hover,
html[data-theme="light"] .account-menu a:hover { background: #f0f3ed; }
html[data-theme="light"] .account-menu .danger { color: #bd302b; }
html[data-theme="light"] .site-footer {
  border-color: rgba(5,7,5,.12);
  background: #fff;
  box-shadow: 0 14px 40px rgba(23,31,24,.06);
}
html[data-theme="dark"] .account-avatar,
html[data-theme="dark"] .empty-mark,
html[data-theme="light"] .account-avatar,
html[data-theme="light"] .empty-mark {
  color: #050705;
  background: #e3ff71;
  box-shadow: inset 0 0 0 1px rgba(5,7,5,.08),0 8px 22px rgba(157,191,43,.14);
}


/* Compact coin page: keep identity, market and trading controls in one viewport */
.coin-page {
  padding-top: 24px;
  padding-bottom: 88px;
}
.coin-page > .back-link {
  margin-bottom: 16px;
}
.coin-hero-card {
  min-height: 0;
  padding: 20px;
  grid-template-columns: 112px minmax(0,1fr) 176px;
  gap: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 50%,rgba(227,255,113,.08),transparent 26%),
    #0d100e;
}
.coin-hero-art {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35),0 14px 32px rgba(0,0,0,.2);
}
.coin-hero-art::after {
  width: 72px;
  height: 72px;
  box-shadow: 0 0 0 14px rgba(9,11,10,.025);
}
.coin-hero-art img,
.coin-hero-art > span {
  width: 64px;
  height: 64px;
}
.coin-hero-art img {
  box-shadow: 0 12px 26px rgba(22,18,45,.18);
}
.coin-hero-art > span {
  font-size: 22px;
}
.coin-hero-copy {
  min-width: 0;
}
.coin-hero-copy h1 {
  margin: 12px 0 4px;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(30px,3.5vw,44px);
  line-height: .96;
  letter-spacing: -.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coin-hero-copy > p {
  font-size: 11px;
}
.onchain-badge {
  padding: 6px 8px;
  font-size: 7px;
}
.coin-contract {
  margin-top: 16px;
}
.coin-contract > span {
  margin-bottom: 6px;
}
.coin-contract button {
  width: min(100%,460px);
  min-height: 38px;
  padding: 8px 11px;
}
.coin-actions {
  min-width: 0;
  width: 176px;
}
.coin-actions .button {
  min-height: 44px;
}
.coin-metrics {
  margin-top: 12px;
  border-radius: 14px;
}
.coin-metrics div {
  padding: 15px 18px;
}
.coin-metrics strong {
  margin-top: 6px;
}
.trading-layout {
  margin-top: 12px;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 12px;
}
.chart-panel,
.swap-panel,
.activity-panel {
  border-radius: 20px;
}
.chart-toolbar {
  min-height: 70px;
  padding: 14px 18px;
}
.chart-toolbar h2 {
  margin-top: 6px;
  font-size: 18px;
}
.chart-wrap {
  height: clamp(330px,39vh,420px);
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  isolation: isolate;
  background: #17191e;
}
.dex-chart,
#coinChart,
.chart-empty {
  border-radius: 18px 18px 0 0;
}
.dex-chart {
  overflow: hidden;
}
.swap-panel {
  padding: 16px;
}
.swap-field {
  margin-top: 16px;
}
.swap-field > div {
  min-height: 68px;
}
.swap-summary {
  margin-top: 16px;
  padding: 12px 0;
  gap: 8px;
}
.swap-submit {
  margin-top: 14px;
}
.coin-activity-grid,
.coin-detail-metrics,
.coin-info-grid {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .trading-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .coin-page {
    padding-top: 16px;
    padding-bottom: 92px;
  }
  .coin-page > .back-link {
    margin-bottom: 12px;
  }
  .coin-hero-card {
    padding: 16px;
    grid-template-columns: 84px minmax(0,1fr);
    gap: 16px;
    border-radius: 18px;
  }
  .coin-hero-art {
    width: 84px;
    height: 84px;
    border-radius: 19px;
  }
  .coin-hero-art::after {
    width: 56px;
    height: 56px;
    box-shadow: 0 0 0 10px rgba(9,11,10,.025);
  }
  .coin-hero-art img,
  .coin-hero-art > span {
    width: 48px;
    height: 48px;
  }
  .coin-hero-art > span {
    font-size: 17px;
  }
  .coin-hero-copy {
    align-self: center;
    padding: 0;
  }
  .coin-hero-copy h1 {
    margin-top: 9px;
    font-size: clamp(28px,8vw,38px);
  }
  .coin-contract {
    margin-top: 12px;
  }
  .coin-contract button {
    min-height: 36px;
  }
  .coin-actions {
    grid-column: 1 / -1;
    width: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
  .coin-actions .button {
    width: 100%;
    min-height: 42px;
  }
  .coin-metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .coin-metrics div,
  .coin-metrics div:nth-child(2),
  .coin-metrics div:nth-child(3) {
    padding: 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .coin-metrics div:nth-child(even) {
    border-right: 0;
  }
  .coin-metrics div:nth-child(n+3) {
    border-bottom: 0;
  }
  .chart-toolbar {
    min-height: 64px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
  }
  .chart-toolbar h2 {
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .timeframe-switch {
    width: auto;
  }
  .timeframe-switch button {
    min-width: 34px;
    padding-inline: 7px;
    flex: 0 0 auto;
  }
  .chart-wrap {
    height: 320px;
    border-radius: 16px 16px 0 0;
  }
  .dex-chart,
  #coinChart,
  .chart-empty {
    border-radius: 16px 16px 0 0;
  }
  .swap-panel {
    position: static;
    padding: 14px;
  }
}

@media (max-width: 560px) {
  .coin-hero-card {
    grid-template-columns: 72px minmax(0,1fr);
    padding: 14px;
    gap: 13px;
  }
  .coin-hero-art {
    width: 72px;
    height: 72px;
    border-radius: 17px;
  }
  .coin-hero-art::after {
    width: 48px;
    height: 48px;
    box-shadow: 0 0 0 8px rgba(9,11,10,.025);
  }
  .coin-hero-art img,
  .coin-hero-art > span {
    width: 42px;
    height: 42px;
  }
  .coin-hero-copy h1 {
    margin-top: 8px;
    font-size: clamp(25px,8.5vw,32px);
  }
  .onchain-badge {
    gap: 5px;
    padding: 5px 7px;
    letter-spacing: .055em;
  }
  .coin-contract,
  .coin-actions {
    grid-column: 1 / -1;
  }
  .coin-contract {
    margin-top: 2px;
  }
  .coin-contract button {
    max-width: none;
  }
  .coin-actions {
    margin-top: 0;
  }
  .coin-metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .coin-metrics div,
  .coin-metrics div:nth-child(2),
  .coin-metrics div:nth-child(3) {
    min-width: 0;
    padding: 13px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .coin-metrics div:nth-child(even) {
    border-right: 0;
  }
  .coin-metrics div:nth-child(n+3) {
    border-bottom: 0;
  }
  .coin-metrics strong {
    font-size: 10px;
  }
  .trading-layout {
    gap: 10px;
  }
  .chart-toolbar {
    padding: 11px 12px;
  }
  .chart-toolbar .section-kicker {
    font-size: 7px;
  }
  .chart-toolbar h2 {
    font-size: 14px;
  }
  .timeframe-switch {
    padding: 3px;
  }
  .timeframe-switch button {
    min-width: 31px;
    height: 29px;
    padding-inline: 5px;
    font-size: 8px;
  }
  .chart-wrap {
    height: 286px;
    border-radius: 14px 14px 0 0;
  }
  .dex-chart,
  #coinChart,
  .chart-empty {
    border-radius: 14px 14px 0 0;
  }
  .swap-tabs button {
    height: 38px;
  }
  .swap-field > div {
    min-height: 62px;
  }
  .coin-activity-grid {
    gap: 10px;
  }
}

html[data-theme="light"] .coin-hero-card {
  color: #fff;
  border-color: rgba(5,7,5,.18);
  background:
    radial-gradient(circle at 8% 50%,rgba(227,255,113,.1),transparent 26%),
    #050705;
}
html[data-theme="light"] .coin-metrics {
  border-color: rgba(5,7,5,.14);
  background: #fff;
}
html[data-theme="light"] .coin-metrics div {
  border-color: rgba(5,7,5,.1);
}

/* Pons-inspired latest coin tiles and the $9K virtual graduation curve */
.home-coin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(210px,1fr));
  gap: 16px;
  transition: opacity .16s ease;
}
.home-coin-grid[aria-busy="true"] { opacity: .55; }
.coin-tile {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 22px;
  background: #202321;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.coin-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(227,255,113,.34);
  box-shadow: 0 20px 42px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.04);
}
.coin-tile-link {
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.coin-tile-art {
  aspect-ratio: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #050705;
  background:
    radial-gradient(circle at 32% 22%,rgba(227,255,113,.42),transparent 34%),
    linear-gradient(145deg,#b8a7ff,#b6f9d2 54%,#e3ff71);
}
.coin-tile-art > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.coin-tile-fallback {
  width: 42%;
  aspect-ratio: 1;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(5,7,5,.1);
  border-radius: 24%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.66);
  box-shadow: 0 20px 42px rgba(5,7,5,.18);
  font-size: clamp(27px,3vw,42px);
  font-weight: 700;
  letter-spacing: -.06em;
}
.coin-tile-badges {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.coin-tile-badges span,
.coin-tile-badges b {
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #050705;
  background: rgba(227,255,113,.92);
  box-shadow: 0 6px 18px rgba(0,0,0,.13);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
}
.coin-tile-badges b {
  color: #fff;
  background: rgba(10,13,11,.72);
}
.coin-tile-body {
  min-width: 0;
  padding: 16px 4px 4px;
}
.coin-tile-body h3 {
  margin: 0;
  overflow: hidden;
  color: #f7f8f6;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coin-tile-body > p {
  margin: 5px 0 0;
  overflow: hidden;
  color: #8d948f;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coin-tile-market {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.coin-tile-market strong {
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.035em;
}
.coin-tile-market span {
  color: #737a75;
  font-size: 11px;
  text-transform: uppercase;
}
.tile-bonding {
  margin-top: 14px;
}
.tile-bonding > div:first-child,
.bonding-card-head,
.bonding-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tile-bonding > div:first-child {
  margin-bottom: 8px;
  color: #8e958f;
  font-size: 10px;
}
.tile-bonding b {
  color: #aab1ab;
  font-weight: 500;
}
.bonding-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.bonding-track i {
  width: 0;
  min-width: 10%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg,#c9ef50,#e3ff71);
  box-shadow: 0 0 14px rgba(227,255,113,.32);
  transition: width .55s cubic-bezier(.22,.8,.22,1);
}
.coin-tile footer {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.065);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #737a75;
  font-size: 10px;
}
.coin-tile footer span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coin-tile footer time {
  flex: 0 0 auto;
  color: var(--near-green);
}
.home-coin-empty {
  margin-top: 0;
  border: 1px dashed var(--theme-line);
  border-radius: 22px;
  background: var(--theme-surface);
}
.home-coin-empty[hidden] { display: none; }

.bonding-card {
  margin-top: 12px;
  padding: 17px 19px 15px;
  border: 1px solid var(--theme-line);
  border-radius: 16px;
  color: var(--theme-text);
  background: var(--theme-surface);
}
.bonding-card-head {
  margin-bottom: 12px;
  font-size: 14px;
}
.bonding-card-head span {
  font-weight: 500;
}
.bonding-card-head strong {
  color: var(--theme-muted);
  font-weight: 400;
}
.bonding-card .bonding-track {
  height: 9px;
  background: var(--theme-surface-2);
}
.bonding-card-meta {
  margin-top: 10px;
  color: var(--theme-muted);
  font-size: 10px;
}
.bonding-card-meta b {
  color: var(--theme-text);
  font-weight: 500;
}

html[data-theme="light"] .coin-tile {
  border-color: rgba(5,7,5,.12);
  background: #fff;
  box-shadow: 0 14px 36px rgba(23,31,24,.07);
}
html[data-theme="light"] .coin-tile:hover {
  border-color: rgba(94,119,12,.36);
  box-shadow: 0 20px 42px rgba(23,31,24,.12);
}
html[data-theme="light"] .coin-tile-body h3,
html[data-theme="light"] .coin-tile-market strong { color: #050705; }
html[data-theme="light"] .coin-tile-body > p,
html[data-theme="light"] .tile-bonding > div:first-child,
html[data-theme="light"] .coin-tile footer { color: #747c75; }
html[data-theme="light"] .tile-bonding b { color: #596159; }
html[data-theme="light"] .bonding-track { background: #dde1db; }
html[data-theme="light"] .coin-tile footer { border-top-color: rgba(5,7,5,.09); }

@media (max-width: 900px) {
  .home-coin-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
}
@media (max-width: 680px) {
  .home-coin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .coin-tile { border-radius: 17px; }
  .coin-tile-link { padding: 7px; }
  .coin-tile-art { border-radius: 13px; }
  .coin-tile-body { padding: 12px 3px 3px; }
  .coin-tile-body h3 { font-size: 17px; }
  .coin-tile-body > p { font-size: 11px; }
  .coin-tile-market { margin-top: 9px; }
  .coin-tile-market strong { font-size: 18px; }
  .tile-bonding { margin-top: 11px; }
  .tile-bonding > div:first-child { font-size: 9px; }
  .coin-tile footer { margin-top: 12px; padding-top: 10px; font-size: 9px; }
  .coin-tile-badges { top: 9px; left: 9px; }
  .coin-tile-badges span,
  .coin-tile-badges b { min-height: 23px; padding-inline: 8px; font-size: 8px; }
  .bonding-card { padding: 15px; border-radius: 14px; }
  .bonding-card-head { font-size: 13px; }
}
@media (max-width: 380px) {
  .home-coin-grid { grid-template-columns: 1fr; }
}

/* Balanced compact market-card scale */
.home-coin-grid {
  grid-template-columns: repeat(auto-fill,minmax(180px,198px));
  gap: 13px;
  justify-content: start;
}
.coin-tile { border-radius: 19px; }
.coin-tile-link { padding: 8px; }
.coin-tile-art { border-radius: 14px; }
.coin-tile-fallback {
  width: 40%;
  font-size: clamp(24px,2.4vw,33px);
}
.coin-tile-badges {
  top: 9px;
  left: 9px;
  gap: 5px;
}
.coin-tile-badges span,
.coin-tile-badges b {
  min-height: 23px;
  padding-inline: 8px;
  font-size: 8px;
}
.coin-tile-body { padding: 13px 3px 3px; }
.coin-tile-body h3 { font-size: 17px; }
.coin-tile-body > p {
  margin-top: 4px;
  font-size: 11px;
}
.coin-tile-market { margin-top: 9px; gap: 5px; }
.coin-tile-market strong { font-size: 19px; }
.coin-tile-market span { font-size: 10px; }
.tile-bonding { margin-top: 11px; }
.tile-bonding > div:first-child {
  margin-bottom: 7px;
  font-size: 9px;
}
.bonding-track { height: 6px; }
.coin-tile footer {
  margin-top: 12px;
  padding-top: 9px;
  font-size: 9px;
}

@media (max-width: 900px) {
  .home-coin-grid {
    grid-template-columns: repeat(auto-fill,minmax(180px,198px));
    gap: 11px;
  }
}
@media (max-width: 680px) {
  .home-coin-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    justify-content: stretch;
    gap: 9px;
  }
}
@media (max-width: 380px) {
  .home-coin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Professional coin identity header */
.coin-page > .back-link {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  color: var(--theme-muted);
  background: var(--theme-surface);
}
.coin-page > .back-link:hover {
  color: var(--theme-text);
  border-color: rgba(227,255,113,.35);
}
.coin-hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: 18px;
  grid-template-columns: 88px minmax(0,1fr) auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 4% 50%,rgba(227,255,113,.1),transparent 24%),
    radial-gradient(circle at 92% 0,rgba(184,167,255,.08),transparent 26%),
    linear-gradient(135deg,#101311,#090b0a);
  box-shadow: 0 20px 52px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025);
}
.coin-hero-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 22px;
  left: 22px;
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(227,255,113,.42),rgba(184,167,255,.2),transparent);
}
.coin-hero-card > * {
  position: relative;
  z-index: 1;
}
.coin-hero-art {
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: linear-gradient(145deg,rgba(182,249,210,.95),rgba(227,255,113,.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55),0 12px 28px rgba(0,0,0,.2);
}
.coin-hero-art::after { display: none; }
.coin-hero-art img,
.coin-hero-art > span {
  width: 54px;
  height: 54px;
  border-radius: 15px;
}
.coin-hero-art > span {
  color: #050705;
  background: rgba(255,255,255,.4);
  font-size: 19px;
}
.coin-hero-copy {
  min-width: 0;
}
.coin-identity-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.coin-identity-top #coinTicker {
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgba(227,255,113,.2);
  border-radius: 999px;
  color: var(--near-green);
  background: rgba(227,255,113,.07);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .035em;
}
.coin-hero-copy h1 {
  margin: 9px 0 12px;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: clamp(29px,3.2vw,40px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.055em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coin-contract {
  margin-top: 0;
}
.coin-contract > span {
  margin-bottom: 5px;
  color: rgba(255,255,255,.42);
}
.coin-contract button {
  width: min(100%,520px);
  min-height: 38px;
  padding: 7px 10px;
  border-color: rgba(255,255,255,.1);
  border-radius: 11px;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.045);
}
.coin-contract button:hover {
  border-color: rgba(227,255,113,.28);
  background: rgba(227,255,113,.06);
}
.coin-actions {
  width: auto;
  min-width: 230px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.coin-actions .button {
  width: 100%;
  min-height: 42px;
  padding-inline: 14px;
  white-space: nowrap;
}
.coin-hero-card .button-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
}
.coin-hero-card .button-ghost:hover {
  border-color: rgba(227,255,113,.3);
  background: rgba(227,255,113,.07);
}
.coin-info-grid-single {
  grid-template-columns: minmax(0,1fr);
}
.coin-info-grid-single article {
  min-height: 0;
  padding: 24px;
}
html[data-theme="light"] .coin-hero-card {
  color: #fff;
  border-color: rgba(5,7,5,.16);
  background:
    radial-gradient(circle at 4% 50%,rgba(227,255,113,.1),transparent 24%),
    radial-gradient(circle at 92% 0,rgba(184,167,255,.08),transparent 26%),
    linear-gradient(135deg,#101311,#050705);
}

@media (max-width: 800px) {
  .coin-hero-card {
    padding: 14px;
    grid-template-columns: 68px minmax(0,1fr);
    gap: 14px;
    border-radius: 17px;
  }
  .coin-hero-art {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }
  .coin-hero-art img,
  .coin-hero-art > span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .coin-hero-copy h1 {
    margin: 7px 0 9px;
    font-size: clamp(26px,7vw,34px);
  }
  .coin-contract button {
    max-width: none;
  }
  .coin-actions {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .coin-page > .back-link {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 10px;
  }
  .coin-hero-card {
    padding: 12px;
    grid-template-columns: 56px minmax(0,1fr);
    gap: 11px;
    border-radius: 16px;
  }
  .coin-hero-art {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  .coin-hero-art img,
  .coin-hero-art > span {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .coin-identity-top #coinTicker {
    padding: 4px 7px;
    font-size: 9px;
  }
  .coin-hero-copy h1 {
    margin: 6px 0 8px;
    font-size: clamp(23px,7.2vw,29px);
  }
  .coin-contract > span {
    display: none;
  }
  .coin-contract button {
    min-height: 34px;
  }
  .coin-actions .button {
    min-height: 39px;
    font-size: 10px;
  }
  .coin-info-grid-single article {
    padding: 20px;
  }
}

/* Branded fallback artwork for coins launched without a custom image */
.default-token-icon {
  width: 58% !important;
  height: 58% !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent url("/favicon.svg") center / contain no-repeat !important;
  box-shadow: none !important;
  filter: grayscale(1) brightness(0);
  -webkit-mask: none;
  mask: none;
}
.coin-tile.has-default-icon .coin-tile-art,
.coin-icon.has-default-icon,
.coin-hero-art.has-default-icon {
  border-color: rgba(227,255,113,.34);
  background: linear-gradient(145deg,#efffa3 0%,#e3ff71 58%,#b9e946 100%);
}
.coin-tile.has-default-icon .coin-tile-art::before { display: none; }
.coin-tile.has-default-icon .default-token-icon {
  width: 47% !important;
  height: 47% !important;
  position: relative;
  z-index: 1;
  filter: grayscale(1) brightness(0) drop-shadow(0 12px 20px rgba(5,7,5,.16));
}
.coin-icon.has-default-icon .default-token-icon {
  width: 64% !important;
  height: 64% !important;
}
.coin-hero-art.has-default-icon .default-token-icon {
  width: 62% !important;
  height: 62% !important;
  position: relative;
  z-index: 2;
}
.default-token-mark {
  width: 54%;
  height: 54%;
  position: relative;
  z-index: 2;
  display: block;
  overflow: visible;
  color: #050705;
  filter: drop-shadow(0 10px 16px rgba(5,7,5,.16));
}
.default-token-mark path { stroke: #050705; }
.coin-tile.has-default-icon .default-token-mark { width: 48%; height: 48%; }
.coin-icon.has-default-icon .default-token-mark { width: 66%; height: 66%; }
.coin-hero-art.has-default-icon .default-token-mark { width: 68%; height: 68%; }
#previewArt .default-token-mark,
#launchModalIcon .default-token-mark { width: 64%; height: 64%; }
html[data-theme="light"] .coin-tile.has-default-icon .coin-tile-art,
html[data-theme="light"] .coin-icon.has-default-icon,
html[data-theme="light"] .coin-hero-art.has-default-icon {
  border-color: rgba(83,105,9,.28);
}

/* Compact coin identity and inline contract address */
.coin-hero-copy h1 {
  margin: 7px 0 10px;
  font-size: clamp(27px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
}
.coin-contract button {
  width: fit-content;
  max-width: 100%;
  min-width: 0;
}
.coin-contract-prefix {
  flex: 0 0 auto;
  color: rgba(255,255,255,.56);
  font: 500 9px "FKGrotesk",sans-serif;
  line-height: 1;
  text-transform: uppercase;
}
.coin-contract strong { flex: 0 1 auto; }
.coin-contract b { flex: 0 0 auto; }
#swapNotice:empty { display: none; }

/* Creator profile compact sizing and homepage-style coin tiles */
.profile-header h1 {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(24px,2.5vw,34px);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-revenue {
  grid-template-columns: minmax(0,1fr) 150px 186px;
  column-gap: 12px;
}
.profile-revenue > div.profile-revenue-copy:first-child { grid-column: 1; }
.profile-revenue-share {
  grid-column: 2;
  width: 150px;
  min-height: 50px;
  height: 50px;
  padding: 9px 13px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 14px;
}
.profile-revenue-share span {
  font-size: 8px;
  line-height: 1.2;
}
.profile-revenue-share strong {
  font-size: 22px;
}
.profile-revenue > .button {
  grid-column: 3;
  width: 186px;
  min-width: 186px;
  min-height: 50px;
  height: 50px;
}
.profile-revenue > .reward-list {
  grid-column: 1 / -1;
}
.profile-list-head,
.profile-coin-grid,
.profile-coin-empty {
  grid-column: 1 / -1;
}
.profile-coin-grid {
  width: 100%;
  margin-top: 0;
}
.profile-coin-empty {
  margin-top: 0;
}
.profile-list-head h2 {
  font-size: 30px;
}

@media (max-width: 800px) {
  .profile-revenue {
    grid-template-columns: minmax(0,1fr) 140px 170px;
  }
  .profile-revenue > div.profile-revenue-copy:first-child { grid-column: 1; }
  .profile-revenue > .profile-revenue-share {
    grid-column: 2;
    width: 140px;
  }
  .profile-revenue > .button {
    grid-column: 3;
    width: 170px;
    min-width: 170px;
  }
  .profile-revenue > .reward-list {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .profile-header h1 {
    font-size: clamp(22px,7vw,28px);
  }
  .profile-revenue {
    grid-template-columns: minmax(0,1fr) 132px;
    padding: 20px 18px;
  }
  .profile-revenue > div.profile-revenue-copy:first-child { grid-column: 1; }
  .profile-revenue > .profile-revenue-share {
    grid-column: 2;
    width: 132px;
  }
  .profile-revenue > .button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
  .profile-revenue > .reward-list {
    grid-column: 1 / -1;
  }
  .profile-list-head h2 {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  .profile-revenue {
    grid-template-columns: 1fr;
  }
  .profile-revenue > div.profile-revenue-copy:first-child,
  .profile-revenue > .profile-revenue-share,
  .profile-revenue > .button,
  .profile-revenue > .reward-list {
    grid-column: 1;
  }
  .profile-revenue > .profile-revenue-share {
    width: 100%;
  }
}

/* Coin page: compact, reliable market-terminal layout */
.coin-view {
  background:
    radial-gradient(circle at 78% 4%,rgba(227,255,113,.035),transparent 24%),
    radial-gradient(circle at 10% 26%,rgba(182,249,210,.025),transparent 22%);
}
.coin-page {
  width: min(1220px,calc(100% - 48px));
  padding-top: 18px;
  padding-bottom: 72px;
}
.coin-page > .back-link {
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-color: transparent;
  background: transparent;
  font-size: 10px;
}
.coin-page > .back-link:hover {
  border-color: var(--theme-line);
  background: var(--theme-surface);
}
.coin-loading,
.coin-error { min-height: min(52vh,420px); }
#coinContent { width: 100%; }
.coin-hero-card {
  min-height: 0;
  padding: 16px;
  grid-template-columns: 76px minmax(0,1fr) 224px;
  gap: 16px;
  border-radius: 18px;
  background:
    linear-gradient(90deg,rgba(227,255,113,.055),transparent 28%),
    radial-gradient(circle at 92% 0,rgba(184,167,255,.07),transparent 25%),
    #0a0d0b;
  box-shadow: 0 14px 38px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.025);
}
.coin-hero-card::before { right: 18px; left: 18px; }
.coin-hero-art {
  width: 76px;
  height: 76px;
  border-radius: 17px;
}
.coin-hero-art:not(.has-default-icon) img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: none;
}
.coin-hero-copy h1 {
  margin: 7px 0 10px;
  font-size: clamp(27px,2.6vw,36px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
}
.coin-identity-top #coinTicker {
  padding: 4px 7px;
  font-size: 9px;
}
.coin-contract > span { margin-bottom: 4px; }
.coin-contract button {
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 9px;
}
.coin-contract strong { font-size: 9px; }
.coin-actions {
  min-width: 0;
  width: 224px;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.coin-actions .button {
  min-height: 40px;
  padding-inline: 12px;
  gap: 12px;
  border-radius: 11px;
  font-size: 10px;
}
.coin-metrics {
  margin-top: 10px;
  border-radius: 13px;
}
.coin-metrics div {
  min-width: 0;
  padding: 13px 16px;
}
.coin-metrics span { font-size: 8px; }
.coin-metrics strong {
  margin-top: 5px;
  font-size: 12px;
}
.bonding-card {
  margin-top: 10px;
  padding: 13px 16px 12px;
  border-radius: 13px;
}
.bonding-card-head {
  margin-bottom: 9px;
  font-size: 12px;
}
.bonding-card .bonding-track { height: 6px; }
.bonding-card-meta {
  margin-top: 8px;
  font-size: 9px;
}
.trading-layout {
  margin-top: 10px;
  grid-template-columns: minmax(0,1fr) 330px;
  gap: 10px;
}
.chart-panel,
.swap-panel,
.activity-panel {
  border-radius: 17px;
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}
.chart-toolbar {
  min-height: 62px;
  padding: 12px 16px;
  border-radius: 17px 17px 0 0;
}
.chart-toolbar h2 {
  margin-top: 5px;
  font-size: 17px;
}
.chart-toolbar .section-kicker { font-size: 8px; }
.timeframe-switch {
  padding: 3px;
  border-radius: 9px;
}
.timeframe-switch button {
  min-width: 36px;
  height: 28px;
  padding-inline: 8px;
}
.chart-wrap {
  height: clamp(300px,35vh,360px);
  border-radius: 0 0 17px 17px;
}
.dex-chart,
#coinChart,
.chart-empty { border-radius: 0 0 17px 17px; }
.chart-empty strong { font-size: 13px; }
.chart-empty span {
  max-width: 280px;
  font-size: 9px;
}
.swap-panel {
  padding: 13px;
  top: 92px;
}
.swap-tabs button {
  height: 36px;
  font-size: 10px;
}
.swap-field { margin-top: 13px; }
.swap-field > div {
  min-height: 60px;
  border-radius: 11px;
}
.swap-field input { font-size: 22px; }
.swap-summary {
  margin-top: 13px;
  padding: 11px 0;
  gap: 7px;
}
.swap-submit {
  min-height: 44px;
  margin-top: 12px;
}
.swap-panel > p {
  margin-top: 8px;
  line-height: 1.45;
}
.coin-activity-grid {
  margin-top: 10px;
  gap: 10px;
}
.trades-head {
  min-height: 50px;
  padding-inline: 16px;
}
.trade-list,
.holder-list,
.trade-list > p,
.holder-list > p { min-height: 76px; }
.coin-detail-metrics {
  margin-top: 10px;
  border-radius: 13px;
}
.coin-detail-metrics > div { padding: 14px 16px; }
.coin-info-grid,
.coin-info-grid-single {
  width: 100%;
  margin-top: 10px;
  display: block;
}
.coin-info-grid-single article {
  width: 100%;
  min-height: 0;
  padding: 20px;
  border-radius: 15px;
}
.coin-info-grid h2 {
  margin: 8px 0 10px;
  font-size: 23px;
}
.coin-info-grid p {
  margin: 0;
  line-height: 1.6;
}
.coin-info-grid-single .section-kicker { display: block; margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.coin-info-grid-single #coinDescription { margin: 14px 0 0; max-width: 780px; color: var(--theme-muted); font-size: 13px; line-height: 1.7; letter-spacing: -.005em; }
.coin-socials { margin-top: 15px; }

@media (max-width: 980px) {
  .trading-layout { grid-template-columns: minmax(0,1fr) 300px; }
}

@media (max-width: 800px) {
  .coin-page {
    width: min(calc(100% - 24px),680px);
    padding-top: 12px;
    padding-bottom: 82px;
  }
  .coin-page > .back-link { margin-bottom: 9px; }
  .coin-hero-card {
    padding: 13px;
    grid-template-columns: 62px minmax(0,1fr);
    gap: 12px;
    border-radius: 16px;
  }
  .coin-hero-art {
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }
  .coin-hero-copy h1 {
    margin: 5px 0 7px;
    font-size: clamp(23px,6.5vw,30px);
  }
  .coin-contract { margin-top: 0; }
  .coin-contract button { min-height: 32px; }
  .coin-actions {
    grid-column: 1 / -1;
    width: 100%;
  }
  .coin-actions .button { min-height: 38px; }
  .coin-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .coin-metrics div,
  .coin-metrics div:nth-child(2),
  .coin-metrics div:nth-child(3) {
    padding: 11px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .coin-metrics div:nth-child(even) { border-right: 0; }
  .coin-metrics div:nth-child(n+3) { border-bottom: 0; }
  .bonding-card { padding: 12px; }
  .trading-layout { grid-template-columns: 1fr; }
  .chart-toolbar {
    min-height: 58px;
    padding: 10px 12px;
  }
  .chart-wrap { height: 280px; }
  .swap-panel {
    position: static;
    padding: 12px;
  }
  .coin-detail-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .coin-detail-metrics > div,
  .coin-detail-metrics > div:nth-child(2) {
    padding: 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .coin-detail-metrics > div:nth-child(even) { border-right: 0; }
  .coin-detail-metrics > div:nth-child(n+3) { border-bottom: 0; }
}

@media (max-width: 520px) {
  .coin-page { width: calc(100% - 20px); }
  .coin-hero-card {
    grid-template-columns: 54px minmax(0,1fr);
    padding: 11px;
    gap: 10px;
  }
  .coin-hero-art {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }
  .coin-identity-top #coinTicker { padding: 3px 6px; }
  .coin-hero-copy h1 {
    margin: 5px 0 6px;
    font-size: clamp(21px,7vw,27px);
  }
  .coin-contract > span { display: none; }
  .coin-contract strong { font-size: 8px; }
  .coin-actions .button {
    min-height: 37px;
    font-size: 9px;
  }
  .bonding-card-head { align-items: flex-start; }
  .chart-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .timeframe-switch { width: 100%; }
  .timeframe-switch button {
    min-width: 0;
    flex: 1;
  }
  .chart-wrap { height: 250px; }
  .coin-activity-grid { grid-template-columns: 1fr; }
  .coin-info-grid-single article { padding: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  #coinContent:not([hidden]) { animation: coin-content-in .32s ease both; }
}
@keyframes coin-content-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Coin share modal and generated X banner */
body.share-modal-open { overflow: hidden; }
.share-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
}
.share-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(3,5,4,.78);
  backdrop-filter: blur(18px);
  cursor: default;
}
.share-modal-card {
  width: min(620px,100%);
  max-height: calc(100vh - 32px);
  padding: 0;
  position: relative;
  z-index: 1;
  overflow: auto;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
}
.share-modal-head {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.share-modal-head h2 {
  margin: 5px 0 0;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.045em;
}
.share-modal-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(255,255,255,.9);
  background: rgba(5,7,5,.78);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.share-modal-close svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.share-modal-close:hover {
  color: #050705;
  border-color: #e3ff71;
  background: #e3ff71;
}
.share-banner-frame {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #070a08;
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}
#shareBannerCanvas {
  width: 100%;
  height: 100%;
  display: block;
}
.share-banner-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.72);
  background: rgba(7,10,8,.74);
  backdrop-filter: blur(8px);
  font-size: 11px;
}
.share-banner-loading span {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.14);
  border-top-color: #e3ff71;
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
.share-link-row { margin-top: 14px; }
.share-link-row label {
  margin: 0 0 7px 2px;
  display: block;
  color: rgba(255,255,255,.46);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.share-link-row > div {
  min-height: 46px;
  padding: 5px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  background: #080b09;
}
.share-link-row input {
  width: 100%;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  outline: 0;
  color: rgba(255,255,255,.7);
  background: transparent;
  font-size: 10px;
}
.share-link-row button {
  min-width: 98px;
  border: 0;
  border-radius: 9px;
  color: #050705;
  background: #e3ff71;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.share-modal-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.share-modal-actions .button {
  width: 100%;
  min-height: 46px;
}
.share-modal-actions .button[disabled] {
  opacity: .48;
  cursor: wait;
  transform: none;
}
.share-modal-note {
  margin: 10px 2px 0;
  color: rgba(255,255,255,.4);
  font-size: 9px;
  line-height: 1.5;
}
html[data-theme="light"] .share-modal-card {
  color: #fff;
  border: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 700px) {
  .share-modal {
    padding: 10px;
    align-items: end;
  }
  .share-modal-card {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 0;
    border-radius: 0;
  }
  .share-modal-head { margin-bottom: 11px; }
  .share-modal-head h2 { font-size: 21px; }
  .share-modal-close {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .share-banner-frame { border-radius: 13px; }
  .share-link-row { margin-top: 10px; }
  .share-modal-actions {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .share-modal-actions .button { min-height: 43px; }
  .share-modal-note { margin-top: 8px; }
}

/* Balanced coin header and production-grade action hierarchy */
.coin-hero-card {
  padding: 18px;
  grid-template-columns: 100px minmax(0,1fr) 232px;
  align-items: center;
  gap: 18px;
}
.coin-hero-art {
  width: 100px;
  height: 100px;
  border-radius: 21px;
}
.coin-hero-art.has-default-icon .default-token-icon {
  width: 72% !important;
  height: 72% !important;
}
.coin-hero-copy {
  min-width: 0;
  min-height: 100px;
  display: grid;
  align-content: center;
}
.coin-identity-top {
  min-height: 20px;
}
.coin-identity-top #coinTicker {
  padding: 4px 8px;
  font-size: 9.5px;
}
.coin-hero-copy h1 {
  margin: 9px 0 12px;
  font-size: clamp(26px, 2.35vw, 28px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
}
.coin-contract {
  margin: 0;
}
.coin-contract button {
  min-height: 34px;
  padding: 6px 10px;
  gap: 7px;
  border-radius: 9px;
}
.coin-contract-prefix {
  font-size: 7.5px;
  line-height: 1;
  letter-spacing: .04em;
}
.coin-contract strong {
  font-size: 9.5px;
  line-height: 1;
}
.coin-contract b {
  margin-left: 2px;
  font-size: 8px;
  line-height: 1;
}
.coin-actions {
  width: 292px;
  display: flex;
  align-items: center;
  align-self: center;
  justify-self: end;
  gap: 8px;
}
.coin-actions .button {
  min-width: 0;
  min-height: 42px;
  padding-inline: 13px;
  justify-content: center;
  border-radius: 11px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.coin-actions > a {
  flex: 1 1 0;
}
.coin-actions #coinDexScreener {
  flex-grow: 1.18;
}
.coin-actions .button span {
  font-size: 10.5px;
}
.coin-actions .share-icon-button {
  width: 42px;
  flex: 0 0 42px;
  padding: 0;
}
.share-icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
#coinMarketCap {
  color: var(--near-green);
  font-weight: 800;
}
.coin-actions .button:hover {
  transform: translateY(-1px);
}
.coin-actions .button:focus-visible {
  outline: 2px solid var(--near-green);
  outline-offset: 3px;
}
.coin-metrics span {
  font-size: 9px;
  letter-spacing: .09em;
}
.coin-metrics strong {
  font-size: 13px;
  line-height: 1.25;
}
.bonding-card-head {
  font-size: 13px;
}
.timeframe-switch button {
  font-size: 10.5px;
  font-weight: 700;
}
.swap-tabs button {
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 800px) {
  .coin-hero-card {
    padding: 14px;
    grid-template-columns: 78px minmax(0,1fr);
    gap: 13px;
  }
  .coin-hero-art {
    width: 78px;
    height: 78px;
    border-radius: 17px;
  }
  .coin-hero-copy {
    min-height: 78px;
  }
  .coin-hero-copy h1 {
    margin: 5px 0 7px;
    font-size: clamp(23px,6.2vw,29px);
  }
  .coin-actions {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .coin-hero-card {
    padding: 12px;
    grid-template-columns: 68px minmax(0,1fr);
    gap: 11px;
  }
  .coin-hero-art {
    width: 68px;
    height: 68px;
    border-radius: 15px;
  }
  .coin-hero-copy {
    min-height: 68px;
  }
  .coin-hero-copy h1 {
    margin: 4px 0 6px;
    font-size: clamp(21px,6.8vw,26px);
  }
  .coin-contract button {
    width: 100%;
    min-height: 30px;
    padding-inline: 7px;
  }
  .coin-contract strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .coin-actions .button {
    min-height: 42px;
    font-size: 11px;
  }
}

/* Matched chart and swap panel heights */
.trading-layout {
  align-items: stretch;
}
.chart-panel,
.swap-panel {
  height: 100%;
  box-sizing: border-box;
}
.chart-panel {
  display: flex;
  flex-direction: column;
}
.chart-wrap {
  flex: 1 1 auto;
}
.swap-panel {
  min-height: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.swap-panel .swap-submit {
  margin-top: auto;
}
.swap-panel > p:empty {
  display: none;
}

@media (max-width: 800px) {
  .chart-panel,
  .swap-panel {
    height: auto;
  }
  .swap-panel {
    min-height: 0;
  }
  .swap-panel .swap-submit {
    margin-top: 12px;
  }
}

/* Proportional swap panel typography */
@media (min-width: 801px) {
  .trading-layout {
    grid-template-columns: minmax(0,1fr) 350px;
  }
}

.swap-panel {
  padding: 16px;
}

.swap-tabs {
  border-radius: 12px;
}

.swap-tabs button {
  height: 40px;
  font-size: 13px;
  font-weight: 700;
}

.swap-field {
  margin-top: 15px;
}

.swap-field > span {
  margin-bottom: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .07em;
}

.swap-field > div {
  min-height: 64px;
  padding-inline: 15px;
}

.swap-field input {
  font-size: 25px;
  line-height: 1;
}

.swap-field strong {
  font-size: 12px;
  font-weight: 700;
}

.swap-chips {
  margin-top: 9px;
  gap: 6px;
}

.swap-chips button {
  height: 35px;
  font-size: 11px;
  font-weight: 650;
}

.swap-summary {
  margin-top: 14px;
  padding: 12px 0;
  gap: 9px;
}

.swap-summary span {
  align-items: center;
  font-size: 10.5px;
  line-height: 1.35;
}

.swap-summary b {
  font-size: 11px;
  font-weight: 650;
}

.swap-panel .swap-submit {
  min-height: 48px;
  font-size: 14px;
  font-weight: 700;
}

.swap-panel > p {
  font-size: 10px;
}

@media (max-width: 800px) {
  .swap-panel {
    padding: 14px;
  }

  .swap-tabs button {
    height: 40px;
    font-size: 13px;
  }

  .swap-field input {
    font-size: 24px;
  }

  .swap-chips button {
    min-height: 36px;
    font-size: 11px;
  }

  .swap-panel .swap-submit {
    min-height: 48px;
    font-size: 13px;
  }
}

/* Complete coin terminal palette for light mode */
html[data-theme="light"] .coin-view {
  background:
    radial-gradient(circle at 80% 3%,rgba(227,255,113,.15),transparent 25%),
    radial-gradient(circle at 8% 32%,rgba(182,249,210,.11),transparent 24%);
}
html[data-theme="light"] .coin-hero-card {
  color: #050705;
  border-color: rgba(5,7,5,.13);
  background:
    radial-gradient(circle at 4% 50%,rgba(227,255,113,.22),transparent 25%),
    radial-gradient(circle at 92% 0,rgba(184,167,255,.12),transparent 27%),
    linear-gradient(135deg,#fff 0%,#f7f9f5 100%);
  box-shadow: 0 16px 42px rgba(20,31,20,.08),inset 0 1px 0 #fff;
}
html[data-theme="light"] .coin-hero-card::before {
  background: linear-gradient(90deg,transparent,rgba(94,126,0,.38),rgba(130,110,220,.17),transparent);
}
html[data-theme="light"] .coin-hero-copy h1 { color: #050705; }
html[data-theme="light"] .coin-identity-top #coinTicker {
  color: #4d6800;
  border-color: rgba(84,112,0,.23);
  background: rgba(227,255,113,.32);
}
html[data-theme="light"] .coin-contract > span,
html[data-theme="light"] .coin-contract-prefix { color: #747b74; }
html[data-theme="light"] .coin-contract button {
  color: #4e554e;
  border-color: rgba(5,7,5,.12);
  background: rgba(255,255,255,.78);
}
html[data-theme="light"] .coin-contract button:hover {
  border-color: rgba(84,112,0,.35);
  background: #f3f7e8;
}
html[data-theme="light"] .coin-hero-card .button-primary {
  color: #fff;
  background: #050705;
}
html[data-theme="light"] .coin-hero-card .button-primary:hover {
  box-shadow: 0 10px 26px rgba(5,7,5,.16);
}
html[data-theme="light"] .coin-hero-card .button-ghost {
  color: #050705;
  border-color: rgba(5,7,5,.14);
  background: rgba(255,255,255,.8);
}
html[data-theme="light"] .coin-hero-card .button-ghost:hover {
  border-color: rgba(84,112,0,.34);
  background: #f3f7e8;
}
html[data-theme="light"] .coin-metrics,
html[data-theme="light"] .bonding-card,
html[data-theme="light"] .chart-panel,
html[data-theme="light"] .swap-panel,
html[data-theme="light"] .activity-panel,
html[data-theme="light"] .coin-detail-metrics,
html[data-theme="light"] .coin-info-grid article,
html[data-theme="light"] .coin-info-grid aside {
  color: #050705;
  border-color: rgba(5,7,5,.13);
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 28px rgba(20,31,20,.055);
}
html[data-theme="light"] .coin-metrics div,
html[data-theme="light"] .bonding-card,
html[data-theme="light"] .chart-toolbar,
html[data-theme="light"] .trades-head,
html[data-theme="light"] .swap-summary,
html[data-theme="light"] .coin-detail-metrics > div { border-color: rgba(5,7,5,.1); }
html[data-theme="light"] .coin-metrics span,
html[data-theme="light"] .bonding-card-meta,
html[data-theme="light"] .trades-head span,
html[data-theme="light"] .swap-field > span,
html[data-theme="light"] .swap-summary span,
html[data-theme="light"] .coin-detail-metrics span,
html[data-theme="light"] .chart-empty span { color: #697169; }
html[data-theme="light"] .bonding-track { background: #e8ece5; }
html[data-theme="light"] .bonding-track i {
  background: linear-gradient(90deg,#6d9200,#a3cc24);
  box-shadow: 0 0 14px rgba(109,146,0,.18);
}
html[data-theme="light"] .chart-toolbar .section-kicker { color: #5d7807; }
html[data-theme="light"] .timeframe-switch,
html[data-theme="light"] .swap-tabs {
  border-color: rgba(5,7,5,.1);
  background: #f0f3ed;
}
html[data-theme="light"] .timeframe-switch button,
html[data-theme="light"] .swap-tabs button { color: #667066; }
html[data-theme="light"] .timeframe-switch button:hover,
html[data-theme="light"] .swap-tabs button:hover { color: #050705; }
html[data-theme="light"] .timeframe-switch button.active,
html[data-theme="light"] .swap-tabs button.active {
  color: #fff;
  background: #050705;
  box-shadow: 0 5px 14px rgba(5,7,5,.14);
}
html[data-theme="light"] .chart-wrap {
  background:
    radial-gradient(circle at 42% 22%,rgba(145,185,24,.08),transparent 35%),
    linear-gradient(180deg,#fbfcfa,#f4f7f2);
}
html[data-theme="light"] .chart-empty {
  color: #050705;
  background: radial-gradient(circle at 50% 30%,rgba(145,185,24,.08),transparent 46%);
}
html[data-theme="light"] .chart-source { color: #587700; }
html[data-theme="light"] .swap-field > div {
  border-color: rgba(5,7,5,.13);
  background: #f6f8f4;
}
html[data-theme="light"] .swap-field input { color: #050705; }
html[data-theme="light"] .swap-field input::placeholder { color: #a1a8a1; }
html[data-theme="light"] .swap-field strong { color: #557300; }
html[data-theme="light"] .swap-chips button {
  color: #535d53;
  border-color: rgba(5,7,5,.12);
  background: #f7f9f5;
}
html[data-theme="light"] .swap-chips button:hover {
  color: #050705;
  border-color: #b9da3b;
  background: #e3ff71;
}
html[data-theme="light"] .swap-summary b { color: #1f251f; }
html[data-theme="light"] .swap-panel > p { color: #747c74; }
html[data-theme="light"] .trade-table-head,
html[data-theme="light"] .holder-table-head {
  color: #687168;
  border-color: rgba(5,7,5,.1);
  background: #eef2eb;
}
html[data-theme="light"] .trade-row,
html[data-theme="light"] .holder-row {
  color: #667066;
  border-color: rgba(5,7,5,.075);
}
html[data-theme="light"] .trade-row span:last-child,
html[data-theme="light"] .holder-row b { color: #737c73; }
html[data-theme="light"] .trade-row.buy b,
html[data-theme="light"] .trade-row b.buy { color: #4f7000; }
html[data-theme="light"] .trade-row.sell b,
html[data-theme="light"] .trade-row b.sell { color: #b43b35; }
html[data-theme="light"] .holder-row a { color: #465046; }
html[data-theme="light"] .holder-row a:hover { color: #4f7000; }
html[data-theme="light"] .holder-row strong { color: #050705; }
html[data-theme="light"] .trade-list > p,
html[data-theme="light"] .holder-list > p { color: #757d75; }
html[data-theme="light"] .coin-info-grid p { color: #626a62; }
html[data-theme="light"] .coin-socials a {
  color: #303830;
  border-color: rgba(5,7,5,.13);
  background: #f7f9f5;
}

/* Compact AJAX pagination and the same slim, modern scrollbar language site-wide. */
* {
  scrollbar-width: thin;
  scrollbar-color: #3a403a #090b0a;
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-track {
  background: #090b0a;
}
*::-webkit-scrollbar-thumb {
  border: 2px solid #090b0a;
  border-radius: 999px;
  background: #3a403a;
}
*::-webkit-scrollbar-thumb:hover {
  background: #596159;
}
.trade-list,
.holder-list {
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
}
.trade-list[aria-busy="true"],
.holder-list[aria-busy="true"] {
  opacity: .58;
  transition: opacity .16s ease;
}
.activity-pagination {
  min-height: 50px;
  margin-top: auto;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  background: rgba(5,7,5,.18);
}
.activity-page-numbers {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.activity-pagination button {
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  color: #969c94;
  background: rgba(255,255,255,.025);
  font: 600 9px "FKGrotesk",sans-serif;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
}
.activity-pagination button:hover:not(:disabled),
.activity-pagination button:focus-visible {
  color: var(--ink);
  border-color: var(--lime);
  outline: 0;
  background: var(--lime);
  transform: translateY(-1px);
}
.activity-pagination button.active {
  color: var(--ink);
  border-color: var(--lime);
  background: var(--lime);
}
.activity-pagination button:disabled {
  opacity: .28;
  cursor: default;
}
.activity-page-gap {
  width: 14px;
  color: #626860;
  text-align: center;
  font-size: 9px;
}
html[data-theme="light"],
html[data-theme="light"] * {
  scrollbar-color: #aab2a9 #eef2eb;
}
html[data-theme="light"] *::-webkit-scrollbar-track {
  background: #eef2eb;
}
html[data-theme="light"] *::-webkit-scrollbar-thumb {
  border-color: #eef2eb;
  background: #aab2a9;
}
html[data-theme="light"] *::-webkit-scrollbar-thumb:hover {
  background: #818b81;
}
html[data-theme="light"] .activity-pagination {
  border-color: rgba(5,7,5,.09);
  background: rgba(5,7,5,.02);
}
html[data-theme="light"] .activity-pagination button {
  color: #657065;
  border-color: rgba(5,7,5,.13);
  background: #f7f9f5;
}
html[data-theme="light"] .activity-pagination button:hover:not(:disabled),
html[data-theme="light"] .activity-pagination button:focus-visible,
html[data-theme="light"] .activity-pagination button.active {
  color: #fff;
  border-color: var(--near-green);
  background: var(--near-green);
}
html[data-theme="light"] .activity-page-gap {
  color: #828b82;
}

@media (max-width: 520px) {
  .activity-pagination {
    padding-inline: 10px;
  }
  .activity-pagination button {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
}

/* Cross-chain wallet funding */
body.fund-near-open {
  overflow: hidden;
}

.fund-near-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--near-green) 48%, transparent);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--theme-text);
  background: color-mix(in srgb, var(--near-green) 12%, var(--theme-surface-2));
  font: 700 12px "FKGrotesk", sans-serif;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.fund-near-button:hover,
.fund-near-button:focus-visible {
  border-color: var(--near-green);
  outline: 0;
  background: color-mix(in srgb, var(--near-green) 19%, var(--theme-surface-2));
  transform: translateY(-1px);
}

.fund-near-button > span {
  color: var(--lime);
  font-size: 17px;
  line-height: 1;
}

.fund-near-swap {
  width: 100%;
  margin-top: 9px;
}

.fund-near-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 22px;
}

.fund-near-modal[hidden] {
  display: none;
}

.fund-near-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
  cursor: default;
}

.fund-near-card {
  position: relative;
  z-index: 1;
  width: min(100%, 510px);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  color: #f5f7f3;
  background:
    radial-gradient(circle at 86% 0%, rgba(100, 255, 178, .11), transparent 34%),
    #0d110e;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .56);
}

.fund-near-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.fund-near-head h2 {
  margin: 6px 0 0;
  color: #fff;
  font: 700 clamp(25px, 5vw, 34px)/1.05 "FKGrotesk", sans-serif;
  letter-spacing: -.035em;
}

.fund-near-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #c8cec8;
  background: rgba(255, 255, 255, .04);
  font-size: 25px;
  cursor: pointer;
}

.fund-near-close:hover,
.fund-near-close:focus-visible {
  border-color: var(--lime);
  color: #fff;
  outline: 0;
}

.fund-near-intro {
  margin: 14px 0 18px;
  color: #9ca59d;
  font-size: 13px;
  line-height: 1.55;
}

.fund-near-recipient {
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, .025);
}

.fund-near-recipient span,
.fund-near-form label > span,
.fund-near-quote span {
  color: #7f8980;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fund-near-recipient strong {
  max-width: 70%;
  overflow: hidden;
  color: #dce5dc;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fund-near-form {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fund-near-form label {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.fund-near-form select,
.fund-near-amount {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  color: #f6f8f5;
  background: #141a15;
}

.fund-near-form select {
  padding: 0 36px 0 14px;
  font: 600 13px "FKGrotesk", sans-serif;
  cursor: pointer;
}

.fund-near-form select:focus,
.fund-near-amount:focus-within {
  border-color: var(--near-green);
  outline: 0;
}

.fund-near-amount {
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fund-near-amount input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: 700 18px "FKGrotesk", sans-serif;
}

.fund-near-amount strong {
  color: var(--lime);
  font-size: 11px;
}

.fund-near-primary {
  width: 100%;
  margin-top: 16px;
}

.fund-near-quote {
  margin-top: 14px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}

.fund-near-quote > div {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fund-near-quote > div + div {
  border-top: 1px solid rgba(255, 255, 255, .065);
}

.fund-near-quote strong {
  color: #eef4ee;
  font-size: 12px;
}

.fund-near-progress {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(133, 255, 190, .2);
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(82, 241, 153, .055);
}

.fund-near-progress i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--near-green);
  box-shadow: 0 0 0 5px rgba(82, 241, 153, .12);
}

.fund-near-progress.is-active i {
  animation: fund-near-pulse 1.4s ease-in-out infinite;
}

.fund-near-progress.is-error {
  border-color: rgba(255, 111, 111, .25);
  background: rgba(255, 87, 87, .06);
}

.fund-near-progress.is-error i {
  background: #ff7373;
  box-shadow: 0 0 0 5px rgba(255, 87, 87, .1);
}

.fund-near-progress div {
  display: grid;
  gap: 3px;
}

.fund-near-progress span {
  color: #f1f6f1;
  font-size: 12px;
  font-weight: 700;
}

.fund-near-progress small {
  color: #8c978e;
  font-size: 11px;
  line-height: 1.35;
}

.fund-near-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.fund-near-actions > :only-child {
  grid-column: 1 / -1;
}

.fund-near-message {
  min-height: 18px;
  margin: 11px 0 0;
  color: #aeb8af;
  font-size: 11px;
  line-height: 1.4;
}

.fund-near-message.is-error {
  color: #ff9292;
}

.fund-near-note {
  margin: 6px 0 0;
  color: #6f7971;
  font-size: 10px;
  line-height: 1.5;
}

@keyframes fund-near-pulse {
  50% { transform: scale(.72); opacity: .58; }
}

html[data-theme="light"] .fund-near-button {
  color: #132018;
  background: color-mix(in srgb, var(--near-green) 10%, #fff);
}

@media (max-width: 800px) {
  .fund-near-button {
    min-height: 42px;
    padding-inline: 12px;
  }
}

@media (max-width: 560px) {
  .fund-near-modal {
    padding: 10px;
    align-items: end;
  }
  .fund-near-card {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
    border-radius: 20px;
  }
  .fund-near-form {
    grid-template-columns: 1fr;
  }
  .fund-near-actions {
    grid-template-columns: 1fr;
  }
  .fund-near-button {
    padding-inline: 11px;
    font-size: 0;
  }
  .fund-near-button > span {
    font-size: 18px;
  }
}

.fund-near-create {
  width: 100%;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: 400 12px/1.2 "FKGrotesk", sans-serif;
  letter-spacing: 0;
}

.fund-near-create strong {
  color: var(--lime);
  font-size: inherit;
  font-weight: 700;
}

.fund-near-create span {
  margin-left: 2px;
  font-size: 12px;
}

/* NearPad funding surface: shared header control and theme-aware modal */
.header-utility {
  height: 47px;
  padding: 5px;
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--theme-surface-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.fund-near-button {
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  gap: 14px;
  color: var(--theme-muted);
  background: transparent;
  font: 700 12px/1 "FKGrotesk", sans-serif;
  box-shadow: none;
}

.fund-near-button:hover,
.fund-near-button:focus-visible {
  border-color: transparent;
  color: var(--near-black);
  background: var(--near-green);
  box-shadow: 0 8px 22px rgba(227, 255, 113, .13);
  transform: none;
}

.fund-near-button > span {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.fund-near-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  display: block;
  color: var(--near-green);
}

html[data-theme="light"] .fund-near-icon {
  color: #61760f;
}

.fund-near-button:hover .fund-near-icon,
.fund-near-button:focus-visible .fund-near-icon {
  color: inherit;
}

.header-utility .theme-toggle {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  flex-basis: 40px;
  border: 0;
  border-radius: 999px;
  color: var(--theme-text);
  background: transparent;
  box-shadow: inset 1px 0 0 var(--theme-line);
}

.header-utility .theme-toggle:hover,
.header-utility .theme-toggle:focus-visible {
  border-color: transparent;
  color: var(--near-black);
  background: var(--near-green);
  box-shadow: none;
  transform: none;
}

html[data-theme="dark"] .header-utility {
  border-color: rgba(255, 255, 255, .08);
  background: #1b1e1c;
}

html[data-theme="light"] .header-utility {
  border-color: rgba(5, 7, 5, .12);
  background: #ecefe9;
  box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(20, 28, 20, .04);
}

html[data-theme="light"] .fund-near-button {
  color: #666b66;
  background: transparent;
}

html[data-theme="light"] .fund-near-button:hover,
html[data-theme="light"] .fund-near-button:focus-visible {
  color: var(--near-black);
  background: var(--near-green);
}

html[data-theme="light"] .header-utility .theme-toggle {
  border-color: transparent;
  background: transparent;
  box-shadow: inset 1px 0 0 rgba(5, 7, 5, .12);
}

html[data-theme="light"] .header-utility .theme-toggle:hover,
html[data-theme="light"] .header-utility .theme-toggle:focus-visible {
  color: #526900;
  background: #f1f7df;
  box-shadow: none;
}

.fund-near-backdrop {
  background: rgba(3, 5, 3, .7);
  backdrop-filter: blur(12px);
}

.fund-near-card {
  width: min(100%, 520px);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--near-green) 16%, var(--theme-line));
  border-radius: 24px;
  color: var(--theme-text);
  background:
    radial-gradient(circle at 88% 0%, color-mix(in srgb, var(--near-green) 13%, transparent), transparent 35%),
    var(--theme-surface);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .035);
  font-family: "FKGrotesk", sans-serif;
  isolation: isolate;
}

.fund-near-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.02;
  background-image: url(/favicon.svg);
  background-repeat: repeat;
  background-size: 58px 58px;
  background-position: 0 0;
  animation: nearLogoFlow 7s linear infinite;
  will-change: background-position;
  transform: translateZ(0);
  -webkit-mask-image: linear-gradient(
    135deg,
    rgba(0, 0, 0, .3),
    rgba(0, 0, 0, .72) 52%,
    rgba(0, 0, 0, .34)
  );
  mask-image: linear-gradient(
    135deg,
    rgba(0, 0, 0, .3),
    rgba(0, 0, 0, .72) 52%,
    rgba(0, 0, 0, .34)
  );
}

.fund-near-card > * {
  position: relative;
  z-index: 1;
}

.fund-near-card .section-kicker {
  color: var(--near-green);
  font-family: "FKGrotesk", sans-serif;
  font-weight: 400;
}

.fund-near-head h2 {
  margin: 13px 0 0;
  color: var(--theme-text);
  font: 400 clamp(30px, 5vw, 32px)/.96 "FKGrotesk", sans-serif;
  letter-spacing: -.058em;
}

.fund-near-close {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-color: var(--theme-line);
  border-radius: 50%;
  color: var(--theme-muted);
  background: var(--theme-surface-2);
  font-family: "FKGrotesk", sans-serif;
  font-weight: 400;
}

.fund-near-close:hover,
.fund-near-close:focus-visible {
  border-color: var(--near-green);
  color: var(--theme-text);
  background: color-mix(in srgb, var(--near-green) 10%, var(--theme-surface-2));
}

.fund-near-intro {
  margin: 16px 0 20px;
  color: var(--theme-muted);
  font: 400 13px/1.55 "FKGrotesk", sans-serif;
  letter-spacing: -.01em;
}

.fund-near-recipient,
.fund-near-quote {
  border-color: var(--theme-line);
  background: var(--theme-surface-2);
}

.fund-near-recipient {
  padding: 14px 15px;
}

.fund-near-recipient span,
.fund-near-form label > span,
.fund-near-quote span {
  color: var(--theme-muted);
  font-family: "FKGrotesk", sans-serif;
  font-weight: 400;
  letter-spacing: .1em;
}

.fund-near-recipient strong {
  color: var(--theme-text);
  font-family: "FKGrotesk", sans-serif;
  font-weight: 700;
}

.fund-near-form {
  margin-top: 16px;
  gap: 12px;
}

.fund-near-form select,
.fund-near-amount {
  border-color: var(--theme-line);
  color: var(--theme-text);
  background: var(--theme-surface-2);
}

.fund-near-form label:first-child {
  position: relative;
}

.fund-near-form label:first-child::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--near-green);
  border-bottom: 1.5px solid var(--near-green);
  transform: rotate(45deg);
  pointer-events: none;
}

.fund-near-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  font: 400 13px "FKGrotesk", sans-serif;
}

.fund-near-form select option {
  color: var(--theme-text);
  background: var(--theme-surface);
}

.fund-near-form select:focus,
.fund-near-amount:focus-within {
  border-color: var(--near-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--near-green) 12%, transparent);
}

.fund-near-amount input {
  color: var(--theme-text);
  font: 400 18px "FKGrotesk", sans-serif;
}

.fund-near-amount input::placeholder {
  color: var(--theme-muted);
}

.fund-near-amount strong {
  color: var(--near-green);
  font-family: "FKGrotesk", sans-serif;
  font-weight: 700;
}

.fund-near-primary,
.fund-near-actions .button-primary {
  color: var(--near-black);
  background: var(--near-green);
  font-family: "FKGrotesk", sans-serif;
  font-weight: 700;
}

.fund-near-primary:hover,
.fund-near-actions .button-primary:hover {
  box-shadow: 0 12px 34px rgba(227, 255, 113, .18);
}

.fund-near-quote > div + div {
  border-top-color: var(--theme-line);
}

.fund-near-quote strong,
.fund-near-progress span {
  color: var(--theme-text);
  font-family: "FKGrotesk", sans-serif;
}

.fund-near-progress {
  border-color: color-mix(in srgb, var(--near-green) 26%, var(--theme-line));
  background: color-mix(in srgb, var(--near-green) 7%, var(--theme-surface-2));
}

.fund-near-progress small,
.fund-near-message {
  color: var(--theme-muted);
  font-family: "FKGrotesk", sans-serif;
}

.fund-near-message:empty {
  display: none;
}

html[data-theme="light"] .fund-near-card {
  border-color: rgba(5, 7, 5, .13);
  background:
    radial-gradient(circle at 88% 0%, rgba(227, 255, 113, .22), transparent 34%),
    #fff;
  box-shadow: 0 30px 90px rgba(20, 28, 20, .18), inset 0 1px 0 #fff;
}

html[data-theme="light"] .fund-near-card::before {
  opacity: .018;
}

html[data-theme="light"] .fund-near-card .section-kicker {
  color: #61760f;
}

@media (prefers-reduced-motion: reduce) {
  .fund-near-card::before {
    animation: none;
  }
}

html[data-theme="light"] .fund-near-amount strong {
  color: #61760f;
}

@media (max-width: 800px) {
  .header-utility {
    height: 42px;
    padding: 0;
    border-radius: 999px;
  }

  .fund-near-button {
    height: 40px;
    min-height: 40px;
    padding-inline: 12px;
  }
}

@media (max-width: 560px) {
  .fund-near-card {
    padding: 24px 19px calc(24px + env(safe-area-inset-bottom));
  }

  .fund-near-head h2 {
    font-size: 31px;
  }

  .fund-near-button {
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .fund-near-button > span {
    display: none;
  }

  .fund-near-icon {
    width: 15px;
    height: 15px;
  }
}

/* Keep every dialog close icon geometrically centered. */
:where(.modal-close, .share-modal-close, .fund-near-close, .wallet-picker-close, [role="dialog"] button[aria-label*="close" i]) {
  position: relative;
  padding: 0;
  display: grid;
  place-items: center;
  line-height: 0;
}

:where(.modal-close, .fund-near-close, .wallet-picker-close) {
  font-size: 0;
}

:where(.modal-close, .fund-near-close, .wallet-picker-close)::before,
:where(.modal-close, .fund-near-close, .wallet-picker-close)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

:where(.modal-close, .fund-near-close, .wallet-picker-close)::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

:where(.modal-close, .fund-near-close, .wallet-picker-close)::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

:where(.share-modal-close, [role="dialog"] button[aria-label*="close" i]) > svg {
  width: 17px;
  height: 17px;
  margin: 0;
  display: block;
  flex: none;
}

/* Multi-chain wallet chooser */
body.wallet-picker-open {
  overflow: hidden;
}

.wallet-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 175;
  display: grid;
  place-items: center;
  padding: 22px;
}

.wallet-picker-modal[hidden] {
  display: none;
}

.wallet-picker-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
}

.wallet-picker-card {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid var(--theme-line);
  border-radius: 22px;
  color: var(--theme-text);
  background:
    radial-gradient(circle at 88% 0%, color-mix(in srgb, var(--near-green) 13%, transparent), transparent 34%),
    var(--theme-surface);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .5);
  isolation: isolate;
}

.wallet-picker-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: .02;
  background-image: url(/favicon.svg);
  background-repeat: repeat;
  background-size: 58px 58px;
  background-position: 0 0;
  animation: nearLogoFlow 7s linear infinite;
  will-change: background-position;
  transform: translateZ(0);
  -webkit-mask-image: linear-gradient(
    135deg,
    rgba(0, 0, 0, .3),
    rgba(0, 0, 0, .72) 52%,
    rgba(0, 0, 0, .34)
  );
  mask-image: linear-gradient(
    135deg,
    rgba(0, 0, 0, .3),
    rgba(0, 0, 0, .72) 52%,
    rgba(0, 0, 0, .34)
  );
}

html[data-theme="light"] .wallet-picker-card::before {
  opacity: .018;
}

@media (prefers-reduced-motion: reduce) {
  .wallet-picker-card::before {
    animation: none;
  }
}

.wallet-picker-card > * {
  position: relative;
  z-index: 1;
}

.wallet-picker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.wallet-picker-head h2 {
  margin: 10px 0 0;
  color: var(--theme-text);
  font: 400 clamp(30px, 5vw, 35px)/.96 "FKGrotesk", sans-serif;
  letter-spacing: -.058em;
}

.wallet-picker-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--theme-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--theme-muted);
  background: var(--theme-surface-2);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.wallet-picker-close:hover,
.wallet-picker-close:focus-visible {
  border-color: var(--near-green);
  color: var(--theme-text);
  background: color-mix(in srgb, var(--near-green) 10%, var(--theme-surface-2));
  outline: 0;
}

.wallet-picker-intro {
  margin: 16px 0 18px;
  max-width: 400px;
  color: var(--theme-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wallet-provider {
  width: 100%;
  min-width: 0;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--theme-line);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--theme-text);
  background: var(--theme-surface-2);
  font-family: "FKGrotesk", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.wallet-provider:hover,
.wallet-provider:focus-visible {
  border-color: color-mix(in srgb, var(--near-green) 68%, var(--theme-line));
  outline: 0;
  background: color-mix(in srgb, var(--near-green) 8%, var(--theme-surface-2));
  transform: translateY(-1px);
}

.wallet-provider-near {
  min-height: 78px;
  border-color: color-mix(in srgb, var(--near-green) 38%, var(--theme-line));
  background: color-mix(in srgb, var(--near-green) 8%, var(--theme-surface-2));
}

.wallet-provider-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.wallet-provider-logo svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.wallet-provider-logo-near {
  color: var(--theme-surface);
  background: var(--near-green);
}

.wallet-provider-logo-near svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wallet-provider-logo-phantom {
  color: #fff;
  background: #8068e8;
}

.wallet-provider-logo-metamask {
  color: #fff;
  background: #ef7b32;
}

.wallet-provider-logo-rabby {
  color: #fff;
  background: #667cff;
}

.wallet-provider-logo-okx {
  color: #111;
  background: #fff;
}

.wallet-provider-logo-trust {
  color: #fff;
  background: #3375bb;
}

.wallet-provider-logo-bitget {
  color: #061918;
  background: #00f0c3;
}

.wallet-provider-logo-evm {
  color: var(--theme-surface);
  background: var(--near-green);
}

.wallet-provider.is-connected {
  border-color: var(--near-green);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--near-green) 38%, transparent);
}

.wallet-provider.is-connected::after {
  content: "Connected";
  margin-left: auto;
  color: var(--near-green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wallet-provider-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.wallet-provider-copy strong {
  overflow: hidden;
  color: var(--theme-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-provider-copy small {
  overflow: hidden;
  color: var(--theme-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-provider > b {
  margin-left: auto;
  padding-right: 4px;
  color: var(--near-green);
  font-size: 18px;
  font-weight: 400;
}

.wallet-picker-divider {
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wallet-picker-divider span {
  color: var(--theme-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wallet-picker-divider em {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--theme-surface);
  background: var(--near-green);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wallet-provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.wallet-provider-compact {
  min-height: 68px;
}

.wallet-provider-compact .wallet-provider-logo {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-radius: 12px;
}

.wallet-provider-compact .wallet-provider-logo svg {
  width: 24px;
  height: 24px;
}

.wallet-picker-note {
  margin: 14px 2px 0;
  color: var(--theme-muted);
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .wallet-picker-modal {
    padding: 14px;
    align-items: start;
  }

  .wallet-picker-card {
    width: 100%;
    max-height: calc(100dvh - 28px);
    padding: 23px 18px calc(22px + env(safe-area-inset-bottom));
    border-radius: 22px;
  }

  .wallet-provider-grid {
    grid-template-columns: 1fr;
  }

  .wallet-provider,
  .wallet-provider-compact {
    min-height: 64px;
  }
}

/* Mobile coin header and top-aligned dialogs */
.coin-hero-copy,
.coin-contract {
  min-width: 0;
  max-width: 100%;
}

.coin-contract button {
  box-sizing: border-box;
  overflow: hidden;
}

.coin-contract strong {
  flex: 1 1 auto;
}

.coin-contract b {
  margin-left: auto;
}

@media (max-width: 800px) {
  .coin-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 42px;
    align-items: stretch;
    justify-self: stretch;
    flex-direction: row;
    width: 100%;
    min-width: 0;
    padding: 0;
    gap: 8px;
  }

  .coin-actions > a,
  .coin-actions .share-icon-button {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
}

@media (max-width: 700px) {
  .fund-near-modal,
  .wallet-picker-modal,
  .share-modal,
  .launch-modal {
    place-items: start center;
    align-items: start;
    overflow-y: auto;
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .fund-near-card,
  .wallet-picker-card,
  .share-modal-card,
  .launch-modal-card {
    margin-top: 0;
    max-height: calc(100dvh - 28px);
  }
}

@media (max-width: 380px) {
  .coin-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 40px;
    gap: 6px;
  }

  .coin-actions .button {
    padding-inline: 8px;
    font-size: 10px;
  }

  .coin-actions .share-icon-button {
    width: 40px;
  }
}

