/* THE REAL STYLE (2026-10-26, owner: "make a style for our own memescope / and make it look like that / abit different
 * fro maxiom. not too much"). Axiom's page with its layout untouched. The palette ("violet ink": the same darkness, blacks and
 * grey text tinted violet, the violet-blue accent) is tools/recolour.mjs; this file is the rest of the look, taken from his
 * Good-list pick OptimaLabs ("good visuals": panels with a coloured top line, mono capital titles after a square) in
 * Real Chain's violet:
 *   - a violet seam under the header; the open tab underlined;
 *   - every panel header (Pulse's three columns and the like) with a violet top line, its title in mono capitals after a
 *     violet square;
 *   - violet buttons squared off (6 px, not pills) with a soft top light and white type; the header's round controls too;
 *   - Pulse rows: a violet wash and a violet edge under the pointer;
 *   - thin scrollbars in the palette, violet selection.
 * Loaded LAST in <head> (server.mjs page()), so it wins over Axiom's own sheet at the same specificity. Nothing here changes
 * a size or a position (his rule: nothing moves). */

/* ---- the header: a violet seam along its bottom edge ---- */
#platform-layout > div:first-child { position: relative; }
#platform-layout > div:first-child::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 178, 36, 0) 0%, rgba(255, 178, 36, .5) 28%, rgba(224, 154, 0, .9) 50%, rgba(255, 178, 36, .5) 72%, rgba(255, 178, 36, 0) 100%);
}
/* the open tab: underlined in violet */
#platform-layout > div:first-child a > button.text-primaryBlue::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 1px; height: 2px; border-radius: 2px; pointer-events: none;
  background: rgb(var(--primary-color));
}
@media (min-width: 1280px) { #platform-layout > div:first-child a > button.text-primaryBlue::after { left: 14px; right: 14px; } }

/* ---- panel headers (Pulse's columns, …): a violet top line; the title in mono capitals after a violet square ---- */
section.bg-backgroundSecondary > header { position: relative; }
section.bg-backgroundSecondary > header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--primary-color)) 0%, rgba(255, 178, 36, .35) 55%, rgba(255, 178, 36, 0) 100%);
}
section.bg-backgroundSecondary > header span.truncate.text-\[16px\] {
  font-family: var(--font-geist-mono); font-size: 13px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgb(var(--text-primary));
}
section.bg-backgroundSecondary > header span.truncate.text-\[16px\]::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; vertical-align: 1px; border-radius: 1px;
  background: rgb(var(--primary-color)); box-shadow: 0 0 10px rgba(2, 8, 18, .8);
}

/* ---- violet buttons (Pulse's quick buy, Deposit, the trade panel's): squared off, a soft light from the top, white type ---- */
button.bg-primaryBlue {
  border-radius: 6px !important;
  background-image: linear-gradient(180deg, rgba(12, 30, 51, .18) 0%, rgba(12, 30, 51, 0) 60%);
  box-shadow: inset 0 0 0 1px rgba(2, 8, 18, .14), 0 6px 16px -10px rgba(2, 8, 18, .95);
  color: #0C1E33 !important;
}
button.bg-primaryBlue span, button.bg-primaryBlue i, button.bg-primaryBlue .text-background { color: #0C1E33 !important; }
button.bg-primaryBlue:hover { filter: brightness(1.1); }
/* Axiom's pills squared off the same way: buttons (an avatar inside one keeps it round), bordered fields, the controls in the
   panel headers and the header's search / wallet / watchlist. Dots, avatars and switch knobs stay round. */
button.rounded-full:not(:has(img)),
div.rounded-full.border-primaryStroke, div.rounded-full.border-secondaryStroke,
section.bg-backgroundSecondary > header .rounded-full,
#platform-layout > div:first-child button.rounded-full.border-primaryStroke,
#platform-layout > div:first-child button.rounded-full.bg-primaryStroke { border-radius: 6px !important; }

/* ---- Pulse rows: a violet wash and a violet edge under the pointer ---- */
.border-primaryStroke\/50.border-b-\[1px\].cursor-pointer:hover {
  background-color: rgba(255, 178, 36, .075) !important;
  box-shadow: inset 2px 0 0 rgb(var(--primary-color));
}

/* ---- scrollbars and selection ---- */
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgb(var(--secondary-stroke)); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(255, 178, 36, .6); }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) { * { scrollbar-width: thin; scrollbar-color: rgb(var(--secondary-stroke)) transparent; } }
/* Axiom's own sheet sets scrollbar-width: thin on * (and scrollbar-color on :root, .custom-scrollbar, [scrollbar-width:thin]): Chrome
   then ignores every ::-webkit-scrollbar rule above and draws its own bar (larpcheck 11-17). Chrome only: back to auto, so ours draw;
   hidden scrollers (.hide-scrollbar, [scrollbar-width:none]) keep none (a class beats *). */
