/* Sift's own windows and header buttons (client/oscope.js, client/launch.js), in THE SIFT STYLE (client/style.css,
   tools/recolour.mjs): graphite panels, hairline strokes, the crystal accent with ink type, the spectrum as hairlines only,
   buttons squared off at 6 px, tags at 4 px.
   Every number sits in a fixed slot (tabular figures): nothing moves when a balance changes. */
:root {
  --ox-bg: #101217; --ox-panel: #16181F; --ox-raise: #1D2028; --ox-stroke: #262A34; --ox-stroke2: #363B48;
  --ox-text: #F4F6FA; --ox-text2: #B4B9C6; --ox-text3: #7E8496;
  --ox-blue: #A8DEFF; --ox-blue2: #C4E9FF; --ox-ink: #0C0E13; --ox-green: #2fe3ac; --ox-red: #ec397a; --ox-gold: #f5c04e;
  --ox-spectrum: linear-gradient(90deg, #FF6B7A 0%, #FFB45C 17%, #FFE066 33%, #5FE3A1 50%, #5CD3F0 66%, #7CA8FF 83%, #A992FF 100%);
}

/* ---------- header group ---------- */
.ox-hdr { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-right: 4px; }
.ox-hdr-paper, .ox-hdr-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 6px;
  border: 1px solid var(--ox-stroke2); background: transparent; color: var(--ox-text); font: inherit; font-size: 13px;
  font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background-color 125ms ease, border-color 125ms ease;
}
.ox-hdr-paper:hover, .ox-hdr-btn:hover { background: rgba(255, 255, 255, 0.05); border-color: #454B5A; }
.ox-hdr-btn i { font-size: 15px; color: var(--ox-text2); }
.ox-hdr-paper { padding-left: 4px; border-color: rgba(245, 192, 78, 0.35); background: rgba(245, 192, 78, 0.06); }
.ox-hdr-paper:hover { background: rgba(245, 192, 78, 0.12); border-color: rgba(245, 192, 78, 0.55); }
.ox-hdr-tag {
  height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 4px; background: var(--ox-gold);
  color: #17130a; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
}
.ox-hdr-bal { min-width: 64px; text-align: left; font-variant-numeric: tabular-nums; font-weight: 600; }
.ox-hdr-soon {
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ox-text3);
  border: 1px solid var(--ox-stroke2); border-radius: 999px; padding: 1px 6px; margin-left: 2px;
}

/* ---------- windows ---------- */
.ox-back {
  position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center;
  background: rgba(3, 4, 7, 0.72); animation: ox-fade 140ms ease-out;
}
@keyframes ox-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ox-rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.ox-modal {
  position: relative; max-height: calc(100vh - 48px); overflow: auto; color: var(--ox-text);
  background: linear-gradient(180deg, #1B1E26 0%, var(--ox-panel) 120px); border: 1px solid var(--ox-stroke);
  border-radius: 12px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  animation: ox-rise 180ms cubic-bezier(0.2, 0.8, 0.2, 1); font-family: inherit;
}
.ox-x {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 8px; border: 0; cursor: pointer;
  background: transparent; color: var(--ox-text3); font-size: 14px;
}
.ox-x:hover { background: rgba(255, 255, 255, 0.06); color: var(--ox-text); }
.ox-btn {
  height: 38px; padding: 0 16px; border-radius: 6px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap; transition: background-color 125ms ease, border-color 125ms ease;
}
.ox-primary { background: var(--ox-blue) linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 60%); color: var(--ox-ink); font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 6px 16px -10px rgba(168, 222, 255, .95); }
.ox-primary:hover { background-color: var(--ox-blue2); }
.ox-ghost { background: transparent; color: var(--ox-text); border-color: var(--ox-stroke2); }
.ox-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: #454B5A; }
.ox-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* THE LANDING TUTORIAL (oscope.js openAbout): three scenes, copy on the left, a real capture or the prompt on the right.
   A console's look: near-black, hairlines, ONE accent (the blue), mono uppercase labels, bracketed frames. Fixed size:
   a scene change moves nothing but its own content. */
