/* The Vault, Launch and Coins pages made easy (redesign of 2026-12-01). Loaded after vault.css,
   launch.css and assistant.css, and only changes how things look and where they sit; every id and every script is
   the live pages'. Tokens and pieces are base.css's and pieces.css's: one white capsule per view for the main action,
   dark glass for the rest, green only for "connected". Every class here starts with "m-" (or targets the pages'
   own classes inside .m-page). */

/* ---- The page: a narrow column for one task, a wider one for the board ---- */
.m-page { gap: var(--sp-400); padding-top: calc(var(--sp-900) + var(--sp-200)); }
.m-page > * { max-width: 520px; }
.m-coins > .m-board { max-width: 1040px; }
.m-coins:has(#board:not([hidden])) > .a-dock { max-width: 1040px; }
.m-coins:has(#board:not([hidden])) > .a-dock .a-panel { max-width: 520px; }

/* ---- The three pages as one switch at the top ---- */
.m-switch {
  display: inline-flex; width: auto !important; align-self: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(36, 36, 38, 0.9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.m-switch a { position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: 999px; color: var(--soft); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.m-switch a::before { content: ""; position: absolute; inset: -4px 0; }
.m-switch a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.08); }
.m-switch a[aria-current="page"] { color: var(--p-ink); background: linear-gradient(180deg, #FFFFFF, #E4E4E9); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2); }
.m-switch a:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 999px; }
.m-page > .v-demo { align-self: center; margin-bottom: calc(var(--sp-300) * -1); }

/* ---- The head: the title and one line ---- */
.m-head { gap: var(--sp-100); text-align: center; align-items: center; }
.m-head h1 { font-size: 34px; line-height: 40px; letter-spacing: -0.03em; }
.m-head .s-lead { max-width: 40ch; color: var(--dim); text-wrap: balance; }
.m-head .v-state { margin-top: var(--sp-50); }

/* ---- The assistant: one inviting input; the conversation appears above it once there is one ---- */
.a-dock-open { gap: var(--sp-75); }
.a-dock-open .a-panel { gap: var(--sp-75); }
.a-dock-open .a-box { padding: 0; background: none; box-shadow: none; border-radius: 0; gap: var(--sp-100); }
.a-dock-open .a-log:empty { display: none; }
.a-dock-open .a-box:has(.a-log:not(:empty)) { padding: var(--sp-200); border-radius: var(--r-3xl); background: var(--s1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
.a-dock-open .a-compose { padding: 4px; border-radius: 999px; background: rgba(14, 14, 15, 0.92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 16px 40px -20px rgba(0, 0, 0, 0.9); }
.a-dock-open .a-compose:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 16px 40px -20px rgba(0, 0, 0, 0.9); }
.a-dock-open .a-in { min-height: 44px; padding: 10px 4px 10px 18px; font-size: 16px; line-height: 24px; }
.a-dock-open .a-in::placeholder { color: var(--dim); }
.a-dock-open .a-send { height: 44px; padding: 0 18px; font-size: 14px; color: var(--p-soft); background: var(--p-glass); box-shadow: var(--p-glass-edge); }
.a-dock-open .a-send::after { display: none; }
.a-dock-open .a-panel-foot { justify-content: space-between; align-items: center; padding: 0 var(--sp-200); }
.a-about-line { font-size: 12px; line-height: 16px; color: var(--faint); }
.a-dock-open .a-skip { min-height: 32px; padding: 0 var(--sp-100); font-size: 13px; }
.a-dock-open:has(.a-log:empty) .a-skip { visibility: hidden; }

/* ---- A form: one obvious path, its main button as wide as the panel ---- */
.m-form { gap: var(--sp-300); }
.m-go { width: 100%; height: 56px; font-size: 16.5px; }
.m-form .s-acts:has(> .m-go) { width: 100%; }
.m-big input { font-size: 20px; }
.m-form .l-lab { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-100); min-width: 0; }
.m-q { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--fg); text-transform: none; font-family: inherit; }
.m-form legend.m-q { margin-bottom: var(--sp-100); }

/* Folds under plain titles, after the task */
.m-folds { display: flex; flex-direction: column; gap: var(--sp-75); }
.m-oneline { padding: 0 var(--sp-50) var(--sp-50); font-size: 14px; line-height: 20px; color: var(--soft); }
.m-folds .s-fold > summary { min-height: 52px; padding: var(--sp-100) var(--sp-300); font-size: 15px; }
.m-risk { margin-top: calc(var(--sp-200) * -1); }

/* ================================ Launch ================================ */
.m-coin { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-200) var(--sp-300); align-items: start; }
.m-coin > .l-pic-xl { width: 104px; height: 104px; margin-top: 24px; }
.m-coin-f { display: grid; gap: var(--sp-200); min-width: 0; }
.m-tick .v-input { max-width: 220px; }
.m-form .l-cands { margin-top: calc(var(--sp-200) * -1); }
.m-form .l-addr { margin-top: calc(var(--sp-100) * -1); }
/* "More options": a row that opens in place */
.m-more { border-radius: var(--r-2xl); background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.m-more > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-200); min-height: 56px; padding: var(--sp-100) var(--sp-200) var(--sp-100) var(--sp-300); border-radius: var(--r-2xl); cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; }
.m-more > summary::-webkit-details-marker { display: none; }
.m-more > summary > span:first-child { display: grid; }
.m-more-hint { display: block; margin-top: 2px; color: var(--faint); font-size: 11px; font-weight: 400; }
.m-more > summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--dim), var(--dim)) center / 12px 1.5px no-repeat, linear-gradient(var(--dim), var(--dim)) center / 1.5px 12px no-repeat; transition: transform 500ms var(--ease); }
.m-more[open] > summary::after { transform: rotate(45deg); }
.m-more > summary:hover { background: rgba(255, 255, 255, 0.03); }
.m-more > summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.m-more-in { display: grid; gap: var(--sp-400); padding: var(--sp-200) var(--sp-300) var(--sp-300); }
.m-sub { display: grid; gap: var(--sp-100); }
/* The cost: small, one row per line */
.m-cost li { padding: 6px 0; font-size: 13px; }
.m-cost li:last-child b { color: var(--fg); font-weight: 500; }
.m-perm { margin-top: calc(var(--sp-200) * -1); font-size: 13px; line-height: 18px; color: var(--soft); }
.m-form .l-go { gap: var(--sp-100); }
.m-form .l-go .v-to { text-align: center; color: var(--faint); }
.m-form #note-connect { text-align: center; }

