/* AERENT: sky and glass. One family (Figtree), navy ink, lime for the single primary action. */
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #0b2440;
  --ink-2: #3d5c7c;
  --ink-3: #7690ab;
  --sky: #2f86e6;
  --sky-deep: #1c62b8;
  --sky-soft: #e3f0ff;
  --lime: #b8fb4b;
  --lime-hi: #cdff72;
  --lime-lo: #9fe62e;
  --lime-ink: #173300;
  --danger: #d6404c;
  --danger-soft: #fde8ea;
  --warn: #b86e00;
  --warn-soft: #fff2d9;
  --ok: #178a4f;
  --ok-soft: #e1f7ea;

  --glass: rgba(255, 255, 255, .58);
  --glass-2: rgba(255, 255, 255, .78);
  --glass-3: rgba(255, 255, 255, .92);
  --edge: rgba(255, 255, 255, .85);
  --hair: rgba(11, 36, 64, .09);
  --hair-2: rgba(11, 36, 64, .14);

  --r-window: 22px;
  --r-panel: 16px;
  --r-control: 12px;
  --r-pill: 999px;

  --shadow-window: 0 40px 90px -30px rgba(12, 58, 112, .55), 0 12px 30px -12px rgba(12, 58, 112, .28);
  --shadow-lift: 0 10px 30px -14px rgba(12, 58, 112, .45);
  --inner: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .5);

  --menubar-h: 52px;
  --dock-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "tnum" 1, "ss01" 1;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body { background: #5eaaf0; line-height: 1.45; font-size: 14px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: var(--sky-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2.5px solid var(--sky); outline-offset: 2px; border-radius: 8px; }
.ic { width: 20px; height: 20px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- desktop */
.desktop {
  position: fixed; inset: 0;
  background: url("/assets/sky.webp") center / cover no-repeat, linear-gradient(180deg, #4d9ff0, #b9dcff);
}
.desktop::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 85% 0%, rgba(255, 255, 255, .28), transparent 60%),
    linear-gradient(90deg, rgba(28, 98, 190, .32), rgba(28, 98, 190, .12) 45%, transparent 70%);
}

/* ---------------------------------------------------------------- menubar */
.menubar {
  position: absolute; z-index: 5000; inset: 0 0 auto 0; height: var(--menubar-h);
  display: flex; align-items: center; gap: 6px; padding: 0 14px;
  background: rgba(240, 248, 255, .55);
  backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, .7);
}
.brand { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 4px; border: 0; background: none; border-radius: 12px; }
.brand img { width: 30px; height: 30px; }
.brand span { font-weight: 800; font-size: 17px; letter-spacing: .01em; }
.brand:hover { background: rgba(255, 255, 255, .6); }
.nav { display: flex; gap: 2px; margin-left: 6px; }
.nav button {
  height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: none;
  font-weight: 600; color: var(--ink-2); font-size: 14px;
}
.nav button:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.nav button[aria-current="true"] { color: var(--ink); background: rgba(255, 255, 255, .75); }
.menu-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-x-btn {
  width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--edge); color: var(--ink);
  background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  transition: background-color .15s var(--ease), transform .08s;
}
.top-x-btn:hover { background: rgba(255, 255, 255, .9); }
.top-x-btn:active { transform: translateY(1px); }
.top-x-btn .ic { width: 18px; height: 18px; }
.clock { font-weight: 600; color: var(--ink-2); padding: 0 6px; font-size: 13px; min-width: 44px; text-align: right; }