.ox-tour {
  --ox-mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  width: 1080px; max-width: calc(100vw - 40px); height: 664px; max-height: calc(100vh - 40px); padding: 0; overflow: hidden;
  display: flex; flex-direction: column; border-radius: 16px; background: #16181F;
}
.ox-tour .ox-x { top: 13px; right: 14px; z-index: 3; }
.ox-t-top { display: flex; align-items: center; gap: 14px; height: 56px; flex: none; padding: 0 62px 0 24px; border-bottom: 1px solid var(--ox-stroke); }
.ox-t-brand { display: flex; align-items: center; gap: 9px; }
.ox-t-word { font-size: 19px; letter-spacing: -0.03em; font-weight: 400; color: var(--ox-text2); }
.ox-t-word b { font-weight: 700; color: var(--ox-text); }
.ox-t-kicker, .ox-t-count, .ox-t-tag, .ox-t-cap, .ox-t-seg-l, .ox-t-term-name, .ox-hud-t, .ox-t-step-n {
  font-family: var(--ox-mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 10.5px; font-weight: 500;
}
.ox-t-kicker { color: var(--ox-text3); padding-left: 14px; border-left: 1px solid var(--ox-stroke2); }
.ox-t-count { margin-left: auto; color: var(--ox-text3); font-variant-numeric: tabular-nums; }
.ox-t-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 448px minmax(0, 1fr); }

/* the copy */
.ox-t-copy { display: flex; flex-direction: column; padding: 38px 34px 20px 40px; min-width: 0; }
.ox-t-copy > * { animation: ox-in-r 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ox-t-copy.from-l > * { animation-name: ox-in-l; }
.ox-t-copy > :nth-child(2) { animation-delay: 30ms; } .ox-t-copy > :nth-child(3) { animation-delay: 60ms; }
.ox-t-copy > :nth-child(4) { animation-delay: 90ms; } .ox-t-copy > :nth-child(5) { animation-delay: 120ms; }
@keyframes ox-in-r { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes ox-in-l { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.ox-t-tag { display: flex; align-items: center; gap: 10px; color: var(--ox-blue2); }
.ox-t-tag::before { content: ""; width: 18px; height: 1px; background: var(--ox-blue); }
.ox-t-h { margin: 16px 0 14px; font-size: 34px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; color: var(--ox-text); text-wrap: balance; }
.ox-t-p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ox-text2); }
.ox-t-points { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.ox-t-pt { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.ox-t-pt-i {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; font-size: 16px;
  color: var(--ox-blue2); background: rgba(168, 222, 255, 0.1); border: 1px solid rgba(168, 222, 255, 0.24);
}
.ox-t-pt-t { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--ox-text); }
.ox-t-pt-d { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--ox-text2); }
.ox-t-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.ox-t-step { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--ox-text); }
.ox-t-step-n {
  display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; letter-spacing: 0;
  font-size: 11.5px; color: var(--ox-blue2); border: 1px solid rgba(168, 222, 255, 0.4); background: rgba(168, 222, 255, 0.08);
}
.ox-t-by { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; }
.ox-t-by.ox-t-built { margin-top: 0; padding-top: 10px; }
.ox-hdr-x { width: 32px; padding: 0; justify-content: center; }
.ox-hdr-x svg { width: 14px; height: 14px; color: var(--ox-text2); }
.ox-hdr-x:hover svg { color: var(--ox-text); }
.ox-t-by-l { font-size: 12.5px; color: var(--ox-text3); }
.ox-t-x {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: #fff;
  color: #000; font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.ox-t-x:hover { background: #e6e7ea; }
.ox-t-sup {
  height: 28px; min-width: 148px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--ox-stroke2); background: transparent;
  color: var(--ox-text2); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer;
}
.ox-t-sup:hover { color: var(--ox-text); border-color: #454B5A; }

/* the stage */
.ox-t-stage {
  position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 30px 36px 22px;
  border-left: 1px solid var(--ox-stroke); animation: ox-fade 260ms ease-out;
  background:
    radial-gradient(560px 320px at 88% -8%, rgba(168, 222, 255, 0.16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 32px 100%, #0A0911;
}
.ox-t-frame, .ox-t-term {
  position: relative; border: 1px solid var(--ox-stroke2); border-radius: 10px; background: #0B0A13;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.ox-t-frame { aspect-ratio: 16 / 10; }
.ox-t-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 9px; }
/* A CAPTURE BLEEDS OFF THE WINDOW: the frame is wider than the stage and runs out under its edge (the stage clips it),
   so the product is shown a quarter larger than it would fit. bleed-r: off the right edge; bleed-l: off the left. */
.ox-t-stage.bleed-r, .ox-t-stage.bleed-l { overflow: hidden; }
.ox-t-stage.bleed-r .ox-t-frame, .ox-t-stage.bleed-l .ox-t-frame { width: 700px; flex: none; }
.ox-t-stage.bleed-l .ox-t-frame { align-self: flex-end; }
.ox-t-stage.bleed-r .ox-t-frame { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ox-t-stage.bleed-r .ox-t-img { -webkit-mask-image: linear-gradient(#000 80%, transparent 99%); mask-image: linear-gradient(#000 80%, transparent 99%); }
.ox-t-stage.bleed-r .ox-t-frame { border-bottom-color: transparent; }
.ox-t-stage.bleed-r .ox-t-br-bl, .ox-t-stage.bleed-l .ox-t-br-tl, .ox-t-stage.bleed-l .ox-t-br-bl { display: none; }
.ox-t-br { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ox-blue); pointer-events: none; }
.ox-t-br-tl { left: -7px; top: -7px; border-left-width: 1.5px; border-top-width: 1.5px; }
.ox-t-br-tr { right: -7px; top: -7px; border-right-width: 1.5px; border-top-width: 1.5px; }
.ox-t-br-bl { left: -7px; bottom: -7px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.ox-t-br-br { right: -7px; bottom: -7px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.ox-t-cap { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ox-text3); }
.ox-t-cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ox-green); box-shadow: 0 0 0 3px rgba(47, 227, 161, 0.14); }
.ox-hud {
  position: absolute; display: flex; align-items: center; gap: 7px; height: 24px; padding: 0 9px; border-radius: 5px; white-space: nowrap;
  background: rgba(10, 11, 15, 0.9); border: 1px solid rgba(168, 222, 255, 0.7); color: var(--ox-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); animation: ox-rise 320ms 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.ox-hud-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ox-blue2); box-shadow: 0 0 0 3px rgba(168, 222, 255, 0.22); }
.ox-hud-t { font-size: 10px; letter-spacing: 0.12em; }
/* where they sit on client/img/tour-paper.webp (% of the frame): beside the B mark, under the average-cost line */
.ox-hud-a { right: 13%; top: 3.6%; }
.ox-hud-b { right: 21%; top: 18.6%; }

/* the prompt */
.ox-t-term-bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--ox-stroke); }
.ox-t-term-name { color: var(--ox-text); }
.ox-t-term-name::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--ox-blue2); vertical-align: 1px; }
.ox-t-term-for { margin-left: auto; padding-right: 8px; font-family: var(--ox-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ox-text3); white-space: nowrap; }
.ox-t-pre {
  margin: 0; padding: 18px 20px 20px; max-height: 330px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere;
  font-family: var(--ox-mono); font-size: 12.5px; line-height: 1.7; color: #DCD9EA; user-select: text;
}
.ox-t-acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.ox-t-acts .ox-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-width: 132px; justify-content: center; }
.ox-t-gh i { font-size: 17px; }

