﻿:root {
  color-scheme: dark;
  --bg: #02030a;
  --panel: rgba(9, 13, 34, 0.74);
  --panel-strong: rgba(13, 18, 47, 0.92);
  --line: rgba(104, 218, 255, 0.2);
  --text: #f7fbff;
  --muted: #aab4d8;
  --cyan: #00d8ff;
  --blue: #3777ff;
  --pink: #ff2bd6;
  --purple: #8b35ff;
  --green: #25ff85;
  --gold: #ffd43b;
  --red: #ff315f;
  --radius: 18px;
  --sidebar: 286px;
  --native-safe-top: 0px;
  --native-safe-right: 0px;
  --native-safe-bottom: 0px;
  --native-safe-left: 0px;
  --native-keyboard-bottom: 0px;
  --safe-top: max(env(safe-area-inset-top, 0px), var(--native-safe-top));
  --safe-right: max(env(safe-area-inset-right, 0px), var(--native-safe-right));
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--native-safe-bottom));
  --safe-left: max(env(safe-area-inset-left, 0px), var(--native-safe-left));
  --safe-keyboard: var(--native-keyboard-bottom);
  --mobile-header-height: 64px;
  --mobile-bottom-nav-height: 76px;
  --bottom-nav-height: var(--mobile-bottom-nav-height);
  --safe-page-bottom: calc(var(--mobile-bottom-nav-height) + var(--safe-bottom) + var(--safe-keyboard) + 24px);
}

.help-tip{
  display:inline-grid;
  place-items:center;
  width:20px;
  height:20px;
  margin-left:6px;
  border:1px solid rgba(36,226,255,.55);
  border-radius:999px;
  color:#24e2ff;
  font-size:12px;
  font-weight:900;
  box-shadow:0 0 14px rgba(36,226,255,.24);
}

.onboarding-card,.rate-card{
  width:min(720px,100%);
  margin:0 auto;
  padding:26px;
  border:1px solid rgba(36,226,255,.38);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(13,15,43,.94),rgba(60,18,112,.86));
  box-shadow:0 0 36px rgba(189,35,255,.28),inset 0 0 28px rgba(36,226,255,.08);
}

.onboarding-progress{
  display:flex;
  gap:8px;
  margin-bottom:18px;
}

.onboarding-progress span{
  height:8px;
  flex:1;
  border-radius:999px;
  background:rgba(255,255,255,.16);
}

.onboarding-progress span.active{
  background:linear-gradient(90deg,var(--pink),var(--cyan));
  box-shadow:0 0 18px rgba(36,226,255,.35);
}

.onboarding-actions button[disabled]{
  opacity:.45;
  cursor:not-allowed;
}

.filter-chip input{
  accent-color:#24e2ff;
}

.rate-card .hero-actions,.onboarding-card .hero-actions{
  margin-top:20px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(2, 3, 10, .76), rgba(2, 3, 10, .88)),
    url("/assets/gicverse-global-background.png") center 12% / max(132vw, 1800px) auto fixed no-repeat,
    #02030a;
  background-color: #02030a;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: none;
  display: none;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.noscript {
  width: min(720px, calc(100% - 2rem));
  margin: 5rem auto;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

.mobile-safe-shell {
  min-height: 100dvh;
  overflow-x: hidden;
}

.mobile-app-shell {
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

.mobile-safe-header {
  position: sticky;
  top: var(--safe-top);
  z-index: 50;
}

.mobile-fixed-header {
  position: sticky;
  top: var(--safe-top);
  z-index: 50;
  margin-top: 0;
}

.mobile-safe-main {
  padding-bottom: calc(var(--mobile-bottom-nav-height) + var(--safe-bottom) + var(--safe-keyboard) + 16px);
}

.mobile-main-content {
  padding-bottom: calc(var(--mobile-bottom-nav-height) + var(--safe-bottom) + var(--safe-keyboard) + 16px);
}

.mobile-safe-bottom-nav {
  position: fixed;
  z-index: 60;
}

.mobile-fixed-bottom-nav {
  position: fixed;
  z-index: 60;
  margin-bottom: 0;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px;
  border-right: 1px solid rgba(0, 216, 255, .34);
  background: linear-gradient(180deg, rgba(8, 10, 27, .96), rgba(3, 4, 14, .92));
  box-shadow: 0 0 42px rgba(0, 216, 255, .12);
}

.brand-panel {
  min-height: 176px;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 43, 214, .55);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(0, 216, 255, .32), transparent 58%),
    radial-gradient(circle at 44% 48%, rgba(255, 43, 214, .28), transparent 52%),
    rgba(8, 10, 25, .84);
  box-shadow: inset 0 0 36px rgba(139, 53, 255, .28), 0 0 26px rgba(255, 43, 214, .18);
  text-align: center;
}

.brand-logo {
  width: 92px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 22%, #fff 0 8%, transparent 9%),
    conic-gradient(from 220deg, var(--cyan), var(--pink), var(--gold), var(--green), var(--cyan));
  color: #07111e;
  font-size: 54px;
  font-weight: 1000;
  letter-spacing: -5px;
  box-shadow: 0 0 42px rgba(0, 216, 255, .45), 0 0 52px rgba(255, 43, 214, .28);
}

.brand-logo {
  background: url("/assets/gicverse-g-logo.png") center / cover no-repeat;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
}

.brand-panel strong {
  display: block;
  font-size: 34px;
  line-height: .9;
  text-shadow: 0 0 18px rgba(0, 216, 255, .7);
}

.brand-panel small {
  color: var(--cyan);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .05em;
}

.side-nav {
  display: grid;
  gap: 5px;
  overflow: auto;
  padding-right: 2px;
}

.nav-link {
  min-height: 43px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.nav-link:hover,
.nav-link.active {
  border-color: rgba(0, 216, 255, .46);
  background: linear-gradient(90deg, rgba(139, 53, 255, .88), rgba(0, 216, 255, .34));
  color: #fff;
  transform: translateX(2px);
  box-shadow: 0 0 24px rgba(0, 216, 255, .18);
}

.nav-icon {
  width: 26px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  color: var(--cyan);
}

.pro-pill {
  padding: 3px 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffe45e, #ffae00);
  color: #171001;
  font-size: 11px;
  font-weight: 1000;
}

.profile-card {
  margin-top: auto;
  border: 1px solid rgba(0, 216, 255, .42);
  border-radius: 18px;
  padding: 13px;
  background: rgba(7, 11, 31, .82);
  box-shadow: inset 0 0 24px rgba(0, 216, 255, .08);
}

.profile-main {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.avatar {
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff 0 6%, transparent 7%), linear-gradient(135deg, #ffd43b, #ff7a00);
  color: #07111e;
  font-weight: 1000;
  box-shadow: 0 0 20px rgba(255, 212, 59, .35);
}

.wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 13px;
}

.app-main {
  grid-column: 2;
  min-width: 0;
  padding: 16px 18px 108px;
}

.top-header {
  grid-column: 2;
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(5, 7, 22, .72);
  backdrop-filter: blur(18px);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 14px;
  border: 1px solid rgba(0, 216, 255, .22);
  border-radius: 14px;
  background: rgba(0,0,0,.28);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn,
.select-chip,
.wallet-btn,
.primary-btn,
.secondary-btn,
.danger-btn,
.ghost-btn {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.icon-btn {
  position: relative;
  width: 42px;
  display: grid;
  place-items: center;
}

.icon-btn:hover,
.select-chip:hover,
.wallet-btn:hover,
.primary-btn:hover,
.secondary-btn:hover,
.danger-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 216, 255, .48);
  box-shadow: 0 0 24px rgba(0, 216, 255, .16);
}

.badge-dot {
  position: absolute;
  right: -3px;
  top: -5px;
  min-width: 19px;
  min-height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.select-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
}

.wallet-btn,
.primary-btn {
  padding: 0 18px;
  border-color: rgba(0, 216, 255, .68);
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  color: #fff;
  font-weight: 1000;
  box-shadow: 0 0 30px rgba(255, 43, 214, .26);
}

.secondary-btn {
  padding: 0 16px;
  border-color: rgba(0, 216, 255, .5);
  background: rgba(0, 216, 255, .12);
  color: var(--cyan);
  font-weight: 900;
}

.danger-btn {
  padding: 0 16px;
  border-color: rgba(255, 49, 95, .45);
  background: rgba(255, 49, 95, .12);
  color: #ffd7df;
  font-weight: 900;
}

.ghost-btn {
  padding: 0 15px;
  font-weight: 800;
}

.page-stack {
  display: grid;
  gap: 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 14px;
}

.home-dashboard {
  position: relative;
  isolation: isolate;
}

.home-dashboard::before {
  content: none;
  display: none;
}

.home-dashboard::after {
  content: none;
  display: none;
}

.center-stack,
.right-stack,
.grid-stack {
  display: grid;
  gap: 14px;
}

.hero-board,
.panel,
.stat-card,
.token-card,
.swap-box,
.small-card,
.legal-doc {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    radial-gradient(circle at 10% 0%, rgba(0,216,255,.16), transparent 34%),
    radial-gradient(circle at 96% 8%, rgba(255,43,214,.13), transparent 32%),
    var(--panel);
  box-shadow: inset 0 0 22px rgba(255,255,255,.035), 0 0 30px rgba(0, 216, 255, .11);
}

.hero-board {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border-color: rgba(255, 43, 214, .4);
  background:
    linear-gradient(180deg, rgba(8, 11, 36, .42), rgba(3, 5, 18, .34)),
    rgba(5, 8, 26, .34);
  backdrop-filter: blur(10px);
}

.hero-board::before {
  content: none;
  display: none;
}

.hero-board::after {
  content: none;
  display: none;
}

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 7px 0 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 94px);
  line-height: .82;
  letter-spacing: .02em;
  text-shadow: 0 0 12px rgba(255,255,255,.35), 0 0 28px rgba(0, 216, 255, .35);
}

