/* ═══════════════════════════════════════════════════════════════════
 * SlotVerdict — Glossary (frontend) · v1.6.107
 * Binance dark · Unbounded / Onest / JetBrains Mono · SVG icons
 * Block-based layout matching the rest of the theme.
 * ═══════════════════════════════════════════════════════════════════ */

.gl {
  --gl-bg-0: #0B0E11;
  --gl-bg-1: #181A20;
  --gl-bg-2: #1E2329;
  --gl-bg-3: #2B2F36;
  --gl-bg-4: #474D57;
  --gl-amber: #F0B90B;
  --gl-yellow: #FCD535;
  --gl-amber-bg: rgba(240, 185, 11, .12);
  --gl-amber-soft: rgba(240, 185, 11, .06);
  --gl-t1: #EAECEF;
  --gl-t2: #B7BDC6;
  --gl-t3: #848E9C;
  --gl-t4: #5E6673;
  --gl-green: #0ECB81;
  --gl-red: #F6465D;
  --gl-purple: #6C5CE7;
  --gl-blue: #3861FB;
  --gl-pink: #EC4899;
  --gl-line: rgba(255, 255, 255, .06);
  --gl-line-2: rgba(255, 255, 255, .10);
  --gl-r: 8px;
  --gl-rm: 12px;
  --gl-rl: 16px;
  --gl-font: 'Onest', system-ui, sans-serif;
  --gl-font-display: 'Unbounded', 'Onest', sans-serif;
  --gl-font-mono: 'JetBrains Mono', ui-monospace, monospace;

  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 80px;
  font-family: var(--gl-font);
  color: var(--gl-t1);
}

/* ── Breadcrumbs ─────────────────────────────────────────────── */
.gl-bc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--gl-t3);
  margin-bottom: 16px;
  font-weight: 500;
}
.gl-bc a {
  color: var(--gl-t3);
  text-decoration: none;
  transition: color .15s;
}
.gl-bc a:hover { color: var(--gl-amber); }
.gl-bc-sep {
  color: var(--gl-t4);
  font-family: var(--gl-font-mono);
}
.gl-bc-cur { color: var(--gl-t1); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
 * HERO
 * ══════════════════════════════════════════════════════════════ */
.gl-hero {
  position: relative;
  padding: 36px 36px 32px;
  background:
    radial-gradient(1200px 400px at 90% -50%, rgba(240,185,11,.10), transparent 60%),
    radial-gradient(800px 350px at 10% 120%, rgba(108,92,231,.07), transparent 60%),
    var(--gl-bg-1);
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-rl);
  overflow: hidden;
  margin-bottom: 18px;
}
.gl-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: center;
}
.gl-hero-l { min-width: 0; }
.gl-eye {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gl-amber);
  background: var(--gl-amber-bg);
  border: 1px solid rgba(240, 185, 11, .25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.gl-eye svg { width: 12px; height: 12px; }
.gl-h1 {
  font-family: var(--gl-font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--gl-t1);
  margin: 0 0 12px;
}
.gl-h1 span { color: var(--gl-amber); }
.gl-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gl-t2);
  max-width: 640px;
  margin: 0 0 22px;
}

/* Hero-side counters */
.gl-hero-r {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gl-stat {
  position: relative;
  padding: 16px 18px;
  background: var(--gl-bg-2);
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-rm);
}
.gl-stat-l {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gl-t3);
  margin-bottom: 6px;
}
.gl-stat-v {
  display: block;
  font-family: var(--gl-font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gl-t1);
  letter-spacing: -.01em;
}
.gl-stat.amber .gl-stat-v { color: var(--gl-amber); }
.gl-stat.green .gl-stat-v { color: var(--gl-green); }
.gl-stat-d {
  display: block;
  font-size: 11px;
  color: var(--gl-t4);
  font-family: var(--gl-font-mono);
  margin-top: 2px;
}