/* the foot: where you are, back and next */
.ox-t-foot { display: flex; align-items: center; gap: 10px; height: 70px; flex: none; padding: 0 24px 0 40px; border-top: 1px solid var(--ox-stroke); }
.ox-t-segs { display: flex; gap: 18px; margin-right: auto; }
.ox-t-seg { display: flex; flex-direction: column; gap: 8px; width: 118px; padding: 6px 0; border: 0; background: none; cursor: pointer; text-align: left; }
.ox-t-seg::before { content: ""; height: 2px; border-radius: 2px; background: var(--ox-stroke2); transition: background-color 180ms ease; }
.ox-t-seg-l { color: var(--ox-text3); transition: color 180ms ease; white-space: nowrap; }
.ox-t-seg.done::before { background: rgba(168, 222, 255, 0.45); }
.ox-t-seg.on::before { background: var(--ox-blue); box-shadow: 0 0 12px rgba(168, 222, 255, 0.6); }
.ox-t-seg.on .ox-t-seg-l { color: var(--ox-text); }
.ox-t-seg:hover .ox-t-seg-l { color: var(--ox-text2); }
.ox-t-foot .ox-btn { min-width: 92px; }
.ox-t-foot .ox-t-next { min-width: 176px; }
@media (max-width: 960px) {
  .ox-tour { height: auto; }
  .ox-t-body { grid-template-columns: minmax(0, 1fr); }
  .ox-t-stage { display: none; border-left: 0; border-top: 1px solid var(--ox-stroke); }
  .ox-t-stage.is-prompt { display: flex; }
  .ox-t-seg { width: 84px; }
}
@media (prefers-reduced-motion: reduce) { .ox-t-copy > *, .ox-t-stage, .ox-hud { animation: none; } }