.hero-subtitle {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(19px, 2.3vw, 34px);
  font-weight: 1000;
}

.hero-subtitle span { color: var(--cyan); }

.hero-copy p {
  max-width: 720px;
  color: #dce8ff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(0,0,0,.34);
  color: #d9e5ff;
  font-size: 12px;
  font-weight: 900;
}

.pill.green, .good { color: var(--green); }
.pill.gold, .warn { color: var(--gold); }
.pill.red, .bad { color: #ff8ea5; }
.pill.cyan { color: var(--cyan); }

.hero-poster {
  min-height: 190px;
  display: grid;
  place-items: center;
}

.hero-token-stack {
  position: relative;
  width: 100%;
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-token-orbit {
  position: relative;
  min-height: 118px;
  display: grid;
  align-content: end;
  padding: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--token-color) 62%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent 22%, rgba(4, 6, 18, .88)),
    var(--token-hero-image) center / cover no-repeat;
  box-shadow: 0 0 28px color-mix(in srgb, var(--token-color) 34%, transparent);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.hero-token-orbit:first-child {
  grid-row: span 2;
}

.hero-token-orbit:hover,
.hero-token-orbit:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.16) brightness(1.06);
  box-shadow: 0 0 40px color-mix(in srgb, var(--token-color) 58%, transparent);
}

.hero-token-orbit span,
.hero-token-orbit strong {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}

.hero-token-orbit span {
  font-size: 18px;
  font-weight: 1000;
}

.hero-token-orbit strong {
  color: var(--cyan);
  font-size: 13px;
}

.mascot-scene {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1.15;
}

.planet,
.rocket {
  position: absolute;
  display: grid;
  place-items: center;
  font-weight: 1000;
}

.planet {
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff 0 6%, transparent 7%), conic-gradient(from 210deg, var(--pink), var(--cyan), var(--gold), var(--pink));
  box-shadow: 0 0 34px rgba(255, 43, 214, .35);
}

.planet.one { left: 10px; top: 18px; }
.planet.two { right: 10px; bottom: 18px; background: conic-gradient(from 120deg, var(--gold), var(--red), var(--purple), var(--gold)); }

.rocket {
  right: 74px;
  top: 8px;
  width: 58px;
  height: 26px;
  border-radius: 999px 999px 999px 0;
  rotate: -28deg;
  background: linear-gradient(90deg, #fff, var(--cyan), var(--pink));
  color: #091126;
}

.mascot {
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 128px;
  height: 128px;
  translate: -50% 0;
  display: grid;
  place-items: center;
  border-radius: 36px 36px 44px 44px;
  background: radial-gradient(circle at 35% 20%, #fff 0 7%, transparent 8%), linear-gradient(145deg, #ffeb85, #ff7a00);
  color: #24060d;
  font-size: 56px;
  font-weight: 1000;
  box-shadow: 0 0 38px rgba(255, 212, 59, .38);
}

.mascot::before,
.mascot::after {
  content: "";
  position: absolute;
  top: 34px;
  width: 24px;
  aspect-ratio: 1;
  border: 4px solid #170617;
  border-radius: 50%;
  background: #fff;
}

.mascot::before { left: 32px; }
.mascot::after { right: 32px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
}

.stat-card {
  min-height: 94px;
  padding: 13px;
  cursor: pointer;
}

.stat-card small,
.card-label {
  display: block;
  color: #c0c9e9;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 25px;
}

.mini-chart {
  width: 100%;
  height: 28px;
  margin-top: 5px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: .01em;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.token-card {
  min-height: 196px;
  padding: 12px;
  cursor: pointer;
}

.token-art {
  position: relative;
  height: 88px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(5,7,18,.08), rgba(5,7,18,.82)),
    var(--token-hero-image) center / cover no-repeat,
    radial-gradient(circle at 72% 20%, var(--token-color, var(--cyan)), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
}

.token-face {
  position: absolute;
  left: 14px;
  bottom: 8px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: radial-gradient(circle at 30% 18%, #fff 0 7%, transparent 8%), linear-gradient(145deg, var(--token-color, var(--cyan)), #12091f);
  color: #fff;
  font-size: 34px;
  font-weight: 1000;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  box-shadow: 0 0 28px color-mix(in srgb, var(--token-color, var(--cyan)) 48%, transparent);
}

.star-btn {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 36px;
  min-height: 36px;
  border-radius: 11px;
  color: var(--gold);
  background: rgba(0,0,0,.48);
}

.token-card h3 {
  margin: 12px 0 0;
  font-size: 24px;
}

.token-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.token-actions {
  display: flex;
  gap: 8px;
  margin-top: 11px;
}

.chart-panel {
  padding: 14px;
}

.chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeframe {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 800;
}

.timeframe.active {
  border-color: rgba(0,216,255,.7);
  background: linear-gradient(90deg, rgba(55,119,255,.82), rgba(0,216,255,.28));
}

.price-chart {
  width: 100%;
  min-height: 258px;
}

.analysis-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.advanced-chart-wrap {
  position: relative;
  display: grid;
  gap: 10px;
}

.advanced-market-canvas {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 980 / 430;
  display: block;
  border: 1px solid rgba(0,216,255,.32);
  border-radius: 18px;
  background: rgba(2,3,10,.88);
  box-shadow: inset 0 0 30px rgba(0,216,255,.06), 0 0 32px rgba(0,216,255,.12);
  cursor: crosshair;
}

.chart-readout {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  color: #dfe8ff;
  font-size: 13px;
  font-weight: 800;
}

.chart-readout strong {
  color: #fff;
}

.orderbook {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.orderbook > div {
  display: grid;
  gap: 8px;
}

.orderbook div div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: #dfe8ff;
  font-size: 13px;
}

.swap-box {
  padding: 16px;
  border-color: rgba(255, 43, 214, .48);
}

.swap-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 104px;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid rgba(0, 216, 255, .26);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
}

.swap-row label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.token-select,
.input,
.textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  outline: 0;
  color: #fff;
  background: rgba(0,0,0,.32);
  padding: 0 11px;
}

.textarea {
  min-height: 96px;
  padding: 10px 11px;
  resize: vertical;
}

.swap-amount {
  width: 120px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 31px;
  font-weight: 1000;
  text-align: right;
}

.flip-btn {
  width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  margin: -4px auto;
  border-radius: 13px;
  border: 1px solid rgba(255,43,214,.55);
  background: rgba(255,43,214,.18);
  color: #fff;
}

.fee-lines {
  display: grid;
  gap: 8px;
  margin: 13px 0;
  color: #dfe8ff;
}

.fee-lines div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.list {
  display: grid;
  gap: 8px;
}

.list-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(0,0,0,.22);
}

.rank {
  width: 26px;
  color: var(--gold);
  font-weight: 1000;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.small-card,
.panel {
  padding: 14px;
}

.visual-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}

.visual-story-card {
  display: grid;
  grid-template-columns: minmax(180px, 42%) 1fr;
  gap: 14px;
  align-items: center;
}

.visual-story-card img,
.visual-panel > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(0,216,255,.36);
  border-radius: 16px;
  background: rgba(0,0,0,.28);
  box-shadow: 0 0 26px rgba(0,216,255,.16), inset 0 0 18px rgba(255,255,255,.06);
  transition: transform .2s ease, filter .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.visual-story-card a:first-child:hover img,
.visual-story-card a:first-child:focus-visible img,
.visual-panel:hover > img {
  transform: translateY(-2px) scale(1.015);
  filter: saturate(1.16) brightness(1.08);
  border-color: rgba(255,43,214,.62);
  box-shadow: 0 0 34px rgba(255,43,214,.20), 0 0 26px rgba(0,216,255,.16);
}

.visual-panel {
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
  gap: 18px;
  align-items: center;
  border-color: rgba(0,216,255,.32);
}

.visual-panel > div {
  min-width: 0;
}

.checks {
  display: grid;
  gap: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.avatars {
  display: flex;
  margin: 10px 0;
}

.avatars span {
  width: 30px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-right: -7px;
  border: 2px solid rgba(8, 10, 27, .96);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  font-size: 12px;
  font-weight: 1000;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 800;
}

.filter-chip.active {
  color: #07111e;
  background: var(--cyan);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  gap: 14px;
}

.mode-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 212, 59, .42);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255, 49, 95, .18), rgba(255, 212, 59, .10), rgba(0, 216, 255, .10));
  box-shadow: 0 0 24px rgba(255, 212, 59, .08);
  color: #fff;
  font-weight: 800;
}

.mode-banner strong {
  color: var(--gold);
  white-space: nowrap;
}

.mode-banner span {
  color: #f5f8ff;
  font-size: 13px;
}

.mode-banner a {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 1000;
  white-space: nowrap;
}

.mode-banner.strong {
  margin: 14px 0;
}

.token-hero {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 18px;
}

