/* ═══════════════════════════════════════════════
   GeoStack — Design Tokens
   geostack.az
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800;900&family=DM+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ── Colors ── */
  --bg:      #05080F;
  --s1:      #0A0E1A;
  --s2:      #0F1629;
  --s3:      #141B2D;
  --s4:      #1A2540;
  --b1:      #1E2A45;
  --b2:      #2A3A5C;

  --t1:      #E2E8F0;
  --t2:      #94A3B8;
  --t3:      #4A5568;
  --t4:      #2D3A50;

  --cyan:    #00D9FF;
  --signal:  #00FF88;
  --stake:   #FF6B35;
  --prism:   #9D5CFF;
  --gold:    #FFD700;

  /* ── Fonts ── */
  --f-display: 'Syne', sans-serif;
  --f-body:    'DM Sans', sans-serif;
  --f-mono:    'JetBrains Mono', monospace;

  /* ── Spacing ── */
  --nav-h:  56px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* ── Transitions ── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
/* ═══════════════════════════════════════════════
   GeoStack — Base & Reset
═══════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--f-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grid overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,217,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--f-body); }
input, textarea, select { font-family: var(--f-body); }
img { max-width: 100%; display: block; }

/* Scrollbar */
::-webkit-scrollbar       { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--b2); border-radius: 4px; }

/* Selection */
::selection { background: rgba(0,217,255,0.2); color: var(--t1); }

/* Hide scrollbar utility */
.no-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.no-scroll::-webkit-scrollbar { display: none; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseSlow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.fade-up { animation: fadeUp 0.35s var(--ease) forwards; }
.pulse   { animation: pulseSlow 2.5s ease-in-out infinite; }

.s1 { animation-delay: 0.05s; opacity: 0; }
.s2 { animation-delay: 0.10s; opacity: 0; }
.s3 { animation-delay: 0.15s; opacity: 0; }
.s4 { animation-delay: 0.20s; opacity: 0; }
.s5 { animation-delay: 0.25s; opacity: 0; }
/* ── Nav dropdown ── */
.drop-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 12px; color: var(--t2); cursor: pointer; transition: all .15s;
}
.drop-item i { width: 16px; text-align: center; font-size: 12px; }
.drop-item:hover { background: var(--s4); color: var(--t1); }
#userDrop { display: none; }
#userDrop.open { display: block; animation: fadeUp .15s ease; }
.user-trigger {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 10px; background: var(--s3);
  border: 1px solid var(--b2); border-radius: 10px; cursor: pointer; transition: all .2s;
}
.user-trigger:hover { border-color: var(--cyan); }
/* ═══════════════════════════════════════════════
   GeoStack — Components
═══════════════════════════════════════════════ */

/* ── LAYOUT ──────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.z1 { position: relative; z-index: 1; }

/* ── BENTO CELL ──────────────────────────────── */
.bento {
  position: relative;
  background: var(--s2);
  border: 1px solid var(--b1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.bento:hover { border-color: var(--b2); }
.bento::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  background: radial-gradient(ellipse at top left, rgba(0,217,255,0.04), transparent 60%);
}
.bento:hover::before { opacity: 1; }

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  font-family: var(--f-body);
  font-weight: 600;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: scale(0.97); }

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(0,217,255,0.25);
}
.btn-primary:hover:not(:disabled) {
  opacity: 0.9;
  box-shadow: 0 0 36px rgba(0,217,255,0.45);
}

.btn-ghost {
  background: var(--s2);
  color: var(--t1);
  border: 1px solid var(--b2);
}
.btn-ghost:hover:not(:disabled) { background: var(--s3); border-color: var(--b2); }

.btn-signal {
  background: var(--signal);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0,255,136,0.2);
}
.btn-signal:hover:not(:disabled) { opacity: 0.9; }

.btn-stake {
  background: var(--stake);
  color: #fff;
  box-shadow: 0 0 20px rgba(255,107,53,0.2);
}
.btn-stake:hover:not(:disabled) { opacity: 0.9; }

.btn-prism {
  background: var(--prism);
  color: #fff;
  box-shadow: 0 0 20px rgba(157,92,255,0.2);
}
.btn-prism:hover:not(:disabled) { opacity: 0.9; }

.btn-danger {
  background: rgba(248,113,113,0.1);
  color: #f87171;
  border: 1px solid rgba(248,113,113,0.25);
}
.btn-danger:hover:not(:disabled) { background: rgba(248,113,113,0.2); }

/* Sizes */
.btn-xs  { font-size: 11px; padding: 5px 12px; }
.btn-sm  { font-size: 12px; padding: 7px 16px; }
.btn-md  { font-size: 13px; padding: 10px 22px; }
.btn-lg  { font-size: 14px; padding: 13px 28px; }
.btn-full { width: 100%; }

/* ── INPUT ────────────────────────────────────── */
.input {
  width: 100%;
  background: var(--s3);
  border: 1px solid var(--b1);
  border-radius: 10px;
  color: var(--t1);
  font-family: var(--f-body);
  font-size: 13px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.input::placeholder { color: var(--t3); }
.input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,217,255,0.1); }
.input:hover:not(:focus) { border-color: var(--b2); }

.textarea { resize: vertical; min-height: 80px; line-height: 1.6; }