/* the wallets window (real Solana wallets: deposit, withdraw, key) */
.ox-wallets { width: 760px; padding: 26px 26px 22px; }
.ox-w-head { display: flex; align-items: center; gap: 10px; }
.ox-w-title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ox-pill { height: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border-radius: 4px; background: rgba(168, 222, 255, .1); color: #C4E9FF; box-shadow: inset 0 0 0 1px rgba(168, 222, 255, .28); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; font-family: "Geist Mono Variable", "Geist Mono", monospace; }
.ox-pill .tc-coin { width: 11px; height: 11px; }
.ox-w-sub { margin: 8px 0 16px; font-size: 13px; line-height: 1.5; color: var(--ox-text2); max-width: 640px; }
.ox-w-warn { margin: -4px 0 14px; padding: 10px 12px; border-radius: 6px; border: 1px solid rgba(245, 192, 78, .35); background: rgba(245, 192, 78, .06); color: #F2D28B; font-size: 12.5px; line-height: 1.45; }
.ox-w-empty { padding: 26px 14px; border: 1px dashed var(--ox-stroke2); border-radius: 8px; text-align: center; color: var(--ox-text3); font-size: 13px; }
.ox-w-list { display: flex; flex-direction: column; gap: 8px; }
.ox-w-card { border-radius: 8px; background: var(--ox-raise); border: 1px solid var(--ox-stroke); overflow: hidden; }
.ox-w-row { display: grid; grid-template-columns: minmax(0, 1fr) 132px auto; align-items: center; gap: 14px; height: 64px; padding: 0 10px 0 14px; }
.ox-w-left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ox-w-name {
  width: 100%; max-width: 220px; height: 24px; padding: 0 6px; margin-left: -6px; border-radius: 6px; border: 1px solid transparent;
  background: transparent; color: var(--ox-text); font: inherit; font-size: 14px; font-weight: 600; outline: none;
}
.ox-w-name:hover { border-color: var(--ox-stroke2); }
.ox-w-name:focus { border-color: var(--ox-blue); background: var(--ox-bg); }
.ox-w-addr {
  align-self: flex-start; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ox-text3); font-size: 12px;
  font-family: "Geist Mono Variable", "Geist Mono", ui-monospace, monospace; white-space: nowrap;
}
.ox-w-addr:hover { color: var(--ox-text2); }
.ox-w-bal { text-align: right; }
.ox-w-sol { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ox-w-sol .tc-coin { width: 13px; height: 13px; }
.ox-w-unit { font-size: 11.5px; color: var(--ox-text3); white-space: nowrap; }
.ox-w-acts { display: flex; gap: 4px; justify-content: flex-end; align-items: center; }
.ox-w-act {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--ox-stroke2);
  background: transparent; color: var(--ox-text2); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}
.ox-w-act i { font-size: 14px; color: var(--ox-text3); }
.ox-w-act:hover { color: var(--ox-text); border-color: #454B5A; background: rgba(255, 255, 255, .03); }
.ox-w-act.on { color: var(--ox-text); border-color: rgba(168, 222, 255, .5); background: rgba(168, 222, 255, .08); }
.ox-w-act.on i { color: var(--ox-blue); }
.ox-w-panel { position: relative; padding: 14px 14px 14px; border-top: 1px solid var(--ox-stroke); background: var(--ox-panel); }
.ox-w-panel::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 1px; background: var(--ox-spectrum); }
.ox-w-plbl { display: block; margin-bottom: 8px; font: 600 10.5px "Geist Mono Variable", "Geist Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--ox-text3); }
.ox-w-depl { display: flex; align-items: center; gap: 8px; }
.ox-w-full { flex: 1; min-width: 0; height: 36px; display: flex; align-items: center; padding: 0 12px; border-radius: 6px; border: 1px solid var(--ox-stroke2); background: var(--ox-bg);
  font: 500 13px "Geist Mono Variable", "Geist Mono", ui-monospace, monospace; color: var(--ox-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: all; }
.ox-w-mask { color: var(--ox-text3); letter-spacing: .1em; user-select: none; }
.ox-sm { height: 36px; padding: 0 14px; font-size: 13px; display: inline-flex; align-items: center; text-decoration: none; }
.ox-btn:disabled { opacity: .5; cursor: default; }
.ox-w-note { margin-top: 8px; font-size: 12px; color: var(--ox-text3); }
.ox-w-wdl { display: grid; grid-template-columns: minmax(0, 1fr) 210px auto; gap: 10px; align-items: end; }
.ox-w-f { display: flex; flex-direction: column; min-width: 0; }
.ox-w-ar { display: flex; gap: 6px; }
.ox-w-in { height: 36px; min-width: 0; flex: 1; padding: 0 12px; border-radius: 6px; border: 1px solid var(--ox-stroke2); background: var(--ox-bg); color: var(--ox-text);
  font: 500 13px "Geist Mono Variable", "Geist Mono", ui-monospace, monospace; outline: 0; }
.ox-w-in:focus { border-color: var(--ox-blue); }
.ox-w-in::placeholder { color: var(--ox-text3); }
.ox-chip-max { width: 52px; height: 36px; color: var(--ox-blue); border-radius: 6px; }
.ox-chip-max:hover { background: rgba(168, 222, 255, .08); border-color: rgba(168, 222, 255, .4); }
.ox-w-sig { display: block; padding: 0 14px 10px; font-size: 12px; color: var(--ox-blue); text-decoration: none; }
.ox-w-sig:hover { text-decoration: underline; }
.ox-chip {
  width: 44px; height: 30px; border-radius: 8px; border: 1px solid var(--ox-stroke2); background: transparent; cursor: pointer;
  color: var(--ox-green); font: inherit; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.ox-icon {
  width: 28px; height: 28px; border-radius: 7px; border: 0; background: transparent; cursor: pointer; color: var(--ox-text3);
  font-size: 13px;
}
.ox-icon:hover { background: rgba(255, 255, 255, 0.06); color: var(--ox-text); }
.ox-icon.arm { background: rgba(236, 57, 122, 0.14); color: var(--ox-red); }
.ox-w-foot { justify-content: space-between; margin-top: 16px; }
.ox-w-total { font-size: 13px; color: var(--ox-text2); font-variant-numeric: tabular-nums; }

/* a toast before Axiom's own is ready */
.ox-toast {
  position: fixed; right: 20px; bottom: 60px; z-index: 2147483001; max-width: 360px; padding: 12px 14px; border-radius: 8px;
  background: var(--ox-raise); border: 1px solid var(--ox-stroke2); color: var(--ox-text); font-size: 13px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.ox-toast-error { border-color: rgba(255, 91, 110, 0.5); }
.ox-toast-success { border-color: rgba(47, 227, 161, 0.45); }
/* the coin's contract address in the header (shown once the coin exists) */
.ox-hdr-ca { gap: 7px; padding: 0 11px 0 12px; border-color: rgba(168, 222, 255, 0.45); background: rgba(168, 222, 255, 0.08); font-family: inherit; }
.ox-hdr-ca:hover { background: rgba(168, 222, 255, 0.16); border-color: rgba(168, 222, 255, 0.7); }
.ox-hdr-ca .ox-ca-k { font-weight: 600; color: #fff; }
.ox-hdr-ca { gap: 6px; padding: 0 9px 0 10px; }
.ox-hdr-ca .ox-ca-v { font-variant-numeric: tabular-nums; color: var(--ox-text2); }
/* the header group must never cover Axiom's menu: About and GitHub go icon-only on narrower screens (owner 10-15: CA chip added) */
@media (max-width: 1700px) { .ox-hdr-lbl { display: none; } .ox-hdr-btn:not(.ox-hdr-ca):not(.ox-hdr-x):not(.ox-hdr-chain) { width: 32px; padding: 0; justify-content: center; gap: 0; } }
.ox-hdr-ca i { font-size: 13px; }

/* ---------- Sift's header items ---------- */
.ox-hdr-launch { border-color: rgba(168, 222, 255, 0.55); background: rgba(168, 222, 255, 0.14); color: #fff; }
.ox-hdr-launch i { color: #C4E9FF; }
.ox-hdr-launch:hover { background: rgba(168, 222, 255, 0.24); border-color: rgba(168, 222, 255, 0.8); }
.ox-hdr-chain { gap: 7px; padding: 0 11px 0 10px; text-decoration: none; }
.ox-hdr-chain .ox-ch-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ox-green); box-shadow: 0 0 0 3px rgba(47, 227, 161, 0.12); flex: none; }
.ox-hdr-chain.down .ox-ch-dot { background: var(--ox-red); box-shadow: 0 0 0 3px rgba(255, 91, 110, 0.12); }
.ox-hdr-chain .ox-ch-k { color: var(--ox-text3); font-weight: 500; }
.ox-hdr-chain .ox-ch-v { min-width: 66px; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ox-text); }
@media (max-width: 1500px) { .ox-hdr-chain .ox-ch-k { display: none; } }

/* ---------- the launch window (client/launch.js) ---------- */
.tc-launch { width: 620px; padding: 26px 26px 22px; }
.tc-l-wallet { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--ox-stroke); border-radius: 8px; background: var(--ox-bg); }
.tc-l-wl { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tc-l-k, .tc-l-lbl { font-size: 11.5px; color: var(--ox-text3); font-weight: 500; }
.tc-l-addr { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--ox-text2); font: inherit; font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; }
.tc-l-addr:hover { color: var(--ox-text); }
.tc-l-bal { display: flex; align-items: baseline; gap: 5px; }
.tc-l-bv { min-width: 64px; text-align: right; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tc-l-unit { font-size: 11.5px; color: var(--ox-text3); }
.tc-l-faucet { height: 32px; font-size: 13px; }
.tc-l-faucet:disabled { opacity: .55; cursor: default; }
.tc-l-grid { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; margin-top: 16px; }
.tc-l-right { display: flex; flex-direction: column; gap: 12px; }
.tc-l-pic { position: relative; display: grid; place-items: center; height: 124px; border: 1px dashed var(--ox-stroke2); border-radius: 8px; background: var(--ox-bg); cursor: pointer; overflow: hidden; transition: border-color 125ms ease, background-color 125ms ease; }
.tc-l-pic:hover, .tc-l-pic.over { border-color: var(--ox-blue); background: rgba(168, 222, 255, 0.06); }
.tc-l-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-l-pt { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ox-text3); text-align: center; padding: 0 8px; }
.tc-l-pt i { font-size: 20px; } .tc-l-pt b { color: var(--ox-text2); font-size: 12.5px; font-weight: 600; } .tc-l-pt small { font-size: 10.5px; line-height: 1.3; }
.tc-l-field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.tc-l-right .tc-l-field { margin-top: 0; }
.tc-l-in { height: 38px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--ox-stroke2); background: var(--ox-bg); color: var(--ox-text); font: inherit; font-size: 14px; outline: 0; transition: border-color 125ms ease; }
.tc-l-in:focus { border-color: var(--ox-blue); }
.tc-l-in::placeholder { color: var(--ox-text3); }
.tc-l-ta { height: auto; padding: 10px 12px; line-height: 1.45; resize: vertical; min-height: 70px; }
.tc-l-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tc-l-buy { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 16px; align-items: end; }
.tc-l-quote { padding-bottom: 11px; font-size: 12.5px; color: var(--ox-text2); font-variant-numeric: tabular-nums; line-height: 1.45; }
.tc-l-quote.short { color: #F2D28B; }
.tc-l-chips { display: flex; gap: 6px; margin-top: 6px; }
.tc-l-chip { flex: 1; height: 28px; border-radius: 6px; border: 1px solid var(--ox-stroke2); background: transparent; color: var(--ox-text2); font: 600 12px "Geist Mono Variable", "Geist Mono", monospace; cursor: pointer; }
.tc-l-chip:hover { color: var(--ox-text); border-color: rgba(168, 222, 255, .45); background: rgba(168, 222, 255, .06); }
.tc-launch .ox-w-head .ox-pill { margin-left: 2px; }

.ox-hdr-x i { font-size: 15px; color: var(--ox-text2); }
.ox-hdr-x:hover i { color: var(--ox-text); }

/* ---------- OUR OWN HEADER AND FOOTER (client/oscope.js header() / footer(), 2026-10-27, owner: "change footer completely to be
   our own / same with header"): fixed over Axiom's bars (kept in the page, out of sight, client/style.css). The Sift style:
   graphite, a spectral seam, mono capital tabs, chips squared at 6 px. ---------- */
.tc-head {
  position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 45; display: flex; align-items: center; gap: 18px;
  padding: 0 18px 0 22px; background: linear-gradient(180deg, #181B22 0%, #13151B 100%); border-bottom: 1px solid var(--ox-stroke);
  font-family: "Geist Variable", Geist, ui-sans-serif, system-ui, sans-serif; color: var(--ox-text);
}
.tc-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: var(--ox-spectrum); opacity: .6;
}
.tc-logo { display: flex; align-items: center; gap: 9px; flex: none; font-size: 18px; font-weight: 600; letter-spacing: -.025em; color: #fcfcfc; text-decoration: none; margin-right: 10px; }
.tc-logo .tc-mark { flex: none; }
.tc-nav { display: flex; align-items: stretch; height: 64px; gap: 2px; }
.tc-tab {
  position: relative; display: flex; align-items: center; gap: 5px; padding: 0 13px; text-decoration: none; white-space: nowrap;
  font: 600 12px/1 "Geist Mono Variable", "Geist Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ox-text2); transition: color 120ms ease;
}
.tc-tab:hover { color: var(--ox-text); }
.tc-tab.on { color: #fff; }
.tc-tab.on::before { content: ""; width: 8px; height: 7px; background: var(--ox-blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tc-tab.on::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--ox-spectrum); }
.tc-tab.tc-ext i { font-size: 13px; color: var(--ox-text3); }
.tc-grow { flex: 1; min-width: 0; }
.tc-search {
  display: flex; align-items: center; gap: 10px; width: 290px; flex: none; height: 36px; padding: 0 7px 0 12px; cursor: pointer;
  border: 1px solid var(--ox-stroke2); border-radius: 6px; background: rgba(255, 255, 255, .02); color: var(--ox-text3);
  font-family: inherit; font-size: 13px; font-weight: 400; text-align: left; transition: border-color 120ms ease, color 120ms ease;
}
.tc-search:hover { border-color: #454B5A; color: var(--ox-text2); }
.tc-search i { font-size: 16px; color: var(--ox-text2); }
.tc-search span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-search kbd { font: 600 11px "Geist Mono Variable", "Geist Mono", monospace; color: var(--ox-text2); border: 1px solid var(--ox-stroke2); border-radius: 4px; padding: 2px 6px; background: var(--ox-panel); }
.tc-right { display: flex; align-items: center; gap: 8px; flex: none; }
.tc-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 1px solid var(--ox-stroke2); border-radius: 6px;
  background: rgba(255, 255, 255, .015); color: var(--ox-text); cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 12.5px "Geist Mono Variable", "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.tc-chip:hover { background: rgba(255, 255, 255, .045); border-color: #454B5A; }
.tc-ca { border-color: rgba(168, 222, 255, .45); background: rgba(168, 222, 255, .08); }
.tc-ca:hover { background: rgba(168, 222, 255, .16); border-color: rgba(168, 222, 255, .7); }
.tc-ca .ox-ca-k { color: #C4E9FF; letter-spacing: .08em; }
.tc-ca .ox-ca-v { color: var(--ox-text2); font-weight: 500; }
.tc-chain .ox-ch-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ox-green); box-shadow: 0 0 0 3px rgba(47, 227, 161, .12); flex: none; }
.tc-chain.down .ox-ch-dot, .tc-f-live.down .ox-ch-dot { background: var(--ox-red); box-shadow: 0 0 0 3px rgba(255, 91, 110, .14); }
.tc-chain-k { color: var(--ox-text3); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; }
.tc-chain .ox-ch-v { min-width: 70px; }
.tc-wal b { font-weight: 600; min-width: 46px; text-align: right; }
.tc-wal i { font-size: 15px; color: var(--ox-text3); margin-left: -2px; }
.tc-coin { width: 14px; height: 14px; flex: none; display: inline-block; }
.tc-go {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border: 0; border-radius: 6px; cursor: pointer;
  background: var(--ox-blue) linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 60%); color: var(--ox-ink);
  font-family: inherit; font-size: 13.5px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 22px -12px rgba(168, 222, 255, .95);
}
.tc-go:hover { background-color: var(--ox-blue2); }
.tc-go i { font-size: 15px; }
.tc-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--ox-stroke2); border-radius: 6px; color: var(--ox-text2); text-decoration: none; }
.tc-icon:hover { color: var(--ox-text); border-color: #454B5A; background: rgba(255, 255, 255, .03); }
.tc-icon i { font-size: 16px; }
.tc-icon svg { width: 14px; height: 14px; }
@media (max-width: 1500px) { .tc-search { width: 220px; } .tc-tab { padding: 0 10px; } .tc-tab.on::after { left: 10px; right: 10px; } }
@media (max-width: 1280px) { .tc-search span { display: none; } .tc-search { width: 64px; } .tc-chain-k { display: none; } }

.tc-foot {
  position: fixed; left: 0; right: 0; bottom: 0; height: 36px; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 12px; background: #13151B; border-top: 1px solid var(--ox-stroke); color: var(--ox-text2);
  font: 500 12px "Geist Variable", Geist, ui-sans-serif, system-ui, sans-serif;
}
.tc-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, rgba(168, 222, 255, 0), rgba(168, 222, 255, .35) 50%, rgba(168, 222, 255, 0)); }
.tc-f-l, .tc-f-r { display: flex; align-items: center; gap: 3px; min-width: 0; white-space: nowrap; }
.tc-f-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid transparent; border-radius: 5px;
  background: transparent; color: var(--ox-text2); font: inherit; cursor: pointer; transition: background-color 120ms ease, color 120ms ease;
}
.tc-f-btn:hover { background: rgba(255, 255, 255, .045); color: var(--ox-text); }
.tc-f-btn i { font-size: 14px; color: var(--ox-text3); }
.tc-f-btn:hover i { color: var(--ox-text2); }
.tc-f-btn.on { border-color: rgba(168, 222, 255, .4); background: rgba(168, 222, 255, .1); color: #fff; }
.tc-f-btn.on i { color: #C4E9FF; }
.tc-f-preset { background: rgba(168, 222, 255, .14); color: #D6F0FF; font-family: "Geist Mono Variable", "Geist Mono", monospace; font-weight: 600; letter-spacing: .06em; }
.tc-f-preset i { color: #C4E9FF; }
.tc-f-wal { border-color: var(--ox-stroke2); font-family: "Geist Mono Variable", "Geist Mono", monospace; font-variant-numeric: tabular-nums; }
.tc-f-wal b { font-weight: 600; color: var(--ox-text); }
.tc-f-ic { width: 24px; padding: 0; justify-content: center; }
.tc-f-sep { width: 1px; height: 16px; background: var(--ox-stroke2); margin: 0 7px; flex: none; }
.tc-f-live { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 8px; color: var(--ox-text); text-decoration: none; font: 600 11.5px "Geist Mono Variable", "Geist Mono", monospace; font-variant-numeric: tabular-nums; }
.tc-f-live .ox-ch-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ox-green); box-shadow: 0 0 0 3px rgba(47, 227, 161, .12); }
.tc-f-k { color: var(--ox-text3); letter-spacing: .12em; text-transform: uppercase; font-size: 10.5px; }
.tc-f-live span:last-child { min-width: 66px; }
.tc-f-price, .tc-f-on { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; font: 600 11.5px "Geist Mono Variable", "Geist Mono", monospace; font-variant-numeric: tabular-nums; color: var(--ox-text); }
.tc-f-price span { min-width: 48px; }
.tc-f-on i { font-size: 13px; color: var(--ox-text3); }
.tc-f-link { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 7px; color: var(--ox-text3); text-decoration: none; border-radius: 5px; }
.tc-f-link:hover { color: var(--ox-text); background: rgba(255, 255, 255, .04); }
.tc-f-link i { font-size: 14px; }
.tc-f-link svg { width: 12px; height: 12px; }
.tc-mut { color: var(--ox-text3); font-weight: 500; }
@media (max-width: 1400px) { .tc-f-tool span { display: none; } }
@media (max-width: 639.98px) { .tc-head, .tc-foot { display: none !important; } }

/* ---------- the coin page's Sift block (client/oscope.js coinBlock): after ATH in the coin's header row ---------- */
.px-coin { display: flex; flex-direction: column; justify-content: center; gap: 5px; flex: none; margin-left: 4px; padding: 0 12px; height: 38px; border-left: 1px solid var(--ox-stroke2); font-family: "Geist Variable", Geist, ui-sans-serif, system-ui, sans-serif; cursor: default; }
.px-c-k { display: inline-flex; align-items: center; gap: 6px; font: 600 10px/1 "Geist Mono Variable", "Geist Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--ox-blue); white-space: nowrap; }
.px-tri { display: inline-block; width: 8px; height: 7px; background: var(--ox-blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.px-c-v { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.px-c-v b { font-size: 12.5px; font-weight: 500; color: var(--ox-text); font-variant-numeric: tabular-nums; }
.px-bar { position: relative; width: 72px; height: 5px; border-radius: 3px; background: var(--ox-stroke2); overflow: hidden; }
.px-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--ox-spectrum); background-size: 72px 5px; }

/* ---------- Trenches before the first Sift coin (client/oscope.js emptyTrenches) ---------- */
section.px-has-empty { position: relative; }
.px-empty { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: min(340px, 86%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center;
  padding: 22px 20px 20px; border: 1px dashed rgba(168, 222, 255, .32); border-radius: 10px; background: rgba(22, 24, 31, .92); font-family: "Geist Variable", Geist, system-ui, sans-serif; }
.px-empty::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 1px; background: var(--ox-spectrum); }
.px-empty .px-tri { display: block; width: 14px; height: 12px; background: var(--ox-blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.px-empty b { font-size: 15px; font-weight: 600; color: var(--ox-text); }
.px-empty span { font-size: 12.5px; line-height: 1.5; color: var(--ox-text2); }
.px-empty-go { margin-top: 6px; height: 34px; padding: 0 16px; border: 0; border-radius: 6px; cursor: pointer; font: 600 13px "Geist Variable", Geist, system-ui, sans-serif;
  color: var(--ox-ink); background: var(--ox-blue) linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 60%); }
.px-empty-go:hover { background-color: var(--ox-blue2); }
.tc-mark-img { border-radius: 6px; object-fit: cover; }

.ox-w-fr { display: flex; gap: 8px; }
.ox-w-import { position: relative; margin: 0 0 10px; padding: 14px; border: 1px solid rgba(168, 222, 255, .3); border-radius: 8px; background: var(--ox-panel); }
.ox-w-import::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 1px; background: var(--ox-spectrum); }
.ox-w-impname { flex: 0 0 140px; }
.ox-w-use { color: var(--ox-blue); border-color: rgba(168, 222, 255, .35); }
.tc-l-pick { height: 30px; max-width: 300px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--ox-stroke2); background: var(--ox-panel); color: var(--ox-text); font: 500 12.5px "Geist Mono Variable", "Geist Mono", monospace; outline: 0; cursor: pointer; }
.tc-l-pick:focus { border-color: var(--ox-blue); }
.tc-l-sure { margin-top: 16px; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(95, 227, 161, .4); background: rgba(95, 227, 161, .06); font-size: 13px; line-height: 1.55; color: var(--ox-text2); }
.tc-l-sure b { color: var(--ox-text); }
.tc-l-sure code { font: 500 11.5px "Geist Mono Variable", "Geist Mono", monospace; color: var(--ox-text); word-break: break-all; }
.ox-primary.tc-l-armed { background-color: #5FE3A1; box-shadow: 0 0 0 3px rgba(95, 227, 161, .2); }