.token-hero-face {
  width: 150px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 36px;
  background: radial-gradient(circle at 30% 18%, #fff 0 8%, transparent 9%), linear-gradient(145deg, var(--token-color), #0a1029);
  font-size: 76px;
  font-weight: 1000;
  box-shadow: 0 0 48px color-mix(in srgb, var(--token-color) 55%, transparent);
}

.token-page-visual {
  position: relative;
  min-height: min(560px, 56vw);
  overflow: hidden;
  border: 1px solid rgba(0, 216, 255, .32);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(2,3,10,.72) 0%, rgba(2,3,10,.34) 42%, rgba(2,3,10,.74) 100%),
    var(--token-hero-image) center / cover no-repeat;
  box-shadow:
    0 0 46px color-mix(in srgb, var(--token-color, var(--cyan)) 28%, transparent),
    inset 0 0 60px rgba(0,0,0,.36);
}

.token-page-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(2,3,10,.92), transparent);
  pointer-events: none;
}

.token-sheet-showcase {
  position: relative;
  overflow: hidden;
  width: min(100%, 1120px);
  margin: 16px auto 0;
  border: 1px solid rgba(0, 216, 255, .28);
  border-radius: 24px;
  background: rgba(0, 0, 0, .86);
  box-shadow: 0 0 34px rgba(0, 216, 255, .14), inset 0 0 26px rgba(0, 0, 0, .44);
}

.token-sheet-showcase::before,
.token-sheet-showcase::after {
  content: none;
  display: none;
}

.token-sheet-link {
  display: block;
  line-height: 0;
}

.token-sheet-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.token-sheet-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.activation-hero {
  border-color: rgba(255, 212, 59, .42);
  box-shadow: 0 0 38px rgba(255, 212, 59, .12), inset 0 0 52px rgba(0, 0, 0, .28);
}

.activation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.activation-gate {
  display: grid;
  gap: 12px;
}

.activation-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.activation-columns div {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.activation-columns strong {
  color: var(--cyan);
}

.activation-columns span {
  color: var(--muted);
  font-size: 12px;
}

.danger-button {
  border-color: rgba(255, 49, 95, .48);
  background: linear-gradient(135deg, #ff315f, #8b35ff);
}

.token-page-overlay {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) 390px;
  align-items: end;
  gap: 22px;
  padding: clamp(18px, 3vw, 34px);
}

.token-page-copy {
  max-width: 720px;
  text-shadow: 0 3px 18px rgba(0,0,0,.72);
}

.token-page-title {
  margin: 8px 0 0;
  font-size: clamp(58px, 10vw, 138px);
  line-height: .78;
  font-weight: 1000;
  letter-spacing: 0;
}

.token-page-symbol {
  margin: 10px 0 0;
  color: var(--cyan);
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 1000;
  text-shadow: 0 0 20px color-mix(in srgb, var(--token-color, var(--cyan)) 55%, transparent);
}

.token-page-slogan {
  max-width: 560px;
  color: #f2f7ff;
  font-size: 18px;
  font-weight: 800;
}

.token-page-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(4, 7, 22, .72);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 36px color-mix(in srgb, var(--token-color, var(--cyan)) 26%, transparent);
}

.token-page-panel > small,
.token-page-metrics small {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.token-page-panel > strong {
  font-size: 42px;
  line-height: 1;
}

.token-page-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.token-page-metrics span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(0,0,0,.24);
}

.gicv-hero {
  position: relative;
  overflow: hidden;
  min-height: min(650px, 62vw);
  border: 1px solid rgba(0, 216, 255, .38);
  border-radius: 26px;
  background:
    radial-gradient(circle at 24% 22%, rgba(0,216,255,.24), transparent 26rem),
    radial-gradient(circle at 80% 20%, rgba(255,43,214,.22), transparent 24rem),
    linear-gradient(90deg, rgba(2,3,10,.82), rgba(2,3,10,.24), rgba(2,3,10,.86)),
    var(--token-hero-image) center / cover no-repeat;
  box-shadow: 0 0 54px rgba(0,216,255,.18), inset 0 0 80px rgba(0,0,0,.42);
}

.gicv-hero-shade {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 22px;
  align-items: end;
  padding: clamp(18px, 3.2vw, 42px);
}

.gicv-identity {
  max-width: 780px;
  display: grid;
  gap: 12px;
  text-shadow: 0 4px 24px rgba(0,0,0,.82);
}

.gicv-identity h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 112px);
  line-height: .86;
  font-weight: 1000;
}

.gicv-identity p {
  max-width: 700px;
  margin: 0;
  color: #edf5ff;
  font-weight: 760;
}

.gicv-logo-orb {
  width: 86px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: url("/assets/gicverse-g-logo.png") center / cover no-repeat;
  color: transparent;
  box-shadow: 0 0 40px rgba(0,216,255,.45), 0 0 54px rgba(255,43,214,.28);
}

.gicv-hero-card,
.gicv-presale-hero {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(5, 8, 26, .76);
  box-shadow: inset 0 0 36px rgba(0,216,255,.08), 0 0 34px rgba(255,43,214,.16);
  backdrop-filter: blur(16px);
}

.gicv-hero-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.gicv-hero-card h2 {
  margin: 0;
  font-size: 25px;
}

.gicv-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.gicv-metrics span {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 10px;
  border: 1px solid rgba(0,216,255,.17);
  border-radius: 14px;
  background: rgba(0,0,0,.28);
}

.gicv-metrics small {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.gicv-metrics strong {
  color: #fff;
  font-size: 18px;
}

.gicv-copy-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}

.wide-card {
  grid-column: span 2;
}

.danger-card {
  border-color: rgba(255,49,95,.36);
  background: linear-gradient(145deg, rgba(255,49,95,.12), rgba(8,10,28,.82));
}

.presale-terminal {
  border-color: rgba(255,212,59,.36);
}

.progress-shell {
  overflow: hidden;
  height: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(0,0,0,.34);
}

.progress-shell span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--green));
  box-shadow: 0 0 20px rgba(0,216,255,.48);
}

.gicv-presale-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: clamp(18px, 3vw, 28px);
}

.roadmap-list,
.readiness-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.readiness-item strong {
  display: block;
  margin: 8px 0;
  font-size: 18px;
}

.legal-link-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.legal-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,216,255,.42);
  box-shadow: 0 0 24px rgba(0,216,255,.14);
}

.copyable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(0,0,0,.25);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #d9e5ff;
  font-size: 12px;
  font-weight: 900;
}

.checkbox-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.check-label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(0,0,0,.2);
  color: #dfe8ff;
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(16px);
}

.modal {
  width: min(720px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid rgba(0, 216, 255, .4);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17, 23, 60, .98), rgba(5, 7, 22, .98));
  box-shadow: 0 0 70px rgba(0, 216, 255, .22), 0 0 90px rgba(255, 43, 214, .16);
}

.modal-head,
.modal-body {
  padding: 18px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.modal-head h2 {
  margin: 0;
}

.auth-modal-card,
.account-panel,
.auth-provider-config {
  display: grid;
  gap: 18px;
}

.auth-title-block {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.auth-title-block strong {
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: .01em;
  color: #f8fbff;
  text-shadow: 0 0 24px rgba(0, 216, 255, .26);
}

.auth-protected {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce8ff;
  font-size: 14px;
}

.shield-dot {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #00e6a8, #00b4ff);
  color: #031019;
  font-size: 12px;
  font-weight: 1000;
}

.auth-form {
  display: grid;
  gap: 16px;
  width: min(540px, 100%);
  margin: 12px auto 0;
}

.auth-input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(219, 231, 255, .42);
  border-radius: 0;
  background: rgba(255, 255, 255, .95);
  color: #07101d;
  font-size: 18px;
  font-weight: 800;
  outline: none;
}

.auth-input::placeholder {
  color: #8d96a3;
}

.auth-input:focus {
  border-color: #00d8ff;
  box-shadow: 0 0 0 3px rgba(0, 216, 255, .2), 0 0 28px rgba(0, 216, 255, .24);
}

.auth-submit {
  min-height: 58px;
  border: 0;
  background: linear-gradient(135deg, #ff2bd6, #00d8ff);
  color: #fff;
  font-size: 22px;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255, 43, 214, .22);
}

.auth-submit:disabled {
  cursor: not-allowed;
  background: rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .72);
  box-shadow: none;
}

.auth-help {
  justify-self: center;
  border: 0;
  background: transparent;
  color: #ccd7ea;
  text-decoration: underline;
  cursor: pointer;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  width: min(540px, 100%);
  margin: 0 auto;
  color: #aeb9ca;
}

.auth-divider span {
  height: 1px;
  background: rgba(219, 231, 255, .32);
}

.auth-social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.auth-social-row-wide {
  width: min(540px, 100%);
  margin: 0 auto;
}

.auth-social-btn {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 25px;
  font-weight: 1000;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.auth-social-row-wide .auth-social-btn {
  flex: 1 1 230px;
  width: auto;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  font-size: 20px;
}

.auth-social-btn strong {
  font-size: 14px;
  letter-spacing: .01em;
}

.auth-social-btn:hover,
.auth-social-btn:focus-visible {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(0, 216, 255, .76);
  box-shadow: 0 0 28px rgba(0, 216, 255, .3);
}

.provider-google span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.32);
}

.provider-facebook {
  background: linear-gradient(135deg, #0b78ff, #00d8ff);
}

.provider-facebook span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0866ff;
}

.provider-x,
.provider-apple {
  background: #05070e;
}

