:root {
  color-scheme: dark;
  --bg: #0A0804;
  --bg-2: #110D06;
  --card: #15110A;
  --card-2: #1B160C;
  --line: rgba(255, 199, 44, 0.12);
  --line-2: rgba(255, 199, 44, 0.22);
  --honey: #FFC72C;
  --honey-2: #FFB800;
  --honey-soft: rgba(255, 199, 44, 0.12);
  --text: #F6F1E4;
  --muted: #A69C86;
  --dim: #6E6656;
  --ink: #120E05;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.hl { color: var(--honey); }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 8, 4, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.links { display: flex; gap: 4px; }
.links a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 7px 12px; border-radius: 6px; transition: .2s;
}
.links a:hover, .links a.active { color: var(--text); background: var(--honey-soft); }
.nav-right { display: flex; gap: 10px; align-items: center; }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); transition: .2s;
}
.icon-btn:hover { border-color: var(--honey); color: var(--honey); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 6px; border: 1px solid transparent; cursor: pointer; transition: .2s;
}
.btn-sm { padding: 10px 16px; }
.btn-honey { background: var(--honey); color: var(--ink); box-shadow: 0 0 0 0 rgba(255,199,44,.5), 0 8px 30px -8px rgba(255,199,44,.55); }
.btn-honey:hover { background: #FFD45C; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--honey); color: var(--honey); }
.btn-ink { background: var(--ink); color: var(--honey); }
.btn-ink:hover { transform: translateY(-1px); }
.btn-ink-ghost { border-color: rgba(18,14,5,.35); color: var(--ink); }
.btn-ink-ghost:hover { background: rgba(18,14,5,.08); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .55; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 900px; height: 600px; right: -200px; top: -150px;
  background: radial-gradient(closest-side, rgba(255,184,0,.16), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero .wrap > *, .panel > *, .form > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--honey);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--honey); box-shadow: 0 0 10px var(--honey); }
h1 {
  font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
  margin: 20px 0 22px;
}
h1 .mark {
  display: inline-block; background: var(--honey); color: var(--ink); padding: 0 12px; margin-top: 6px;
  box-shadow: 0 0 40px -6px rgba(255,199,44,.6);
}
.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.lead b { color: var(--text); font-weight: 600; }
.cta-row { display: flex; gap: 12px; margin: 32px 0 20px; flex-wrap: wrap; }

.ca {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; cursor: pointer;
  transition: .2s;
}
.ca:hover { border-color: var(--line-2); }
.ca[hidden] { display: none; }
.ca b { color: var(--honey); }
.ca span.addr { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca svg { flex: none; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px;
}
.chip b { color: var(--honey); font-weight: 700; }
.chip .hex { width: 10px; height: 11px; background: var(--honey); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }

.stats { display: flex; gap: 0; margin-top: 26px; }
.stat { padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--line-2); }
.stat:last-child { border: 0; margin: 0; }
.stat .n { font-family: var(--mono); font-size: 24px; font-weight: 500; }
.stat .l { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 2px; }