.input-label {
  display: block;
  font-size: 10px;
  font-family: var(--f-mono);
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

/* ── BADGE ────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-family: var(--f-mono);
  font-weight: 500;
  border: 1px solid;
}
.badge-cyan    { color: var(--cyan);   background: rgba(0,217,255,0.08);  border-color: rgba(0,217,255,0.2); }
.badge-signal  { color: var(--signal); background: rgba(0,255,136,0.08);  border-color: rgba(0,255,136,0.2); }
.badge-stake   { color: var(--stake);  background: rgba(255,107,53,0.08); border-color: rgba(255,107,53,0.2);}
.badge-prism   { color: var(--prism);  background: rgba(157,92,255,0.08); border-color: rgba(157,92,255,0.2);}
.badge-gold    { color: var(--gold);   background: rgba(255,215,0,0.08);  border-color: rgba(255,215,0,0.2); }
.badge-muted   { color: var(--t2);     background: var(--s3);              border-color: var(--b1); }
.badge-red     { color: #f87171;       background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.2);}

/* ── TAG ──────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-family: var(--f-mono);
  color: var(--cyan);
  background: rgba(0,217,255,0.07);
  border: 1px solid rgba(0,217,255,0.15);
  cursor: pointer;
  transition: all 0.15s;
}
.tag:hover { background: rgba(0,217,255,0.12); border-color: rgba(0,217,255,0.3); }
.tag.active { background: rgba(157,92,255,0.12); border-color: rgba(157,92,255,0.35); color: var(--prism); }

/* ── CODE BLOCK ───────────────────────────────── */
.code-block { border-radius: 10px; border: 1px solid var(--b2); overflow: hidden; }
.code-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--s3);
  border-bottom: 1px solid var(--b1);
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-lang { font-size: 10px; font-family: var(--f-mono); color: var(--t3); margin-left: 4px; }
.code-copy { margin-left: auto; font-size: 10px; font-family: var(--f-mono); color: var(--t3); background: none; border: none; cursor: pointer; transition: color 0.15s; }
.code-copy:hover { color: var(--t2); }
.code-body { background: #020408; padding: 14px; overflow-x: auto; }
.code-body pre { font-family: var(--f-mono); font-size: 12px; color: var(--signal); line-height: 1.8; margin: 0; }
.code-body .kw { color: var(--cyan); }
.code-body .fn { color: var(--prism); }
.code-body .st { color: var(--signal); }
.code-body .cm { color: var(--t3); font-style: italic; }
.code-body .nm { color: var(--stake); }

/* ── TOPNAV ───────────────────────────────────── */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 6px;
  background: rgba(5,8,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--b1);
}
.nav-logo {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 17px;
  color: var(--cyan);
  letter-spacing: -0.5px;
  margin-right: 8px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--t2); }
.nav-sep { width: 1px; height: 20px; background: var(--b1); margin: 0 4px; flex-shrink: 0; }

.nav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
  color: var(--t3);
  background: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.nav-tab:hover { color: var(--t2); background: var(--s2); }
.nav-tab.active-talk   { color: var(--cyan);   background: rgba(0,217,255,0.08);  border-color: rgba(0,217,255,0.25); }
.nav-tab.active-blog   { color: var(--prism);  background: rgba(157,92,255,0.08); border-color: rgba(157,92,255,0.25);}
.nav-tab.active-work   { color: var(--signal); background: rgba(0,255,136,0.08);  border-color: rgba(0,255,136,0.25); }
.nav-tab.active-rent   { color: var(--stake);  background: rgba(255,107,53,0.08); border-color: rgba(255,107,53,0.25);}
.nav-tab.active-about  { color: var(--gold);   background: rgba(255,215,0,0.08);  border-color: rgba(255,215,0,0.25); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* ── USER MENU ────────────────────────────────── */
.user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--s3);
  border: 1px solid var(--b2);
  cursor: pointer;
  transition: all 0.2s;
}
.user-trigger:hover { border-color: var(--b2); background: var(--s4); }
.user-avatar {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--prism));
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--bg);
  flex-shrink: 0;
}
.user-name  { font-size: 12px; font-weight: 600; color: var(--t1); }
.user-level { font-size: 10px; font-family: var(--f-mono); color: var(--cyan); }
.user-caret { font-size: 9px; color: var(--t3); }

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--s3);
  border: 1px solid var(--b2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  display: none;
  z-index: 200;
  animation: fadeUp 0.15s var(--ease);
}
.user-dropdown.open { display: block; }

.ud-head  { padding: 14px; border-bottom: 1px solid var(--b1); }
.ud-uname { font-size: 13px; font-weight: 600; color: var(--t1); }
.ud-handle{ font-size: 11px; font-family: var(--f-mono); color: var(--t3); }
.ud-xp-wrap{ height: 3px; background: var(--b1); border-radius: 2px; margin: 8px 0 4px; overflow: hidden; }
.ud-xp-fill{ height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--prism)); }
.ud-xp-lbl  { font-size: 10px; font-family: var(--f-mono); color: var(--t3); }