/* Hero search */
.gl-hsearch {
  position: relative;
  margin: 22px 0 0;
}
.gl-hsearch-input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  font-size: 14px;
  font-family: var(--gl-font);
  color: var(--gl-t1);
  background: var(--gl-bg-2);
  border: 1px solid var(--gl-line-2);
  border-radius: var(--gl-rm);
  transition: border-color .15s, background .15s;
}
.gl-hsearch-input:focus {
  outline: none;
  border-color: var(--gl-amber);
  background: var(--gl-bg-1);
}
.gl-hsearch-input::placeholder { color: var(--gl-t4); }
.gl-hsearch-ico {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--gl-t3);
  pointer-events: none;
}
.gl-hsearch-clear {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--gl-bg-3);
  color: var(--gl-t2);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.gl-hsearch-clear.is-visible { display: inline-flex; }
.gl-hsearch-clear:hover { background: var(--gl-red); color: #fff; }

/* ══════════════════════════════════════════════════════════════
 * BLOCK SHELL
 * ══════════════════════════════════════════════════════════════ */
.gl-block {
  background: var(--gl-bg-1);
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-rl);
  margin-bottom: 18px;
  overflow: hidden;
}
.gl-block-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--gl-bg-2);
  border-bottom: 1px solid var(--gl-line);
}
.gl-block-ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gl-amber-bg);
  color: var(--gl-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gl-block-ico svg { width: 16px; height: 16px; }
.gl-block-tt {
  font-family: var(--gl-font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--gl-t1);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.gl-block-sub {
  font-size: 12px;
  color: var(--gl-t3);
  margin-left: auto;
  font-family: var(--gl-font-mono);
  font-weight: 500;
}
.gl-block-bd { padding: 24px; }
.gl-block-bd.np { padding: 0; }

/* ══════════════════════════════════════════════════════════════
 * CATEGORIES STRIP — colored cards
 * ══════════════════════════════════════════════════════════════ */
.gl-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.gl-cat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gl-bg-2);
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-rm);
  text-decoration: none;
  color: var(--gl-t1);
  transition: all .18s ease;
  position: relative;
  overflow: hidden;
}
.gl-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, var(--gl-cat-c, var(--gl-amber)) 200%);
  opacity: 0;
  transition: opacity .18s;
  pointer-events: none;
}
.gl-cat-card:hover {
  border-color: var(--gl-cat-c, var(--gl-amber));
  transform: translateY(-1px);
}
.gl-cat-card:hover::before { opacity: .08; }
.gl-cat-card.is-active {
  border-color: var(--gl-cat-c, var(--gl-amber));
  background: linear-gradient(135deg, var(--gl-bg-2), color-mix(in srgb, var(--gl-cat-c, var(--gl-amber)) 12%, var(--gl-bg-2)));
}
.gl-cat-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--gl-cat-c, var(--gl-amber)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--gl-cat-c, var(--gl-amber)) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gl-cat-c, var(--gl-amber));
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.gl-cat-ico svg { width: 18px; height: 18px; }
.gl-cat-info { flex: 1; min-width: 0; position: relative; z-index: 1; }
.gl-cat-name {
  font-family: var(--gl-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gl-t1);
  line-height: 1.2;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gl-cat-cnt {
  font-family: var(--gl-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--gl-t3);
}
.gl-cat-card.is-all .gl-cat-ico {
  background: var(--gl-amber-bg);
  border-color: rgba(240, 185, 11, .25);
  color: var(--gl-amber);
}

/* ══════════════════════════════════════════════════════════════
 * A-Z NAV
 * ══════════════════════════════════════════════════════════════ */
.gl-az {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 14px 18px;
}
.gl-az a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  font-family: var(--gl-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gl-t2);
  text-decoration: none;
  border-radius: 6px;
  transition: all .12s;
  border: 1px solid transparent;
}
.gl-az a:hover {
  background: var(--gl-bg-3);
  color: var(--gl-t1);
}
.gl-az a.is-active {
  background: var(--gl-amber);
  color: #000;
  border-color: var(--gl-amber);
}
.gl-az a.is-empty {
  color: var(--gl-t4);
  pointer-events: none;
  opacity: .35;
}

/* ══════════════════════════════════════════════════════════════
 * LETTER SECTIONS (archive)
 * ══════════════════════════════════════════════════════════════ */