.provider-passkey {
  background: linear-gradient(135deg, #2f7bff, #00d8ff);
}

.auth-provider-note {
  max-width: 560px;
  margin: 0 auto;
  color: #aeb9ca;
  font-size: 13px;
  text-align: center;
}

.auth-provider-large {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

.mobile-menu-panel,
.mobile-menu-search,
.mobile-menu-actions {
  display: grid;
  gap: 14px;
}

.mobile-menu-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-menu-actions .wallet-btn,
.mobile-menu-actions .select-chip {
  width: 100%;
}

.mobile-menu-links .small-card {
  text-decoration: none;
}

.account-hero {
  padding: 14px;
  border: 1px solid rgba(0, 216, 255, .24);
  border-radius: 18px;
  background: rgba(0, 216, 255, .08);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.meme-preview {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  justify-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,43,214,.25), transparent 38%),
    radial-gradient(circle at 60% 70%, rgba(0,216,255,.22), transparent 36%),
    rgba(0,0,0,.34);
  text-align: center;
}

.meme-preview strong {
  font-size: 28px;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255,255,255,.45);
}

.trade-ticket {
  border-color: rgba(255, 212, 59, .38);
}

.trade-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.arcade-hero {
  min-height: 220px;
  align-content: end;
  background:
    linear-gradient(90deg, rgba(2,3,10,.9), rgba(2,3,10,.42), rgba(2,3,10,.86)),
    url("/assets/panicotto-run-menu.png") center / cover no-repeat;
}

.panic-run-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 43, 214, .42);
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(2,3,10,.9), rgba(2,3,10,.62)),
    url("/assets/panicotto-run-track.png") center / cover no-repeat,
    radial-gradient(circle at 18% 8%, rgba(255,49,95,.22), transparent 23rem),
    radial-gradient(circle at 78% 28%, rgba(0,216,255,.16), transparent 24rem),
    rgba(5,7,22,.82);
  box-shadow: inset 0 0 34px rgba(255,255,255,.035), 0 0 38px rgba(255,43,214,.12);
}

.panic-run-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.panic-controls,
.panic-mobile-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panic-run-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: stretch;
}

.panic-canvas-wrap {
  display: grid;
  gap: 10px;
}

#panicRunCanvas {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 900 / 420;
  display: block;
  border: 1px solid rgba(0,216,255,.52);
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% 18%, rgba(255,43,214,.28), transparent 18rem),
    linear-gradient(135deg, rgba(6,7,22,.96), rgba(27,5,48,.92));
  box-shadow: inset 0 0 38px rgba(255,255,255,.05), 0 0 34px rgba(0,216,255,.24), 0 0 52px rgba(255,43,214,.1);
  touch-action: none;
}

.panic-mobile-controls button {
  flex: 1;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.07);
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.panic-mobile-controls button:hover,
.panic-mobile-controls button:focus-visible {
  border-color: rgba(0,216,255,.72);
  background: rgba(0,216,255,.16);
  box-shadow: 0 0 22px rgba(0,216,255,.18);
  transform: translateY(-1px);
  outline: none;
}

.panic-mobile-controls button:active {
  transform: translateY(1px) scale(.98);
}

.panic-side {
  display: grid;
  gap: 12px;
}

.panic-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.panic-score-grid span {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(0,0,0,.24);
}

.panic-score-grid small {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.panic-score-grid strong {
  color: #fff;
  font-size: 22px;
  text-shadow: 0 0 14px rgba(0,216,255,.22);
}

.panic-objectives {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 43, 214, .28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,43,214,.10), rgba(0,216,255,.06)), rgba(0,0,0,.24);
}

.panic-objectives h3 {
  margin: 0;
  color: #6ff7ff;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.panic-reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.panic-reference-card {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(0,216,255,.26);
  border-radius: 16px;
  background: rgba(0,0,0,.28);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.panic-reference-card:hover,
.panic-reference-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0,216,255,.78);
  background: rgba(0,216,255,.08);
  box-shadow: 0 0 24px rgba(0,216,255,.18), 0 0 28px rgba(255,43,214,.12);
}

.panic-reference-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
}

.panic-reference-card span {
  display: grid;
  gap: 3px;
}

.panic-reference-card strong {
  font-size: 14px;
}

.panic-reference-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.game-mini-card {
  min-height: 170px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  max-width: 360px;
  padding: 13px 15px;
  border: 1px solid rgba(0,216,255,.34);
  border-radius: 14px;
  background: rgba(7, 11, 31, .94);
  box-shadow: 0 0 28px rgba(0,216,255,.18);
  color: #fff;
  font-weight: 800;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 40;
  translate: -50% 0;
  display: none;
  width: min(720px, calc(100% - 20px));
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(0,216,255,.24);
  border-radius: 22px;
  background: rgba(5, 7, 22, .88);
  backdrop-filter: blur(18px);
}

.bottom-nav a,
.bottom-nav button {
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 0;
  border-radius: 15px;
  color: #dfe8ff;
  font-size: 11px;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.bottom-nav a.active,
.bottom-nav button:hover,
.bottom-nav button:focus-visible {
  background: rgba(139, 53, 255, .42);
  color: #fff;
}

.hamburger-icon {
  font-size: 24px;
  line-height: 1;
}

.pixel-page {
  min-height: 100vh;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: clamp(6px, 1.1vw, 16px);
  overflow: auto;
  background:
    radial-gradient(circle at 18% 9%, rgba(139, 53, 255, .26), transparent 28rem),
    radial-gradient(circle at 78% 8%, rgba(255, 43, 214, .2), transparent 22rem),
    #01020a;
}

.pixel-shell {
  width: 100%;
  overflow: auto;
  scrollbar-color: rgba(0,216,255,.55) rgba(255,255,255,.04);
}

.pixel-board {
  position: relative;
  width: min(calc(100vw - 18px), 1920px);
  min-width: 1180px;
  aspect-ratio: 1920 / 1080;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: url("/assets/gicverse-reference-dashboard.png") center / contain no-repeat;
  box-shadow:
    0 0 48px rgba(0, 216, 255, .24),
    0 0 84px rgba(255, 43, 214, .14);
}

.pixel-hotspot {
  position: absolute;
  z-index: 4;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pixel-hotspot:hover,
.pixel-hotspot.active {
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.pixel-hotspot:focus-visible {
  outline: 2px solid rgba(0, 216, 255, .88);
  outline-offset: -2px;
  background: rgba(0, 216, 255, .04);
  box-shadow: 0 0 18px rgba(0, 216, 255, .42);
}

.pixel-hotspot:focus-visible {
  z-index: 9;
}

.pixel-nav {
  z-index: 6;
  display: grid;
  grid-template-columns: 16% minmax(0, 1fr) auto;
  align-items: center;
  gap: 3%;
  padding: 0 6.2%;
  border: 1px solid rgba(91, 139, 255, .08);
  border-radius: 11px;
  background:
    linear-gradient(90deg, rgba(5, 8, 23, .96), rgba(8, 11, 29, .86)),
    radial-gradient(circle at 12% 50%, rgba(0, 216, 255, .08), transparent 38%);
  color: #eef5ff;
  font-size: clamp(12px, .98vw, 19px);
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0,0,0,.65);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, filter .18s ease;
}

.pixel-nav:hover,
.pixel-nav:focus-visible,
.pixel-nav.is-hovered {
  border-color: rgba(0, 216, 255, .74);
  background:
    linear-gradient(90deg, rgba(137, 31, 255, .96), rgba(30, 119, 255, .92) 54%, rgba(0, 216, 255, .74)),
    radial-gradient(circle at 15% 50%, rgba(255,255,255,.22), transparent 40%);
  color: #fff;
  box-shadow:
    0 0 22px rgba(0, 216, 255, .52),
    0 0 26px rgba(139, 53, 255, .38),
    inset 0 0 18px rgba(255,255,255,.12);
  filter: saturate(1.12);
}

.pixel-nav-icon {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  color: #b9d4ff;
  font-size: .98em;
}

.pixel-nav:hover .pixel-nav-icon,
.pixel-nav:focus-visible .pixel-nav-icon,
.pixel-nav.is-hovered .pixel-nav-icon {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,.82);
}

.pixel-nav-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pixel-nav-pro {
  display: inline-grid;
  place-items: center;
  min-width: 20%;
  min-height: 52%;
  padding: 0 6px;
  border-radius: 7px;
  background: linear-gradient(90deg, #ffe76d, #ffb000);
  color: #1b1200;
  font-size: .68em;
  font-weight: 1000;
  text-shadow: none;
}

.pixel-token-hit {
  z-index: 5;
  border-radius: 18px;
  transition: transform .18s ease, filter .18s ease;
}

.pixel-token-hit::before {
  content: "";
  position: absolute;
  inset: -1.5%;
  border: 2px solid var(--pixel-token-glow, var(--cyan));
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--pixel-token-glow, var(--cyan)) 34%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 58%);
  box-shadow:
    0 0 26px color-mix(in srgb, var(--pixel-token-glow, var(--cyan)) 78%, transparent),
    inset 0 0 30px color-mix(in srgb, var(--pixel-token-glow, var(--cyan)) 24%, transparent);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}

.pixel-token-hit:hover::before,
.pixel-token-hit:focus-visible::before,
.pixel-token-hit.is-hovered::before {
  opacity: 1;
}

.pixel-token-hit:hover,
.pixel-token-hit.is-hovered {
  transform: translateY(-1px);
  filter: saturate(1.18) brightness(1.06);
}