.ud-section  { padding: 6px 0; }
.ud-section-title {
  font-size: 9px; font-family: var(--f-mono); color: var(--t3);
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 14px;
}
.ud-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; font-size: 12px; color: var(--t2);
  transition: all 0.15s; cursor: pointer; border: none; background: none;
  width: 100%; text-align: left;
}
.ud-item:hover { background: var(--s4); color: var(--t1); }
.ud-item.c-cyan   { color: var(--cyan); }
.ud-item.c-signal { color: var(--signal); }
.ud-item.c-stake  { color: var(--stake); }
.ud-item.c-prism  { color: var(--prism); }
.ud-item.c-red    { color: #f87171; }
.ud-item.c-red:hover { background: rgba(248,113,113,0.08); }
.ud-divider { height: 1px; background: var(--b1); margin: 2px 0; }
.ud-icon { width: 18px; text-align: center; }

/* ── NAV TABS WRAPPER (flex-transparent) ──────── */
.nav-tabs { display: contents; }

/* ── USER AVATAR SMALL ────────────────────────── */
.user-avatar-sm {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--cyan), var(--prism));
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--bg);
  flex-shrink: 0;
}

/* ── DROPDOWN (alias for user-dropdown) ───────── */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--s3);
  border: 1px solid var(--b2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  z-index: 200;
  animation: fadeUp .15s var(--ease);
}
.dropdown-header {
  padding: 14px;
  border-bottom: 1px solid var(--b1);
}
.dropdown-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; font-size: 12px; color: var(--t2);
  cursor: pointer; border: none; background: none;
  width: 100%; text-align: left; transition: all .15s;
}
.dropdown-item:hover { background: var(--s4); color: var(--t1); }
.dropdown-item.danger { color: #f87171; }
.dropdown-item.danger:hover { background: rgba(248,113,113,.08); }
.divider { height: 1px; background: var(--b1); margin: 2px 0; }

/* ── MODAL BOX ────────────────────────────────── */
.modal-box {
  background: var(--s2);
  border: 1px solid var(--b2);
  border-radius: 20px;
  width: 100%;
  overflow: hidden;
}

/* ── PAGE TOP (padding for fixed nav) ─────────── */
.page-top { padding-top: var(--nav-h); }

/* ── WRAP ─────────────────────────────────────── */
.wrap { min-height: 100vh; }

/* ── MODAL OVERLAY ────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
  animation: fadeUp 0.2s var(--ease);
}
.modal {
  background: var(--s2);
  border: 1px solid var(--b2);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--s3);
  border: 1px solid var(--b1);
  color: var(--t2);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.modal-close:hover { background: var(--s4); color: var(--t1); }

/* ── SECTION TITLE ────────────────────────────── */
.section-label {
  font-size: 10px;
  font-family: var(--f-mono);
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

/* ── GLOW LINES ───────────────────────────────── */
.glow-top-cyan   { box-shadow: inset 0 2px 0 var(--cyan); }
.glow-top-signal { box-shadow: inset 0 2px 0 var(--signal); }
.glow-top-stake  { box-shadow: inset 0 2px 0 var(--stake); }
.glow-top-prism  { box-shadow: inset 0 2px 0 var(--prism); }
.glow-top-gold   { box-shadow: inset 0 2px 0 var(--gold); }

/* ── GRADIENT LINE TOP ────────────────────────── */
.grad-line-top::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--stake), transparent);
}

/* ── AVATAR ───────────────────────────────────── */
.avatar {
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--bg);
  flex-shrink: 0; position: relative;
}
.av-lv {
  position: absolute;
  bottom: -3px; right: -3px;
  background: var(--s3);
  border: 1px solid var(--b2);
  border-radius: 4px;
  font-size: 9px; font-family: var(--f-mono);
  color: var(--cyan);
  padding: 0 3px; line-height: 14px;
}

