/* Bankereum · components.css
 * Glass cards, stat tiles, tables, chips, buttons, designed empty / pending
 * states, figures, wallet + transaction UI.
 */

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-pad: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--btn-pad);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: var(--btn);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(59, 79, 184, .55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(59, 79, 184, .62); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, .9);
  border-color: var(--line-2);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 8px 20px -16px rgba(23, 34, 74, .5);
}
.btn-ghost:hover { background: #fff; border-color: var(--eth-pale); transform: translateY(-1px); }

.btn-quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-2);
  font-weight: 500;
}
.btn-quiet:hover { background: var(--eth-wash); color: var(--eth-ink); }

.btn-sm { --btn-pad: 7px 14px; font-size: 13.5px; }
.btn-lg { --btn-pad: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }

/* reason line that always travels with a disabled action */
.btn-reason {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}
.btn-reason::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--steel-300);
  flex: none;
}
.btn-reason.is-warn::before { background: var(--brass); }

/* ------------------------------------------------------------------ cards */
.card {
  position: relative;
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card--lg { border-radius: var(--r-lg); padding: 28px; }
.card--flat { box-shadow: none; background: rgba(255, 255, 255, .6); }
.card--solid { background: var(--panel-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
.card--dark {
  background: linear-gradient(165deg, #1A2238 0%, var(--ink-surface) 60%, #0E1526 100%);
  border-color: rgba(255, 255, 255, .09);
  color: #D3DAEC;
}
.card--dark h2, .card--dark h3, .card--dark h4 { color: #fff; }
.card--dark .eyebrow { color: var(--steel-400); }
.card--dark a { color: var(--eth-soft); }

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.card-head h3 { margin: 0; }
.card-head .sub { color: var(--ink-3); font-size: 14px; margin-top: 4px; }

/* ------------------------------------------------------------- stat tiles */
.tile {
  position: relative;
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 18px 18px 17px;
  overflow: hidden;
}
.tile::after {
  content: '';
  position: absolute;
  left: 18px;
  bottom: 0;
  width: 26px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--eth);
  opacity: .85;
}
.tile--brass::after { background: var(--brass); }
.tile .k {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: 9px;
}
.tile .v {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(23px, 2.5vw, 29px);
  letter-spacing: -0.028em;
  color: var(--ink);
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.tile .v .unit {
  font-size: .56em;
  font-weight: 650;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: .32em;
}
.tile .s {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 7px;
  line-height: 1.45;
}
.tile.is-pending .v { font-size: 16px; font-weight: 600; color: var(--ink-3); letter-spacing: -0.01em; }
.tile.is-retry .v { font-size: 16px; font-weight: 600; color: var(--brass-ink); letter-spacing: -0.01em; }
.tile.is-loading .v { color: var(--steel-300); }

/* a numeric readout used inside cards */
.readout { display: flex; flex-direction: column; gap: 4px; }
.readout .k {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.readout .v {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.readout.is-pending .v, .readout.is-retry .v { font-size: 14.5px; font-weight: 600; color: var(--ink-3); }
.readout.is-retry .v { color: var(--brass-ink); }

/* ------------------------------------------------------------------ chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--eth-wash);
  border: 1px solid rgba(98, 126, 234, .22);
  color: var(--eth-ink);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip--brass { background: rgba(233, 166, 62, .14); border-color: rgba(233, 166, 62, .35); color: var(--brass-ink); }
.chip--steel { background: rgba(94, 104, 135, .10); border-color: var(--line-2); color: var(--ink-2); }
.chip--up { background: rgba(22, 165, 113, .12); border-color: rgba(22, 165, 113, .30); color: var(--up-ink); }
.chip--down { background: rgba(224, 72, 77, .11); border-color: rgba(224, 72, 77, .30); color: var(--down-ink); }
.chip--dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }

/* address pill with copy */
.addr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 4px 6px 4px 10px;
  max-width: 100%;
}
.addr code { background: none; border: 0; padding: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.addr .mini {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  color: var(--ink-3);
  display: inline-flex;
  flex: none;
}
.addr .mini:hover { background: var(--eth-wash); color: var(--eth-deep); }
.addr .mini svg { width: 14px; height: 14px; }

.token-ca {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.token-ca .ca-label { flex: none; font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.token-ca .addr { flex: 1 1 auto; min-width: 0; }
.token-ca .addr code { min-width: 0; font-size: 11.5px; line-height: 1.5; word-break: break-all; }
.token-ca .mini { min-width: 36px; min-height: 36px; justify-content: center; }

/* ----------------------------------------------------------------- tables */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 640px;
}
table.data th {
  text-align: left;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 13px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: middle;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) { background: rgba(236, 239, 248, .42); }
table.data .r { text-align: right; font-variant-numeric: tabular-nums; }
table.data .strong { color: var(--ink); font-weight: 600; }
table.data tfoot td {
  background: var(--bg-2);
  font-weight: 650;
  color: var(--ink);
  border-top: 1px solid var(--line-2);
}

.asset-cell { display: flex; align-items: center; gap: 11px; }
.asset-cell .nm { font-weight: 650; color: var(--ink); line-height: 1.2; }
.asset-cell .ad { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }

/* a thin weight bar inside a table cell */
.wbar {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--steel-100);
  overflow: hidden;
  min-width: 68px;
}
.wbar i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--eth-deep), var(--eth));
}
.wbar b {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 12px;
  border-radius: 1px;
  background: var(--brass);
}
.wcell { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.wcell .pct { min-width: 54px; text-align: right; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------- state components */
.state {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 24px;
  border-radius: var(--r);
  border: 1px dashed var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(237, 241, 254, .6));
}
.state .art { flex: none; width: 92px; }
.state .art svg { width: 100%; height: auto; display: block; }
.state h4 { font-size: 16.5px; margin-bottom: 6px; }
.state p { color: var(--ink-3); font-size: 14.5px; margin: 0; max-width: 56ch; }
.state .btn-row { margin-top: 14px; }
@media (max-width: 560px) {
  .state { flex-direction: column; gap: 14px; padding: 22px 18px; }
  .state .art { width: 76px; }
}

.state--retry { border-style: solid; border-color: rgba(233, 166, 62, .4); background: linear-gradient(180deg, rgba(255, 252, 245, .9), rgba(255, 246, 232, .7)); }
.state--error { border-style: solid; border-color: rgba(224, 72, 77, .35); background: linear-gradient(180deg, rgba(255, 250, 250, .92), rgba(255, 242, 242, .7)); }

/* inline "published after launch" value */
.pending-val {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .02em;
}
.retry-val {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--brass-ink);
  letter-spacing: .02em;
}
.retry-val::before,
.loading-val::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 7px;
  vertical-align: 1px;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.skel {
  display: inline-block;
  min-width: 72px;
  height: 1em;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--steel-100) 25%, #EFF2F8 37%, var(--steel-100) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease infinite;
  vertical-align: -2px;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ------------------------------------------------------------ note blocks */
.note {
  position: relative;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .75);
  padding: 16px 18px 16px 20px;
  font-size: 14.5px;
  color: var(--ink-2);
  overflow: hidden;
}
.note::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--eth);
}
.note h4 { margin-bottom: 6px; }
.note--warn { background: rgba(255, 249, 240, .88); border-color: rgba(233, 166, 62, .35); }
.note--warn::before { background: var(--brass); }
.note--danger { background: rgba(255, 246, 246, .9); border-color: rgba(224, 72, 77, .3); }
.note--danger::before { background: var(--down); }
.note + .note { margin-top: 12px; }

.callout-grid { display: grid; gap: 12px; }

/* key/value disclosure list */
.kv { display: grid; gap: 0; }
.kv > div {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.kv > div:last-child { border-bottom: 0; }
.kv dt, .kv .k {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
  flex: 1 1 auto;
  min-width: 140px;
}
.kv dd, .kv .v {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

/* -------------------------------------------------------------- step list */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  position: relative;
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.step .fig {
  height: 134px;
  margin: -2px 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step .fig svg { height: 100%; width: auto; max-width: 100%; }
.step .n {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--brass-ink);
  margin-bottom: 8px;
}
.step h3 { font-size: 18px; margin-bottom: 7px; }
.step p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* ---------------------------------------------------------------- figures */
figure.fig-block {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  overflow: hidden;
}
figure.fig-block .canvas {
  padding: 24px 20px 10px;
  background:
    linear-gradient(180deg, rgba(246, 247, 251, .9), rgba(255, 255, 255, 0)),
    radial-gradient(600px 220px at 50% 0%, rgba(98, 126, 234, .10), transparent 70%);
}
figure.fig-block svg { width: 100%; height: auto; display: block; }
figure.fig-block figcaption {
  padding: 14px 20px 18px;
  font-size: 13.5px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  background: rgba(246, 247, 251, .6);
}
figure.fig-block figcaption b {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--eth-deep);
  margin-right: 9px;
}

/* --------------------------------------------------------------- progress */
.meter {
  position: relative;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--steel-100);
  overflow: hidden;
  border: 1px solid var(--line);
}
.meter i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--eth-deep), var(--eth) 70%, var(--eth-soft));
  transition: width .4s ease;
}
.meter--brass i { background: linear-gradient(90deg, var(--brass-deep), var(--brass) 70%, var(--brass-light)); }
.meter-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 13.5px; }
.meter-row .lbl { color: var(--ink-3); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.meter-row .val { font-weight: 650; font-variant-numeric: tabular-nums; }

/* countdown pill */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--ink-surface);
  color: var(--brass-light);
  font-variant-numeric: tabular-nums;
}
.countdown.is-off { background: var(--steel-100); color: var(--ink-3); }