.token-hover-sgrull { --pixel-token-glow: #ffd43b; }
.token-hover-panicotto { --pixel-token-glow: #ff315f; }
.token-hover-gicv { --pixel-token-glow: #00d8ff; }

.pixel-chart-live {
  position: absolute;
  z-index: 2;
  left: 48.9%;
  top: 50.2%;
  width: 24.1%;
  height: 17.9%;
  pointer-events: none;
  opacity: .93;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 8px rgba(37,255,133,.74));
}

.pixel-price-chart {
  width: 100%;
  height: 100%;
}

.px-timeframe {
  z-index: 7;
  border-radius: 8px;
}

.px-timeframe.active {
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.px-home { left: .95%; top: 21.25%; width: 12.9%; height: 5.15%; }
.px-swap { left: .95%; top: 27.0%; width: 12.9%; height: 4.7%; }
.px-tokens { left: .95%; top: 31.85%; width: 12.9%; height: 4.7%; }
.px-market { left: .95%; top: 36.7%; width: 12.9%; height: 4.7%; }
.px-pro { left: .95%; top: 41.55%; width: 12.9%; height: 4.7%; }
.px-launchpad-menu { left: .95%; top: 46.4%; width: 12.9%; height: 4.7%; }
.px-portfolio { left: .95%; top: 51.25%; width: 12.9%; height: 4.7%; }
.px-watchlist { left: .95%; top: 56.1%; width: 12.9%; height: 4.7%; }
.px-transparency { left: .95%; top: 60.95%; width: 12.9%; height: 4.7%; }
.px-compliance { left: .95%; top: 65.8%; width: 12.9%; height: 4.7%; }
.px-rewards { left: .95%; top: 70.65%; width: 12.9%; height: 4.7%; }
.px-community { left: .95%; top: 75.5%; width: 12.9%; height: 4.7%; }
.px-settings { left: .95%; top: 80.35%; width: 12.9%; height: 4.7%; }
.px-profile-wallet { left: 1.8%; top: 92.0%; width: 10.8%; height: 4.3%; }

.px-notifications { left: 74.2%; top: 1.35%; width: 3.0%; height: 5.2%; }
.px-messages { left: 78.0%; top: 1.35%; width: 3.0%; height: 5.2%; }
.px-language { left: 81.7%; top: 1.35%; width: 3.0%; height: 5.2%; }
.px-theme { left: 85.3%; top: 1.35%; width: 3.0%; height: 5.2%; }
.px-network { left: 89.0%; top: 1.25%; width: 9.8%; height: 5.45%; border-radius: 22px; }

.px-hero-swap { left: 36.2%; top: 20.7%; width: 9.8%; height: 6.3%; }
.px-hero-tokens { left: 46.9%; top: 20.7%; width: 10.2%; height: 6.3%; }
.px-badge-noncustodial { left: 20.4%; top: 29.15%; width: 9.8%; height: 3.2%; }
.px-badge-transparency { left: 31.2%; top: 29.15%; width: 10.6%; height: 3.2%; }
.px-badge-security { left: 42.5%; top: 29.15%; width: 12.5%; height: 3.2%; }
.px-badge-risk { left: 59.95%; top: 29.15%; width: 9.0%; height: 3.2%; }

.px-stat-marketcap { left: 15.95%; top: 33.1%; width: 12.1%; height: 9.8%; }
.px-stat-volume { left: 28.55%; top: 33.1%; width: 11.8%; height: 9.8%; }
.px-stat-users { left: 40.85%; top: 33.1%; width: 11.0%; height: 9.8%; }
.px-stat-listed { left: 52.35%; top: 33.1%; width: 10.9%; height: 9.8%; }
.px-stat-liquidity { left: 63.65%; top: 33.1%; width: 11.5%; height: 9.8%; }

.px-sgrull-card { left: 15.9%; top: 48.7%; width: 11.7%; height: 21.4%; }
.px-panicotto-card { left: 28.7%; top: 48.7%; width: 11.7%; height: 21.4%; }
.px-gicv-card { left: 41.6%; top: 48.7%; width: 11.7%; height: 21.4%; }
.px-star-sgrull { left: 24.6%; top: 49.7%; width: 2.4%; height: 4.1%; }
.px-star-panicotto { left: 37.4%; top: 49.7%; width: 2.4%; height: 4.1%; }
.px-star-gicv { left: 50.3%; top: 49.7%; width: 2.4%; height: 4.1%; }
.px-all-tokens { left: 29.65%; top: 70.4%; width: 8.5%; height: 3.2%; }

.px-market-chart { left: 48.0%; top: 43.3%; width: 27.25%; height: 28.2%; }
.px-timeframe-1h { left: 61.6%; top: 43.8%; width: 2.2%; height: 3.2%; }
.px-timeframe-1d { left: 64.1%; top: 43.8%; width: 2.45%; height: 3.2%; }
.px-timeframe-7d { left: 67.0%; top: 43.8%; width: 2.3%; height: 3.2%; }
.px-timeframe-30d { left: 70.0%; top: 43.8%; width: 2.55%; height: 3.2%; }
.px-timeframe-1y { left: 73.0%; top: 43.8%; width: 2.25%; height: 3.2%; }

.px-swap-from { left: 77.1%; top: 39.0%; width: 20.3%; height: 12.2%; }
.px-swap-to { left: 77.1%; top: 52.2%; width: 20.3%; height: 12.2%; }
.px-swap-reverse { left: 85.65%; top: 50.05%; width: 2.8%; height: 4.9%; }
.px-review-swap { left: 77.6%; top: 74.2%; width: 19.5%; height: 6.3%; }

.px-top-sgrull { left: 16.15%; top: 80.1%; width: 11.4%; height: 4.0%; }
.px-top-panicotto { left: 16.15%; top: 84.15%; width: 11.4%; height: 4.0%; }
.px-top-alpha { left: 16.15%; top: 88.25%; width: 11.4%; height: 4.0%; }
.px-top-beta { left: 16.15%; top: 92.35%; width: 11.4%; height: 4.0%; }
.px-top-gamma { left: 16.15%; top: 96.35%; width: 11.4%; height: 3.2%; }
.px-why { left: 29.2%; top: 73.4%; width: 20.3%; height: 23.0%; }
.px-security { left: 49.95%; top: 73.4%; width: 12.25%; height: 23.0%; }
.px-community-live { left: 62.9%; top: 73.9%; width: 12.1%; height: 12.0%; }
.px-meme { left: 62.9%; top: 87.6%; width: 12.1%; height: 8.7%; }
.px-launchpad-card { left: 76.55%; top: 84.4%; width: 10.7%; height: 12.0%; }
.px-utility-card { left: 88.2%; top: 84.4%; width: 10.7%; height: 12.0%; }

.px-bottom-home { left: 19.1%; top: 95.1%; width: 7.4%; height: 4.6%; }
.px-bottom-swap { left: 27.1%; top: 95.1%; width: 7.4%; height: 4.6%; }
.px-bottom-tokens { left: 35.1%; top: 95.1%; width: 7.4%; height: 4.6%; }
.px-bottom-market { left: 43.1%; top: 95.1%; width: 7.4%; height: 4.6%; }
.px-bottom-pro { left: 51.1%; top: 95.1%; width: 6.3%; height: 4.6%; }
.px-bottom-launchpad { left: 57.7%; top: 95.1%; width: 9.4%; height: 4.6%; }
.px-bottom-wallet { left: 67.4%; top: 95.1%; width: 8.4%; height: 4.6%; }
.px-bottom-rewards { left: 76.0%; top: 95.1%; width: 8.8%; height: 4.6%; }

.landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.landing-card {
  width: min(1120px, 100%);
  padding: clamp(26px, 6vw, 72px);
  border: 1px solid rgba(255,43,214,.38);
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 20%, rgba(0,216,255,.22), transparent 24rem),
    radial-gradient(circle at 18% 24%, rgba(255,43,214,.18), transparent 20rem),
    rgba(5,7,22,.78);
  box-shadow: 0 0 70px rgba(0,216,255,.16);
}

.landing h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 124px);
  line-height: .85;
}

.landing p {
  max-width: 720px;
  color: #dbe6ff;
  font-size: 20px;
}

.muted { color: var(--muted); }
.right { text-align: right; }
.wide { grid-column: 1 / -1; }
.hidden { display: none !important; }