/* ── FILE VIEWER ──────────────────────────────── */
.file-viewer { border-radius: 11px; border: 1px solid var(--b2); overflow: hidden; }
.file-head {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: var(--s3);
  border-bottom: 1px solid var(--b1);
  font-size: 10px; font-family: var(--f-mono);
}
.fh-dot { width: 9px; height: 9px; border-radius: 50%; }
.fh-name { color: var(--t2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fh-type {
  font-size: 9px; padding: 1px 7px; border-radius: 5px;
  border: 1px solid;
}
.ft-geojson { color: var(--cyan);   background: rgba(0,217,255,0.08);  border-color: rgba(0,217,255,0.2); }
.ft-dxf     { color: var(--gold);   background: rgba(255,215,0,0.08);  border-color: rgba(255,215,0,0.2); }
.ft-kml     { color: var(--signal); background: rgba(0,255,136,0.08);  border-color: rgba(0,255,136,0.2); }
.ft-gpkg    { color: var(--stake);  background: rgba(255,107,53,0.08); border-color: rgba(255,107,53,0.2);}
.file-map   { height: 190px; background: #080C18; overflow: hidden; position: relative; }
.file-map svg { width: 100%; height: 100%; display: block; }

/* ── POST CARD ────────────────────────────────── */
.post-card { margin-bottom: 12px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-text { font-size: 13px; color: var(--t2); line-height: 1.65; margin-bottom: 12px; }
.post-text .mention { color: var(--cyan); font-weight: 500; cursor: pointer; }
.post-text .mention:hover { text-decoration: underline; }
.post-text .hashtag { color: var(--prism); font-weight: 500; cursor: pointer; }
.post-text .hashtag:hover { text-decoration: underline; }
.post-text .math { color: var(--gold); font-family: var(--f-mono); font-size: 12px; background: rgba(255,215,0,0.06); padding: 1px 5px; border-radius: 4px; }
.post-actions {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 16px;
  border-top: 1px solid var(--b1);
}
.act-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--t3);
  background: none; border: none;
  transition: color 0.15s; cursor: pointer;
}
.act-btn:hover { color: var(--t2); }
.act-btn.liked { color: #f87171; }

/* ── FILTER BAR ───────────────────────────────── */
.filter-bar {
  display: flex; gap: 8px;
  overflow-x: auto; padding: 12px 0;
  border-bottom: 1px solid var(--b1);
}
.filter-btn {
  flex-shrink: 0;
  padding: 5px 14px; border-radius: 20px;
  font-size: 11px; font-family: var(--f-mono);
  border: 1px solid var(--b2);
  background: none; color: var(--t3);
  transition: all 0.2s; cursor: pointer;
}
.filter-btn:hover { color: var(--t2); }
.filter-btn.active { background: rgba(255,107,53,0.1); border-color: rgba(255,107,53,0.35); color: var(--stake); }
.filter-btn.active-cyan { background: rgba(0,217,255,0.08); border-color: rgba(0,217,255,0.3); color: var(--cyan); }

/* ── EQUIP CARD ───────────────────────────────── */
.equip-icon-box {
  height: 110px; display: flex; align-items: center; justify-content: center;
  font-size: 44px; border-bottom: 1px solid var(--b1);
  position: relative;
}
.equip-type { font-size: 10px; font-family: var(--f-mono); padding: 2px 7px; border-radius: 5px; border: 1px solid; display: inline-block; margin-bottom: 6px; }
.equip-name { font-size: 13px; font-weight: 600; color: var(--t1); margin-bottom: 3px; line-height: 1.35; }
.equip-loc  { font-size: 10px; color: var(--t3); font-family: var(--f-mono); margin-bottom: 8px; }
.equip-attrs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.equip-attr { font-size: 10px; background: var(--s3); border: 1px solid var(--b1); border-radius: 4px; padding: 2px 7px; color: var(--t2); font-family: var(--f-mono); }
.equip-price { display: flex; align-items: flex-end; justify-content: space-between; }
.price-main { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--t1); }
.price-unit { font-size: 11px; color: var(--t3); }
.price-month{ font-size: 10px; color: var(--t3); font-family: var(--f-mono); }

/* ── JOB CARD ────────────────────────────────── */
.job-card { padding: 16px; cursor: pointer; transition: all 0.2s; }
.job-card:hover { border-color: var(--b2); transform: translateY(-1px); }
.job-card.corp { border-color: rgba(0,255,136,.2); box-shadow: inset 0 2px 0 var(--signal); }
.job-card.feat { border-color: rgba(255,107,53,.2); box-shadow: inset 0 2px 0 var(--stake); }
/* class aliases used in work.html */
.job-title  { font-family: var(--f-display); font-size: 15px; font-weight: 800; color: var(--t1); margin-bottom: 3px; line-height: 1.3; }
.job-name   { font-family: var(--f-display); font-size: 14px; font-weight: 700; color: var(--t1); margin-bottom: 2px; }
.job-company{ font-size: 12px; color: var(--t2); margin-bottom: 2px; }
.job-co     { font-size: 12px; color: var(--t2); }
.job-domain { font-size: 11px; color: var(--signal); font-family: var(--f-mono); margin-bottom: 10px; }
.job-dom    { font-size: 10px; color: var(--signal); font-family: var(--f-mono); }
.job-rate   { font-family: var(--f-display); font-size: 18px; font-weight: 800; color: var(--t1); text-align: right; white-space: nowrap; flex-shrink: 0; }
.job-rate span { font-size: 11px; color: var(--t3); font-weight: 400; }
.job-runit  { font-size: 10px; color: var(--t3); font-weight: 400; }
.job-skills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.job-skill  { font-size: 10px; color: var(--t2); background: var(--s3); border: 1px solid var(--b1); border-radius: 5px; padding: 3px 9px; font-family: var(--f-mono); }
.job-desc   { font-size: 12px; color: var(--t3); line-height: 1.55; margin-bottom: 10px; }
.job-footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job-foot   { display: flex; align-items: center; gap: 8px; }
.verified   { font-size: 11px; color: var(--signal); font-family: var(--f-mono); display: flex; align-items: center; gap: 4px; }
.urgent     { font-size: 11px; color: #F87171; font-family: var(--f-mono); display: flex; align-items: center; gap: 4px; }

/* ── SIDEBAR ──────────────────────────────────── */
.sidebar { width: 220px; flex-shrink: 0; padding: 16px 0; }
.sidebar-group-title { font-size: 9px; font-family: var(--f-mono); color: var(--t3); text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px; margin-bottom: 4px; margin-top: 12px; }
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 10px;
  font-size: 13px; color: var(--t3);
  transition: all 0.2s; cursor: pointer;
  border: 1px solid transparent; margin: 1px 0;
  text-decoration: none;
}
.sidebar-item:hover { color: var(--t1); background: var(--s2); }
.sidebar-item.active { color: var(--cyan); background: rgba(0,217,255,0.08); border-color: rgba(0,217,255,0.2); }
.sidebar-icon { width: 18px; text-align: center; font-size: 15px; }

/* ── WIDGET ───────────────────────────────────── */
.widget { margin-bottom: 12px; }
.widget .section-label { padding: 0 0 10px 0; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat-cell { background: var(--s3); border-radius: 10px; padding: 10px; text-align: center; }
.stat-val { font-family: var(--f-display); font-size: 18px; font-weight: 700; }
.stat-lbl { font-size: 9px; color: var(--t3); font-family: var(--f-mono); margin-top: 2px; }

.leader-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--b1); }
.leader-row:last-child { border: none; }
.leader-rank { font-family: var(--f-mono); font-size: 11px; color: var(--t3); width: 16px; }
.leader-rank.gold   { color: var(--gold); }
.leader-rank.silver { color: #94A3B8; }
.leader-rank.bronze { color: #CD7F32; }
.leader-name { font-size: 12px; font-weight: 500; color: var(--t1); flex: 1; }
.leader-xp   { font-family: var(--f-mono); font-size: 11px; color: var(--cyan); }

/* ── XP BAR ───────────────────────────────────── */
.xp-bar { height: 4px; background: var(--b1); border-radius: 2px; overflow: hidden; }
.xp-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--prism)); transition: width 0.6s var(--ease); }

