/* Launch / coins / coin pages: same frame as docs.css + vault.css (black, white, Poppins). */
[hidden] { display: none !important; }
.lede { margin-top: 14px; max-width: 46em; color: var(--muted); font-size: 15px; }
.lcard { margin-top: 26px; border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 28px); background: rgba(255,255,255,.03); display: grid; gap: 16px; }
.lcard h2 { font-size: 22px; font-weight: 600; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.field.narrow { max-width: 260px; }
.opt-tag { color: var(--faint); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
input[type="text"], input:not([type]), input[type="search"], input[inputmode], textarea {
  font: 400 15px 'Poppins', system-ui, sans-serif; color: #fff; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px; padding: 11px 13px; width: 100%; min-width: 0; }
textarea { resize: vertical; min-height: 76px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.32); }
input:focus, textarea:focus { outline: none; border-color: #fff; }
input[aria-invalid="true"] { border-color: #ff8a8a; }
.ident { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: start; }
.ident-fields { display: grid; gap: 12px; }
.logo-pick { position: relative; width: 132px; height: 132px; border-radius: 18px; border: 1.5px dashed rgba(255,255,255,.35); display: grid; place-items: center; cursor: pointer; overflow: hidden; background: rgba(255,255,255,.03); }
.logo-pick:hover, .logo-pick:focus-within { border-color: #fff; }
.logo-pick img { width: 100%; height: 100%; object-fit: cover; }
.logo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.logo-empty { display: grid; justify-items: center; color: var(--muted); font-size: 13px; line-height: 1.2; }
.logo-empty b { font-size: 30px; font-weight: 300; color: #fff; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hint { font-size: 12.5px; color: var(--faint); }
.hint.bad, .msg.bad { color: #ff8a8a; }
.tiers-pick { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tiers-pick legend { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.tier-opt { position: relative; display: block; cursor: pointer; }
.tier-opt input { position: absolute; opacity: 0; }
.tier-opt span { display: grid; gap: 2px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 14px 16px; font-size: 14px; color: var(--muted); }
.tier-opt span b { color: #fff; font-size: 22px; font-weight: 600; }
.tier-opt small { font-size: 12px; color: var(--faint); }
.tier-opt input:checked + span { border-color: #fff; background: rgba(255,255,255,.07); color: #fff; }
.tier-opt input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.cost { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.steps-line { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: st; }
.steps-line li { counter-increment: st; font-size: 12px; color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px 3px 6px; display: inline-flex; gap: 7px; align-items: center; }
.steps-line li::before { content: counter(st); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 1px solid currentColor; }
.steps-line li.on { color: #fff; border-color: #fff; }
.steps-line li.done { color: var(--good); border-color: rgba(138,255,193,.45); }
.result { border-color: rgba(138,255,193,.45); }
.addr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; }
.addr .k { color: var(--faint); }
.addr code { font-size: 12.5px; }
.copy { font: 500 12px 'Poppins', system-ui, sans-serif; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 3px 10px; cursor: pointer; }
.copy:hover { border-color: #fff; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; }
a.btn.ghost { color: #fff; }

/* /coins */
.toolbar { display: flex; gap: 10px; margin-top: 26px; }
.toolbar input { max-width: 420px; }
.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.coin-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-decoration: none; background: rgba(255,255,255,.03); transition: border-color .15s ease, background .15s ease; }
.coin-card:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.cc-body { min-width: 0; display: grid; gap: 6px; }
.cc-body h2 { font-size: 16px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.sym { margin-left: 8px; font-size: .8em; font-weight: 400; color: var(--muted); }
.cc-grid { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 12.5px; }
.cc-grid dt { color: var(--faint); }
.cc-grid dd { text-align: right; font-variant-numeric: tabular-nums; }
.cc-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--faint); }
.empty { margin-top: 22px; color: var(--muted); font-size: 14px; }
.avatar { position: relative; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--line); flex: none; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar-letters { font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.avatar.has-img .avatar-letters { visibility: hidden; }
.avatar.xl { width: 96px; height: 96px; border-radius: 20px; }

/* /coin */
.coin-head { align-items: start; }
.coin-top { display: flex; gap: 18px; align-items: start; min-width: 0; flex: 1; }
.coin-id { min-width: 0; display: grid; gap: 8px; }
.coin-id h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; overflow-wrap: anywhere; }
.desc { color: var(--muted); font-size: 14.5px; max-width: 46em; overflow-wrap: anywhere; }
.desc:empty, .links:empty { display: none; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a { font-size: 12.5px; text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 2px 12px; }
.links a:hover { border-color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.stat { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.stat b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat span { font-size: 12px; color: var(--faint); }
#actions { margin-top: 16px; }
.sec { margin-top: 34px; font-size: 22px; font-weight: 500; }
@media (max-width: 720px) {
  .row3, .tiers-pick { grid-template-columns: 1fr; }
  .ident { grid-template-columns: 1fr; }
  .top nav a.opt { display: none; }
  .coin-top { flex-direction: column; }
}

/* shown inside a home-page card (?embed=1): no own header/footer, transparent */
html.embed header.top, html.embed footer, html.embed .foot { display: none !important; }
html.embed, html.embed body { background: transparent !important; }
html.embed main { padding-top: 8px !important; margin-top: 0 !important; }
html.embed main h1 { display: none !important; }

html.embed .vwrap { max-width: none !important; margin: 0 !important; padding: 4px 2px 24px !important; }
html.embed .lede { display: none !important; }
/* logo drop: obvious "start here" until a logo is chosen */
.logo-pick { width: 148px; height: 148px; border: 1.5px dashed rgba(125,252,255,.65); background: radial-gradient(circle at 50% 40%, rgba(125,252,255,.10), rgba(255,255,255,.02) 70%); animation: logo-breathe 2.4s ease-in-out infinite; }
.logo-pick:has(img:not([hidden])) { animation: none; border-style: solid; border-color: rgba(255,255,255,.35); }
.logo-pick::before { content: 'Start here'; white-space: nowrap; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #000; background: #7dfcff; border-radius: 999px; padding: 2px 8px; pointer-events: none; z-index: 1; }
.logo-pick:has(img:not([hidden]))::before { content: 'Change'; background: #fff; }
.logo-empty { gap: 3px; text-align: center; padding-top: 14px; }
.logo-empty small { display: block; font-size: 10.5px; color: var(--muted); }
@keyframes logo-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(125,252,255,0); } 50% { box-shadow: 0 0 0 6px rgba(125,252,255,.12), 0 0 28px rgba(125,252,255,.18); } }
@media (prefers-reduced-motion: reduce) { .logo-pick { animation: none; } }

/* ---------- liquid glass coin cards: frosted body, flowing iridescent rim, lift + glow on hover */
.coin-card { position: relative; isolation: isolate; overflow: hidden; border: 1px solid transparent; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.02) 55%, rgba(255,255,255,.04));
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 30px rgba(0,0,0,.35);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease; }
.coin-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(115deg, rgba(255,255,255,.18), #ff5ec4, #ffd36b, #7dfcff, #8a7dff, rgba(255,255,255,.18));
  background-size: 300% 100%; animation: cc-iris 7s linear infinite; opacity: .55; transition: opacity .28s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.coin-card::after { content: ''; position: absolute; inset: -40% -10%; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(40% 50% at 30% 30%, rgba(125,252,255,.16), transparent 70%), radial-gradient(35% 45% at 75% 70%, rgba(255,94,196,.14), transparent 70%);
  transition: opacity .35s ease; }
.coin-card:hover { transform: translateY(-3px); border-color: transparent; background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03) 55%, rgba(255,255,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 44px rgba(0,0,0,.45), 0 0 34px rgba(125,252,255,.12); }
.coin-card:hover::before { opacity: 1; }
.coin-card:hover::after { opacity: 1; }
.coin-card .avatar { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 6px 18px rgba(0,0,0,.4); }
/* example card shown while the list is empty */
.coin-card.is-example { border-style: dashed; }
.coin-card.is-example::before { opacity: .9; animation-duration: 4.5s; }
.cc-ribbon { position: absolute; top: 12px; right: -30px; z-index: 2; transform: rotate(35deg); width: 120px; text-align: center; padding: 3px 0;
  font-size: 9.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #000; background: linear-gradient(90deg, #7dfcff, #ffd36b); }
.cc-cta { color: #fff; font-weight: 600; }
.coin-card.is-example .cc-grid dd { color: var(--muted); }
@keyframes cc-iris { from { background-position: 0% 0; } to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .coin-card::before { animation: none; } .coin-card { transition: none; } .coin-card:hover { transform: none; } }

/* ---------- liquid glass (matches the hero cube: dark glass, top-left sheen, chromatic edge, iridescent rim, slow specular sweep) */
.ident { grid-template-columns: 148px 1fr; gap: 28px; }
.lcard, .coin-card, .tier-opt span, .logo-pick, .tier, .stat {
  position: relative; isolation: isolate; overflow: hidden; border-color: transparent !important;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.14), transparent 45%),
    radial-gradient(90% 70% at 100% 100%, rgba(138,125,255,.10), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 60%, rgba(255,255,255,.05)) !important;
  backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.5),
    -1px 0 0 rgba(125,252,255,.22), 1px 0 0 rgba(255,94,196,.22), 0 18px 50px rgba(0,0,0,.45); }
.lcard::before, .tier-opt span::before, .tier::before, .stat::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, rgba(255,255,255,.35), #ff5ec4, #ffd36b, #7dfcff, #8a7dff, rgba(255,255,255,.35));
  background-size: 300% 100%; animation: cc-iris 9s linear infinite; opacity: .5;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.lcard::after, .tier::after {
  content: ''; position: absolute; top: -50%; bottom: -50%; left: -30%; width: 22%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.07) 45%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.07) 55%, transparent);
  transform: rotate(14deg) translateX(-120%); animation: glass-sweep 9s cubic-bezier(.45,.05,.25,1) infinite; }
.lcard > *, .tier > *, .stat > * { position: relative; z-index: 1; }
.tier-opt input:checked + span { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(255,255,255,.6), 0 0 26px rgba(125,252,255,.22); }
.tier-opt input:checked + span::before { opacity: 1; animation-duration: 4s; }
.field input, .field textarea, .field select, .toolbar input {
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(255,255,255,.035)) !important; border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.06); transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus, .toolbar input:focus { border-color: rgba(125,252,255,.6) !important; box-shadow: inset 0 1px 2px rgba(0,0,0,.6), 0 0 0 3px rgba(125,252,255,.12); outline: none; }
.coin-card { padding: 18px; }
.coin-card::before { opacity: .7; }
@keyframes glass-sweep { 0%, 60% { transform: rotate(14deg) translateX(-120%); } 100% { transform: rotate(14deg) translateX(720%); } }
@media (prefers-reduced-motion: reduce) { .lcard::before, .lcard::after, .tier-opt span::before, .tier::before, .tier::after, .stat::before { animation: none; } }
.logo-pick { border-color: rgba(125,252,255,.7) !important; }
.logo-pick:has(img:not([hidden])) { border-color: rgba(255,255,255,.4) !important; }