.sidebar-top { position: relative; display: grid; gap: 8px; }
.brand-panel { min-height: 124px; padding: 14px 10px; }
.brand-logo { width: 74px; border-radius: 22px; }
.brand-text strong { font-size: 27px; }
.brand-text small { font-size: 16px; }
.compact-toggle {
  position: absolute;
  right: -5px;
  top: 10px;
  z-index: 2;
  width: 30px;
  min-height: 30px;
  border: 1px solid rgba(0,216,255,.42);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(3,6,20,.9);
}
.nav-section { display: grid; gap: 4px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.nav-section:first-child { border-top: 0; padding-top: 0; }
.nav-section-title {
  padding: 0 10px 3px;
  color: rgba(210,221,255,.62);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-label { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nav-link { min-height: 38px; grid-template-columns: 30px minmax(0, 1fr) auto; border-radius: 11px; }
.nav-link.active {
  border-color: rgba(0,216,255,.86);
  background: linear-gradient(90deg, rgba(55,119,255,.92), rgba(0,216,255,.36));
  box-shadow: inset 0 0 18px rgba(255,255,255,.08), 0 0 24px rgba(0,216,255,.24);
}
.nav-icon { font-size: 12px; font-weight: 1000; }
.risk-dot { width: 8px; aspect-ratio: 1; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px rgba(255,49,95,.65); }
.profile-card { padding: 12px; }
.profile-text { min-width: 0; }
.app-shell.sidebar-compact { grid-template-columns: 86px minmax(0, 1fr); }
.app-shell.sidebar-compact .sidebar { width: 86px; padding: 12px 8px; }
.app-shell.sidebar-compact .brand-panel { min-height: 74px; }
.app-shell.sidebar-compact .brand-logo { width: 52px; }
.app-shell.sidebar-compact .brand-text,
.app-shell.sidebar-compact .nav-section-title,
.app-shell.sidebar-compact .nav-label,
.app-shell.sidebar-compact .pro-pill,
.app-shell.sidebar-compact .risk-dot,
.app-shell.sidebar-compact .profile-text,
.app-shell.sidebar-compact .wallet-row { display: none; }
.app-shell.sidebar-compact .nav-link { grid-template-columns: 1fr; justify-items: center; padding: 0; }
.app-shell.sidebar-compact .nav-icon { width: 40px; }
.app-shell.sidebar-compact .profile-main { justify-content: center; }
.app-shell.sidebar-compact .avatar { width: 42px; }
.app-shell.sidebar-compact .wallet-btn { min-width: 0; width: 100%; padding: 0; font-size: 0; }
.app-shell.sidebar-compact .wallet-btn::before { content: "W"; font-size: 13px; }
.pro-search { position: relative; }
.search-prefix { color: var(--cyan); font-size: 11px; font-weight: 1000; letter-spacing: .08em; text-transform: uppercase; }
.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(0,216,255,.36);
  border-radius: 14px;
  background: rgba(5,8,24,.98);
  box-shadow: 0 20px 50px rgba(0,0,0,.42), 0 0 28px rgba(0,216,255,.16);
}
.search-results a { display: grid; gap: 2px; padding: 9px; border-radius: 10px; background: rgba(255,255,255,.045); }
.search-results a:hover, .search-results a:focus-visible { background: rgba(0,216,255,.14); }
.search-results small, .empty-search { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.network-chip { min-width: 168px; justify-content: space-between; }
.network-chip small { color: var(--muted); font-size: 10px; }
.header-wallet { min-width: 142px; }
.ops-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.exchange-launch-board {
  border-color: rgba(0,216,255,.38);
  background: linear-gradient(145deg, rgba(0,216,255,.10), rgba(255,43,214,.08)), rgba(6,8,26,.78);
}
.launch-token-row {
  display: grid;
  grid-template-columns: minmax(86px, 1fr) minmax(118px, 1.1fr) minmax(96px, .9fr);
  align-items: center;
}
.launch-token-row span,
.launch-token-row strong,
.launch-token-row em {
  min-width: 0;
}
.launch-token-row span small,
.launch-token-row strong small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}
.launch-token-row em {
  justify-self: end;
  color: var(--cyan);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}
.stat-topline, .stat-footer, .metric-deltas { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.metric-deltas { margin-top: 8px; flex-wrap: wrap; font-size: 11px; font-weight: 900; }
.stat-footer { margin-top: 6px; color: var(--muted); font-size: 11px; }
.stat-footer button, .tiny-btn { min-height: 28px; padding: 0 9px; border-radius: 9px; font-size: 11px; }
.token-select-row { display: flex; gap: 6px; align-items: center; }
.swap-usd { margin: 8px 0; color: var(--muted); font-size: 12px; font-weight: 800; text-align: right; }
.swap-warnings { display: grid; gap: 5px; margin: 10px 0; }
.swap-warnings p { margin: 0; padding: 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(0,0,0,.24); font-size: 12px; font-weight: 800; }
.network-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.network-option {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 14px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.05);
}
.network-option:hover, .network-option.active, .token-select-card:hover { border-color: rgba(0,216,255,.72); background: rgba(0,216,255,.13); box-shadow: 0 0 26px rgba(0,216,255,.16); }
.transaction-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.transaction-steps button { min-height: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #fff; background: rgba(255,255,255,.05); padding: 0 12px; }
.transaction-steps button.active { border-color: rgba(0,216,255,.76); background: rgba(0,216,255,.16); color: var(--cyan); }
.stat-detail > strong { display: block; margin: 10px 0; font-size: 42px; }
.token-select-card { cursor: pointer; text-align: left; }
.live-market-panel { overflow: hidden; }
.live-ticker-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.live-ticker-item {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 12px;
  text-align: left;
  border: 1px solid rgba(0,216,255,.26);
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,43,214,.18), transparent 38%),
    rgba(255,255,255,.045);
  box-shadow: inset 0 0 20px rgba(255,255,255,.035);
}
.live-ticker-item:hover,
.live-ticker-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0,216,255,.76);
  background:
    radial-gradient(circle at 80% 0%, rgba(0,216,255,.24), transparent 42%),
    rgba(0,216,255,.10);
  box-shadow: 0 0 24px rgba(0,216,255,.18);
}
.live-ticker-item span { color: var(--cyan); font-size: 12px; font-weight: 1000; letter-spacing: .06em; }
.live-ticker-item strong { font-size: 18px; }
.compact-actions { flex-wrap: wrap; justify-content: flex-end; }
.pool-scan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.pool-scan-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,212,59,.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 0%, rgba(255,212,59,.16), transparent 42%),
    rgba(255,255,255,.045);
}
.pool-scan-card.verified {
  border-color: rgba(37,255,133,.52);
  background:
    radial-gradient(circle at 92% 0%, rgba(37,255,133,.18), transparent 42%),
    rgba(37,255,133,.055);
  box-shadow: 0 0 24px rgba(37,255,133,.10);
}
.pool-scan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pool-scan-top strong { font-size: 18px; }
.presale-token-card { position: relative; overflow: hidden; }
.presale-token-card::before {
  content: "";
  position: absolute;
  inset: -80px auto auto -80px;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--token-color) 28%, transparent);
  filter: blur(18px);
  opacity: .72;
  pointer-events: none;
}
.gicv-tx-status {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255,212,59,.34);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,212,59,.14), transparent 42%),
    rgba(255,255,255,.045);
}
.gicv-tx-status.confirmed {
  border-color: rgba(37,255,133,.55);
  background:
    radial-gradient(circle at 100% 0%, rgba(37,255,133,.16), transparent 42%),
    rgba(37,255,133,.055);
}
.gicv-tx-status.failed {
  border-color: rgba(255,49,95,.55);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,49,95,.18), transparent 42%),
    rgba(255,49,95,.065);
}
.presale-terminal .progress-shell {
  margin-top: 12px;
}
.compact-actions .secondary-btn,
.compact-actions .ghost-btn,
.compact-actions .primary-btn {
  min-height: 36px;
}
button:disabled { cursor: not-allowed; filter: grayscale(.4) brightness(.72); opacity: .68; }

.client-android .app-main,
.client-pwa .app-main {
  padding-top: max(10px, env(safe-area-inset-top));
  padding-bottom: max(102px, calc(96px + env(safe-area-inset-bottom)));
}

.client-android .top-header,
.client-pwa .top-header {
  backdrop-filter: blur(18px);
}

.client-android .bottom-nav,
.client-pwa .bottom-nav {
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

@keyframes stars {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-190px, -190px, 0); }
}

@media (max-width: 1320px) {
  :root { --sidebar: 258px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .right-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swap-box { grid-column: 1 / -1; }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .token-page-overlay { grid-template-columns: 1fr; align-items: end; }
  .token-page-panel { max-width: 520px; }
  .panic-run-grid { grid-template-columns: 1fr; }
  .panic-side { grid-template-columns: 1fr 1fr; }
  .panic-reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-ticker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pool-scan-grid { grid-template-columns: 1fr; }
  .gicv-hero-shade { grid-template-columns: 1fr; }
  .roadmap-list,
  .readiness-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .app-shell { display: block; }
  .sidebar { display: none; }
  .app-main { padding: 10px 10px 102px; }
  .top-header { grid-template-columns: 1fr; }
  .header-actions { overflow-x: auto; padding-bottom: 4px; }
  .ops-grid,
  .network-grid,
  .activation-grid,
  .activation-columns { grid-template-columns: 1fr; }
  .hero-board { grid-template-columns: 1fr; }
  .token-grid,
  .directory-grid,
  .visual-story-grid,
  .three-col,
  .two-col,
  .right-stack,
  .form-grid,
  .checkbox-list {
    grid-template-columns: 1fr;
  }
  .visual-story-card,
  .visual-panel {
    grid-template-columns: 1fr;
  }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .token-hero { grid-template-columns: 1fr; }
  .token-page-visual { min-height: 560px; background-position: center top; }
  .token-page-overlay { padding: 16px; }
  .panic-side { grid-template-columns: 1fr; }
  .panic-run-head { align-items: flex-start; flex-direction: column; }
  .panic-reference-grid { grid-template-columns: 1fr; }
  .live-ticker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-banner,
  .gicv-presale-hero { align-items: flex-start; flex-direction: column; }
  .gicv-copy-grid,
  .roadmap-list,
  .readiness-grid { grid-template-columns: 1fr; }
  .wide-card { grid-column: auto; }
  .gicv-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bottom-nav { display: grid; }
}

@media (max-width: 620px) {
  .hero-title { font-size: 50px; }
  .stat-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .swap-row { grid-template-columns: 1fr; }
  .swap-amount { width: 100%; text-align: left; }
  .top-header { border-radius: 0; margin: -10px -10px 12px; }
  .bottom-nav { grid-template-columns: repeat(3, 1fr); }
  .token-page-visual { min-height: 620px; border-radius: 18px; }
  .token-sheet-showcase { border-radius: 16px; }
  .token-page-title { font-size: 52px; }
  .token-page-metrics { grid-template-columns: 1fr; }
  .hero-token-stack,
  .panic-score-grid { grid-template-columns: 1fr; }
  .gicv-hero { min-height: 760px; border-radius: 18px; }
  .gicv-identity h1 { font-size: 48px; }
  .gicv-metrics { grid-template-columns: 1fr; }
  .gicv-logo-orb { width: 64px; }
  #panicRunCanvas { min-height: 300px; }
}

/* Global Safe Area Layer
   Native Android insets are injected into the --native-safe-* variables by MainActivity.
   Browser/PWA insets use env(safe-area-inset-*). Every page inherits this wrapper behavior. */
html {
  min-height: 100%;
  scroll-padding-top: calc(var(--safe-top) + 84px);
  scroll-padding-bottom: var(--safe-page-bottom);
}

body {
  min-height: 100dvh;
  padding: 0;
}

.app-shell {
  min-height: 100dvh;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

.sidebar {
  top: var(--safe-top);
  bottom: var(--safe-bottom);
  left: var(--safe-left);
  height: auto;
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom));
}

