:root{color-scheme:dark;--text:#f6f7f8;--muted:#a4a7ae;--edge:#27292e;--panel:#0d0e10;--green:#05e2be;font:15px/1.45 Inter,system-ui,sans-serif;background:#050607;color:var(--text)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 55% 0,#14212c,transparent 28rem),#050607;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible{outline:2px solid #d5d7da;outline-offset:3px}input:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.app{width:min(100%,480px);margin:auto;min-height:100dvh;background:radial-gradient(ellipse at 64% 0,#10202b 0,transparent 23%),#050506;position:relative;display:flex;flex-direction:column}.top{display:flex;align-items:center;justify-content:space-between;padding:19px 20px 12px;gap:10px}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:20px;letter-spacing:.12em}.logo{width:30px;height:30px}.wallet,.chip{border:1px solid #34373c;border-radius:30px;padding:7px 12px;background:#0a0c0e;white-space:nowrap;font-size:12px}.back{font-size:14px;color:#ddd}.content{padding:0 18px 18px;flex:1}.hero{padding-top:8px}.hero h1{font-size:clamp(29px,8vw,37px);line-height:1.04;max-width:330px}.hero img{width:calc(100% + 36px);margin:0 -18px -8px;display:block}.heading{position:relative;min-height:102px;padding:8px 0 12px;display:flex;align-items:center;gap:8px}.heading div{position:relative;z-index:1;flex:1}.heading img{width:38%;max-height:134px;object-fit:contain;mix-blend-mode:screen}.heading p{margin-top:5px}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.1;letter-spacing:-.035em}h2{font-size:19px;line-height:1.22}h3{font-size:15px}p{color:var(--muted);font-size:13px;margin:5px 0 0}.panel{border:1px solid var(--edge);border-radius:12px;background:linear-gradient(145deg,#111214,#090a0b 70%);padding:12px;margin-bottom:9px}.panel.green{border-color:#17423a;background:linear-gradient(130deg,#0d201d,#080f0f)}.panel.gold{border-color:#4b3e23;background:linear-gradient(140deg,#211a0e,#0b0b0b)}.stack{display:grid;gap:8px}.stack>.panel{margin:0}.row{display:flex;align-items:center;justify-content:space-between;gap:8px}.row.wrap{flex-wrap:wrap}.muted,small{color:var(--muted)}small{font-size:11px;display:block}strong.amount{font-size:26px;line-height:1.15;letter-spacing:-.025em}.green-text{color:var(--green)}.badge{display:inline-flex;border-radius:30px;align-items:center;gap:5px;padding:4px 8px;font-size:11px;background:#12352d;color:#76f6d8}.badge::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.badge.gold{background:#3a2e12;color:#ffdb69}.btn{border:1px solid #34373b;background:linear-gradient(#17191b,#101113);color:var(--text);border-radius:9px;min-height:39px;padding:8px 10px;text-align:center;display:inline-flex;justify-content:center;align-items:center;gap:6px;font-weight:650;font-size:13px}.btn.full{display:flex;width:100%;margin-top:8px;min-height:43px}.btn.primary{background:#f8f9fa;color:#101114;border-color:#fff}.btn.accent{background:var(--green);border-color:var(--green);color:#041710;box-shadow:0 0 18px #05e2be25}.btn:disabled{opacity:.4;cursor:default}.grid{display:grid;gap:6px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:9px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{background:#0c0d0f;border:1px solid #1e2024;border-radius:8px;padding:8px;min-width:0}.metric b{font-size:12px;overflow-wrap:anywhere}.coin{width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;flex:none;font-weight:800;background:#0b9183;color:white}.coin.eth{background:#3046df}.coin.sol{background:#1e1532;color:#23ebbe}.coin.tron{background:#d72842}.token{justify-content:flex-start}.art{width:42%;aspect-ratio:1.55;object-fit:contain;mix-blend-mode:screen}.art.big{display:block;width:76%;max-height:230px;margin:8px auto}.node-intro{min-height:90px}.nav{position:sticky;bottom:0;z-index:3;background:#08090bf2;backdrop-filter:blur(12px);border-top:1px solid #202227;display:grid;grid-template-columns:repeat(5,1fr);padding:8px 5px max(10px,env(safe-area-inset-bottom));margin-top:12px}.nav a{color:#a5a8ad;text-align:center;font-size:11px;padding:3px 0}.nav svg{display:block;margin:0 auto 4px;width:21px;height:21px}.nav a.active{color:var(--green)}.tabs{display:flex;gap:5px;margin:6px 0 12px}.tab{flex:1;border:1px solid #25282c;border-radius:8px;font-size:12px;text-align:center;background:#0c0d0e;padding:8px 4px}.tab.active{color:#9dfce4;border-color:#278879;background:#102922}.section-title{margin:13px 0 8px}.list{list-style:none;margin:0;padding:0}.list li,.line{padding:8px 0;border-bottom:1px solid #202225}.list li:last-child,.line:last-child{border-bottom:0}.ring{display:grid;place-items:center;border:3px solid #14786a;border-top-color:var(--green);border-radius:50%;width:45px;height:45px;flex:none;color:#a5ffe8}.progress{height:5px;border-radius:5px;background:#292d2e;margin-top:8px;overflow:hidden}.progress span{display:block;height:100%;background:var(--green)}.bar-chart{height:108px;display:flex;align-items:end;gap:10px;padding:9px 5px 0;background:repeating-linear-gradient(to top,#25292d 0 1px,transparent 1px 26px)}.bar-chart span{flex:1;background:linear-gradient(var(--green),#075848);border-radius:4px 4px 0 0}.bar-chart.alert span:nth-last-child(-n+3){background:linear-gradient(#f55,#502025)}fieldset{min-width:0;border:0;padding:0;margin:0}legend{padding:0;font-weight:650}.choice{display:block;cursor:pointer}.choice input{accent-color:var(--green);margin:0 0 4px}.choice:has(:checked){border-color:#8a989a;background:#14201f}label.muted{display:block;font-size:12px}.field{display:block;width:100%;margin:6px 0 10px;border:1px solid #30343a;border-radius:8px;background:#090a0b;color:white;padding:9px 10px;min-height:40px}.check{accent-color:var(--green)}.danger{background:#2a1116;border-color:#632830;color:#ff9da6}.center{text-align:center}.success-icon{border:2px solid var(--green);color:var(--green);border-radius:50%;width:54px;height:54px;display:grid;place-items:center;font-size:27px;margin:15px auto;box-shadow:0 0 28px #05e2be52}.steps{counter-reset:step;list-style:none;margin:0;padding:0}.steps li{position:relative;padding:9px 0 9px 29px}.steps li::before{counter-increment:step;content:counter(step);position:absolute;left:0;top:9px;border:1px solid #444a4b;border-radius:50%;height:19px;width:19px;text-align:center;font-size:11px}.steps li.done::before{content:'✓';background:#0a826e;border-color:#0a826e}.terminal{font:11px/1.8 ui-monospace,monospace;color:#92d9c5}.overlay{position:absolute;inset:0;background:#0009;z-index:4;display:flex;align-items:end;justify-content:center}.sheet{width:100%;position:sticky;bottom:0;background:#111316;border:1px solid #292d33;border-radius:20px 20px 0 0;padding:12px 17px 19px;max-height:94dvh;overflow:auto}.handle{width:36px;height:3px;border-radius:4px;background:#8d9094;margin:0 auto 10px}.close{display:grid;place-items:center;border-radius:50%;background:#202328;width:30px;height:30px;font-size:20px}.chat{display:grid;gap:9px;margin:15px 0}.bubble{background:#15171a;border-radius:11px;padding:9px 11px;font-size:13px;max-width:84%}.bubble.mine{justify-self:end;background:#103a32}.chat-form{display:flex;gap:7px}.chat-form .field{margin:0}.task-icon{display:grid;place-items:center;background:#174a8b;border-radius:8px;width:36px;height:36px;flex:none;font-weight:800}.task-icon.purple{background:#5c25a1}.task-icon.gold{background:#825411}.grow{flex:1}.swap{display:grid;place-items:center;font-size:25px;color:var(--green);border:1px solid #21534b;border-radius:50%;width:40px;height:40px;margin:-7px auto 3px;background:#0a1514}.swap-value{width:100%;max-width:135px;text-align:right;background:transparent;border:0;color:#fff;font-size:24px;font-weight:700}.avatar{width:62px;height:62px;display:grid;place-items:center;margin:5px auto 8px;border:1px solid #2f5550;background:#132321;border-radius:50%;font-size:28px}.catalog{width:min(100% - 24px,480px);margin:12px auto 20px;color:#bbb}.catalog summary{cursor:pointer;padding:8px;font-size:13px}.catalog ol{columns:2;padding-left:30px;font-size:12px}.catalog li{margin-bottom:5px}.catalog a:hover{color:var(--green)}.empty{padding:20px 5px;text-align:center}.demo{font-size:11px;text-align:center;margin-top:8px;color:#9b9fa8}dialog{width:min(92%,400px);background:#101417;color:#fff;border:1px solid var(--edge);border-radius:12px;padding:18px}dialog::backdrop{background:#000a}@media (max-width:355px){.content{padding-inline:12px}.hero img{width:calc(100% + 24px);margin-inline:-12px}.btn{padding-inline:7px}.metric{padding:6px}.wallet{padding-inline:8px}}
.overlay{position:fixed;inset:0;left:50%;transform:translateX(-50%);width:min(100%,480px)}
body:has(.overlay){overflow:hidden}
.sheet{position:relative}

/* The viewport stays fixed while long screens use the app's content area. */
html, body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
.app {
  height: 100dvh;
  min-height: 0;
  overflow: clip;
}
.app > .top, .app > .nav { flex-shrink: 0; }
.app > .content {
  min-height: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.app > .nav {
  position: relative;
  margin-top: 0;
}

html { touch-action: pan-x pan-y; }
.overlay > .sheet {
  border-bottom: 0;
  transform: translateY(var(--sheet-offset, 0px));
  transition: transform 180ms cubic-bezier(.2,.65,.35,1);
}
.overlay > .sheet.is-dragging { transition: none; }
.sheet .handle {
  position: relative;
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.sheet .handle::after {
  content: "";
  position: absolute;
  inset: -11px -17px;
}
.sheet.is-dragging .handle { cursor: grabbing; }
@media (prefers-reduced-motion: reduce) {
  .overlay > .sheet { transition: none; }
}

.content-reveal { animation: novex-content-reveal .65s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms) backwards; }
@keyframes novex-content-reveal {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) { .content-reveal { animation: none; } }

.app > .top + .content { padding-block-start: 7px; }

html[data-profile-reduced-motion] *,
html[data-profile-reduced-motion] *::before,
html[data-profile-reduced-motion] *::after {
  animation-duration:.01ms !important;
  animation-iteration-count:1 !important;
  transition-duration:.01ms !important;
  scroll-behavior:auto !important;
}

/* Bottom sheets retain their top border across page-specific themes. */
.sheet { border-inline-width: 0 !important; }