/* ── PAGE HEADER ──────────────────────────────── */
.page-header {
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--b1);
  margin-bottom: 20px;
}
.page-header h1 { font-family: var(--f-display); font-size: 26px; font-weight: 900; margin-bottom: 4px; }

/* ── TAB BAR ──────────────────────────────────── */
.tab-bar { display: flex; border-bottom: 1px solid var(--b1); margin-bottom: 16px; overflow-x: auto; }
.tab-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 13px; font-weight: 500;
  color: var(--t3); background: none; border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s; cursor: pointer;
}
.tab-btn:hover { color: var(--t1); }
.tab-btn.active { color: var(--cyan); border-bottom-color: var(--cyan); }

/* ── MODE TABS ────────────────────────────────── */
.mode-tabs { display: inline-flex; border: 1px solid var(--b2); border-radius: 10px; overflow: hidden; }
.mode-tab {
  padding: 7px 16px; font-size: 11px; font-family: var(--f-mono);
  background: none; border: none; color: var(--t3);
  transition: all 0.2s; cursor: pointer;
}
.mode-tab.active { background: rgba(0,255,136,0.1); color: var(--signal); }
.mode-tab.active-stake { background: rgba(255,107,53,0.1); color: var(--stake); }

/* ── TOPIC PILLS ──────────────────────────────── */
.topic-bar { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 14px; }
.topic-pill {
  flex-shrink: 0;
  padding: 4px 13px; border-radius: 20px;
  font-size: 11px; font-family: var(--f-mono);
  border: 1px solid var(--b1); background: var(--s2); color: var(--t3);
  cursor: pointer; transition: all 0.2s;
}
.topic-pill:hover { color: var(--t2); }
.topic-pill.active { background: rgba(0,217,255,0.08); border-color: rgba(0,217,255,0.25); color: var(--cyan); }

/* ── CREATE POST ──────────────────────────────── */
.create-post { margin-bottom: 14px; }
.type-pills { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.type-pill {
  padding: 4px 12px; border-radius: 7px;
  font-size: 11px; border: 1px solid transparent;
  background: none; color: var(--t3);
  transition: all 0.15s; cursor: pointer;
}
.type-pill:hover { background: var(--s3); color: var(--t2); }
.type-pill.active { background: var(--s3); border-color: var(--b2); color: var(--cyan); }
.post-input {
  width: 100%; background: transparent; border: none; outline: none;
  color: var(--t2); font-family: var(--f-body); font-size: 13px;
  resize: none; min-height: 70px; line-height: 1.6;
}
.post-input::placeholder { color: var(--t3); }
.post-toolbar {
  display: flex; align-items: center; gap: 5px;
  padding-top: 10px; border-top: 1px solid var(--b1);
}
.tool-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 7px;
  font-size: 11px; font-family: var(--f-mono);
  background: none; border: none; color: var(--t3);
  transition: all 0.15s; cursor: pointer;
}
.tool-btn:hover { background: var(--s3); color: var(--t2); }

/* ── ARTICLE CARD ─────────────────────────────── */
.article-card { cursor: pointer; transition: all 0.2s; }
.article-card:hover { transform: translateY(-2px); border-color: var(--b2); }
.article-img { height: 140px; overflow: hidden; }
.article-img svg, .article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 14px; }
.article-cat { font-size: 10px; font-family: var(--f-mono); padding: 2px 8px; border-radius: 5px; border: 1px solid; display: inline-block; margin-bottom: 7px; }
.article-title { font-family: var(--f-display); font-size: 14px; font-weight: 700; color: var(--t1); line-height: 1.4; margin-bottom: 7px; }
.article-meta { font-size: 10px; color: var(--t3); display: flex; gap: 10px; font-family: var(--f-mono); }

/* ── ABOUT SECTION ────────────────────────────── */
.about-card { padding: 18px; }
.about-card .icon { font-size: 24px; margin-bottom: 10px; }
.about-card h3 { font-family: var(--f-display); font-size: 14px; font-weight: 700; color: var(--t1); margin-bottom: 4px; }
.about-card p  { font-size: 12px; color: var(--t3); line-height: 1.55; }

.team-card { padding: 18px; text-align: center; }
.team-av { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: var(--bg); }
.team-name { font-size: 13px; font-weight: 600; color: var(--t1); margin-bottom: 2px; }
.team-role { font-size: 11px; color: var(--t3); font-family: var(--f-mono); }