/* ================================ Vault ================================ */
/* The four numbers as one strip */
.m-count { gap: var(--sp-75); }
.m-count .v-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: var(--sp-100) 0; border-radius: var(--r-2xl); background: rgba(14, 14, 15, 0.85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.m-count .v-tile { min-height: 0; padding: var(--sp-75) var(--sp-200); background: none; box-shadow: none; border-radius: 0; gap: 2px; }
.m-count .v-tile + .v-tile { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.07); }
.m-count .v-tile > .label:first-child { font-size: 10.5px; line-height: 14px; color: var(--faint); }
.m-count .v-num { min-height: 24px; font-size: 15px; line-height: 24px; }
.m-count .v-unit { font-size: 10.5px; }
.m-count #count-note { text-align: center; font-size: 12px; }
.m-connect { align-items: center; text-align: center; gap: var(--sp-100); }
.m-connect .s-acts { width: 100%; }
/* How much / How long */
.m-mine .v-who { padding: 0 0 var(--sp-200); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.07); border-radius: 0; background: none; }
.m-bal { display: inline-flex; align-items: baseline; gap: 6px; }
.m-bal .label { color: var(--faint); font-size: 11px; }
.m-bal .v-bal-n { display: inline-flex; min-height: 0; font: 500 13px/20px var(--mono); }
.m-mine .v-any { margin-top: var(--sp-100); }
.m-read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-100); margin: calc(var(--sp-100) * -1) 0 0; padding: 0; list-style: none; }
.m-read li { display: grid; gap: 2px; min-width: 0; }
.m-read .label { font-size: 10.5px; color: var(--faint); }
.m-read b { font: 500 13px/18px var(--mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.m-mine .v-share { gap: 2px; padding: var(--sp-200); }
.m-mine .v-share-n { min-height: 40px; font-size: 32px; line-height: 40px; }
.m-mine .v-share p { font-size: 13px; line-height: 18px; }
.m-sharenote { color: var(--faint) !important; }
.m-mine .v-to { margin-top: calc(var(--sp-200) * -1); text-align: center; color: var(--faint); }
/* My locks: simple rows */
.m-locks h2 { font-size: 15px; line-height: 20px; }
.m-locks .v-lock { padding: var(--sp-200); gap: var(--sp-100); }
.m-locks .v-lock-spec b { font-size: 13px; }

/* ================================ Coins ================================ */
.m-boardhead { flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: left; gap: var(--sp-300); }
.m-boardhead > div:first-child { display: grid; gap: var(--sp-75); justify-items: start; }
.m-boardhead .s-lead { max-width: 46ch; }
.m-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-200); }
.m-board > * { min-width: 0; }
.m-tools { flex-direction: row; align-items: center; gap: var(--sp-100); }
.m-tools .l-search { flex: 1 1 260px; min-width: 0; }
/* The four sorts as one compact segmented control */
.m-sorts { flex: none; min-width: 0; max-width: 100%; flex-wrap: nowrap; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(14, 14, 15, 0.9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.m-sorts span { height: 36px !important; padding: 0 14px !important; font-size: 13px !important; background: none !important; box-shadow: none !important; }
.m-sorts input:checked + span { background: linear-gradient(180deg, #FFFFFF, #E2E2E7) !important; color: var(--p-ink) !important; }
/* The grid of coins: picture, name, one number, a slim line */
.m-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: var(--sp-100); }
.m-cards .l-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "pic age" "who who" "cap pct" "bar bar"; align-items: start; gap: var(--sp-100); min-height: 0; padding: var(--sp-200); border-radius: 20px; }
.m-cards .l-card > .l-pic { width: 56px; height: 56px; }
.m-cards .l-cap .label { display: none; }
.m-cards .l-cap b { font-size: 15px; }
.m-cards .l-pct:not(.l-grad) { display: none; }
.m-cards .l-bar { height: 4px; }
.m-cards .l-ghost { grid-template-areas: "pic" "bars"; min-height: 168px; }
/* A coin: picture and name, Buy and Sell first, facts folded */
.m-coin-view { display: grid; gap: var(--sp-300); }
.m-back { justify-content: flex-start; }
#k-site-fold:has(#k-site[hidden]) { display: none; }
.m-row { gap: var(--sp-75); }
.m-row h2.label { font-size: 12px; }

/* ================================ Sizes ================================ */
@media (max-width: 760px) {
  .m-page { gap: var(--sp-300); padding-top: calc(var(--sp-900) + var(--sp-100)); }
  .m-head h1 { font-size: 30px; line-height: 36px; }
  .m-boardhead { flex-direction: column; align-items: flex-start; }
  .m-tools { flex-direction: column; align-items: stretch; }
  .m-tools .l-search { flex: none; }
  .m-sorts { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .m-sorts::-webkit-scrollbar { display: none; }
  .m-sorts label { flex: none; }
  /* The four sorts on a phone (2026-12-01: "Near graduation" ran into "Graduated"): each tab as wide as its own
     words, never four equal columns; smaller words and sides on smaller phones, so all four always fit. */
  .m-tools .m-seg { width: 100%; grid-auto-columns: auto; justify-content: space-between; }
  .m-tools .m-seg > button { padding: 0 7px; font-size: 13px; letter-spacing: -0.01em; }
}
@media (max-width: 384px) { .m-tools .m-seg > button { padding: 0 5px; font-size: 12.5px; } }
@media (max-width: 350px) { .m-tools .m-seg > button { padding: 0 3px; font-size: 11.5px; } }
@media (max-width: 479px) {
  .m-coin { grid-template-columns: minmax(0, 1fr); }
  .m-coin > .l-pic-xl { justify-self: center; margin-top: 0; }
  .m-count .v-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-50); }
  .m-count .v-tile:nth-child(3) { box-shadow: none; }
  .m-more-in { padding: var(--sp-200); }
  .m-more > summary { padding-left: var(--sp-200); }
  .m-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-cards .l-card { padding: var(--sp-100) var(--sp-100) var(--sp-200); }
  .m-cards .l-card > .l-pic { width: 44px; height: 44px; }
  .m-switch a { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .m-switch a, .m-more > summary::after { transition: none; }
}

/* ================================ v2 (after the critique) ================================ */
/* The head: one title, 40 px, 24 px under the switch (B1) */
.m-page { gap: var(--sp-300); }
.m-head { margin-top: 0; }
.m-head h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; }
@media (max-width: 760px) { .m-head h1 { font-size: 32px; line-height: 36px; } }

/* One white per view (C3): the chosen segment, sort, side and page are raised glass; only the action is white */
.v-knob { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(0, 0, 0, 0.4); }
.v-seg label:has(input:checked), .v-seg label:has(input:checked) i { color: var(--fg); }
.v-seg label:has(input:checked) i { color: var(--soft); }
.m-switch a[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(0, 0, 0, 0.4); }
.m-sorts input:checked + span { background: rgba(255, 255, 255, 0.14) !important; color: var(--fg) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22) !important; }