.app-main,
.client-android .app-main,
.client-pwa .app-main {
  min-height: 100dvh;
  padding-top: calc(16px + var(--safe-top));
  padding-right: calc(18px + var(--safe-right));
  padding-bottom: max(108px, var(--safe-page-bottom));
  padding-left: calc(18px + var(--safe-left));
}

.top-header,
.client-android .top-header,
.client-pwa .top-header {
  top: var(--safe-top);
  scroll-margin-top: calc(var(--safe-top) + 12px);
}

.page-stack,
.panel,
.small-card,
.token-card,
.swap-box,
.token-page-visual,
.pixel-page {
  scroll-margin-top: calc(var(--safe-top) + 92px);
  scroll-margin-bottom: var(--safe-page-bottom);
}

input,
select,
textarea,
button,
a,
[tabindex] {
  scroll-margin-top: calc(var(--safe-top) + 96px);
  scroll-margin-bottom: calc(var(--safe-bottom) + var(--safe-keyboard) + 120px);
}

.bottom-nav,
.client-android .bottom-nav,
.client-pwa .bottom-nav {
  bottom: calc(12px + var(--safe-bottom));
  width: min(720px, calc(100% - 20px - var(--safe-left) - var(--safe-right)));
  padding: 8px;
  padding-bottom: 8px;
}

.toast {
  right: calc(18px + var(--safe-right));
  bottom: calc(18px + var(--safe-bottom) + var(--safe-keyboard));
  left: auto;
}

.modal-backdrop {
  padding:
    calc(16px + var(--safe-top))
    calc(12px + var(--safe-right))
    calc(16px + var(--safe-bottom) + var(--safe-keyboard))
    calc(12px + var(--safe-left));
  overflow: auto;
  overscroll-behavior: contain;
}

.modal {
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - var(--safe-keyboard) - 32px);
}

.modal-body {
  padding-bottom: calc(18px + var(--safe-bottom));
}

.pixel-page {
  min-height: calc(100dvh - var(--safe-top) - var(--safe-bottom));
}

.native-safe-area.keyboard-open .bottom-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.native-safe-area.keyboard-open .app-main {
  padding-bottom: calc(28px + var(--safe-bottom) + var(--safe-keyboard));
}

.native-safe-area.keyboard-open .modal-backdrop {
  align-items: flex-start;
  place-items: start center;
}

@media (max-width: 980px) {
  :root {
    --mobile-header-height: 56px;
    --mobile-bottom-nav-height: 62px;
    --safe-page-bottom: calc(var(--mobile-bottom-nav-height) + var(--safe-bottom) + var(--safe-keyboard) + 10px);
  }

  .mobile-safe-shell {
    min-height: 100dvh;
    position: relative;
    overflow-x: hidden;
  }

  .app-main,
  .client-android .app-main,
  .client-pwa .app-main {
    padding-top: calc(var(--safe-top) + var(--mobile-header-height) + 8px);
    padding-right: calc(10px + var(--safe-right));
    padding-bottom: calc(var(--mobile-bottom-nav-height) + var(--safe-bottom) + var(--safe-keyboard) + 16px);
    padding-left: calc(10px + var(--safe-left));
  }

  .top-header,
  .mobile-safe-header,
  .mobile-fixed-header {
    position: fixed;
    top: var(--safe-top);
    right: calc(10px + var(--safe-right));
    left: calc(10px + var(--safe-left));
    z-index: 100;
    min-height: var(--mobile-header-height);
    margin: 0;
    display: grid;
    align-items: center;
  }

  .bottom-nav,
  .mobile-safe-bottom-nav,
  .mobile-fixed-bottom-nav {
    position: fixed;
    right: calc(10px + var(--safe-right));
    bottom: max(6px, var(--safe-bottom));
    left: calc(10px + var(--safe-left));
    z-index: 100;
    width: auto;
    min-height: var(--mobile-bottom-nav-height);
    translate: none;
    margin: 0;
  }
}

/* Final mobile WebView placement override.
   Keep this at the very end of the stylesheet: older safe-area/client-android
   rules above intentionally remain for desktop/tablet fallback, but these rules
   are the source of truth for Android/PWA mobile app chrome. */
@media (max-width: 980px) {
  body.client-android .app-shell,
  body.client-pwa .app-shell,
  .mobile-app-shell {
    display: block !important;
    min-height: 100dvh !important;
    padding-left: var(--safe-left) !important;
    padding-right: var(--safe-right) !important;
    overflow-x: hidden !important;
  }

  body.android-window-fits {
    --native-safe-top: 0px !important;
    --native-safe-right: 0px !important;
    --native-safe-bottom: 0px !important;
    --native-safe-left: 0px !important;
  }

  body.client-android .app-main,
  body.client-pwa .app-main,
  .app-main.mobile-main-content {
    min-height: 100dvh !important;
    padding-top: calc(var(--safe-top) + var(--mobile-header-height) + 8px) !important;
    padding-right: calc(10px + var(--safe-right)) !important;
    padding-bottom: calc(var(--mobile-bottom-nav-height) + var(--safe-bottom) + var(--safe-keyboard) + 16px) !important;
    padding-left: calc(10px + var(--safe-left)) !important;
  }

  body.client-android .top-header,
  body.client-pwa .top-header,
  .top-header.mobile-fixed-header {
    position: fixed !important;
    top: var(--safe-top) !important;
    right: calc(10px + var(--safe-right)) !important;
    left: calc(10px + var(--safe-left)) !important;
    z-index: 1000 !important;
    min-height: var(--mobile-header-height) !important;
    margin: 0 !important;
    transform: none !important;
    translate: none !important;
  }

  body.android-window-fits .top-header,
  body.android-window-fits .top-header.mobile-fixed-header {
    top: 30px !important;
  }

  body.client-android .bottom-nav,
  body.client-pwa .bottom-nav,
  .bottom-nav.mobile-fixed-bottom-nav {
    position: fixed !important;
    right: calc(10px + var(--safe-right)) !important;
    bottom: max(6px, var(--safe-bottom)) !important;
    left: calc(10px + var(--safe-left)) !important;
    z-index: 1000 !important;
    width: auto !important;
    min-height: var(--mobile-bottom-nav-height) !important;
    margin: 0 !important;
    padding: 5px !important;
    transform: none !important;
    translate: none !important;
  }

  body.android-window-fits .bottom-nav,
  body.android-window-fits .bottom-nav.mobile-fixed-bottom-nav {
    bottom: 50px !important;
  }
}