/* ----------------------------------------------------------- wallet / tx  */
.wallet-btn { position: relative; }
.wallet-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--steel-300);
  flex: none;
}
.wallet-dot.ok { background: var(--up); box-shadow: 0 0 0 3px rgba(22, 165, 113, .18); }
.wallet-dot.warn { background: var(--brass); box-shadow: 0 0 0 3px rgba(233, 166, 62, .2); }
.wallet-dot.err { background: var(--down); box-shadow: 0 0 0 3px rgba(224, 72, 77, .18); }

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 24, 41, .46);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.sheet {
  width: min(430px, 100%);
  background: var(--panel-solid);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  max-height: 86vh;
  overflow-y: auto;
}
.sheet h3 { margin-bottom: 4px; }
.sheet .sub { color: var(--ink-3); font-size: 14px; margin-bottom: 18px; }
.wallet-list { display: grid; gap: 8px; }
.wallet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  transition: border-color .15s ease, background .15s ease;
}
.wallet-item:hover { border-color: var(--eth-pale); background: var(--eth-wash); }
.wallet-item img { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.wallet-item .fallback {
  width: 28px; height: 28px; border-radius: 7px; flex: none;
  display: grid; place-items: center;
  background: var(--steel-100);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-2);
}

.toast-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 110;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 32px));
}
.toast {
  background: var(--panel-solid);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--eth);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  padding: 13px 15px;
  font-size: 14px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  animation: toast-in .22s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.toast.ok { border-left-color: var(--up); }