@supports not (-moz-appearance: none) {
  :root, *, .custom-scrollbar, .\[scrollbar-width\:thin\] { scrollbar-width: auto; scrollbar-color: auto; }
}
::selection { background: rgba(255, 178, 36, .4); color: #E0E7F0; }

/* ---- OUR OWN HEADER AND FOOTER (10-27, owner: "change footer completely to be our own / same with header"): Axiom's bars stay in
   the page out of sight (their space kept, so everything they open still opens where it belongs); ours (client/oscope.js,
   client/oscope.css .tc-head / .tc-foot) sit fixed over them. Phones keep Axiom's phone bars. ---- */
@media (min-width: 640px) {
  #platform-layout > div:first-child, div.h-\[36px\].min-h-\[36px\].border-t-\[1px\] { visibility: hidden !important; }
}

/* ---- the page title (Trenches, Discover, …): mono capitals after a violet square, then the chain's own chip; the other chains'
   pills gone (owner: "remove the other chains. we only trade on our own chain") ---- */
main div.min-h-\[32px\].flex-none.flex-row > div.flex-none > button.text-\[20px\] {
  display: inline-flex; align-items: center; font-family: var(--font-geist-mono); font-size: 16px !important; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
main div.min-h-\[32px\].flex-none.flex-row > div.flex-none > button.text-\[20px\]::before {
  content: ""; width: 8px; height: 8px; margin-right: 11px; border-radius: 1px; background: rgb(var(--primary-color)); box-shadow: 0 0 12px rgba(2, 8, 18, .85);
}
main div.min-h-\[32px\].flex-none.flex-row > div.flex-none > button.text-\[20px\]::after {
  content: "Real Chain"; display: inline-flex; align-items: center; height: 22px; margin-left: 14px; padding: 0 8px 0 20px; border-radius: 4px;
  font-size: 10.5px; letter-spacing: .14em; color: #E09A00; border: 1px solid rgba(255, 178, 36, .4);
  background: rgba(255, 178, 36, .1) url("/tc/coin.svg") 6px 50% / 10px 10px no-repeat;
}
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"]) { display: none !important; }

/* ---- the page toolbar (help, Display, settings, hidden coins, buy delay, wallets): our chips ---- */
main div.min-h-\[32px\].flex-none.flex-row button.bg-primaryStroke,
main div.min-h-\[32px\].flex-none.flex-row button.border-primaryStroke {
  background: rgba(224, 231, 240, .015) !important; border: 1px solid rgb(var(--secondary-stroke)) !important; border-radius: 6px !important;
}
main div.min-h-\[32px\].flex-none.flex-row button.bg-primaryStroke:hover,
main div.min-h-\[32px\].flex-none.flex-row button.border-primaryStroke:hover { border-color: rgba(255, 178, 36, .55) !important; background: rgba(255, 178, 36, .08) !important; }
main div.min-h-\[32px\].flex-none.flex-row button.bg-primaryStroke span {
  font-family: var(--font-geist-mono); font-size: 11.5px !important; letter-spacing: .12em; text-transform: uppercase;
}
main div.min-h-\[32px\].flex-none.flex-row button { border-radius: 6px !important; }

/* ---- Axiom's settings windows (Display, Quick Bar, presets …) in our style: a violet line on top, squared corners ---- */
.z-modal .rounded-\[16px\], .z-modal .rounded-\[20px\], .z-modal .rounded-\[12px\] { border-radius: 10px !important; }
.z-modal .pointer-events-auto > div[class*="border"], .z-modal .pointer-events-auto > aside {
  box-shadow: inset 0 2px 0 rgb(var(--primary-color)), 0 24px 80px rgba(2, 8, 18, 0.104) !important;
}

/* ---- DISCOVER, TRACKERS, PORTFOLIO IN OUR STYLE (10-27, owner: "make the discover and tracking page our own style as well /
   portfolio as well"). These pages have no <main> (Trenches has one, its rules are above): scoped to the page container
   without a <main>, so nothing here touches Trenches. Same language as Trenches: mono capitals, violet squares and lines. ---- */
/* the page tabs (Discover's Top / Trending, Portfolio's Spot / Wallets / Compare): mono capitals, the open one after a violet square */
#platform-layout-container:not(:has(main)) button span[class*="tracking-[-0.02em]"][class*="text-[20px]"],
#platform-layout-container:not(:has(main)) div.mb-\[16px\].h-\[32px\] button span[class*="tracking-[-0.02em]"] {
  font-family: var(--font-geist-mono) !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: .14em !important;
  text-transform: uppercase; display: inline-flex; align-items: center;
}
#platform-layout-container:not(:has(main)) button span[class*="tracking-[-0.02em]"][class*="text-[20px]"].text-textPrimary::before,
#platform-layout-container:not(:has(main)) div.mb-\[16px\].h-\[32px\] button span[class*="tracking-[-0.02em]"].text-textPrimary::before {
  content: ""; width: 7px; height: 7px; margin-right: 10px; border-radius: 1px; background: rgb(var(--primary-color)); box-shadow: 0 0 10px rgba(2, 8, 18, .85);
}
/* tabs inside panels (Active Positions / History / Top 100, Activity / Transfers, Manager / Live Trades, My List / Social Alerts …):
   mono capitals; the open one violet-underlined (Portfolio) or after a violet square (Trackers) */