/* ── ADMIN ────────────────────────────────────── */
.admin-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--s1);
  border-right: 1px solid var(--b1);
  display: flex; flex-direction: column;
  min-height: 100vh;
}
.admin-logo { height: 56px; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--b1); }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 10px; margin: 1px 8px;
  font-size: 13px; color: var(--t3); cursor: pointer;
  border: none; background: none; width: calc(100% - 16px);
  text-align: left; transition: all 0.2s;
}
.admin-nav-item:hover { color: var(--t1); background: var(--s2); }
.admin-nav-item.active { color: var(--cyan); background: rgba(0,217,255,0.08); }

.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th {
  padding: 10px 14px; text-align: left;
  font-size: 9px; font-family: var(--f-mono); color: var(--t3);
  text-transform: uppercase; letter-spacing: 0.08em;
  border-bottom: 1px solid var(--b1);
}
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--b1); }
.data-table tr:last-child td { border: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── GRID HELPERS ─────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.grid-equip { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.grid-job   { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }

/* ── FLEX HELPERS ─────────────────────────────── */
.flex     { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.ml-auto { margin-left: auto; }
.flex-1  { flex: 1; min-width: 0; }

/* ── SPACING ──────────────────────────────────── */
.p-3  { padding: 12px; }
.p-4  { padding: 16px; }
.p-5  { padding: 20px; }
.p-6  { padding: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }

/* ── TYPOGRAPHY ───────────────────────────────── */
.font-display { font-family: var(--f-display); }
.font-mono    { font-family: var(--f-mono); }
.text-xs  { font-size: 11px; }
.text-sm  { font-size: 13px; }
.text-base{ font-size: 15px; }
.text-lg  { font-size: 18px; }
.text-xl  { font-size: 22px; }
.text-2xl { font-size: 26px; }
.text-cyan   { color: var(--cyan); }
.text-signal { color: var(--signal); }
.text-stake  { color: var(--stake); }
.text-prism  { color: var(--prism); }
.text-gold   { color: var(--gold); }
.text-t1 { color: var(--t1); }
.text-t2 { color: var(--t2); }
.text-t3 { color: var(--t3); }
.fw-bold { font-weight: 700; }
.fw-black{ font-weight: 900; }
.tracking-wide { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.line-clamp-1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .hide-lg { display: none !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hide-md { display: none !important; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-auto { grid-template-columns: 1fr; }
  .grid-equip { grid-template-columns: repeat(2, 1fr); }
  .grid-job   { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .topnav { padding: 0 12px; }
  .hide-sm { display: none !important; }
  .grid-equip { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}
/* ── Feed Layout ── */
.feed-layout {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
  gap: 18px;
}
.feed-left  { width: 224px; flex-shrink: 0; position: sticky; top: calc(var(--nav-h) + 10px); height: fit-content; }
.feed-main  { flex: 1; min-width: 0; }
.feed-right { width: 268px; flex-shrink: 0; position: sticky; top: calc(var(--nav-h) + 10px); height: fit-content; }

/* ── Sidebar ── */
.side-link {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 12px; border-radius: 10px;
  font-size: 13px; color: var(--t2);
  transition: all .15s; margin-bottom: 2px;
}
.side-link i { width: 16px; text-align: center; font-size: 12px; }
.side-link:hover { background: var(--s3); color: var(--t1); }
.side-link.active { background: rgba(0,217,255,.08); color: var(--cyan); }

.trending-tag {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 12px; border-radius: 8px;
  transition: background .15s; cursor: pointer;
}
.trending-tag:hover { background: var(--s3); }

/* ── Topic bar ── */
.topic-bar {
  display: flex; gap: 6px;
  overflow-x: auto; padding: 0 0 14px;
  border-bottom: 1px solid var(--b1);
  margin-bottom: 14px;
}
.topic-pill {
  flex-shrink: 0; padding: 5px 14px;
  border-radius: 20px; font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid var(--b1); background: var(--s2);
  color: var(--t3); cursor: pointer; transition: all .2s;
}
.topic-pill:hover { color: var(--t2); }
.topic-pill.active { background: rgba(0,217,255,.08); border-color: rgba(0,217,255,.25); color: var(--cyan); }

/* ── Create post ── */
.create-box { margin-bottom: 14px; }

.post-type-pills { display: flex; gap: 5px; margin-bottom: 10px; flex-wrap: wrap; }
.type-pill {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 8px; font-size: 11px;
  background: none; border: 1px solid transparent; color: var(--t3);
  cursor: pointer; transition: all .15s;
}
.type-pill:hover { background: var(--s3); color: var(--t2); }
.type-pill.active { background: var(--s3); border-color: var(--b2); color: var(--cyan); }

.create-textarea {
  background: transparent; border: none; outline: none;
  color: var(--t2); font-size: 13px; width: 100%;
  min-height: 72px; resize: none; line-height: 1.6;
  padding: 0; border-radius: 0;
}
.create-textarea::placeholder { color: var(--t3); }
.create-textarea:focus { box-shadow: none; }

/* ── Mention dropdown ── */
.mention-drop {
  position: relative; background: var(--s3);
  border: 1px solid var(--b2); border-radius: 10px;
  overflow: hidden; display: none; margin-top: 4px; z-index: 10;
}
.mention-drop.show { display: block; animation: fadeUp .15s ease; }
.mention-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; cursor: pointer; font-size: 12px;
  transition: background .15s;
}
.mention-item:hover { background: var(--s4); }

/* ── Math bar ── */
.math-bar { padding: 10px 0 6px; border-top: 1px solid var(--b1); margin-top: 6px; }
.math-shortcuts { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.math-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--s3); border: 1px solid var(--b1);
  font-family: 'JetBrains Mono', monospace; font-size: 14px;
  color: var(--t2); cursor: pointer; transition: all .15s;
}
.math-btn:hover { background: rgba(157,92,255,.15); border-color: rgba(157,92,255,.4); color: var(--prism); }

/* ── Tag selectors ── */
.tag-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.tag-sel-btn {
  padding: 3px 10px; border-radius: 20px; font-size: 10px;
  font-family: 'JetBrains Mono', monospace; cursor: pointer;
  border: 1px solid var(--b1); background: none; color: var(--t3);
  transition: all .15s;
}
.tag-sel-btn:hover { border-color: var(--b2); color: var(--t2); }
.tag-sel-btn.selected { border-color: rgba(157,92,255,.45); background: rgba(157,92,255,.1); color: var(--prism); }

/* ── Post toolbar ── */
.post-toolbar {
  display: flex; align-items: center; gap: 4px;
  padding-top: 10px; border-top: 1px solid var(--b1);
  flex-wrap: nowrap;
}
.tool-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 8px;
  font-size: 11px; font-family: 'JetBrains Mono', monospace;
  background: none; border: none; color: var(--t3);
  cursor: pointer; transition: all .15s;
}
.tool-btn:hover { background: var(--s3); color: var(--t2); }
.tool-btn.active { background: var(--s3); color: var(--cyan); }

/* ── Post card ── */
.post-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.post-text {
  font-size: 13px; color: var(--t2); line-height: 1.65; margin-bottom: 12px;
}
.mention { color: var(--cyan); font-weight: 500; cursor: pointer; }
.mention:hover { text-decoration: underline; }
.hashtag { color: var(--prism); font-weight: 500; cursor: pointer; }
.hashtag:hover { text-decoration: underline; }
.math-inline {
  color: var(--gold); font-family: 'JetBrains Mono', monospace;
  font-size: 12px; background: rgba(255,215,0,.07);
  padding: 1px 5px; border-radius: 4px;
}

.post-actions {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 16px; border-top: 1px solid var(--b1);
}
.act-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--t3);
  background: none; border: none; cursor: pointer; transition: color .15s;
}
.act-btn:hover { color: var(--t2); }
.act-btn.liked { color: #F87171; }

/* ── Leaderboard ── */
.leader-row {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 0; border-bottom: 1px solid var(--b1);
}
.leader-row:last-child { border: none; }
.rank { font-family: 'JetBrains Mono', monospace; font-size: 11px; width: 16px; text-align: center; }

/* ── Mini jobs ── */
.mini-job {
  background: var(--s3); border-radius: 9px; padding: 9px 10px;
  margin-bottom: 6px; cursor: pointer; transition: background .15s;
}
.mini-job:hover { background: var(--s4); }

/* ── User trigger (shared) ── */
.user-trigger {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 10px; background: var(--s3);
  border: 1px solid var(--b2); border-radius: 10px; cursor: pointer;
  transition: all .2s;
}
.user-trigger:hover { border-color: var(--cyan); }

@media (max-width: 1100px) { .feed-right { display: none; } }
@media (max-width: 840px)  { .feed-left  { display: none; } }
/* ── About Page ── */
.about-hero {
  text-align: center;
  padding: 56px 20px 40px;
  border-bottom: 1px solid var(--b1);
  background: radial-gradient(ellipse 65% 45% at 50% 0%, rgba(255,215,0,.06), transparent 60%);
  position: relative; z-index: 1;
}
.about-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 14px; border-radius: 20px;
  background: rgba(255,215,0,.07); border: 1px solid rgba(255,215,0,.18);
  font-size: 11px; font-family: 'JetBrains Mono', monospace; color: var(--gold);
  margin-bottom: 20px;
}
.dot-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal); animation: pulse 2s infinite;
}
.about-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900; letter-spacing: -1.5px; margin-bottom: 12px;
}
.about-subtitle {
  font-size: 15px; color: var(--t2); max-width: 540px;
  margin: 0 auto; line-height: 1.7;
}