.gl-letter {
  scroll-margin-top: 90px;
  margin-bottom: 24px;
}
.gl-letter-hd {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 4px;
  margin-bottom: 14px;
}
.gl-letter-big {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gl-amber) 0%, var(--gl-yellow) 100%);
  color: #000;
  font-family: var(--gl-font-display);
  font-size: 32px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -.04em;
  box-shadow: 0 4px 18px rgba(240, 185, 11, .22);
  flex-shrink: 0;
}
.gl-letter-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gl-letter-tt {
  font-family: var(--gl-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--gl-t1);
  letter-spacing: -.02em;
  line-height: 1;
}
.gl-letter-sub {
  font-size: 12px;
  color: var(--gl-t3);
  font-family: var(--gl-font-mono);
}
.gl-letter-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gl-line-2), transparent);
}

/* ══════════════════════════════════════════════════════════════
 * TERM CARDS GRID
 * ══════════════════════════════════════════════════════════════ */
.gl-grid {
  display: grid;
  grid-template-columns: repeat(var(--gl-cols, 3), minmax(0, 1fr));
  gap: 12px;
}
.gl-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: var(--gl-bg-2);
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-rm);
  text-decoration: none;
  color: var(--gl-t1);
  transition: all .18s;
  position: relative;
  overflow: hidden;
}
.gl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gl-card-c, var(--gl-amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.gl-card:hover::before { transform: scaleX(1); }
.gl-card:hover {
  border-color: var(--gl-card-c, var(--gl-amber));
  transform: translateY(-2px);
  background: var(--gl-bg-1);
}
.gl-card-hd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.gl-card-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--gl-card-c, var(--gl-amber)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--gl-card-c, var(--gl-amber)) 25%, transparent);
  color: var(--gl-card-c, var(--gl-amber));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gl-card-ico svg { width: 18px; height: 18px; }
.gl-card-meta { flex: 1; min-width: 0; }
.gl-card-tt {
  font-family: var(--gl-font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--gl-t1);
  letter-spacing: -.01em;
  line-height: 1.2;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gl-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gl-card-c, var(--gl-t3));
}
.gl-card-cat::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.gl-card-exc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gl-t2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.gl-card-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--gl-line);
  font-size: 11px;
  color: var(--gl-t4);
}
.gl-card-ft-syn {
  font-family: var(--gl-font-mono);
  font-weight: 600;
}
.gl-card-arrow {
  color: var(--gl-card-c, var(--gl-amber));
  opacity: 0;
  transform: translateX(-4px);
  transition: all .2s;
}
.gl-card:hover .gl-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════════════════════════════
 * EMPTY STATE
 * ══════════════════════════════════════════════════════════════ */
.gl-empty {
  padding: 60px 24px;
  text-align: center;
  background: var(--gl-bg-2);
  border: 1px dashed var(--gl-line-2);
  border-radius: var(--gl-rm);
}
.gl-empty-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--gl-amber-bg);
  border: 1px solid rgba(240, 185, 11, .25);
  color: var(--gl-amber);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gl-empty-ico svg { width: 28px; height: 28px; }
.gl-empty-tt {
  font-family: var(--gl-font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--gl-t1);
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
.gl-empty-tx {
  font-size: 13px;
  color: var(--gl-t3);
  line-height: 1.55;
  margin: 0 auto 18px;
  max-width: 420px;
}
.gl-empty-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.gl-empty-actions .gl-btn { font-size: 13px; }

/* ══════════════════════════════════════════════════════════════
 * BUTTONS / LINKS
 * ══════════════════════════════════════════════════════════════ */
.gl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-family: var(--gl-font);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--gl-rm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s;
}
.gl-btn-primary {
  background: var(--gl-amber);
  color: #000;
  border-color: var(--gl-amber);
}
.gl-btn-primary:hover { background: var(--gl-yellow); border-color: var(--gl-yellow); }
.gl-btn-ghost {
  background: var(--gl-bg-2);
  color: var(--gl-t2);
  border-color: var(--gl-line-2);
}
.gl-btn-ghost:hover { background: var(--gl-bg-3); color: var(--gl-t1); }

/* ══════════════════════════════════════════════════════════════
 * PAGINATION
 * ══════════════════════════════════════════════════════════════ */
.gl-pag {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 28px 0 0;
  flex-wrap: wrap;
}
.gl-pag a, .gl-pag span {
  font-family: var(--gl-font-mono);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--gl-bg-2);
  color: var(--gl-t2);
  border: 1px solid var(--gl-line);
  text-decoration: none;
  transition: all .12s;
}
.gl-pag a:hover { border-color: var(--gl-amber); color: var(--gl-amber); }
.gl-pag .current {
  background: var(--gl-amber);
  border-color: var(--gl-amber);
  color: #000;
}