.toast.err { border-left-color: var(--down); }
.toast.warn { border-left-color: var(--brass); }
.toast .t { font-weight: 650; color: var(--ink); display: block; margin-bottom: 2px; }
.toast .m { color: var(--ink-3); font-size: 13px; overflow-wrap: anywhere; }
.toast .m a { font-family: var(--f-mono); font-size: 12px; }
.toast .x {
  margin-left: auto;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink-3);
  padding: 2px 4px;
  border-radius: 5px;
  flex: none;
}
.toast .x:hover { background: var(--bg-2); }
.spin {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid var(--eth-pale);
  border-top-color: var(--eth-deep);
  animation: spin .8s linear infinite;
  flex: none;
  margin-top: 2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- disclosure */
.disclosure {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .7);
  overflow: hidden;
}
.disclosure + .disclosure { margin-top: 10px; }
.disclosure summary {
  cursor: pointer;
  padding: 13px 16px;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::before {
  content: '';
  width: 7px; height: 7px;
  border-right: 2px solid var(--eth-deep);
  border-bottom: 2px solid var(--eth-deep);
  transform: rotate(-45deg);
  transition: transform .18s ease;
  flex: none;
  margin-left: 2px;
}
.disclosure[open] summary::before { transform: rotate(45deg); }
.disclosure .body { padding: 2px 16px 16px; font-size: 14.5px; color: var(--ink-2); }
.disclosure .body > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- data badge */
.datasrc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.datasrc .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--steel-300); }
.datasrc.ok .dot { background: var(--up); }
.datasrc.retry .dot { background: var(--brass); animation: pulse 1.4s ease-in-out infinite; }
.datasrc.live .dot { background: var(--up); animation: pulse 2s ease-in-out infinite; }