.about-body { padding: 28px 20px 20px; }

.about-section { margin-bottom: 44px; }

.about-h2 {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--t1); margin-bottom: 18px;
}

/* Mission */
.mission-box { padding: 24px 28px; position: relative; overflow: hidden; }
.mission-text {
  font-size: 15px; color: var(--t2);
  line-height: 1.85; font-style: italic;
}

/* Service cards */
.about-service-card {}
.sc-icon {
  font-size: 22px; color: var(--gold);
  margin-bottom: 10px;
}
.sc-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--t1); margin-bottom: 5px;
}
.sc-desc { font-size: 12px; color: var(--t3); line-height: 1.55; }

/* Ecosystem cards */
.eco-card {
  background: var(--s2); border: 1px solid var(--b1);
  border-radius: 14px; padding: 22px 16px;
  text-align: center; display: block;
  transition: all .25s;
}
.eco-card:hover {
  border-color: rgba(255,255,255,.15);
  transform: translateY(-2px);
}
.eco-icon {
  font-size: 28px; color: var(--ec, var(--cyan));
  display: block; margin-bottom: 10px;
}

/* Team */
.team-card { text-align: center; }
.team-av {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: #05080F;
  margin: 0 auto 10px;
}
.team-name { font-size: 13px; font-weight: 600; color: var(--t1); margin-bottom: 2px; }
.team-role { font-size: 11px; color: var(--t3); font-family: 'JetBrains Mono', monospace; }