.hero-art {
  position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 50% 55%, rgba(255,184,0,.16), transparent 62%), #070503;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -40px rgba(255,184,0,.35), inset 0 0 0 1px rgba(255,255,255,.02);
}
.swarm { position: absolute; inset: 0; width: 100%; height: 100%; }
.swarm .bee { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 18px rgba(255,190,0,.45)); }
.swarm .bee-main { animation: bob-main 4.2s ease-in-out infinite; }
.swarm .bee-l { animation: bob-side 3.4s ease-in-out -1.2s infinite; }
.swarm .bee-r { animation: bob-side 3.8s ease-in-out -2.1s infinite; }
.swarm .wing { transform-box: fill-box; transform-origin: 100% 40%; animation: flap .11s ease-in-out infinite alternate; animation-delay: var(--flap, 0s); }
.swarm .trail {
  fill: none; stroke: #FFC72C; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 18 22; opacity: .75;
  filter: drop-shadow(0 0 6px rgba(255,190,0,.8)); animation: trail 3s linear infinite;
}
.swarm .trail.r { animation-direction: reverse; animation-duration: 3.6s; }
.sparks { position: absolute; inset: 0; pointer-events: none; }
.sparks i {
  position: absolute; width: var(--s); height: var(--s); border-radius: 50%;
  background: #FFD54A; box-shadow: 0 0 10px 2px rgba(255,200,40,.8);
  opacity: 0; animation: drift var(--d) ease-in-out var(--delay) infinite;
}
@keyframes bob-main { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(-1.5deg); } }
@keyframes bob-side { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(0,-22px) rotate(3deg); } }
@keyframes flap { from { transform: rotate(-4deg); } to { transform: rotate(14deg); } }
@keyframes trail { to { stroke-dashoffset: -80; } }
@keyframes drift {
  0% { opacity: 0; transform: translate(0,0) scale(.6); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), -70px) scale(1); }
}
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent 45%, rgba(0,0,0,.55));
  pointer-events: none;
}
.hero-art .tag {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(10,8,4,.75); border: 1px solid var(--line-2); color: var(--muted);
  padding: 6px 10px; border-radius: 6px; display: flex; align-items: center; gap: 8px;
}
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 8px var(--honey); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 16px 0; }
.ticker .track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker span {
  font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding: 0 26px; display: inline-flex; align-items: center; gap: 52px; white-space: nowrap;
}
.ticker span::after { content: "⬢"; color: var(--honey); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 110px 0; }
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--honey);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--honey); }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 18px 0 16px; }
.sub { color: var(--muted); font-size: 18px; max-width: 620px; }