/* ------------------------------------------------- pre-launch metric panel */
.prelaunch {
  background: linear-gradient(150deg, rgba(255, 255, 255, .92), rgba(237, 241, 254, .72));
  border-style: solid;
}
.prelaunch .pl-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.prelaunch .pl-head .art { flex: none; width: 76px; }
.prelaunch .pl-head .art svg { width: 100%; height: auto; display: block; }
.prelaunch .pl-head h3 { margin-bottom: 6px; }
.prelaunch .pl-head p { color: var(--ink-3); font-size: 14.5px; max-width: 62ch; margin: 0; }
.prelaunch .pl-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.prelaunch .pl-item {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
}
.prelaunch .pl-item .k {
  display: block;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 5px;
}
.prelaunch .pl-item .s { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.prelaunch .pl-foot {
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brass-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.prelaunch .pl-foot::before {
  content: '';
  width: 14px; height: 2px; border-radius: 2px; background: var(--brass); flex: none;
}
@media (max-width: 560px) {
  .prelaunch .pl-head { flex-direction: column; gap: 14px; }
  .prelaunch .pl-head .art { width: 64px; }
}

.card-head { flex-wrap: wrap; }
.card-head > :first-child { flex: 1 1 300px; min-width: 0; }
.card-head .aside { text-align: right; flex: 0 0 auto; margin-left: auto; }
@media (max-width: 760px) {
  .card-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* in a column the 300px basis above would become a 300px height */
  .card-head > :first-child { flex: 0 0 auto; width: 100%; }
  .card-head .aside { text-align: left; width: 100%; }
}

/* Figures carry 10-11px labels; below ~760px the SVG would shrink them past
   legibility, so the canvas scrolls sideways instead and says so. */
.fig-hint { display: none; }
@media (max-width: 760px) {
  figure.fig-block .canvas {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 16px 12px;
  }
  figure.fig-block svg { min-width: 640px; }
  .fig-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brass-ink);
    margin-bottom: 8px;
  }
  .fig-hint::before {
    content: '';
    width: 14px; height: 2px; border-radius: 2px; background: var(--brass); flex: none;
  }
}

/* Data tables keep a minimum width so columns stay readable; on a phone the
   wrapper scrolls sideways and says so. */
.table-hint { display: none; }
@media (max-width: 760px) {
  .table-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--brass-ink);
  }
  .table-hint::before {
    content: '';
    width: 12px; height: 2px; border-radius: 2px; background: var(--brass); flex: none;
  }
}

.tile .v { display: flex; align-items: baseline; flex-wrap: wrap; }
.tile .v .v-num { display: inline-flex; align-items: baseline; }