/* ══════════════════════════════════════════════════════════════
 * SINGLE TERM PAGE
 * ══════════════════════════════════════════════════════════════ */
.gl-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.gl-article {
  background: var(--gl-bg-1);
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-rl);
  overflow: hidden;
}
.gl-article-hd {
  position: relative;
  padding: 32px;
  background:
    radial-gradient(800px 250px at 100% 0%, color-mix(in srgb, var(--gl-art-c, var(--gl-amber)) 12%, transparent), transparent),
    var(--gl-bg-1);
  border-bottom: 1px solid var(--gl-line);
}
.gl-article-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: color-mix(in srgb, var(--gl-art-c, var(--gl-amber)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--gl-art-c, var(--gl-amber)) 30%, transparent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gl-art-c, var(--gl-amber));
  text-decoration: none;
  margin-bottom: 14px;
}
.gl-article-cat svg { width: 12px; height: 12px; }
.gl-article-tt {
  font-family: var(--gl-font-display);
  font-size: 38px;
  font-weight: 900;
  color: var(--gl-t1);
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.gl-article-sub {
  font-size: 14px;
  color: var(--gl-t3);
  font-family: var(--gl-font-mono);
}
.gl-article-bd {
  padding: 28px 32px 32px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gl-t2);
}
.gl-article-bd p { margin: 0 0 16px; }
.gl-article-bd p:last-child { margin-bottom: 0; }
.gl-article-bd h2,
.gl-article-bd h3 {
  font-family: var(--gl-font-display);
  color: var(--gl-t1);
  letter-spacing: -.015em;
  margin: 28px 0 12px;
}
.gl-article-bd h2 { font-size: 22px; font-weight: 800; }
.gl-article-bd h3 { font-size: 17px; font-weight: 700; }
.gl-article-bd a {
  color: var(--gl-amber);
  text-decoration: none;
  border-bottom: 1px dashed rgba(240, 185, 11, .4);
}
.gl-article-bd a:hover { color: var(--gl-yellow); border-bottom-color: var(--gl-yellow); }
.gl-article-bd ul, .gl-article-bd ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.gl-article-bd li { margin-bottom: 6px; }
.gl-article-bd code {
  font-family: var(--gl-font-mono);
  font-size: 13px;
  padding: 2px 6px;
  background: var(--gl-bg-3);
  border-radius: 4px;
  color: var(--gl-amber);
}
.gl-article-bd blockquote {
  margin: 16px 0;
  padding: 16px 18px;
  background: var(--gl-bg-2);
  border-left: 3px solid var(--gl-amber);
  border-radius: 0 var(--gl-rm) var(--gl-rm) 0;
  color: var(--gl-t1);
  font-style: italic;
}

/* Synonyms block inside article */
.gl-syn-block {
  margin: 22px 0 0;
  padding: 16px 18px;
  background: var(--gl-bg-2);
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-rm);
}
.gl-syn-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gl-t3);
  margin-bottom: 10px;
}
.gl-syn-h svg { width: 13px; height: 13px; color: var(--gl-amber); }
.gl-syn-list { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-syn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  background: var(--gl-bg-3);
  border: 1px solid var(--gl-line);
  border-radius: 6px;
  color: var(--gl-t2);
}

/* Related */
.gl-related-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gl-line);
}
.gl-related-h-tt {
  font-family: var(--gl-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--gl-t1);
  letter-spacing: -.01em;
}

/* ══════════════════════════════════════════════════════════════
 * SIDEBAR
 * ══════════════════════════════════════════════════════════════ */
.gl-sb {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gl-sb-block {
  background: var(--gl-bg-1);
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-rm);
  overflow: hidden;
}
.gl-sb-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gl-line);
  background: var(--gl-bg-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gl-t3);
}
.gl-sb-hd svg { width: 13px; height: 13px; color: var(--gl-amber); }
.gl-sb-bd { padding: 14px; }
.gl-sb-bd.np { padding: 0; }