/* launch panel */
.launch { background: linear-gradient(180deg, var(--bg) 0%, #0F0B04 100%); border-top: 1px solid var(--line); }
.panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: 48px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.box h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 18px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.field label b { color: var(--honey); font-weight: 700; }
input[type=text], input[type=number], textarea {
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text); border-radius: 8px;
  padding: 12px 14px; font: 15px var(--sans); outline: none; transition: .2s; width: 100%;
}
textarea { resize: vertical; min-height: 78px; }
input:focus, textarea:focus { border-color: var(--honey); box-shadow: 0 0 0 3px var(--honey-soft); }
input[type=range] { accent-color: var(--honey); width: 100%; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 4px; gap: 4px; }
.seg button {
  border: 0; background: transparent; color: var(--muted); padding: 10px; border-radius: 6px; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: .2s;
}
.seg button.on { background: var(--honey); color: var(--ink); font-weight: 700; }
.drop {
  display: flex; align-items: center; gap: 14px; border: 1px dashed var(--line-2); border-radius: 8px; padding: 12px;
  background: var(--bg); cursor: pointer; transition: .2s; color: var(--muted); font-size: 14px;
}
.drop:hover { border-color: var(--honey); }
.drop .thumb { width: 48px; height: 48px; border-radius: 8px; background: var(--card-2) center/cover; flex: none; display: grid; place-items: center; color: var(--dim); }

.preview { display: flex; flex-direction: column; gap: 16px; }
.token { display: flex; gap: 14px; align-items: center; }
.token .img { width: 64px; height: 64px; border-radius: 12px; background: #000 center/cover; border: 1px solid var(--line-2); flex: none; }
.token .name { font-size: 20px; font-weight: 700; letter-spacing: -.01em; word-break: break-word; }
.token .tick { font-family: var(--mono); color: var(--honey); font-size: 13px; }
.token-desc { color: var(--muted); font-size: 14px; min-height: 42px; word-break: break-word; }
.rows { border-top: 1px solid var(--line); }
.rows div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.rows div span:first-child { color: var(--muted); }
.rows .total span:last-child { color: var(--honey); font-weight: 700; }
.wallets { display: flex; gap: 6px; }
.wallets i {
  width: 26px; height: 30px; background: var(--card-2); border: 1px solid var(--line-2);
  clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); transition: .25s;
}
.wallets i.on { background: var(--honey); box-shadow: 0 0 12px var(--honey); }
.note { font-family: var(--mono); font-size: 11px; color: var(--dim); text-align: center; }

/* steps */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; transition: .25s; }
.step:hover { border-color: var(--line-2); transform: translateY(-2px); }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.step h4 { display: flex; align-items: center; gap: 10px; font-size: 22px; letter-spacing: -.02em; margin: 14px 0 10px; }
.step h4::before { content: ""; width: 11px; height: 12px; background: var(--honey); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.step p { color: var(--muted); font-size: 15px; }
.step .meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.step .meta b { color: var(--honey); font-weight: 500; text-transform: none; letter-spacing: 0; }

/* spec grid */
.spec { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.spec > div { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec > div:nth-child(3n) { border-right: 0; }
.spec > div:nth-last-child(-n+3) { border-bottom: 0; }
.spec h5 { font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.spec p { color: var(--muted); font-size: 14.5px; }
.badge { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--honey); border: 1px solid var(--honey); border-radius: 4px; padding: 3px 6px; font-weight: 500; }

/* cta band */
.band { background: var(--honey); color: var(--ink); text-align: center; position: relative; overflow: hidden; padding: 120px 0; }
.band::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%23120E05' stroke-width='2'/%3E%3C/svg%3E");
}
.band .wrap { position: relative; }
.band img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; margin-bottom: 26px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.band h2 { font-size: clamp(38px, 6vw, 76px); margin: 0 0 18px; }
.band p { font-size: 19px; max-width: 600px; margin: 0 auto; opacity: .8; }
.band .cta-row { justify-content: center; margin-bottom: 0; }

/* footer */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
footer .top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .mid { text-align: center; color: var(--muted); font-size: 13px; }
footer .mid .warn { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; margin-top: 4px; }
footer .bottom { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer .bottom a:hover { color: var(--honey); }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 99;
  background: var(--card-2); border: 1px solid var(--honey); color: var(--text); padding: 12px 18px; border-radius: 8px;
  font-family: var(--mono); font-size: 13px; transition: .3s; pointer-events: none; box-shadow: 0 10px 40px -10px rgba(255,199,44,.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { padding: 64px 0 64px; }
  .hero .wrap, .panel { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 520px; width: 100%; margin: 0 auto; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .spec > div:nth-child(2n) { border-right: 0; }
  .spec > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .spec > div:last-child { border-bottom: 0; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .links { display: none; }
  .nav-right .btn { display: none; }
  section { padding: 72px 0; }
  .steps, .spec, .form { grid-template-columns: 1fr; }
  .spec > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .spec > div:last-child { border-bottom: 0 !important; }
  .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .stat { padding-right: 12px; margin-right: 12px; }
  .stat .n { font-size: 19px; }
  .box { padding: 20px; }
  footer .top { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= launchpad app ================= */
.app-main { padding: 40px 0 80px; }
.app-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.app-head h1 { font-size: clamp(32px, 4vw, 44px); margin: 10px 0 0; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.col { display: grid; gap: 16px; min-width: 0; }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.box-head h3 { margin: 0; }
.box p.help { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.btn-xs { padding: 7px 10px; font-size: 11px; letter-spacing: .1em; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-danger { border-color: rgba(255,90,70,.45); color: #FF8A7A; background: transparent; }
.btn-danger:hover { border-color: #FF8A7A; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wallet-btn { font-family: var(--mono); }

.alert {
  border: 1px solid var(--line-2); background: var(--honey-soft); color: var(--text);
  border-radius: 10px; padding: 14px 16px; font-size: 14px; margin-bottom: 16px;
}
.alert b { color: var(--honey); }
.alert.bad { border-color: rgba(255,90,70,.45); background: rgba(255,90,70,.08); }
.alert code { font-family: var(--mono); font-size: 12px; background: rgba(0,0,0,.35); padding: 2px 6px; border-radius: 4px; }

.wallets-list { display: grid; gap: 6px; margin-bottom: 14px; }
.wrow {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
}
.wrow .tagw { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--honey); border-radius: 4px; padding: 3px 6px; }
.wrow .tagw.alt { background: var(--card-2); color: var(--muted); border: 1px solid var(--line-2); }
.wrow .addr { font-family: var(--mono); font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.wrow .addr:hover { color: var(--text); }
.wrow .bal { font-family: var(--mono); font-size: 13px; text-align: right; }
.wrow .x { background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 4px; }
.wrow .x:hover { color: #FF8A7A; }
.total-line { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 2px 4px 12px; }

.sub-form { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 12px; }
.inline { display: flex; gap: 8px; align-items: end; }
.inline .field { flex: 1; }
select {
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text); border-radius: 8px;
  padding: 9px 12px; font: 14px var(--sans); outline: none; max-width: 100%;
}
input[type=password] {
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text); border-radius: 8px;
  padding: 12px 14px; font: 15px var(--sans); outline: none; width: 100%;
}
input[type=password]:focus, select:focus { border-color: var(--honey); box-shadow: 0 0 0 3px var(--honey-soft); }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--honey); width: 16px; height: 16px; }
details.more { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: var(--bg); }
details.more summary { cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
details.more[open] summary { margin-bottom: 12px; }
details.more .form { margin-top: 4px; }

.checks { display: grid; gap: 4px; margin: 6px 0 2px; }
.checks div { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ok { color: #9BE37B !important; }
.bad { color: #FF8A7A !important; }

.log { list-style: none; display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.log li { display: flex; gap: 8px; align-items: baseline; }
.log li::before { content: "⬢"; color: var(--dim); font-size: 10px; }
.log li.done::before { color: var(--honey); }
.log li.err { color: #FF8A7A; }
.log li.err::before { color: #FF8A7A; }
.log a { color: var(--honey); text-decoration: underline; }

.coin { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.coin .img { width: 48px; height: 48px; border-radius: 10px; background: #000 center/cover; border: 1px solid var(--line-2); flex: none; }
.coin .meta { min-width: 0; }
.coin .meta b { font-size: 17px; }
.coin .meta div { font-family: var(--mono); font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin .links { margin-left: auto; display: flex; gap: 6px; }
.stats-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stats-mini div { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.stats-mini span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.stats-mini b { font-family: var(--mono); font-size: 15px; font-weight: 500; }
table.hold { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; margin-bottom: 14px; }
table.hold th { text-align: right; color: var(--dim); font-weight: 500; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 6px; border-bottom: 1px solid var(--line); }
table.hold td { text-align: right; padding: 9px 6px; border-bottom: 1px solid var(--line); }
table.hold th:first-child, table.hold td:first-child { text-align: left; }
.empty { color: var(--dim); font-size: 14px; text-align: center; padding: 18px 0; }

.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal-bg[hidden] { display: none; }
.modal { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 24px; width: min(560px, 100%); max-height: 90vh; overflow: auto; }
.modal h4 { font-size: 20px; margin-bottom: 10px; }
.modal .body { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.modal .body b { color: var(--text); }
.modal .actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.keyrow { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.keyrow div { font-family: var(--mono); font-size: 11px; word-break: break-all; color: var(--muted); }
.keyrow div b { color: var(--honey); font-weight: 500; }

@media (max-width: 960px) {
  .app-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .wrow { grid-template-columns: auto minmax(0, 1fr) auto; }
  .wrow .x { display: none; }
  .stats-mini { grid-template-columns: 1fr 1fr; }
  .coin { flex-wrap: wrap; }
  .coin .links { margin-left: 0; }
}

/* ---------- floating X profile ---------- */
.x-follow {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 8px; border-radius: 999px;
  background: rgba(17, 13, 6, .9); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); color: var(--text);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.7), 0 0 24px -12px rgba(255,199,44,.6);
  transition: .2s;
}
.x-follow:hover { border-color: var(--honey); transform: translateY(-2px); }
.x-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; border: 1px solid var(--line-2); background: #000; }
.x-who { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.x-who b { font-size: 14px; font-weight: 700; }
.x-who span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.x-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 4px;
  background: var(--honey); color: var(--ink); border-radius: 999px; padding: 8px 14px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.x-follow:hover .x-btn { background: #FFD45C; }
@media (max-width: 680px) {
  .x-follow { left: 12px; bottom: 12px; gap: 10px; padding: 6px; }
  .x-avatar { width: 34px; height: 34px; }
  .x-who b { font-size: 13px; }
  .x-btn { padding: 7px 11px; }
}