.chip-net {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 10px;
  border-radius: var(--r-pill); border: 1px solid var(--edge); background: rgba(255, 255, 255, .6);
  font-weight: 600; font-size: 13px;
}
.chip-net i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(23, 138, 79, .15); }
.chip-net.down i { background: var(--danger); box-shadow: 0 0 0 3px rgba(214, 64, 76, .15); }
.chip-net.wrong i { background: var(--warn); }
.tag-preview {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px;
  background: var(--ink); color: var(--lime); font-weight: 700; font-size: 12px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  --h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 16px; border-radius: var(--r-control);
  border: 1px solid transparent; font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: background-color .15s var(--ease), box-shadow .15s var(--ease), transform .08s;
  text-decoration: none !important;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { --h: 32px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-lg { --h: 48px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-lime { background: var(--lime); color: var(--lime-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 16px -8px rgba(90, 150, 0, .8); }
.btn-lime:hover:not(:disabled) { background: var(--lime-hi); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover:not(:disabled) { background: #14365c; }
.btn-glass { background: rgba(255, 255, 255, .72); border-color: var(--hair); color: var(--ink); box-shadow: var(--inner); }
.btn-glass:hover:not(:disabled) { background: #fff; }
.btn-ghost { background: none; color: var(--ink-2); }
.btn-ghost:hover:not(:disabled) { background: rgba(11, 36, 64, .06); color: var(--ink); }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(214, 64, 76, .2); }
.btn-danger:hover:not(:disabled) { background: #fbd6da; }
.icon-btn { width: 32px; height: 32px; padding: 0; display: inline-grid; place-items: center; border-radius: 10px; border: 0; background: none; color: var(--ink-2); }
.icon-btn:hover { background: rgba(11, 36, 64, .07); color: var(--ink); }
.icon-btn .ic { width: 18px; height: 18px; }

.wallet-btn { padding: 0 14px 0 6px; gap: 8px; }
.wallet-btn .avatar { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.btn-lime.wallet-btn { padding: 0 16px; }

/* ---------------------------------------------------------------- hero on the desktop */
.stage { position: absolute; inset: var(--menubar-h) 0 var(--dock-h) 0; overflow: hidden; }
.apps {
  position: absolute; left: 22px; top: 22px; display: flex; flex-direction: column; gap: 2px;
  height: auto; z-index: 1;
}
.app-icon {
  width: 88px; height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px;
  padding-top: 6px; border: 0; background: none; border-radius: 16px; color: #fff;
}
.app-icon .tile {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .5));
  border: 1px solid rgba(255, 255, 255, .9); color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(8, 50, 100, .6), inset 0 1px 0 #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.app-icon .tile .ic { width: 24px; height: 24px; }
.app-icon span { font-size: 12.5px; font-weight: 700; text-shadow: 0 1px 8px rgba(5, 40, 90, .55); line-height: 1.15; }
.app-icon:hover .tile { background: #fff; }
.app-icon:focus-visible { outline-offset: -2px; }

.hero {
  position: absolute; left: clamp(140px, 13vw, 200px); top: 50%; transform: translateY(-52%);
  width: min(620px, calc(100% - 560px)); min-width: 440px; z-index: 1;
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(40px, 4.6vw, 64px); line-height: .98; font-weight: 800; letter-spacing: -.035em; color: #fff;
  text-shadow: 0 2px 30px rgba(8, 60, 130, .35);
}
.hero p { margin: 0 0 26px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .95); max-width: 46ch; text-shadow: 0 1px 14px rgba(8, 60, 130, .4); font-weight: 500; }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .facts {
  display: inline-flex; gap: 0; margin-top: 30px; padding: 6px; border-radius: 18px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 16px 36px -20px rgba(8, 50, 110, .6);
}
.hero .facts div { display: grid; gap: 1px; padding: 8px 18px; }
.hero .facts div + div { border-left: 1px solid var(--hair); }
.hero .facts strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.hero .facts small { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }

.orbit { position: absolute; right: 5vw; top: 50%; width: min(38vw, 520px); aspect-ratio: 1; transform: translateY(-54%); z-index: 0; pointer-events: none; }
.orbit .mark { position: absolute; inset: 14%; filter: drop-shadow(0 30px 40px rgba(10, 70, 150, .35)); }
.orbit .mark img { width: 100%; height: 100%; }
.ticker {
  pointer-events: auto; position: absolute; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 7px;
  background: var(--lime); color: #0a1a00; border-radius: 14px; font-weight: 800; font-size: 18px; letter-spacing: -.01em;
  border: 0; box-shadow: 0 16px 30px -14px rgba(40, 90, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .2s var(--ease);
}
.ticker:hover { transform: translateY(-2px); }
.ticker .tlogo { --s: 32px; }
.ticker:nth-of-type(1) { left: -6%; top: 16%; }
.ticker:nth-of-type(2) { right: -4%; top: 30%; }
.ticker:nth-of-type(3) { left: 4%; bottom: 20%; }
.ticker:nth-of-type(4) { right: 6%; bottom: 8%; }

@media (prefers-reduced-motion: no-preference) {
  .orbit .mark { animation: settle 1.1s var(--ease) both; }
  .ticker { animation: pop .6s var(--ease) both; }
  .ticker:nth-of-type(1) { animation-delay: .35s; }
  .ticker:nth-of-type(2) { animation-delay: .45s; }
  .ticker:nth-of-type(3) { animation-delay: .55s; }
  .ticker:nth-of-type(4) { animation-delay: .65s; }
  .hero { animation: rise .8s .1s var(--ease) both; }
}
@keyframes settle { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(-46%); } to { opacity: 1; transform: translateY(-52%); } }

/* ---------------------------------------------------------------- dock */
.dock {
  position: absolute; z-index: 5000; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; height: 60px; padding: 0 8px;
  border-radius: 20px; background: rgba(240, 248, 255, .55); border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 20px 40px -20px rgba(8, 50, 110, .6), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.dock button {
  position: relative; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 13px;
  background: none; color: var(--ink);
}
.dock button:hover { background: rgba(255, 255, 255, .8); }
.dock button .ic { width: 22px; height: 22px; }
.dock button.open::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--ink); }
.dock button.focused { background: rgba(255, 255, 255, .9); }
.dock .sep { width: 1px; height: 30px; background: var(--hair-2); margin: 0 4px; }
.dock .tip {
  position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%); padding: 5px 9px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s;
}
.dock button:hover .tip, .dock button:focus-visible .tip { opacity: 1; }

/* ---------------------------------------------------------------- windows */
.windows { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.win {
  position: absolute; display: flex; flex-direction: column; pointer-events: auto;
  min-width: 360px; min-height: 260px; border-radius: var(--r-window);
  background: rgba(247, 251, 255, .8); border: 1px solid var(--edge);
  backdrop-filter: blur(34px) saturate(1.6); -webkit-backdrop-filter: blur(34px) saturate(1.6);
  box-shadow: var(--shadow-window), inset 0 1px 0 #fff;
  overflow: hidden; resize: both;
}
.win.active { background: rgba(250, 253, 255, .95); }
input[type=range] { accent-color: var(--sky); }
input[type=checkbox] { accent-color: var(--sky); width: 16px; height: 16px; }
.win:not(.active) { box-shadow: 0 30px 60px -30px rgba(12, 58, 112, .45); }
.win.max { inset: 10px !important; width: auto !important; height: auto !important; resize: none; }
@media (prefers-reduced-motion: no-preference) {
  .win.opening { animation: winIn .22s var(--ease) both; }
}
@keyframes winIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }

.win-head { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 10px 0 16px; flex: none; cursor: grab; user-select: none; touch-action: none; }
.win-head:active { cursor: grabbing; }
.win-head .tile { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--hair); color: var(--ink); flex: none; box-shadow: var(--inner); }
.win-head .tile .ic { width: 18px; height: 18px; }
.win-head .tile .tlogo { --s: 26px; }
.win-title { display: grid; min-width: 0; }
.win-title strong { font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-title small { font-size: 12px; color: var(--ink-3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-ctrl { margin-left: auto; display: flex; gap: 2px; }
.win-body { flex: 1; overflow: auto; padding: 4px 20px 20px; overscroll-behavior: contain; scrollbar-width: thin; }
.win-foot { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--hair); background: rgba(255, 255, 255, .5); }
.win-foot .grow { margin-right: auto; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }

/* ---------------------------------------------------------------- building blocks */
.panel { background: rgba(255, 255, 255, .75); border: 1px solid var(--hair); border-radius: var(--r-panel); box-shadow: var(--inner); }
.panel-pad { padding: 16px; }
.stack { display: grid; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--ink-3); }
.soft { color: var(--ink-2); }
.strong { font-weight: 700; }
.small { font-size: 12.5px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; letter-spacing: -.01em; }
h2.title { margin: 6px 0 4px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
h3.sub { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
p.lead { margin: 0 0 16px; color: var(--ink-2); max-width: 64ch; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid var(--hair); box-shadow: var(--inner); }
.stat small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.stat strong { display: block; margin-top: 2px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }

.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.search { position: relative; flex: 1; min-width: 200px; }
.search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); width: 18px; height: 18px; }
.search input.in { padding-left: 40px; }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: rgba(11, 36, 64, .06); flex-wrap: wrap; }
.seg button { height: 32px; padding: 0 12px; border: 0; border-radius: 9px; background: none; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 36, 64, .12); }

input.in, select.in, textarea.in {
  width: 100%; height: 44px; padding: 0 14px; border-radius: var(--r-control);
  border: 1px solid var(--hair-2); background: rgba(255, 255, 255, .9); outline: none; font-weight: 600;
  transition: border-color .12s, box-shadow .12s;
}
select.in { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d5c7c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
input.in:focus, select.in:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(47, 134, 230, .15); }
input.in::placeholder { color: var(--ink-3); font-weight: 500; }
.field { display: grid; gap: 6px; }
.field > label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--ink-3); }
.field .hint.bad { color: var(--danger); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.full { grid-column: 1 / -1; }
.input-affix { position: relative; }
.input-affix input { padding-right: 96px; }
.input-affix .affix { position: absolute; right: 6px; top: 6px; bottom: 6px; display: flex; align-items: center; gap: 6px; padding: 0 8px; border-radius: 9px; background: rgba(11, 36, 64, .05); font-weight: 700; font-size: 13px; }
.input-affix .affix .tlogo { --s: 20px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--sky-deep); font-weight: 700; font-size: 12px; }
.link-btn:hover { text-decoration: underline; }

/* token logo */
.tlogo { --s: 36px; position: relative; width: var(--s); height: var(--s); flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(11, 36, 64, .08); }
.tlogo img { width: 100%; height: 100%; object-fit: cover; }
.tlogo b { display: none; font-size: calc(var(--s) * .36); font-weight: 800; color: var(--ink-2); }
.tlogo.mono { background: linear-gradient(160deg, #eef5ff, #d6e8ff); }
.tlogo.mono b { display: block; }
.tlogo.nft { border-radius: 28%; }
.pair { display: inline-flex; }
.pair .tlogo + .tlogo { margin-left: -8px; box-shadow: 0 0 0 2px #fff; }

.asset { display: flex; align-items: center; gap: 12px; min-width: 0; }
.asset > div { display: grid; min-width: 0; }
.asset strong { font-weight: 800; font-size: 14.5px; display: flex; align-items: center; gap: 6px; }
.asset small { color: var(--ink-3); font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.verified { width: 16px; height: 16px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--sky); color: #fff; flex: none; }
.verified .ic { width: 11px; height: 11px; stroke-width: 2.6; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-open { background: var(--ok-soft); color: var(--ok); }
.b-rented { background: var(--sky-soft); color: var(--sky-deep); }
.b-closed { background: rgba(11, 36, 64, .06); color: var(--ink-2); }
.b-warn { background: var(--warn-soft); color: var(--warn); }
.b-bad { background: var(--danger-soft); color: var(--danger); }
.b-lime { background: var(--lime); color: var(--lime-ink); }
.b-plain { background: rgba(11, 36, 64, .06); color: var(--ink-2); }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-panel); background: rgba(255, 255, 255, .7); border: 1px solid var(--hair); box-shadow: var(--inner); }
table.t { width: 100%; border-collapse: collapse; min-width: 720px; }
table.t th { text-align: left; font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
table.t td { padding: 12px 14px; border-bottom: 1px solid var(--hair); vertical-align: middle; font-weight: 600; }
table.t tr:last-child td { border-bottom: 0; }
table.t tbody tr { transition: background-color .12s; }
table.t tbody tr:hover { background: rgba(255, 255, 255, .8); }
table.t .num { text-align: right; white-space: nowrap; }
table.t th.num { text-align: right; }
table.t .act { text-align: right; width: 1%; white-space: nowrap; }
table.t .act .row { flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 230px; margin-left: auto; }
.cell2 { display: grid; gap: 1px; }
.cell2 small { color: var(--ink-3); font-weight: 600; font-size: 12px; }
th button.sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; display: inline-flex; align-items: center; gap: 2px; }
th button.sort .ic { width: 14px; height: 14px; opacity: 0; }
th button.sort[data-dir] .ic { opacity: 1; }
th button.sort[data-dir="asc"] .ic { transform: rotate(180deg); }

/* summary list (signing screen) */
.sum { display: grid; gap: 0; }
.sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--hair-2); }
.sum > div:last-child { border-bottom: 0; }
.sum span { color: var(--ink-2); font-weight: 600; }
.sum strong { font-weight: 800; text-align: right; }
.sum .big strong { font-size: 18px; }

/* health factor */
.hf { display: grid; gap: 6px; }
.hf-bar { position: relative; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #f06c78 0%, #f7b84a 30%, #9fe62e 60%, #58c77e 100%); }
.hf-bar i { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 2px 6px rgba(11, 36, 64, .3); }
.hf-bar b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); opacity: .35; }
.hf-val { font-weight: 800; }
.hf-val.bad { color: var(--danger); }
.hf-val.warn { color: var(--warn); }
.hf-val.good { color: var(--ok); }

/* stepper */
.steps { display: grid; gap: 8px; }
.stepi { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .72); border: 1px solid var(--hair); }
.stepi .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: rgba(11, 36, 64, .07); color: var(--ink-2); }
.stepi .dot .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.stepi strong { display: block; font-weight: 800; }
.stepi small { color: var(--ink-3); font-weight: 600; font-size: 12.5px; }
.stepi.active { border-color: rgba(47, 134, 230, .45); box-shadow: 0 0 0 4px rgba(47, 134, 230, .1); }
.stepi.active .dot { background: var(--sky); color: #fff; }
.stepi.done .dot { background: var(--lime); color: var(--lime-ink); }
.stepi.fail .dot { background: var(--danger); color: #fff; }
.stepi .state { font-size: 12.5px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.4px solid rgba(47, 134, 230, .25); border-top-color: var(--sky); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* notes */
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; font-weight: 600; font-size: 13px; line-height: 1.45; }
.note .ic { width: 18px; height: 18px; margin-top: 1px; }
.note-info { background: var(--sky-soft); color: #134a8a; }
.note-warn { background: var(--warn-soft); color: #7a4a00; }
.note-bad { background: var(--danger-soft); color: #9b1f2a; }
.note-ok { background: var(--ok-soft); color: #0f5e36; }

/* empty */
.empty { display: grid; place-items: center; text-align: center; padding: 42px 20px; gap: 6px; }
.empty .tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 1px solid var(--hair); margin-bottom: 8px; box-shadow: var(--inner); }
.empty strong { font-size: 16px; font-weight: 800; }
.empty span { color: var(--ink-3); font-weight: 600; max-width: 42ch; }
.empty .btn { margin-top: 10px; }
.skel { height: 56px; border-radius: 12px; background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .95), rgba(255, 255, 255, .5)); background-size: 200% 100%; animation: sk 1.4s linear infinite; margin-bottom: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* rent / list layouts */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.asset-hero { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; }
.asset-hero .tlogo { --s: 52px; }
.asset-hero h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.asset-hero p { margin: 2px 0 0; color: var(--ink-3); font-weight: 600; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 250px; overflow: auto; padding: 2px; }
.pick button { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; border: 1px solid var(--hair); background: rgba(255, 255, 255, .75); text-align: left; }
.pick button:hover { background: #fff; }
.pick button[aria-pressed="true"] { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(47, 134, 230, .18); background: #fff; }
.pick .tlogo { --s: 32px; }
.pick strong { display: block; font-weight: 800; font-size: 13.5px; }
.pick small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }

/* activity */
.feed { display: grid; }
.feed-item { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--hair); }
.feed-item:last-child { border-bottom: 0; }
.feed-item .tile { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--hair); }
.feed-item .tile .ic { width: 18px; height: 18px; }
.feed-item strong { display: block; font-weight: 800; }
.feed-item small { color: var(--ink-3); font-weight: 600; }

/* settings */
.set { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.set:last-child { border-bottom: 0; }
.set strong { display: block; font-weight: 800; }
.set small { color: var(--ink-3); font-weight: 600; }
.set select.in { width: 240px; }

/* docs */
.prose { max-width: 70ch; }
.prose h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 8px; }
.prose h3 { font-size: 16px; font-weight: 800; margin: 22px 0 6px; }
.prose p, .prose li { color: var(--ink-2); font-weight: 500; line-height: 1.6; }
.prose ol, .prose ul { padding-left: 20px; }
.prose code { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: rgba(11, 36, 64, .06); padding: 2px 6px; border-radius: 6px; }
.formula { padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #eaf4ff; font-weight: 600; margin: 10px 0; }
.formula b { color: var(--lime); font-weight: 700; }

/* modal (wallet picker) */
.scrim { position: fixed; inset: 0; z-index: 8000; background: rgba(8, 38, 76, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.modal { width: min(420px, 100%); border-radius: var(--r-window); background: rgba(250, 253, 255, .94); border: 1px solid var(--edge); box-shadow: var(--shadow-window); padding: 8px 20px 20px; }
.modal-head { display: flex; align-items: center; height: 56px; }
.modal-head strong { font-size: 17px; font-weight: 800; }
.modal-head .icon-btn { margin-left: auto; }
.wallets { display: grid; gap: 8px; }
.wallets button { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--hair); background: #fff; font-weight: 800; font-size: 15px; text-align: left; }
.wallets button:hover { border-color: var(--sky); }
.wallets .wicon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-soft); overflow: hidden; }
.wallets .wicon img { width: 100%; height: 100%; }
.wallets small { margin-left: auto; color: var(--ink-3); font-weight: 600; font-size: 12px; }

/* account menu */
.popover { position: absolute; z-index: 8500; min-width: 260px; padding: 8px; border-radius: 16px; background: rgba(250, 253, 255, .96); border: 1px solid var(--edge); box-shadow: var(--shadow-window); }
.popover .who { display: flex; align-items: center; gap: 10px; padding: 10px; }
.popover .who .avatar { width: 36px; height: 36px; border-radius: 50%; }
.popover .who strong { display: block; font-weight: 800; }
.popover .who small { color: var(--ink-3); font-weight: 600; }
.popover .item { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: none; font-weight: 700; text-align: left; color: var(--ink); }
.popover .item:hover { background: rgba(11, 36, 64, .06); }
.popover .item .ic { width: 18px; height: 18px; color: var(--ink-2); }
.popover hr { border: 0; border-top: 1px solid var(--hair); margin: 6px 0; }

/* toasts */
.toasts { position: fixed; z-index: 9000; right: 16px; top: calc(var(--menubar-h) + 12px); display: grid; gap: 8px; width: min(360px, calc(100% - 32px)); }
.toast { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(250, 253, 255, .96); border: 1px solid var(--edge); box-shadow: var(--shadow-lift); font-weight: 600; }
.toast .ic { width: 20px; height: 20px; }
.toast strong { display: block; font-weight: 800; }
.toast small { color: var(--ink-2); font-size: 12.5px; }
.toast.ok .ic { color: var(--ok); }
.toast.bad .ic { color: var(--danger); }
.toast.info .ic { color: var(--sky); }
@media (prefers-reduced-motion: no-preference) { .toast { animation: pop .25s var(--ease) both; } }

.boot { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: url("/assets/sky.webp") center / cover; transition: opacity .22s, visibility .22s; }
.boot img { width: 120px; height: 120px; filter: drop-shadow(0 20px 30px rgba(10, 70, 150, .35)); }
.boot.gone { opacity: 0; visibility: hidden; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .orbit { opacity: .35; right: -10vw; width: 70vw; }
  .hero { left: 130px; width: calc(100% - 170px); min-width: 0; }
}
@media (max-width: 820px) {
  :root { --menubar-h: 56px; --dock-h: 78px; }
  .nav, .clock, .chip-net span.lbl { display: none; }
  .apps { display: none; }
  .hero { left: 20px; right: 20px; width: auto; top: auto; bottom: 24px; transform: none; animation: none; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .hero .facts { gap: 18px; }
  .orbit { opacity: 1; width: min(46vw, 34vh); right: 50%; margin-right: calc(min(46vw, 34vh) / -2); top: 2%; transform: none; }
  .orbit .mark { inset: 6%; }
  .ticker { height: 36px; font-size: 14px; padding: 0 12px 0 5px; }
  .ticker:nth-of-type(1) { left: -54%; top: 18%; }
  .ticker:nth-of-type(2) { right: -54%; top: 34%; }
  .ticker:nth-of-type(3) { left: -48%; bottom: 8%; }
  .ticker:nth-of-type(4) { right: -52%; bottom: -2%; }
  .ticker .tlogo { --s: 26px; }
  .win { inset: 0 !important; width: auto !important; height: auto !important; border-radius: 22px 22px 0 0; resize: none; }
  .win-head { cursor: default; }
  .win-ctrl [data-max] { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .dock { left: 8px; right: 8px; transform: none; justify-content: space-between; overflow-x: auto; bottom: 8px; }
  .dock .sep { display: none; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }


/* ---------------------------------------------------------------- AERENT token page */
.coin-page { display: grid; gap: 16px; max-width: 720px; margin: 0 auto; }
.coin-hero-card,
.coin-ca-card,
.coin-actions-card {
  border: 1px solid rgba(255,255,255,.88);
  background: rgba(255,255,255,.6);
  box-shadow: 0 18px 40px -28px rgba(8,50,110,.55), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
}
.coin-hero-card {
  min-height: 178px;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  background:
    radial-gradient(circle at 86% 12%, rgba(181,247,80,.26), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.84), rgba(235,245,255,.58));
}
.coin-mark {
  width: 112px; height: 112px; flex: none; display: grid; place-items: center;
  border-radius: 28px; border: 1px solid rgba(255,255,255,.95);
  background: rgba(255,255,255,.56);
  box-shadow: 0 18px 36px -24px rgba(8,50,110,.75), inset 0 1px 0 #fff;
}
.coin-mark img { width: 78%; height: 78%; object-fit: contain; }
.coin-hero-copy { min-width: 0; }
.coin-kicker {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: 999px; background: var(--lime); color: var(--lime-ink);
  font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.coin-hero-copy h2 {
  margin: 10px 0 8px; font-size: 42px; line-height: 1; letter-spacing: -.045em; font-weight: 850; color: var(--ink);
}
.coin-hero-copy p { margin: 0; max-width: 50ch; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.coin-ca-card, .coin-actions-card { border-radius: 20px; padding: 18px; }
.coin-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.coin-section-head > div { display: grid; gap: 2px; }
.coin-section-head small { color: var(--ink-2); font-size: 12px; font-weight: 650; }
.coin-section-head strong { font-size: 15px; }
.coin-status {
  margin-left: auto; display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--hair); background: rgba(255,255,255,.72);
  font-weight: 800; font-size: 12px;
}
.coin-ca-box {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 8px 8px 14px;
  border: 1px solid var(--hair-2); border-radius: 14px; background: rgba(245,249,255,.78);
}
.coin-ca-value { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.coin-copy { flex: none; }
.coin-note { margin: 10px 2px 0; color: var(--ink-2); font-size: 12px; line-height: 1.45; }
.coin-actions-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 10px; }
.coin-actions-grid .btn { width: 100%; }
.coin-actions-grid .ic { width: 18px; height: 18px; }

@media (max-width: 620px) {
  .coin-hero-card { align-items: flex-start; padding: 18px; gap: 14px; }
  .coin-mark { width: 76px; height: 76px; border-radius: 20px; }
  .coin-hero-copy h2 { font-size: 34px; }
  .coin-actions-grid { grid-template-columns: 1fr; }
  .coin-ca-value { font-size: 11px; }
}
