/* base.css: the look every page shares (fork rule: the original's colours, hues and system type, our own code). */
:root {
  --bg: #0a0a0a; --plane: #040404; --card: #0e0e10; --raised: #161618; --raised2: #202022;
  --ink: #f5f5f7; --mute: #a1a1a6; --muted: #86868b; --dim: #6e6e73; --line: #ffffff1a; --line2: #ffffff10;
  --ember: #f47a38; --ember-hi: #ffb27a; --ember-lo: #e8562a; --gain: #41dca5; --loss: #ff6367; --warn: #f5c451; --info: #67b0f9;
  --bot-research: #e5e8ef; --bot-sniper: #ef6689; --bot-trader: #649af1; --bot-shield: #68d69b; --eye: #101719;
  --r: 14px; --r-lg: 22px; --pill: 99px; --nav: 56px; --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1); --out: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.3, .5, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sb-thumb: rgba(255, 255, 255, .16); --sb-thumb-hover: rgba(255, 255, 255, .3);
}
/* NO STOCK SCROLLBARS (larpcheck/scrollbars.css) */
:root { color-scheme: dark; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--sb-thumb, rgba(140, 140, 150, .35)); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover, rgba(160, 160, 170, .6)); }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) { * { scrollbar-width: thin; scrollbar-color: var(--sb-thumb, rgba(140, 140, 150, .35)) transparent; } }
.no-sb { scrollbar-width: none; } .no-sb::-webkit-scrollbar { display: none; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg, video, canvas { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.up { color: var(--gain); } .down { color: var(--loss); } .mute { color: var(--mute); } .dim { color: var(--dim); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: #000; padding: 8px 14px; border-radius: var(--pill); }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: 44px; padding: 0 22px; border-radius: var(--pill); border: 0; cursor: pointer; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  background: var(--raised); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s; white-space: nowrap; }
.btn:hover { box-shadow: inset 0 0 0 1.5px #ffffff40; } .btn:active { transform: scale(.97); }
.btn.hot { background: linear-gradient(180deg, var(--ember) 45%, var(--ember-lo) 100%); color: #fff; box-shadow: 0 8px 30px -10px color-mix(in oklab, var(--ember) 70%, transparent), inset 0 1px 0 #ffffff40; }
.btn.hot:hover { filter: brightness(1.07); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13.5px; } .btn.xs { height: 28px; padding: 0 11px; font-size: 12.5px; }
.btn.ghost { background: transparent; } .btn.good { background: color-mix(in oklab, var(--gain) 18%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--gain) 45%, transparent); color: var(--gain); }
.btn.bad { background: color-mix(in oklab, var(--loss) 14%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--loss) 40%, transparent); color: var(--loss); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--pill); font-size: 12px; font-weight: 600; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.pill.paper { color: var(--ember-hi); background: color-mix(in oklab, var(--ember) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ember) 35%, transparent); }
.pill.live { color: var(--gain); } .pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gain); box-shadow: 0 0 8px var(--gain); }
.pill.off { color: var(--mute); }

/* the bots */
.bot { position: relative; display: inline-block; flex: none; }
.bot svg { width: 100%; height: 100%; overflow: visible; }
.bot .eyes { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
.bot.live .body { animation: bob 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@keyframes bob { 0%, 100% { transform: translateY(0) scale(1, 1); } 50% { transform: translateY(-3%) scale(1.02, .98); } }
@media (prefers-reduced-motion: reduce) { .bot .eyes, .bot.live .body { animation: none; } }

/* the brand mark in the nav and footer */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.brand .bot { width: 26px; height: 26px; }
.brand .brandLogo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.brand b { text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }

/* inputs */
.input, select.input, textarea.input { width: 100%; height: 42px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--raised); box-shadow: inset 0 0 0 1.5px var(--line); outline: none; transition: box-shadow .15s; }
textarea.input { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.input:focus { box-shadow: inset 0 0 0 1.5px var(--ember); }
label.f { display: grid; gap: 6px; font-size: 13px; color: var(--mute); font-weight: 500; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--raised2); padding: 10px 18px; border-radius: var(--pill); box-shadow: 0 10px 40px #000a, inset 0 0 0 1px var(--line); font-size: 14px; z-index: 200; transition: .25s var(--out); pointer-events: none; max-width: 90vw; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
