/* THE SITE'S LOOK ON THE MEMESCOPE (owner 2026-12-02: "change those styles to the current web style so everything is matching").
 * Axiom's page keeps its layout and density (nothing moves); its colours are the site's paper palette, baked in by
 * tools/recolour.mjs (page #f4f0e8, panels #fffdf8, ink #111, lines ink ~15 %, accent #3554f5, up #12804a, down #d4291b).
 * This file is the rest, from the site's own stylesheet (public/assets/main.css, tk.css, claude.css): Inter, tabular numbers,
 * 2 px ink borders and hard offset shadows on the panels and the action buttons, the site's yellow on the buttons that act,
 * the logo slot (site logo or initials + name, links home), thin scrollbars, and the paper layer's own windows (client/oscope.js).
 * Loaded LAST in <head> so it wins over Axiom's sheet. */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-latin-ext-opsz-normal.43rxyga-l4eut.woff2) format("woff2-variations"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-latin-opsz-normal.34fk6-9m1aguk.woff2) format("woff2-variations"); unicode-range: U+00-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ck-paper: #f4f0e8; --ck-paper2: #ece6da; --ck-surface: #fffdf8; --ck-surface2: #e9e3d6; --ck-ink: #111; --ck-ink2: #3d3a34; --ck-ink3: #5f5b52; --ck-ink4: #9a958a;
  --ck-line: rgba(17, 17, 17, .14); --ck-line2: rgba(17, 17, 17, .32); --ck-yellow: #ffd84d; --ck-mint: #5ce1a3; --ck-coral: #ff6b5e; --ck-accent: #3554f5;
  --ck-up: #12804a; --ck-down: #d4291b; --ck-sh-sm: 2px 2px 0 #111; --ck-sh: 4px 4px 0 #111; --ck-sh-lg: 6px 6px 0 #111;
  --font-geist-sans: "Inter Variable", "Helvetica Neue", Arial, system-ui, sans-serif;
  color-scheme: light;
}
html, body { background: var(--ck-paper); }
body { font-family: var(--font-geist-sans); font-feature-settings: "tnum" 1, "cv11" 1; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ck-yellow); color: #111; }

/* ---- the header: the site's surface with a 2 px ink rule under it; the logo slot = the site's logo or initials + name ---- */
#platform-layout > div:first-child { background: var(--ck-surface); border-bottom: 2px solid var(--ck-ink) !important; }
a.ck-home { display: flex; align-items: center; text-decoration: none; color: var(--ck-ink); }
a.ck-home:hover .ck-logo-mark, a.ck-home:hover .ck-logo-img { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #111; }
.ck-logo { display: inline-flex; width: 30px; height: 30px; flex-shrink: 0; margin-right: 10px; }
.ck-logo-mark { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 2px solid var(--ck-ink); border-radius: 6px; background: var(--ck-yellow); color: #111; font: 900 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: -.02em; box-shadow: var(--ck-sh-sm); transition: transform 90ms, box-shadow 90ms; }
.ck-logo-img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ck-ink); object-fit: cover; box-shadow: var(--ck-sh-sm); transition: transform 90ms, box-shadow 90ms; }
.ck-logo-name { font-size: 17px; line-height: 1; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; color: var(--ck-ink); white-space: nowrap; }
@media (max-width: 639px) { .ck-logo-name { display: none; } }

/* ---- the footer bar: a 2 px ink rule over it ---- */
div.h-\[36px\].min-h-\[36px\].border-t-\[1px\] { background: var(--ck-surface); border-top: 2px solid var(--ck-ink) !important; }

/* ---- panels (the Pulse's three columns, Discover, Trackers, Portfolio, the coin page's boxes): the site's card ---- */
section.bg-backgroundSecondary { border: 2px solid var(--ck-ink) !important; border-radius: 10px !important; box-shadow: var(--ck-sh); }
/* windows: the site's card with the large shadow */
.z-modal .pointer-events-auto > div[class*="border"] { border: 2px solid var(--ck-ink) !important; box-shadow: var(--ck-sh-lg) !important; border-radius: 10px !important; }