@media (max-width: 620px) {
  body.client-android .top-header,
  body.client-pwa .top-header,
  .top-header.mobile-fixed-header {
    top: var(--safe-top) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  body.android-window-fits .top-header,
  body.android-window-fits .top-header.mobile-fixed-header {
    top: 30px !important;
  }

  body.client-android .top-header .search-box,
  body.client-pwa .top-header .search-box,
  .top-header.mobile-fixed-header .search-box {
    height: 52px !important;
    min-height: 52px !important;
  }

  body.client-android .bottom-nav,
  body.client-pwa .bottom-nav,
  .bottom-nav.mobile-fixed-bottom-nav {
    grid-template-columns: repeat(3, 1fr) !important;
    bottom: max(6px, var(--safe-bottom)) !important;
    align-items: center !important;
    justify-items: stretch !important;
    overflow: visible !important;
  }

  body.android-window-fits .bottom-nav,
  body.android-window-fits .bottom-nav.mobile-fixed-bottom-nav {
    bottom: 50px !important;
  }

  body.client-android .bottom-nav a,
  body.client-android .bottom-nav button,
  body.client-pwa .bottom-nav a,
  body.client-pwa .bottom-nav button,
  .bottom-nav.mobile-fixed-bottom-nav a,
  .bottom-nav.mobile-fixed-bottom-nav button {
    display: flex !important;
    min-width: 0 !important;
    min-height: 50px !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.client-android .bottom-menu-btn,
  body.client-pwa .bottom-menu-btn,
  .bottom-nav.mobile-fixed-bottom-nav .bottom-menu-btn {
    color: #fff !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.client-android .bottom-menu-btn .hamburger-icon,
  body.client-pwa .bottom-menu-btn .hamburger-icon,
  .bottom-nav.mobile-fixed-bottom-nav .bottom-menu-btn .hamburger-icon {
    display: flex !important;
    color: #fff !important;
    width: 38px !important;
    height: 30px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 auto !important;
  }

  body.client-android .hamburger-bars > span,
  body.client-pwa .hamburger-bars > span,
  .bottom-nav.mobile-fixed-bottom-nav .hamburger-bars > span {
    display: block !important;
    width: 100% !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffffff, #00d8ff) !important;
    box-shadow: 0 0 10px rgba(0, 216, 255, .9), 0 0 18px rgba(255, 43, 214, .45) !important;
  }
}

@media (max-width: 620px) {
  .top-header {
    top: var(--safe-top);
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .top-header .search-box {
    min-height: 52px;
    height: 52px;
    border-radius: 22px;
    border-color: rgba(0, 216, 255, .48);
    background: rgba(5, 7, 22, .74);
    box-shadow: 0 0 24px rgba(0, 216, 255, .12);
  }

  .top-header .search-prefix {
    color: #00d8ff;
    font-size: 13px;
    letter-spacing: .12em;
  }

  .top-header .search-box input {
    min-width: 0;
    font-size: 15px;
  }

  .top-header .header-actions {
    display: none;
  }

  .bottom-nav {
    grid-template-columns: repeat(3, 1fr);
    bottom: max(6px, var(--safe-bottom));
    width: auto;
    padding: 5px;
  }

  .bottom-menu-btn span:last-child {
    display: none;
  }

  .bottom-menu-btn .hamburger-icon {
    font-size: 32px;
  }

  .toast {
    right: calc(10px + var(--safe-right));
    bottom: calc(10px + var(--safe-bottom) + var(--safe-keyboard));
    left: calc(10px + var(--safe-left));
    max-width: none;
  }
}

/* GICVerse profile screen */
.profile-app-shell {
  display: block;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 52% 2%, rgba(255, 43, 214, .26), transparent 24rem),
    linear-gradient(180deg, rgba(1, 4, 18, .18), rgba(1, 4, 18, .72)),
    url("/assets/gicverse-global-background.png") center/cover fixed;
}

.profile-app-shell .profile-app-main {
  width: 100%;
  min-height: 100dvh;
  padding: calc(var(--safe-top) + 34px) calc(18px + var(--safe-right)) calc(var(--safe-bottom) + 28px) calc(18px + var(--safe-left));
}

.profile-app-shell .page-stack {
  max-width: 860px;
  margin: 0 auto;
}

.profile-screen {
  display: grid;
  gap: 28px;
  color: #fff;
}

.profile-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-page-header h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(255, 255, 255, .18);
}

.profile-bell {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 44px;
  cursor: pointer;
}

.profile-bell span {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ff2bd6;
  box-shadow: 0 0 18px rgba(255, 43, 214, .9);
}

.profile-identity-card,
.profile-wallet-summary,
.profile-quick-actions,
.profile-bottom-nav {
  border: 1px solid rgba(190, 94, 255, .82);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(71, 7, 112, .44), rgba(1, 12, 42, .8) 48%, rgba(0, 216, 255, .12)),
    rgba(3, 5, 20, .78);
  box-shadow:
    0 0 0 1px rgba(0, 216, 255, .1) inset,
    0 24px 70px rgba(0, 0, 0, .42),
    0 0 42px rgba(165, 70, 255, .16);
  backdrop-filter: blur(18px);
}

.profile-identity-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 34px;
  align-items: center;
  padding: clamp(30px, 5vw, 48px);
}

.profile-avatar-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 999px;
  padding: 9px;
  background: linear-gradient(135deg, #ff2bd6, #7a4dff, #00d8ff);
  box-shadow: 0 0 45px rgba(255, 43, 214, .38);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 50%;
  border-radius: inherit;
  display: block;
  background: #030716;
}

.profile-avatar-edit {
  position: absolute;
  right: 10px;
  bottom: 16px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(5, 9, 28, .82);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0, 216, 255, .22);
}

.profile-avatar-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.profile-identity-info {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.profile-identity-info h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1;
}

.profile-identity-info p {
  margin: 0;
  color: #00d8ff;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
}

.profile-wallet-pill,
.profile-address-row {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 20px;
  background: rgba(3, 7, 25, .72);
  color: #16ff9b;
  font-size: 20px;
  font-weight: 900;
  padding: 16px 24px;
}

.profile-wallet-pill i {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #15ff9a;
  box-shadow: 0 0 18px rgba(21, 255, 154, .72);
}

.profile-wallet-pill.demo {
  color: #ffd23f;
}

.profile-wallet-pill.demo i {
  background: #ffd23f;
  box-shadow: 0 0 18px rgba(255, 210, 63, .72);
}

.profile-address-row {
  color: #fff;
  min-width: min(100%, 420px);
  justify-content: space-between;
}

.profile-address-row button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.profile-edit-btn {
  min-height: 42px;
}

.profile-wallet-summary {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  padding: clamp(28px, 5vw, 42px);
}

.profile-total {
  display: grid;
  align-content: center;
  gap: 14px;
}

.profile-total h2,
.profile-quick-actions h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 4vw, 40px);
}

.profile-total span {
  color: rgba(255, 255, 255, .74);
  font-size: 22px;
}

.profile-total strong {
  font-size: clamp(50px, 8vw, 70px);
  line-height: 1;
}

.profile-total em {
  color: #16ff9b;
  font-size: 25px;
  font-style: normal;
  font-weight: 900;
}

.profile-total small {
  color: rgba(255, 255, 255, .56);
  line-height: 1.45;
}

.profile-token-list {
  display: grid;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  background: rgba(4, 10, 31, .65);
  padding: 14px 22px;
}

.profile-token-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 106px;
  color: #fff;
  text-decoration: none;
}

.profile-token-row + .profile-token-row {
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.profile-token-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(120, 79, 255, .42);
}

.profile-token-row strong {
  font-size: 28px;
}

.profile-token-row > span {
  display: grid;
  justify-items: end;
  gap: 6px;
  font-size: 28px;
  font-weight: 900;
}

.profile-token-row small {
  display: block;
  font-size: 20px;
}

.profile-quick-actions {
  padding: clamp(26px, 5vw, 38px);
}

.profile-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.profile-action-grid a,
.profile-bottom-nav a {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 170px;
  border: 1px solid rgba(214, 112, 255, .72);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(100, 37, 168, .32), rgba(0, 11, 37, .72));
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.profile-action-grid a:hover,
.profile-bottom-nav a:hover,
.profile-bottom-nav a.active {
  transform: translateY(-3px);
  border-color: rgba(255, 43, 214, .95);
  box-shadow: 0 0 32px rgba(172, 76, 255, .35);
}

.profile-action-grid span {
  color: #8fa2ff;
  font-size: 64px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(143, 162, 255, .52);
}

.profile-action-grid strong {
  font-size: 30px;
}

.profile-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px;
}

.profile-bottom-nav a {
  min-height: 118px;
  border-color: rgba(255, 255, 255, .12);
  background: transparent;
  color: rgba(255, 255, 255, .68);
}

.profile-bottom-nav a.active {
  color: #fff;
  background: radial-gradient(circle at 50% 0, rgba(255, 43, 214, .36), rgba(78, 21, 145, .54));
}

.profile-bottom-nav span {
  font-size: 44px;
  line-height: 1;
}

.profile-bottom-nav strong {
  font-size: 20px;
}

@media (max-width: 760px) {
  .profile-app-shell .profile-app-main {
    padding-top: calc(var(--safe-top) + 22px);
    padding-right: calc(14px + var(--safe-right));
    padding-left: calc(14px + var(--safe-left));
  }

  .profile-screen {
    gap: 18px;
  }

  .profile-identity-card,
  .profile-wallet-summary {
    grid-template-columns: 1fr;
  }

  .profile-identity-card {
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

  .profile-avatar-wrap {
    width: min(68vw, 260px);
  }

  .profile-identity-info {
    justify-items: center;
  }

  .profile-address-row {
    width: 100%;
  }

  .profile-token-row {
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    min-height: 84px;
  }

  .profile-token-row img {
    width: 52px;
    height: 52px;
  }

  .profile-token-row strong,
  .profile-token-row > span {
    font-size: 22px;
  }

  .profile-token-row small {
    font-size: 15px;
  }

  .profile-action-grid {
    gap: 12px;
  }

  .profile-action-grid a {
    min-height: 132px;
  }

  .profile-action-grid span {
    font-size: 46px;
  }

  .profile-action-grid strong {
    font-size: 20px;
  }

  .profile-bottom-nav {
    position: sticky;
    bottom: calc(var(--safe-bottom) + 10px);
    z-index: 20;
  }
}

@media (max-width: 430px) {
  .profile-page-header h1 {
    font-size: 38px;
  }

  .profile-bell {
    width: 52px;
    height: 52px;
    font-size: 36px;
  }

  .profile-wallet-pill,
  .profile-address-row {
    padding: 13px 16px;
    font-size: 16px;
  }

  .profile-total strong {
    font-size: 42px;
  }

  .profile-action-grid {
    grid-template-columns: 1fr;
  }

  .profile-bottom-nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .profile-bottom-nav a {
    min-height: 88px;
    border-radius: 18px;
  }

  .profile-bottom-nav span {
    font-size: 28px;
  }

  .profile-bottom-nav strong {
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .launch-token-row {
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: start;
  }
  .launch-token-row em {
    justify-self: start;
    text-align: left;
  }
}

.swap-activation-panel {
  border-color: rgba(0,216,255,.34);
}
.swap-activation-panel .launch-blockers {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,214,74,.24);
  border-radius: 16px;
  background: rgba(255,214,74,.06);
}
.swap-activation-panel .launch-blockers h3 {
  margin: 0 0 8px;
  color: var(--gold);
}
.swap-activation-panel .launch-blockers ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