/* Every confirm and done sheet: its buttons 48 px, equal widths, 12 px apart (B6) */
.v-dlg #flow-acts { display: flex; flex-wrap: nowrap; gap: 12px; }
.v-dlg #flow-acts > .p-b { flex: 1 1 0; min-width: 0; height: 48px; padding: 0 16px; font-size: 15px; }

/* The assistant under the task: one quiet row that opens in place (B1, D1) */
.a-opener { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 0 18px 0 20px; border: 0; border-radius: 999px; cursor: pointer; color: var(--soft);
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); font: 500 15px/1 "Geist", system-ui, sans-serif; text-align: left; transition: background-color 140ms ease, box-shadow 140ms ease, color 140ms ease; }
.a-opener:hover { background: rgba(255, 255, 255, 0.08); color: var(--fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.a-opener:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.a-opener-tag { color: var(--faint); font-size: 11px; letter-spacing: 0.06em; }
.a-dock:not(.a-closed) .a-opener { display: none; }
.a-dock-open .a-plan { display: none; } /* "What the assistant does · 0 of 2": the card itself says what comes next (C6) */
.a-connect { display: flex; }
.a-connect .p-b { flex: 1 1 auto; height: 48px; }

/* ---- Launch: one column (B2) ---- */
.m-coin { grid-template-columns: minmax(0, 1fr); justify-items: stretch; gap: var(--sp-200); }
.m-coin > .l-pic-xl { justify-self: center; width: 112px; height: 112px; margin: 0; }
.m-cands { flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.m-cands .l-tiles { flex-wrap: wrap; justify-content: center; gap: 10px; }
.m-tick .v-input { max-width: none; }
.m-circle { flex: none; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--soft);
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); transition: background-color 140ms ease, color 140ms ease, transform 240ms cubic-bezier(0.2, 0.9, 0.3, 1.25); }
.m-circle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.m-circle:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); color: var(--fg); }
.m-circle:active:not(:disabled) { transform: scale(0.94); }
.m-circle:disabled { opacity: 0.4; cursor: default; }
.m-circle:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (max-width: 400px) { .m-cands, .m-cands .l-tiles { gap: 6px; } .m-cands .l-tile, .m-circle { width: 48px; height: 48px; } }
/* the address line shows once a name is typed (B4); its lock-in into DPRF is the lab's (motion-apply.js) */
.m-coin:has(#name:placeholder-shown) #addr { display: none; }
.l-addr .mo-lock { display: inline; height: auto; padding: 0; gap: 0; background: none; box-shadow: none; font-size: inherit; color: inherit; }
.l-addr .mo-lock .mo-lock-dot { display: none; }
.l-addr:has(.mo-lock.is-locked) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 0 0 4px rgba(255, 255, 255, 0.06); transition: box-shadow 160ms ease; }
.l-addr:has(.mo-lock.is-settled) { transition: box-shadow 900ms ease; }
/* the fee, word for word, as a caption under the total, with its fold right under it (B5) */
.m-form .m-oneline { margin-top: calc(var(--sp-200) * -1); padding: 0; font-size: 13px; line-height: 18px; color: var(--dim); }
.m-form .m-fees { margin-top: calc(var(--sp-200) * -1); }
/* The coin lands (delight 3, B7) */
.m-landed { display: grid; justify-items: center; gap: 6px; margin: 4px 0 8px; text-align: center; }
.m-landed-pic { position: relative; display: block; width: 96px; height: 96px; border-radius: 50%; overflow: visible; }
.m-landed-pic img { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 18px 40px -16px rgba(0, 0, 0, 0.9); }
.m-landed-name { font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; }
.m-landed-tick { color: var(--dim); }
@media (prefers-reduced-motion: reduce) {
  .a-opener, .m-circle { transition: none; }
}