#platform-layout-container:not(:has(main)) div.border-b-\[2px\].border-textPrimary { border-color: rgb(var(--primary-color)) !important; }
#platform-layout-container:not(:has(main)) button.group.text-nowrap span.text-\[14px\].font-medium,
#platform-layout-container:not(:has(main)) button.group.h-\[24px\] > span.text-\[14px\] {
  font-family: var(--font-geist-mono); font-size: 11.5px !important; font-weight: 600; letter-spacing: .12em !important; text-transform: uppercase;
}
#platform-layout-container:not(:has(main)) button.group.h-\[24px\] > span.text-\[14px\].text-textPrimary { display: inline-flex; align-items: center; }
#platform-layout-container:not(:has(main)) button.group.h-\[24px\] > span.text-\[14px\].text-textPrimary::before {
  content: ""; width: 6px; height: 6px; margin-right: 8px; border-radius: 1px; background: rgb(var(--primary-color)); box-shadow: 0 0 8px rgba(2, 8, 18, .85);
}
/* the time range (1d 7d 30d Max) in mono capitals */
#platform-layout-container:not(:has(main)) button.h-\[32px\].text-nowrap.px-\[8px\] > span.text-\[14px\] {
  font-family: var(--font-geist-mono); font-size: 12px !important; letter-spacing: .1em; text-transform: uppercase;
}
/* panel heads (Portfolio's Balance / Realized PNL / Performance): a violet top line, the title in mono capitals */
#platform-layout-container:not(:has(main)) div.flex-col > div.h-\[44px\].min-h-\[44px\]:first-child { position: relative; }
#platform-layout-container:not(:has(main)) div.flex-col > div.h-\[44px\].min-h-\[44px\]:first-child::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--primary-color)) 0%, rgba(255, 178, 36, .35) 55%, rgba(255, 178, 36, 0) 100%);
}
#platform-layout-container:not(:has(main)) div.flex-col > div.h-\[44px\].min-h-\[44px\]:first-child span.text-\[14px\] {
  font-family: var(--font-geist-mono); font-size: 11.5px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
/* Trackers' panels: the same violet top line */
#platform-layout-container:not(:has(main)) div.bg-elevation1.min-h-0.flex-col.overflow-hidden { position: relative; }
#platform-layout-container:not(:has(main)) div.bg-elevation1.min-h-0.flex-col.overflow-hidden::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 5; pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--primary-color)) 0%, rgba(255, 178, 36, .35) 55%, rgba(255, 178, 36, 0) 100%);
}
/* table heads (Discover's Pair Info / Market Cap …, the wallet list's Name / Balance …, Portfolio's Token / Bought …): mono capitals */
#platform-layout-container:not(:has(main)) div.sticky.z-20.h-\[32px\] span.text-\[12px\],
#platform-layout-container:not(:has(main)) button.group > div > span.font-regular.text-\[12px\],
#platform-layout-container:not(:has(main)) div.h-\[28px\].min-h-\[28px\] span.text-\[12px\].text-textTertiary {
  font-family: var(--font-geist-mono); font-size: 10.5px !important; letter-spacing: .12em; text-transform: uppercase;
}
#platform-layout-container:not(:has(main)) button.group > div > span.font-regular.text-\[12px\] { font-size: 10px !important; letter-spacing: .06em; margin-right: 6px; }
/* Discover's table: the head carries the violet line, a row under the pointer a violet edge */
#platform-layout-container:not(:has(main)) div.sticky.z-20.h-\[32px\]::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--primary-color)) 0%, rgba(255, 178, 36, .35) 55%, rgba(255, 178, 36, 0) 100%);
}
#platform-layout-container:not(:has(main)) div.group\/pulseRow:hover { background: rgba(255, 178, 36, .055) !important; box-shadow: inset 2px 0 0 rgb(var(--primary-color)); }
/* the other chains' pills on these pages too */
div.rounded-full.h-\[32px\]:has(img[src*="bnb"]), div.rounded-full.h-\[32px\]:has(img[src*="robinhood"]) { display: none !important; }
/* AXIOM'S COMMUNITIES (owner 11-25: "remove this fucking axiom logo thing"): Axiom's own community feature and its logo glyph
   (icon-community-axiom, colour axiomCommunity) left of the coin picture, in rows, search and settings: gone, with its box */
.icon-community-axiom,
*:has(> .icon-community-axiom:only-child),
*:has(> *:only-child > .icon-community-axiom:only-child) { display: none !important; }
