/* The Launch page (launch.html) and the Coins page (coins.html): the coin's address line, the picture, the text fields,
   the board's cards, the search and sort, the coin page, the trade box and the fee split. The shell, the sections, the
   fact rows and the capsules are the site's (shell.css, pieces.css); the dot labels are the coin page's (coin.css); the
   demo mark, the glass panel, the fields, the segmented switch, the wallet chip and the dialogs are the vault's
   (vault.css, loaded before this, and not changed). Colors stay the site's: black, greys and white; green only for
   "connected" and "ready", red only for "failed". Every class here starts with "l-". */

/* ---- A view of the Coins page: the board, one coin, or "no coin here" ---- */
.l-view { display: flex; flex-direction: column; gap: var(--sp-400); }
.l-head-acts { margin-top: var(--sp-75); }
.l-head-acts .p-sheen { flex: 0 1 auto; min-width: 200px; }

/* ---- A label row above a field: its name on the left, a count or a choice on the right ---- */
.l-lab { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-100); min-height: 34px; }
.l-count { color: var(--faint); font-variant-numeric: tabular-nums; }
.l-count.bad { color: var(--help); }

/* ---- Text fields: the vault's sunken field, in the site's own letters rather than mono ---- */
.l-text input, .l-area textarea { font: 500 18px/1.3 "Geist", system-ui, sans-serif; letter-spacing: -0.01em; }
.l-text input { padding-left: var(--sp-200); }
.l-prefix { flex: none; padding-left: var(--sp-200); font: 500 18px/1 var(--mono); color: var(--faint); }
.l-prefix + input { padding-left: var(--sp-50); text-transform: uppercase; }
.l-prefix + input::placeholder { text-transform: none; }
/* The coin's links: three rows, the place's name in front, the link as typed. */
.l-links .l-link + .l-link { margin-top: var(--sp-100); }
.l-link .l-prefix { min-width: 5.6em; font: 500 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.l-link .l-prefix + input { text-transform: none; font-size: 16px; }
.v-input.l-area { height: auto; min-height: 104px; align-items: stretch; }
.l-area textarea {
  flex: 1; width: 100%; min-width: 0; min-height: 104px; padding: var(--sp-200); border: 0; background: none; outline: none; resize: vertical;
  color: var(--fg); font-size: 16px; line-height: 24px;
}
.l-area textarea::placeholder, .l-text input::placeholder { color: var(--decor); }
.v-input:has(textarea:focus-visible) { outline: 2px solid var(--fg); outline-offset: 3px; }
.l-form .v-quick .p-chip { font-family: var(--mono); font-weight: 500; }

/* ---- The coin's address line: one calm line with a slim bar that drifts while the address is being made. It never
        shows a time or a percent, since nobody knows how long it takes. ---- */
.l-addr {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--sp-100); row-gap: var(--sp-75);
  min-height: 52px; padding: var(--sp-100) var(--sp-200); border-radius: var(--r-2xl); background: #0E0E0F;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.l-addr-dot { width: 8px; height: 8px; border-radius: var(--r-full); box-shadow: inset 0 0 0 1.5px var(--faint); }
.l-addr-t { min-width: 0; font-size: 14px; line-height: 20px; color: var(--soft); overflow-wrap: anywhere; }
.l-addr-t b { font: 500 14px/20px var(--mono); color: var(--fg); }
.l-addr-bar { grid-column: 1 / -1; position: relative; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.07); visibility: hidden; }
.l-addr-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 38%; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent); }
.l-addr[data-state="busy"] .l-addr-bar { visibility: visible; }
.l-addr[data-state="busy"] .l-addr-bar i { animation: l-drift 1800ms cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.l-addr[data-state="busy"] .l-addr-dot { background: var(--fg); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12); animation: v-breathe 1400ms ease-in-out infinite; }
.l-addr[data-state="ready"] .l-addr-dot { background: var(--safe); box-shadow: 0 0 0 4px rgba(51, 214, 74, 0.14); }
@keyframes l-drift { from { transform: translateX(-100%); } to { transform: translateX(270%); } }
/* The ending DPRF, wherever an address is shown: the same letters, lit */
.l-end { padding: 0 2px; border-radius: 4px; color: var(--p-ink); background: linear-gradient(180deg, #FFFFFF, #DADADF); font-weight: 600; }
.l-endq { color: var(--faint); font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
/* "Made here": a quiet mark, only for coins whose own key signed their details on the Launch page (launch-data.js) */
.l-made { margin-left: var(--sp-75); padding: 1px 6px; border-radius: var(--r-full); color: var(--soft); font: 500 11px/16px var(--mono); letter-spacing: 0.02em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); white-space: nowrap; }

/* ---- Pictures: always round, always a box of its final size; a dotted disc when there is none ---- */
.l-pic {
  position: relative; display: block; flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 50%;
  background: #0E0E0F; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.l-pic img { width: 100%; height: 100%; object-fit: cover; }
.l-pic-xl { width: 88px; height: 88px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 18px 40px -16px rgba(0, 0, 0, 0.9); }
.l-pic-none, .l-ghost .l-pic::after {
  content: ""; position: absolute; inset: 22%; border-radius: 50%; background: #5A5A5A;
  -webkit-mask-image: radial-gradient(circle, #000 1.1px, transparent 1.4px); mask-image: radial-gradient(circle, #000 1.1px, transparent 1.4px);
  -webkit-mask-size: 4px 4px; mask-size: 4px 4px;
}
.l-picrow { display: flex; align-items: center; gap: var(--sp-200); }
.l-picacts { display: grid; gap: var(--sp-75); min-width: 0; }
.l-file { cursor: pointer; }
.l-file:has(input:focus-visible) { outline: 2px solid var(--fg); outline-offset: 3px; }
.l-pic.l-in img { animation: l-pop 360ms var(--p-ease) both; }
@keyframes l-pop { from { opacity: 0; transform: scale(0.9); } }

/* ---- The preview and the cost ---- */
.l-preview { display: grid; gap: var(--sp-75); }
.l-preview .l-card { cursor: default; }
.l-cost b { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.l-cost li:last-child b { color: var(--fg); font-weight: 500; }
.l-go { display: flex; flex-direction: column; gap: var(--sp-100); }
.l-go .s-acts .p-sheen { flex: 1 1 100%; }

/* ---- The fee: one bar in four parts, and what each part is ---- */
.l-fee { display: grid; gap: var(--sp-200); padding: var(--sp-200); border-radius: var(--r-2xl); background: var(--s1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.l-split { display: flex; gap: 3px; height: 12px; }
.l-split i { display: block; border-radius: 3px; }
.l-split .l-k1 { flex: 20; } .l-split .l-k2 { flex: 20; } .l-split .l-k3 { flex: 60; }
/* What the chain does, then what the project does by hand from the fee wallet, and the fee wallet's address */
.l-fee-note { margin: 0; font-size: 13px; line-height: 18px; color: var(--dim); }
.l-fee-note code, .l-feewallet code { font: 500 12px/18px var(--mono); color: var(--soft); overflow-wrap: anywhere; }
.l-feewallet { margin: 0; font-size: 13px; line-height: 18px; color: var(--dim); }
.l-k1 { background: #4A4A4E; }
.l-k2 { background: #8A8A8F; }
.l-k3 { background: linear-gradient(180deg, #FFFFFF, #DADADF); }
.l-k4 { background: repeating-linear-gradient(-45deg, #FFFFFF 0 2px, #9A9AA0 2px 4px); }
.l-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-100) var(--sp-200); margin: 0; padding: 0; list-style: none; }
.l-legend li { display: grid; grid-template-columns: 10px auto; grid-template-rows: auto auto; column-gap: var(--sp-75); align-items: center; }
.l-legend li > i { width: 10px; height: 10px; border-radius: 3px; }
.l-legend b { font: 500 14px/20px var(--mono); color: var(--fg); }
.l-legend span { grid-column: 2; font-size: 13px; line-height: 18px; color: var(--dim); }
@media (max-width: 359px) { .l-legend { grid-template-columns: minmax(0, 1fr); } }

/* ---- The risk note: said once, plainly, with a hollow dot, no alarm colors ---- */
.l-risk { display: flex; gap: var(--sp-100); padding: var(--sp-200); border-radius: var(--r-2xl); font-size: 14px; line-height: 20px; color: var(--soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.l-risk::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--soft); }

/* ---- The board: search, sort, cards ---- */
.l-tools { display: flex; flex-direction: column; gap: var(--sp-100); }
.v-input.l-search { height: 52px; }
.l-search input {
  flex: 1; width: 100%; min-width: 0; height: 100%; padding: 0 var(--sp-200) 0 var(--sp-50); border: 0; background: none; outline: none;
  font: 400 16px/1 "Geist", system-ui, sans-serif; color: var(--fg); -webkit-appearance: none; appearance: none;
}
.l-search input::placeholder { color: var(--decor); }
.l-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.l-search-ic { flex: none; width: 18px; height: 18px; margin-left: var(--sp-200); fill: none; stroke: var(--faint); stroke-width: 1.6; stroke-linecap: round; }
.v-input:has(input[type="search"]:focus-visible) { outline: 2px solid var(--fg); outline-offset: 3px; }
/* The four sort choices: one radio group as glass chips, the chosen one lit */
.l-sorts { display: flex; flex-wrap: wrap; gap: var(--sp-75); min-width: 0; margin: 0; padding: 0; border: 0; }
.l-sorts label { position: relative; display: inline-flex; }
.l-sorts input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.l-sorts span {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; pointer-events: none; white-space: nowrap;
  font: 500 13px/1 "Geist", system-ui, sans-serif; color: var(--p-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)), rgba(42, 42, 46, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 0 0 1px var(--p-ring), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 160ms var(--p-ease), filter 160ms ease;
}
.l-sorts label:hover span { filter: brightness(1.2); }
.l-sorts label:active span { transform: scale(0.97); }
.l-sorts input:checked + span { color: var(--p-ink); background: linear-gradient(180deg, #FFFFFF, #E2E2E7); box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -1px 0 rgba(0, 0, 0, 0.22), 0 1px 2px rgba(0, 0, 0, 0.6); }
.l-sorts input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }

.l-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--sp-75); margin: 0; padding: 0; list-style: none; }
.l-cards > li { min-width: 0; }
.l-card {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "pic who age" "bar bar bar" "cap cap pct";
  align-items: center; gap: var(--sp-100) var(--sp-100); min-height: 132px; padding: var(--sp-200); border-radius: var(--r-2xl);
  color: inherit; text-decoration: none; background: var(--s1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: background-color 250ms var(--ease), box-shadow 250ms var(--ease), transform 160ms var(--p-ease);
}
a.l-card:hover { background: var(--s2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
a.l-card:active { transform: scale(0.99); }
a.l-card:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: var(--r-2xl); }
.l-card > .l-pic { grid-area: pic; }
.l-who { grid-area: who; display: grid; gap: var(--sp-25); min-width: 0; }
.l-cname { overflow: hidden; font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; text-overflow: ellipsis; }
.l-ctick { display: flex; align-items: center; gap: var(--sp-75); min-width: 0; overflow: hidden; white-space: nowrap; }
.l-ctick b { overflow: hidden; text-overflow: ellipsis; font: 500 12px/16px var(--mono); color: var(--dim); }
.l-age { grid-area: age; align-self: start; justify-self: end; color: var(--faint); white-space: nowrap; }
.l-card > .l-bar { grid-area: bar; }
.l-cap { grid-area: cap; display: flex; align-items: baseline; gap: var(--sp-75); min-width: 0; }
.l-cap b { font: 500 15px/20px var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-pct { grid-area: pct; justify-self: end; color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.l-pct.l-grad { color: var(--fg); }
/* A card waiting for data, at its final size */
.l-ghost { grid-template-areas: "pic bars bars"; align-content: center; }
.l-ghost > .v-bars { grid-area: bars; }
.l-empty { text-align: center; }
.l-more { justify-content: center; }
.l-more .p-chip { min-width: 160px; height: 44px; font-size: 14px; }

/* The slim bar to graduation: a groove and a white fill; full and striped once graduated */
.l-bar { position: relative; display: block; height: 6px; overflow: hidden; border-radius: 999px; background: #0E0E0F; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 3px rgba(0, 0, 0, 0.7); }
.l-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: inherit; background: linear-gradient(180deg, #FFFFFF, #CFCFD4); transition: width 600ms var(--ease); }
.l-bar.l-done i { background: repeating-linear-gradient(-45deg, #FFFFFF 0 3px, #BDBDC2 3px 6px); }
.l-bar-big { height: 10px; }

/* ---- One coin ---- */
.l-coinhead { display: flex; align-items: center; gap: var(--sp-200); min-width: 0; }
.l-coinname { display: grid; gap: var(--sp-50); min-width: 0; }
.l-coinname h1 { min-height: 36px; overflow: hidden; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; text-overflow: ellipsis; white-space: nowrap; }
.l-desc { color: var(--soft); white-space: pre-line; overflow-wrap: anywhere; }
.l-desc:empty { display: none; }
.l-shownlinks { display: grid; gap: var(--sp-100); margin-top: var(--sp-200); }
.l-shownlinks[hidden] { display: none; }
.l-shownlinks .s-acts { justify-content: flex-start; flex-wrap: wrap; }
.l-shownlinks a { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-ca { display: grid; gap: var(--sp-75); }
.l-addrfull { display: block; min-height: 52px; padding: var(--sp-100) var(--sp-200); border-radius: var(--r-xl); background: #0E0E0F; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); font: 400 14px/26px var(--mono); color: var(--soft); overflow-wrap: anywhere; }
.l-progress { display: grid; gap: var(--sp-75); }
.l-seg2 { --n: 2; --i: 0; height: 56px; }
.l-seg2:has(input[value="sell"]:checked) { --i: 1; }
.l-seg2 b { font-size: 15px; }
.l-units { display: inline-flex; gap: var(--sp-50); }
.l-units .p-chip { height: 30px; padding: 0 12px; font-size: 12px; }
.l-quote { display: grid; gap: var(--sp-50); min-height: 124px; align-content: start; padding: var(--sp-200); border-radius: var(--r-2xl); background: var(--s2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.l-quote-n { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; font: 600 32px/44px "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.l-quote-n.v-low { color: var(--faint); }
.l-quote-sub { min-height: 20px; font-size: 14px; line-height: 20px; color: var(--soft); font-variant-numeric: tabular-nums; }
.l-limit .v-quick .p-chip { font-family: var(--mono); font-weight: 500; }
.l-earn { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-200); padding: var(--sp-200); border-radius: var(--r-2xl); background: var(--s1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.l-earn > div { display: grid; gap: var(--sp-50); min-width: 0; }
.l-earn-n { font: 500 22px/30px var(--mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.l-earn .p-sheen { flex: none; min-width: 120px; }
.l-mine .s-spec b { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.l-check { display: flex; align-items: center; min-height: 76px; padding: var(--sp-200) var(--sp-300); border-radius: var(--r-2xl); outline: 1px dashed rgba(255, 255, 255, 0.18); outline-offset: -1px; }
.l-check .c-group { margin-top: 0; }
#k-facts b { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.l-trades { display: flex; flex-direction: column; gap: var(--sp-50); margin: 0; padding: 0; list-style: none; }
.l-trades li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: var(--sp-100); min-height: 48px; padding: var(--sp-75) var(--sp-200); border-radius: var(--r-xl); background: var(--s1); }
.l-trades .l-side { font: 500 12px/16px var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--dim); }
.l-trades .l-side.l-buy { color: var(--fg); }
.l-trades b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/20px var(--mono); font-variant-numeric: tabular-nums; }
.l-trades span:last-child { color: var(--faint); font-size: 13px; white-space: nowrap; }
.l-trades .l-me { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }

/* ---- Drawn pictures: three round tiles drawn here, a fourth and on for AI pictures, and More ---- */
.l-cands { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-100); min-height: 60px; margin-top: calc(-1 * var(--sp-100)); }
.l-tiles { display: flex; flex-wrap: wrap; gap: var(--sp-75); min-width: 0; }
.l-tile {
  position: relative; display: block; flex: none; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; overflow: visible;
  background: #0E0E0F; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 18px -10px rgba(0, 0, 0, 0.9);
  transition: transform 160ms var(--p-ease), box-shadow 200ms ease; -webkit-tap-highlight-color: transparent;
}
.l-tile canvas, .l-tile img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.l-tile:hover { transform: translateY(-1px); }
.l-tile:active { transform: scale(0.95); }
.l-tile[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg, #000), 0 0 0 4px #FFFFFF, 0 10px 22px -10px rgba(0, 0, 0, 0.9); }
.l-tile:focus-visible { outline: 2px solid var(--fg); outline-offset: 5px; }
.l-ghost-tile { cursor: default; }
.l-ghost-tile::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: #5A5A5A; -webkit-mask-image: radial-gradient(circle, #000 1.1px, transparent 1.4px); mask-image: radial-gradient(circle, #000 1.1px, transparent 1.4px); -webkit-mask-size: 4px 4px; mask-size: 4px 4px; }
.l-ghost-tile:hover, .l-ghost-tile:active { transform: none; }
.l-tile-mark { position: absolute; right: -4px; bottom: -4px; padding: 2px 5px; border-radius: 999px; font: 600 9px/12px var(--mono); letter-spacing: 0.06em; color: var(--p-ink); background: linear-gradient(180deg, #FFFFFF, #DADADF); }
.l-cands .p-chip { flex: none; }

/* ---- The free AI picture: a quiet chip, and when opened a sunken box ---- */
.l-aiwrap { display: grid; justify-items: start; gap: var(--sp-100); }
.l-ai { display: grid; gap: var(--sp-200); width: 100%; padding: var(--sp-200); border-radius: var(--r-2xl); background: #0E0E0F; box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.l-ai .s-acts .p-sheen { flex: 1 1 100%; }
.l-ai .s-note { margin: 0; }

/* ---- Fixed-choice pickers: chips (the sort chips' look) and colour swatches ---- */
.l-pick { display: grid; gap: var(--sp-75); min-width: 0; margin: 0; padding: 0; border: 0; }
.l-pick legend { padding: 0; margin-bottom: var(--sp-75); }
.l-swatches { display: flex; flex-wrap: wrap; gap: var(--sp-75); }
.l-swatches label { position: relative; display: inline-flex; }
.l-swatches input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.l-sw { display: block; width: 32px; height: 32px; border-radius: 50%; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 2px 6px rgba(0, 0, 0, 0.4); transition: transform 160ms var(--p-ease), box-shadow 200ms ease; }
.l-swatches label:hover .l-sw { transform: translateY(-1px); }
.l-swatches label:active .l-sw { transform: scale(0.94); }
.l-swatches input:checked + .l-sw { box-shadow: 0 0 0 2px #181818, 0 0 0 4px #FFFFFF, 0 2px 6px rgba(0, 0, 0, 0.4); }
.l-swatches input:focus-visible + .l-sw { outline: 2px solid var(--fg); outline-offset: 5px; }

/* ---- The coin page: its switch, its parts, its phone-shaped preview ---- */
.l-site { position: relative; display: grid; gap: var(--sp-100); padding-top: var(--sp-200); border-top: 1px solid rgba(255, 255, 255, 0.07); }
.l-site h3 { margin: 0; }
.l-site > .s-note { margin: 0; }
.l-site-in { display: grid; gap: var(--sp-300); }
.l-site-in[hidden] { display: none; }
.l-site-fields { display: grid; gap: var(--sp-200); min-width: 0; }
.l-sec { display: grid; gap: var(--sp-75); }
.l-sec .l-lab { min-height: 24px; }
.v-input.l-area-s, .l-area-s textarea { min-height: 76px; }
.l-surprise { justify-content: flex-start; }
.l-surprise .p-chip { flex: 0 0 auto; }
.l-switch { position: relative; display: inline-block; flex: none; width: 56px; height: 32px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.l-switch::before { content: ""; position: absolute; inset: -6px 0; }
.l-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.l-switch-t { position: absolute; inset: 0; border-radius: 999px; pointer-events: none; background: var(--p-glass); box-shadow: var(--p-glass-edge); transition: background 300ms ease; }
.l-switch-t::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, #8F8F94, #6A6A6E); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4); transition: transform 350ms var(--p-ease), background 300ms ease; }
.l-switch input:checked + .l-switch-t { background: rgba(255, 255, 255, 0.16); }
.l-switch input:checked + .l-switch-t::after { transform: translateX(24px); background: linear-gradient(180deg, #FFFFFF, #DCDCE0); }
.l-switch input:focus-visible + .l-switch-t { outline: 2px solid var(--fg); outline-offset: 3px; }

/* The preview: a phone of fixed shape. The page inside is laid out at 390 px wide and scaled to fit (--k, set by
   launch.js from the frame's width), so it shows its phone layout at every screen size. */
.l-phone { justify-self: center; width: min(280px, 100%); padding: 10px; border-radius: 44px; background: linear-gradient(180deg, #2A2A2E, #141416); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 60px -24px rgba(0, 0, 0, 0.95); }
.l-phone-in { --k: 0.667; position: relative; overflow: hidden; aspect-ratio: 1 / 2; border-radius: 34px; background: #0B0B0C; }
.l-phone-in iframe { position: absolute; top: 0; left: 0; width: 390px; height: 780px; border: 0; transform: scale(var(--k)); transform-origin: 0 0; background: #0B0B0C; }
.l-phone-sm { width: min(200px, 100%); padding: 7px; border-radius: 32px; }
.l-phone-sm .l-phone-in { aspect-ratio: 3 / 4; border-radius: 26px; }
.l-phone-sm .l-phone-in iframe { height: 520px; }
@media (min-width: 1280px) {
  .l-site .l-phone { position: absolute; top: 0; left: calc(100% + 64px); width: 280px; }
}

/* ---- The confirm step: what is stored for good, and the coin page once more ---- */
.l-flow-extra[hidden] { display: none; }
.l-stored { display: grid; gap: var(--sp-200); }
.l-stored-list { display: grid; gap: var(--sp-50); margin: 0; padding: 0; list-style: none; }
.l-stored-list li { display: flex; align-items: center; gap: var(--sp-100); font-size: 14px; line-height: 20px; color: var(--fg); }
.l-stored-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }

/* ---- One coin: the words of its coin page, as plain text, and its stored address to copy ---- */
.l-sitetexts { display: grid; gap: var(--sp-100); }
.l-sitetexts[hidden] { display: none; }
.l-part { display: grid; gap: var(--sp-50); padding: var(--sp-200); border-radius: var(--r-2xl); background: var(--s1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.l-part h3 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.l-part p { margin: 0; color: var(--soft); white-space: pre-line; overflow-wrap: anywhere; }
.l-siteaddr { display: grid; gap: var(--sp-75); }
.l-siteaddr code { display: block; padding: var(--sp-100) var(--sp-200); border-radius: var(--r-xl); background: #0E0E0F; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); font: 400 13px/22px var(--mono); color: var(--faint); overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }

/* The flow dialog's address line sits on the dialog's glass */
.v-dlg .l-addr { background: rgba(0, 0, 0, 0.35); }
.v-dlg .s-spec .l-end { font-size: 13px; }
.v-dlg a.p-b { text-decoration: none; }

@media (max-width: 479px) {
  .l-pic-xl { width: 72px; height: 72px; }
  .l-coinname h1 { font-size: 26px; line-height: 32px; min-height: 32px; }
  .l-card { padding: var(--sp-200) var(--sp-200) var(--sp-200); }
  .l-earn { flex-wrap: wrap; }
  .l-earn .p-sheen { flex: 1 1 100%; }
  .l-head-acts .p-sheen { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .l-addr[data-state="busy"] .l-addr-bar i { animation: none; left: 31%; }
  .l-addr[data-state="busy"] .l-addr-dot { animation: none; }
  .l-pic.l-in img, .l-sorts span, .l-card, .l-bar i, .l-tile, .l-sw, .l-switch-t, .l-switch-t::after { animation: none; transition: none; }
  a.l-card:active, .l-sorts label:active span, .l-tile:hover, .l-tile:active, .l-swatches label:hover .l-sw, .l-swatches label:active .l-sw { transform: none; }
}
@media (forced-colors: active) {
  .l-end { background: Highlight; color: HighlightText; }
  .l-bar i, .l-split i, .l-legend li > i { background: CanvasText; }
  .l-sorts input:checked + span { background: Highlight; color: HighlightText; }
  .l-tile[aria-pressed="true"], .l-swatches input:checked + .l-sw { outline: 3px solid Highlight; outline-offset: 2px; }
}

/* The coin page of a coin that is not shown (REVIEW.md H1): only its address and numbers */
.l-notshown { margin: 0; font-size: 15px; line-height: 22px; color: var(--soft); }

@media (max-width: 479px) { .l-trades li { grid-template-columns: 40px auto minmax(0, 1fr); } .l-trades span:last-child { overflow: hidden; text-overflow: ellipsis; text-align: right; } }
/* "Write it with AI" under the description, and the list of the parts an AI wrote (2026-12-01) */
.l-write { display: grid; gap: var(--sp-100); margin-top: var(--sp-100); }
.l-write-acts { justify-content: flex-start; }
.l-parts { display: grid; gap: var(--sp-200); min-width: 0; }
.l-parts .l-sec { display: grid; gap: var(--sp-50); }
.l-part-acts { display: inline-flex; gap: var(--sp-50); }
.l-sec[hidden], .l-parts[hidden], .l-write[hidden] { display: none; }