/* ---- Vault: the locked total as the hero, the other three in one line (C2); its place kept before data (F13) ---- */
.m-count { min-height: 128px; }
.m-count .v-tiles { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 8px; padding: 0; background: none; box-shadow: none; }
.m-count .v-tile { min-height: 0; padding: 0; background: none; box-shadow: none !important; }
.m-count .v-tile:first-child { flex-basis: 100%; display: grid; justify-items: center; gap: 2px; margin-bottom: 8px; }
.m-count .v-tile:first-child .v-num { min-height: 60px; font: 500 clamp(40px, 9vw, 56px)/60px var(--mono); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.m-count .v-tile:first-child .v-unit { font-size: 11px; letter-spacing: 0.08em; }
.m-count .v-tile:not(:first-child) { display: inline-flex; align-items: baseline; gap: 5px; }
.m-count .v-tile:not(:first-child) > .label:first-child { text-transform: none; font: 400 13px/18px "Geist", system-ui, sans-serif; letter-spacing: 0; color: var(--dim); }
.m-count .v-tile:not(:first-child) .v-num { display: inline; min-height: 0; font: 500 13px/18px var(--mono); }
.m-count .v-tile:not(:first-child) .v-unit { display: none; }
.m-count .v-tile:nth-child(n+3)::before { content: "·"; margin-right: 3px; color: var(--faint); }
.m-count .v-tile:last-child::after { content: "$DPRF"; font: 400 11px/18px var(--mono); color: var(--faint); }
.m-count[data-live="no"] .v-tile:last-child::after { visibility: hidden; }

/* ---- Coins: one title row; cards without noise; the amount as the hero of a trade ---- */
.m-titlerow { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-200); width: 100%; }
.m-h { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em; }
.m-boardhead { display: grid; gap: var(--sp-75); justify-items: start; }
.m-boardhead .s-lead { max-width: none; }
.l-coinname .m-h { font-size: 32px; line-height: 36px; }
/* A long name with no space (32 letters) breaks inside its own box and never widens the page or runs past a sheet. */
.l-coinname { min-width: 0; }
.l-coinname .m-h, .m-landed-name { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 760px) { .m-h { font-size: 30px; line-height: 34px; } .m-titlerow .p-b { height: 44px; padding: 0 18px; font-size: 14px; } }
/* the cards: no "Made here" (it is in Facts), the market cap says "cap", the percent shows on hover above the line (D3) */
.m-cards .l-made { display: none; }
.m-cards .l-cap b::after { content: " cap"; font: 400 11px/1 var(--mono); color: var(--faint); }
.m-cards .l-card { grid-template-areas: "pic age" "who who" "cap cap" "pct pct" "bar bar"; }
.m-cards .l-pct:not(.l-grad) { display: block; height: 0; overflow: visible; opacity: 0; transform: translateY(2px); transition: opacity 160ms ease, transform 160ms ease; justify-self: end; font-size: 11px; margin-top: -14px; }
.m-cards .l-pct:not(.l-grad)::after { content: " to graduation"; }
.m-cards a.l-card:hover .l-pct, .m-cards a.l-card:focus-visible .l-pct { opacity: 1; transform: none; }
.m-cards { min-height: 360px; }
@media (max-width: 359px) { .m-cards { grid-template-columns: minmax(0, 1fr) !important; } }
/* a trade: the amount 36 px, what you get 24 px, quick picks 32 px (D4) */
.l-trade .v-input input { font: 500 36px/1.1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.l-trade .v-input { min-height: 72px; }
.l-trade .l-quote-n { font: 500 24px/30px var(--mono); }
.l-trade #quick .p-chip { height: 32px; min-height: 32px; }
.l-trade .l-seg2 .v-knob { background: rgba(255, 255, 255, 0.14); }
.m-boardhead > .m-titlerow { display: flex; justify-items: normal; }
@media (max-width: 420px) { .a-opener-tag { display: none; } }
.m-boardhead > div.m-titlerow { display: flex; align-items: center; justify-content: space-between; }
/* One white per view on the coin pages too: their own action is the white one; the bar's Download is glass here */
body:has(.m-page) .s-bar > .s-dl { color: var(--p-soft); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
body:has(.m-page) .s-bar > .s-dl:hover { background: rgba(255, 255, 255, 0.14); color: var(--fg); }

/* ================================ The motion lab on the coin pages ================================ */
/* The forms' own pointer light (vault.js, launch.js) stands aside: the lab's edge light does it (one light) */
.m-form.v-panel::before, .m-form.v-panel::after { display: none; }
/* controls the lab's parts stand in for: the six choices and the old slider (the detent slider), Buy/Sell, the sorts
   and the device tabs (segments). They stay in the page, hidden, and are what the page's script reads. */
.m-proxied { display: none !important; }
.m-seg { width: 100%; }
.l-trade .m-seg, .m-tools .m-seg { margin: 0; }
.m-tools .m-seg { width: auto; flex: none; }
/* the vault's detent slider: its value bubble shows the time only; the exact time and multiplier are the vault's own
   readout below it */
.m-range { margin-top: 4px; }
.m-range .mo-range-read { display: none; }
/* rolling twins: the real text stays (screen readers, the page's own script), the twin rolls */
.m-twinned { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* a stepper beside the quick amounts */
.m-stepwrap { display: flex; align-items: center; gap: 8px; }
.m-stepwrap > .v-quick { flex: 1 1 auto; }
.m-stepwrap .mo-step { flex: none; }
.m-stepwrap .mo-step > button { width: 32px; height: 32px; }
.m-stepwrap .mo-step-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* the confirm sheet's grip only where the sheet is a bottom sheet (a phone) */
@media (min-width: 761px) { #dlg-flow .mo-grip { display: none; } }
#dlg-flow .m-confirm { flex: 1 1 100%; }
#dlg-flow .mo-slide { width: 100%; }
#dlg-flow .m-busy { flex: 1 1 100%; height: 48px; }
/* the round hold for Claim, with its word beside it */
.m-ringrow { display: flex; align-items: center; gap: 14px; flex: 1 1 100%; }
.m-ringrow .mo-ringbtn { flex: none; }
.m-ringrow span { color: var(--soft); font-size: 14px; }
.m-boardhead > div.m-titlerow { width: 100%; justify-self: stretch; }
@media (max-width: 760px) {
  .v-dlg #flow-acts { flex-wrap: wrap; }
  .v-dlg #flow-acts > .m-confirm, .v-dlg #flow-acts > .p-b { flex: 1 1 100%; }
}
/* Tile opens (cross-document View Transitions): the home's coin tile picture becomes this page's head */
.m-count .v-tile:first-child { view-transition-name: tile-vault; }
#pic-preview { view-transition-name: tile-launch; }
#board-title { view-transition-name: tile-coins; }

/* the confirm sheet scrolls when its content is taller than the window (its buttons were off screen) */
#dlg-flow.mo-sheet { overflow-y: auto; overscroll-behavior: contain; }
.v-dlg #flow-acts > .m-ringrow { flex: 1 1 auto; }
.v-dlg #flow-acts > .m-ringrow ~ .p-b { flex: 0 0 auto; min-width: 96px; }
@media (max-width: 479px) { .m-count .v-tiles { column-gap: 14px; } .m-count .v-tile:nth-child(n+3)::before { content: none; } }
