/* PositiveBacklink Mega Menu v1 */
.pbmega-item { position: relative; }
.pbmega-trigger, .pbmega-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 6px;
  font-size: 14px; color: #d4d4d4; background: transparent; border: 0;
  cursor: pointer; transition: all .15s ease;
  text-decoration: none;
}
.pbmega-trigger:hover, .pbmega-link:hover { color: #fff; background: rgba(255,255,255,.04); }
.pbmega-trigger[aria-expanded="true"] { color: #fff; background: rgba(62,207,142,.08); }
.pbmega-panel {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 560px; max-width: 720px;
  background: #1c1c1c; border: 1px solid #2e2e2e; border-radius: 12px;
  padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(62,207,142,.08);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.pbmega-panel.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.pbmega-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
}
.pbmega-card {
  display: flex; gap: 12px; padding: 12px;
  border-radius: 8px; text-decoration: none; color: inherit;
  transition: background .12s ease;
}
.pbmega-card:hover { background: rgba(62,207,142,.06); }
.pbmega-icon {
  flex-shrink: 0; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(62,207,142,.1); border-radius: 8px;
  color: #3ECF8E; font-size: 14px; font-weight: 600; font-family: ui-monospace, monospace;
}
.pbmega-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.pbmega-desc { font-size: 12.5px; color: #9a9a9a; line-height: 1.4; }

/* Mobile drawer */
#pbnav-drawer.is-open { display: block; }
.pbmega-mobile-group { border-radius: 6px; }
.pbmega-mobile-group > summary {
  list-style: none; cursor: pointer; padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between;
  color: #d4d4d4; font-size: 14px;
}
.pbmega-mobile-group > summary::-webkit-details-marker { display: none; }
.pbmega-mobile-group > summary::after {
  content: "+"; color: #3ECF8E; font-size: 18px; font-weight: 300;
}
.pbmega-mobile-group[open] > summary::after { content: "-"; }
.pbmega-mobile-group[open] > summary { color: #fff; }
.pbmega-mobile-links { display: flex; flex-direction: column; padding-left: 12px; }
.pbmega-mobile-links a {
  display: block; padding: 8px 12px; font-size: 13.5px;
  color: #b4b4b4; text-decoration: none; border-left: 2px solid #2e2e2e;
}
.pbmega-mobile-links a:hover { color: #3ECF8E; border-left-color: #3ECF8E; }

/* Body lock when mobile drawer open */
body.pbnav-locked { overflow: hidden; }