/* Sticky TOC list */
.gl-sb-list { list-style: none; padding: 0; margin: 0; }
.gl-sb-list li { border-bottom: 1px solid var(--gl-line); }
.gl-sb-list li:last-child { border-bottom: none; }
.gl-sb-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--gl-t2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all .12s;
}
.gl-sb-list a:hover {
  background: var(--gl-bg-2);
  color: var(--gl-t1);
}
.gl-sb-list a span:first-child {
  display: inline-flex;
  flex-shrink: 0;
}

/* CTA block */
.gl-sb-cta {
  padding: 18px;
  background:
    radial-gradient(220px 100px at 100% 0%, rgba(240, 185, 11, .14), transparent),
    var(--gl-bg-1);
  border: 1px solid rgba(240, 185, 11, .25);
  border-radius: var(--gl-rm);
}
.gl-sb-cta-tt {
  font-family: var(--gl-font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--gl-t1);
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
.gl-sb-cta-tx {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gl-t3);
  margin: 0 0 14px;
}
.gl-sb-cta .gl-btn { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════════════
 * AUTOLINKS + TOOLTIP
 * ══════════════════════════════════════════════════════════════ */
.sv-gloss-autolink {
  color: var(--gl-amber, #F0B90B);
  text-decoration: none;
  border-bottom: 1px dashed rgba(240, 185, 11, .5);
  transition: color .15s, border-color .15s, background .15s;
  padding: 0 2px;
  border-radius: 2px;
}
.sv-gloss-autolink:hover {
  color: #FCD535;
  border-bottom-color: #F0B90B;
  background: rgba(240, 185, 11, .08);
}

.sv-gloss-tooltip {
  position: absolute;
  z-index: 999999;
  width: 320px;
  max-width: calc(100vw - 24px);
  background: #181A20;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s, visibility .18s, transform .18s;
  font-family: 'Onest', system-ui, sans-serif;
  color: #EAECEF;
  overflow: hidden;
}
.sv-gloss-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sv-gloss-tooltip-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.sv-gloss-tooltip-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1E2329;
  border: 1px solid rgba(255, 255, 255, .10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F0B90B;
  flex-shrink: 0;
}
.sv-gloss-tooltip-ico svg { width: 20px; height: 20px; }
.sv-gloss-tooltip-title {
  font-family: 'Unbounded', 'Onest', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #EAECEF;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.sv-gloss-tooltip-body {
  padding: 12px 16px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #B7BDC6;
}
.sv-gloss-tooltip-foot {
  padding: 10px 16px;
  background: #1E2329;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sv-gloss-tooltip-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  background: #2B2F36;
  border-radius: 999px;
  padding: 4px 10px;
}
.sv-gloss-tooltip-cat svg { width: 12px; height: 12px; }
.sv-gloss-tooltip-link {
  font-size: 12px;
  font-weight: 700;
  color: #F0B90B;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
}
.sv-gloss-tooltip-link:hover { color: #FCD535; }

/* ══════════════════════════════════════════════════════════════
 * SHORTCODES (legacy compat: keep .sv-gloss-* outside .gl scope)
 * ══════════════════════════════════════════════════════════════ */
.sv-gloss-grid {
  display: grid;
  grid-template-columns: repeat(var(--sv-gloss-cols, 3), minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.sv-gloss-card {
  display: block;
  padding: 18px;
  background: #181A20;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  color: #EAECEF;
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.sv-gloss-card:hover {
  border-color: #F0B90B;
  transform: translateY(-1px);
}
.sv-gloss-card-hd { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.sv-gloss-card-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #1E2329;
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sv-gloss-card-ico svg { width: 18px; height: 18px; }
.sv-gloss-card-meta { flex: 1; min-width: 0; }
.sv-gloss-card-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #EAECEF;
  letter-spacing: -.01em;
  line-height: 1.25;
  margin: 0 0 3px;
}
.sv-gloss-card-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #848E9C;
}
.sv-gloss-card-exc {
  font-size: 13px;
  line-height: 1.5;
  color: #B7BDC6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sv-gloss-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.sv-gloss-list a {
  display: block;
  padding: 10px 14px;
  background: #1E2329;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #EAECEF;
  text-decoration: none;
}
.sv-gloss-list a:hover { border-color: #F0B90B; color: #F0B90B; }

.sv-gloss-widget-list { list-style: none; padding: 0; margin: 0; }
.sv-gloss-widget-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #B7BDC6;
  font-size: 13px;
  text-decoration: none;
}
.sv-gloss-widget-list a:hover { background: #1E2329; color: #EAECEF; }
.sv-gloss-wl-ico { display: inline-flex; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
 * MOBILE
 * ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gl-single-grid { grid-template-columns: 1fr; }
  .gl-sb { position: static; flex-direction: row; flex-wrap: wrap; }
  .gl-sb-block { flex: 1 1 280px; }
}

@media (max-width: 720px) {
  .gl { padding: 14px 14px 40px; }
  .gl-hero { padding: 22px 18px; border-radius: 12px; }
  .gl-hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .gl-h1 { font-size: 28px; }
  .gl-lead { font-size: 13px; }
  .gl-hero-r { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gl-stat { padding: 12px 14px; }
  .gl-stat-v { font-size: 18px; }
  .gl-block { border-radius: 12px; }
  .gl-block-hd { padding: 14px 16px; }
  .gl-block-bd { padding: 16px; }
  .gl-cats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gl-cat-card { padding: 12px; }
  .gl-cat-name { font-size: 12px; }
  .gl-az {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gl-az::-webkit-scrollbar { display: none; }
  .gl-az a { min-width: 30px; height: 30px; flex-shrink: 0; }
  .gl-letter-big { width: 44px; height: 44px; font-size: 24px; border-radius: 11px; }
  .gl-letter-tt { font-size: 18px; }
  .gl-grid { grid-template-columns: 1fr; }
  .gl-article-hd { padding: 22px 20px; }
  .gl-article-tt { font-size: 26px; }
  .gl-article-bd { padding: 22px 20px; font-size: 14px; }
}

@media (max-width: 480px) {
  .gl { padding: 0 0 32px; }
  .gl-hero, .gl-block, .gl-article {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .gl-bc { padding: 12px 14px 0; margin-bottom: 8px; }
  .gl-cats { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
 * "Where this term is used" block
 * ══════════════════════════════════════════════════════════════ */
.gl-used {
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--gl-bg-2);
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-rl);
}
.gl-used-hd {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gl-line);
}
.gl-used-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gl-amber-bg);
  border: 1px solid rgba(240, 185, 11, .25);
  color: var(--gl-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gl-used-meta { flex: 1; min-width: 0; }
.gl-used-tt {
  font-family: var(--gl-font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--gl-t1);
  margin: 0 0 4px;
  line-height: 1.25;
}
.gl-used-tx {
  font-size: 13px;
  color: var(--gl-t3);
  margin: 0;
  line-height: 1.5;
}
.gl-used-total {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 9px;
  background: var(--gl-bg-3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gl-amber);
  font-family: var(--gl-font-mono);
}
.gl-used-group { margin-bottom: 18px; }
.gl-used-group:last-child { margin-bottom: 0; }
.gl-used-group-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
  margin-bottom: 4px;
  border-bottom: 1px dashed var(--gl-line);
}
.gl-used-group-ico { display: inline-flex; }
.gl-used-group-tt {
  font-family: var(--gl-font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gl-t2);
}
.gl-used-group-cnt {
  margin-left: auto;
  font-family: var(--gl-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gl-t4);
  background: var(--gl-bg-1);
  padding: 2px 8px;
  border-radius: 6px;
}
.gl-used-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}
@media (max-width: 720px) {
  .gl-used-list { grid-template-columns: 1fr; }
  .gl-used { padding: 16px; }
}
.gl-used-list li {
  list-style: none;
  margin: 0;
}
.gl-used-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--gl-t2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all .12s;
  border: 1px solid transparent;
}
.gl-used-list a:hover {
  background: var(--gl-bg-1);
  color: var(--gl-t1);
  border-color: var(--gl-line-2);
}
.gl-used-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gl-used-link-tt {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gl-used-arrow {
  flex-shrink: 0;
  opacity: 0;
  transform: translate(-2px, 2px);
  transition: all .15s;
  color: var(--gl-amber);
}
.gl-used-list a:hover .gl-used-arrow {
  opacity: 1;
  transform: translate(0, 0);
}
.gl-used-more {
  margin-top: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--gl-t4);
  font-family: var(--gl-font-mono);
  font-weight: 600;
}