/* Contact */
.contact-card { padding: 0; overflow: hidden; }
.contact-row-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-bottom: 1px solid var(--b1);
}
.contact-row-item:last-of-type { border-bottom: none; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--s3); border: 1px solid var(--b1);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--gold); flex-shrink: 0;
}
.contact-val { font-size: 14px; font-weight: 500; color: var(--t1); display: block; }
.contact-val.text-cyan { color: var(--cyan); }
.contact-val.text-cyan:hover { text-decoration: underline; }
.contact-lbl { font-size: 11px; color: var(--t3); margin-top: 1px; }
.contact-footer {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 20px;
  background: rgba(10,14,26,.5);
  border-top: 1px solid var(--b1);
  font-size: 12px; color: var(--t3);
}
.contact-footer .dot-green {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal); animation: pulse 2s infinite;
}

/* Footer */
.about-footer {
  text-align: center; padding: 24px;
  border-top: 1px solid var(--b1);
  font-size: 13px; color: var(--t3);
  position: relative; z-index: 1;
}

@media (max-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ── TWO-COLUMN PAGE LAYOUT ───────────────────── */
.page-layout {
  display: flex;
  padding: 12px 20px;
  gap: 16px;
}
.sidebar-left {
  width: 196px; flex-shrink: 0;
  position: sticky; top: calc(var(--nav-h) + 10px);
  height: fit-content;
}
.main-col { flex: 1; min-width: 0; }
.sidebar-right { display: none; }

.sidebar-user-card {
  background: var(--s2); border: 1px solid var(--b1);
  border-radius: 14px; padding: 14px; margin-bottom: 8px;
}
.sidebar-section-title {
  font-size: 9px; color: var(--t3); text-transform: uppercase;
  letter-spacing: .1em; font-family: var(--f-mono);
  padding: 8px 10px 4px;
}
.sidebar-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 9px;
  font-size: 12px; color: var(--t2);
  transition: all .15s; margin-bottom: 1px;
}
.sidebar-nav-item:hover { background: var(--s3); color: var(--t1); }
.sidebar-nav-item.active { background: rgba(0,217,255,.08); color: var(--cyan); }

.card-p { padding: 15px; }

.widget { margin-bottom: 12px; }
.widget-title {
  font-size: 9px; color: var(--t3); text-transform: uppercase;
  letter-spacing: .1em; font-family: var(--f-mono); margin-bottom: 11px;
}

@media (max-width: 768px) {
  .page-layout { padding: 8px 12px; gap: 0; }
  .sidebar-left { display: none; }
}

/* ── PILL / TAG SELECTOR ──────────────────────── */
.pill-bar { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; flex-wrap: wrap; scrollbar-width: none; }
.pill-bar::-webkit-scrollbar { display: none; }
.pill {
  padding: 4px 13px; border-radius: 20px; font-size: 11px;
  font-family: var(--f-mono); border: 1px solid var(--b1);
  background: var(--s2); color: var(--t3); cursor: pointer;
  transition: all .2s; flex-shrink: 0; white-space: nowrap;
}
.pill:hover { color: var(--t2); border-color: var(--b2); }
.pill.active { background: rgba(0,217,255,.08); border-color: rgba(0,217,255,.25); color: var(--cyan); }

/* ── TAB ITEM (alias for tab-btn) ─────────────── */
.tab-item {
  flex-shrink: 0; padding: 9px 14px;
  font-size: 12px; font-weight: 500;
  color: var(--t3); background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all .2s; cursor: pointer; white-space: nowrap;
}
.tab-item:hover { color: var(--t2); }
.tab-item.active { color: var(--cyan); border-bottom-color: var(--cyan); }

/* ── POST TEXTAREA ────────────────────────────── */
.post-textarea {
  width: 100%; background: transparent; border: none; outline: none;
  color: var(--t2); font-family: var(--f-body); font-size: 13px;
  resize: none; min-height: 72px; line-height: 1.6; padding: 0;
}
.post-textarea::placeholder { color: var(--t3); }

/* ── FILE VIEWER ALIASES ──────────────────────── */
.file-header {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; background: var(--s3);
  border-bottom: 1px solid var(--b1);
  font-size: 10px; font-family: var(--f-mono);
}
.file-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.file-name { color: var(--t2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-type { font-size: 9px; padding: 1px 7px; border-radius: 5px; border: 1px solid; }
.map-canvas { height: 175px; background: #080C18; overflow: hidden; }
.map-canvas svg { width: 100%; height: 100%; display: block; }

/* ── CODE HEADER ALIAS ────────────────────────── */
.code-header {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; background: var(--s3);
  border-bottom: 1px solid var(--b1);
}
.code-lang { font-size: 10px; font-family: var(--f-mono); color: var(--t3); margin-left: 4px; }

/* ── ACTION BUTTON (alias for act-btn) ────────── */
.action-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--t3);
  background: none; border: none; cursor: pointer; transition: color .15s;
}
.action-btn:hover { color: var(--t2); }
.action-btn.liked { color: #F87171; }
.like-btn.liked { color: #F87171; }

/* ── Hide XP / level system globally ────────── */
#userLevel   { display: none !important; }
.xp-bar      { display: none !important; }
.lvl         { display: none !important; }