/* ---- the buttons that act (Pulse's quick buy, the trade panel's Buy, Deposit, Confirm): the site's yellow button ---- */
button.bg-primaryBlue, a.bg-primaryBlue, div[role="button"].bg-primaryBlue {
  background: var(--ck-yellow) !important; color: #111 !important; border: 2px solid var(--ck-ink) !important; box-shadow: var(--ck-sh-sm);
  border-radius: 6px !important; font-weight: 800; transition: transform 90ms, box-shadow 90ms;
}
button.bg-primaryBlue *, a.bg-primaryBlue *, div[role="button"].bg-primaryBlue * { color: #111 !important; }
button.bg-primaryBlue:hover, a.bg-primaryBlue:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #111; filter: none; }
button.bg-primaryBlue:active, a.bg-primaryBlue:active { transform: translate(2px, 2px); box-shadow: none; }
button.bg-primaryBlue:disabled { opacity: .55; transform: none; box-shadow: none; }
/* buy / sell in the trade panel keep their meaning: up in the site's mint, down in its coral (ink type, ink border) */
button.bg-increase { background: var(--ck-mint) !important; color: #111 !important; border: 2px solid var(--ck-ink) !important; box-shadow: var(--ck-sh-sm); border-radius: 6px !important; }
button.bg-decrease { background: var(--ck-coral) !important; color: #111 !important; border: 2px solid var(--ck-ink) !important; box-shadow: var(--ck-sh-sm); border-radius: 6px !important; }
button.bg-increase *, button.bg-decrease * { color: #111 !important; }

/* Pulse and Discover rows: the site's hover (a paper wash and an ink edge under the pointer) */
.border-primaryStroke\/50.border-b-\[1px\].cursor-pointer:hover, div.group\/pulseRow:hover { background-color: rgba(17, 17, 17, .045) !important; box-shadow: inset 3px 0 0 var(--ck-ink); }
/* coin pictures: an ink ring, like the site's logo */
div.group\/pulseRow img.object-cover { outline: 1.5px solid var(--ck-ink); outline-offset: -1.5px; }

/* inputs and search pills: the site's field */
input[type="text"], input[type="number"], input:not([type]) { caret-color: var(--ck-ink); }

/* Axiom's own communities glyph and other chains' pills: gone (Solana only) */
.icon-community-axiom, *:has(> .icon-community-axiom:only-child) { display: none !important; }
div.rounded-full.p-\[4px\]:has(img[src*="bnb-fill"]), div.rounded-full.p-\[4px\]:has(img[src*="eth-fill"]), div.rounded-full.p-\[4px\]:has(img[src*="robinhood"]),
div.rounded-full.h-\[32px\]:has(img[src*="bnb"]), div.rounded-full.h-\[32px\]:has(img[src*="robinhood"]) { display: none !important; }

/* ---- no stock scrollbars (owner rule): thin, ink on paper, no arrows. Axiom's own sheet sets scrollbar-width: thin on *, which
   makes Chrome ignore every ::-webkit-scrollbar rule: put back to auto outside Firefox ---- */
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(17, 17, 17, .28); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(17, 17, 17, .5); }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) { * { scrollbar-width: thin; scrollbar-color: rgba(17, 17, 17, .28) transparent; } }
@supports not (-moz-appearance: none) { :root, *, .custom-scrollbar, .\[scrollbar-width\:thin\] { scrollbar-width: auto; scrollbar-color: auto; } }

/* ================= the paper layer's own pieces (client/oscope.js) in the site's look ================= */
.ox-hdr { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-right: 6px; }
.ox-hdr-paper, .ox-hdr-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border: 2px solid var(--ck-ink); border-radius: 6px;
  background: var(--ck-surface); color: var(--ck-ink); font: 800 12px/1 var(--font-geist-sans); cursor: pointer; text-decoration: none;
  box-shadow: var(--ck-sh-sm); transition: transform 90ms, box-shadow 90ms; white-space: nowrap;
}
.ox-hdr-paper:hover, .ox-hdr-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #111; }
.ox-hdr-paper:active, .ox-hdr-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.ox-hdr-paper { padding-left: 4px; background: var(--ck-mint); }
.ox-hdr-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; background: #111; color: var(--ck-mint); font: 900 10px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .1em; }
.ox-hdr-bal { min-width: 56px; text-align: left; font-variant-numeric: tabular-nums; font-weight: 800; }
.ox-hdr-ca { background: var(--ck-yellow); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; font-weight: 900; }
.ox-hdr-ca[hidden], .ox-hdr-x[hidden] { display: none !important; }
.ox-hdr-ca .ox-ca-k { font-weight: 900; }
.ox-hdr-ca i { font-size: 13px; }
.ox-hdr-x { width: 32px; padding: 0; justify-content: center; }
.ox-hdr-x svg { width: 14px; height: 14px; }

.ox-back { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(17, 17, 17, .45); animation: ox-fade .15s ease; }
@keyframes ox-fade { from { opacity: 0; } }
.ox-modal {
  position: relative; max-width: 100%; max-height: calc(100vh - 40px); overflow: auto; background: var(--ck-surface); color: var(--ck-ink);
  border: 2px solid var(--ck-ink); border-radius: 10px; box-shadow: var(--ck-sh-lg); font-family: var(--font-geist-sans);
}
.ox-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--ck-ink); border-radius: 6px; background: var(--ck-surface); color: var(--ck-ink); font-weight: 900; cursor: pointer; box-shadow: var(--ck-sh-sm); }
.ox-x:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #111; }
.ox-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; min-width: 92px; padding: 0 14px; border: 2px solid var(--ck-ink); border-radius: 6px; background: var(--ck-surface); color: var(--ck-ink); font: 850 13px/1 var(--font-geist-sans); cursor: pointer; text-decoration: none; box-shadow: var(--ck-sh-sm); transition: transform 90ms, box-shadow 90ms; }
.ox-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #111; }
.ox-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.ox-primary { background: var(--ck-yellow); }
.ox-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.ox-wallets { width: 720px; padding: 24px 24px 20px; }
.ox-w-head { display: flex; align-items: center; gap: 10px; padding-right: 40px; }
.ox-w-title { font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.ox-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 2px solid var(--ck-ink); border-radius: 4px; background: var(--ck-mint); color: #111; font: 900 10px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .1em; }
.ox-w-sub { margin: 8px 0 16px; font-size: 13.5px; line-height: 1.5; color: var(--ck-ink2); }
.ox-w-list { display: flex; flex-direction: column; gap: 8px; }
.ox-w-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 10px 12px; border: 2px solid var(--ck-ink); border-radius: 8px; background: var(--ck-paper); }
.ox-w-left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ox-w-name { width: 100%; max-width: 220px; height: 28px; padding: 0 8px; border: 2px solid transparent; border-radius: 4px; background: transparent; color: var(--ck-ink); font: 800 14px/1 var(--font-geist-sans); outline: none; }
.ox-w-name:hover { border-color: var(--ck-line2); }
.ox-w-name:focus { border-color: var(--ck-ink); background: var(--ck-surface); }
.ox-w-addr { align-self: flex-start; padding: 0 8px; border: 0; background: none; color: var(--ck-ink3); font: 600 11.5px ui-monospace, "SF Mono", Menlo, monospace; cursor: pointer; }
.ox-w-addr:hover { color: var(--ck-ink); }
.ox-w-bal { text-align: right; }
.ox-w-sol { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ox-w-unit { font-size: 11.5px; color: var(--ck-ink3); white-space: nowrap; }
.ox-w-fund, .ox-w-more { display: flex; gap: 6px; justify-content: flex-end; }
.ox-chip { height: 28px; min-width: 38px; padding: 0 8px; border: 2px solid var(--ck-ink); border-radius: 4px; background: var(--ck-surface); color: var(--ck-ink); font: 800 12px/1 var(--font-geist-sans); font-variant-numeric: tabular-nums; cursor: pointer; box-shadow: var(--ck-sh-sm); }
.ox-chip:hover { background: var(--ck-mint); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #111; }
.ox-icon { width: 30px; height: 28px; border: 2px solid var(--ck-ink); border-radius: 4px; background: var(--ck-surface); color: var(--ck-ink); font-weight: 900; cursor: pointer; }
.ox-icon:hover { background: var(--ck-paper2); }
.ox-icon.arm { background: var(--ck-coral); }
.ox-w-foot { justify-content: space-between; margin-top: 16px; }
.ox-w-total { font-size: 13px; font-weight: 700; color: var(--ck-ink2); font-variant-numeric: tabular-nums; }
.ox-toast { position: fixed; right: 18px; bottom: 54px; z-index: 100001; max-width: 380px; padding: 10px 14px; border: 2px solid var(--ck-ink); border-radius: 8px; background: var(--ck-surface); color: var(--ck-ink); font: 700 13px/1.4 var(--font-geist-sans); box-shadow: var(--ck-sh); }
.ox-toast-error { background: #ffe3df; }
.ox-toast-success { background: #e3f7ec; }
@media (max-width: 760px) {
  .ox-wallets { width: 100%; padding: 18px 14px 14px; }
  .ox-w-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ox-w-fund, .ox-w-more { grid-column: 1 / -1; justify-content: flex-start; }
  .ox-hdr-bal { min-width: 0; }
}

/* ================= the site's own layer (client/ck.js): the database chip, real mode ================= */
.ck-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 2px solid var(--ck-ink); border-radius: 6px; background: var(--ck-surface); color: var(--ck-ink); font: 800 12px/1 var(--font-geist-sans); text-decoration: none; box-shadow: var(--ck-sh-sm); white-space: nowrap; cursor: pointer; transition: transform 90ms, box-shadow 90ms; }
.ck-chip:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #111; }
.ck-chip svg { width: 14px; height: 14px; }
.ck-dbbar { position: fixed; z-index: 60; right: 16px; bottom: 46px; display: flex; gap: 8px; }
.ck-db svg { width: 14px; height: 14px; }

/* ---- how it works (client/ck.js): the first-visit card and the header's button ---- */
.ck-intro { width: 560px; padding: 24px 24px 20px; }
.ck-intro-head { display: flex; align-items: center; gap: 10px; padding-right: 40px; }
.ck-intro-title { font-size: 24px; font-weight: 900; letter-spacing: -.04em; }
.ck-intro-sub { margin: 8px 0 14px; font-size: 14px; line-height: 1.5; color: var(--ck-ink2); }
.ck-intro-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ck-intro-step { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 2px solid var(--ck-ink); border-radius: 8px; background: var(--ck-paper); }
.ck-intro-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--ck-ink); border-radius: 6px; background: var(--ck-yellow); font: 900 12px/1 ui-monospace, "SF Mono", Menlo, monospace; box-shadow: var(--ck-sh-sm); }
.ck-intro-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13.5px; line-height: 1.45; color: var(--ck-ink2); }
.ck-intro-t b { font-size: 14px; font-weight: 850; color: var(--ck-ink); }
.ck-help-q { display: grid; place-items: center; width: 18px; height: 18px; border: 2px solid var(--ck-ink); border-radius: 50%; font: 900 11px/1 var(--font-geist-sans); }
@media (max-width: 1100px) { .ck-help-l { display: none; } .ck-help { padding: 0 7px; } }
@media (max-width: 640px) {
  .ck-intro { padding: 18px 14px 14px; }
  .ox-hdr-ca, .ck-db span { display: none !important; }
  .ox-hdr { gap: 6px; margin-right: 4px; }
  .ox-hdr-paper { height: 30px; }
}

/* ---- real mode (client/real.js, only when the site turned it on): the PAPER / REAL switch and the wallet ---- */
.ck-mode { display: inline-flex; height: 32px; border: 2px solid var(--ck-ink); border-radius: 6px; overflow: hidden; box-shadow: var(--ck-sh-sm); }
.ck-mode button { height: 100%; padding: 0 10px; border: 0; background: var(--ck-surface); color: var(--ck-ink); font: 850 12px/1 var(--font-geist-sans); cursor: pointer; }
.ck-mode button + button { border-left: 2px solid var(--ck-ink); }
.ck-mode button.on[data-m="paper"] { background: var(--ck-mint); }
.ck-mode button.on[data-m="real"] { background: var(--ck-yellow); }
.ck-wal[hidden] { display: none !important; }
.ck-wal { background: var(--ck-yellow); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.ck-wpick { width: 360px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ck-wpick-b { justify-content: flex-start; width: 100%; }
.ck-wpick-b img { width: 22px; height: 22px; border-radius: 5px; }
.ox-hdr-paper[hidden] { display: none !important; }
