/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Heebo', sans-serif;
  background: #0a0e1a;
  color: #fff;
  overflow-x: hidden;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 30px;
  height: 60px;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

/* Right: Logo + socials */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 34px;
  width: auto;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-social {
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-social:hover {
  color: #fff;
}

/* Menu links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link-active {
  color: #ffd54f;
  font-weight: 700;
}

/* Actions: bell + avatar */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-bell {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
}

.nav-bell:hover {
  color: #ffd54f;
  background: rgba(255, 255, 255, 0.08);
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hamburger (mobile only) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 36px;
}

/* Sky BG */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-new.png') center center / cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0) 0%,
    rgba(10, 14, 26, 0) 35%,
    rgba(10, 14, 26, 0.18) 60%,
    rgba(10, 14, 26, 0.65) 85%,
    #0a0e1a 100%
  );
}

/* ===== Layout wrapper ===== */
.hero-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  padding: 0 30px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* ===== Main Container ===== */
.main-container {
  position: relative;
  overflow: visible;
  background: rgba(12, 10, 35, 0.75);
  border: 2px solid rgba(190, 215, 55, 0.45);
  border-radius: 22px;
  padding: 36px 44px 32px;
  width: 100%;
  max-width: 980px;
  backdrop-filter: blur(12px);
  text-align: center;
}

/* ===== Mascot — overlaps top-right corner of container ===== */
.mascot {
  position: absolute;
  right: -130px;
  top: -60px;
  width: 300px;
  height: auto;
  z-index: 10;
  filter: drop-shadow(0 10px 35px rgba(0, 0, 0, 0.45));
  animation: float 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

/* ===== Title ===== */
.hero-title {
  font-size: clamp(2.6rem, 4.8vw, 3.6rem);
  font-weight: 900;
  color: #ffd54f;
  line-height: 1.1;
  margin-bottom: 6px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  color: #e2e2e2;
  margin-bottom: 30px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card {
  background: linear-gradient(155deg, #3e3592 0%, #302778 50%, #272168 100%);
  border: 1.2px solid rgba(100, 85, 200, 0.22);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(80, 60, 180, 0.3);
  border-color: rgba(130, 110, 230, 0.4);
}

.card-inner {
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  gap: 8px;
}

.card-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.45;
  white-space: nowrap;
}

.card-text {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  flex: 1;
  display: flex;
  align-items: center;
}

.card-action {
  margin-top: auto;
  padding-top: 6px;
}

/* ===== Card CTAs ===== */
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-text:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

/* VIP */
.btn-vip {
  color: #f5c842;
  font-size: 1.25rem;
}

/* Course */
.btn-course {
  color: #f5c842;
  font-size: 1.08rem;
}

.btn-icon-101 {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

/* Dictionary */
.btn-dict {
  border: 1.5px solid rgba(140, 220, 140, 0.5);
  border-radius: 8px;
  padding: 8px 20px;
  color: #a8e8a8;
  font-size: 0.9rem;
  font-weight: 700;
}

.btn-dict:hover {
  background: rgba(140, 220, 140, 0.1);
  border-color: rgba(140, 220, 140, 0.7);
}

/* Bitunix */
.bitunix-logo {
  height: 36px;
  width: auto;
}

/* ===== Bottom Banner ===== */
.bottom-banner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  padding: 6px 0;
}

.banner-text {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #cc0000;
  color: #fff;
  padding: 5px 14px;
  border-radius: 4px;
  font-family: 'Heebo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.yt-btn:hover { background: #aa0000; }

.yt-icon {
  width: 18px;
  height: 18px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 60px;
}

/* BG — dramatic cyberpunk, very visible */
.about-bg {
  position: absolute;
  inset: 0;
  background: url('images/cyberpunk-bg.jpg') center center / cover no-repeat;
  z-index: 0;
}

.about-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #0a0e1a 0%,
    rgba(10, 14, 26, 0.45) 10%,
    rgba(10, 14, 26, 0.15) 35%,
    rgba(10, 14, 26, 0.15) 65%,
    rgba(10, 14, 26, 0.55) 88%,
    #0a0e1a 100%
  );
}

/* ===== Layout: everything positioned absolutely over the photo ===== */
.about-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 75vh;
  display: flex;
  align-items: flex-start;
  padding: 0 30px;
}

/* ===== Photo — MASSIVE, center-left, full-height ===== */
.about-photo-area {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -20px;
  width: 460px;
  z-index: 1;
  pointer-events: none;
}

/* Info card: behind the photo — head overlaps top-right corner */
.info-card {
  position: absolute;
  top: 100px;
  left: -100px;
  right: auto;
  width: 350px;
  background: rgba(8, 6, 25, 0.65);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(100, 80, 200, 0.2);
  border-radius: 14px;
  padding: 20px 22px 22px;
  z-index: 0;
  text-align: left;
}

/* Photo renders above info card */
.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(0 10px 50px rgba(0, 0, 0, 0.6));
}

.info-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.info-card-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: #4ade80;
  text-align: left;
}

.info-card-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.social-icon:hover {
  color: #ffd54f;
}

.info-card-subtitle {
  font-size: 0.92rem;
  font-weight: 700;
  color: #68d0f0;
  margin-bottom: 8px;
  text-align: left;
}

.info-card-bio {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

/* ===== About Text — right side ===== */
.about-text {
  position: relative;
  z-index: 3;
  margin-right: 0;
  margin-left: auto;
  width: 45%;
  padding: 50px 40px 40px 0;
  text-align: center;
}

.about-headline {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.about-para {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 6px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.about-para-spaced {
  margin-top: 28px;
}

/* ===== Choice Box — overlapping bottom of photo ===== */
.choice-box {
  position: relative;
  z-index: 4;
  max-width: 640px;
  width: 85%;
  margin: -120px auto 0;
  background: rgba(12, 10, 25, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 38px 44px 26px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.choice-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 26px;
}

.choice-buttons {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 20px;
}

.choice-option {
  text-align: center;
}

.choice-btn {
  display: inline-block;
  padding: 15px 46px;
  border-radius: 12px;
  font-family: 'Heebo', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
}

.choice-btn:hover {
  transform: translateY(-3px);
}

.choice-btn-long {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 4px 22px rgba(34, 197, 94, 0.35);
}

.choice-btn-long:hover {
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

.choice-btn-short {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 22px rgba(239, 68, 68, 0.35);
}

.choice-btn-short:hover {
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.5);
}

.choice-desc {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.choice-disclaimer {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 1250px) {
  .mascot {
    width: 240px;
    right: -100px;
    top: -40px;
  }
}

@media (max-width: 1050px) {
  .mascot {
    width: 190px;
    right: -70px;
    top: -25px;
  }

  .main-container {
    padding: 30px 28px 26px;
    max-width: 820px;
  }

  .card-title {
    white-space: normal;
  }
}

@media (max-width: 850px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    transform: none;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 16px;
    width: 100%;
    text-align: right;
  }

  .nav-actions {
    display: flex;
    gap: 8px;
    margin-inline-start: auto;
    margin-inline-end: 8px;
  }
  .nav-actions .nav-bell,
  .nav-actions .nav-avatar { display: none !important; }
  /* Mobile: collapse the "כניסה לחברים" pill into a small icon-only circle so
     it stays discoverable for paying members but doesn't eat space. */
  .nav-actions .ciidb-auth-login {
    font-size: 0;
    padding: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .nav-actions .ciidb-auth-login::before {
    content: "";
    width: 17px; height: 17px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300FFCA' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .nav-actions .ciidb-auth-user {
    padding: 6px 10px 6px 8px;
  }
  .nav-actions .ciidb-auth-name {
    max-width: 60px;
    font-size: 13px;
  }
  .nav-actions .ciidb-auth-badge {
    display: none;
  }
  /* Hide the social icons block on mobile — they're already in the footer.
     This declutters the cramped top bar significantly. */
  .nav-right .nav-socials { display: none; }

  .nav-hamburger {
    display: flex;
  }

  .about-layout {
    flex-direction: column;
    align-items: center;
  }

  .about-photo-area {
    position: relative;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 350px;
  }

  .about-text {
    width: 100%;
    padding: 30px 20px;
    margin: 0;
    text-align: center;
  }

  .info-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: -60px;
  }

  .choice-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .choice-box {
    padding: 28px 22px 20px;
    margin-top: 20px;
  }

  .mascot {
    position: relative;
    right: auto;
    top: auto;
    width: 140px;
    margin: 0 auto -30px;
    display: block;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .hero-layout {
    flex-direction: column;
    align-items: center;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    justify-content: center;
    padding-bottom: 30px;
  }
}

@media (max-width: 550px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .main-container {
    padding: 22px 14px 18px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .bottom-banner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ============================================
   Dictionary deep template (shared across /poc, /tpo, /oi, /cvd, /sp, /poor, /golden, /chart)
   ============================================ */

/* Layout shell — used by /glossary/{slug} pages (existing pages have these inline) */
.dict-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(124,58,237,0.10), transparent 60%),
    radial-gradient(800px 400px at 0% 60%, rgba(0,255,202,0.06), transparent 60%),
    var(--bg, #00020C);
}
.dict-wrap { max-width: 880px; margin: 0 auto; padding: 120px 24px 96px; }
.dict-crumb {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #8089A4; margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.dict-crumb a { color: #8089A4; transition: color .15s; }
.dict-crumb a:hover { color: #00FFCA; }
.dict-crumb .sep { color: #4D5573; }
.dict-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #00FFCA; margin-bottom: 22px;
}
.dict-eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.dict-title {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #fff 0%, #b8c0d4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dict-tagline {
  font-size: clamp(17px, 1.6vw, 20px);
  color: #C8CDDD; line-height: 1.55;
  margin-bottom: 18px; max-width: 56ch;
}
.dict-byline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 36px;
}
.dict-byline a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,255,202,0.3);
  transition: border-color .15s;
}
.dict-byline a:hover {
  border-bottom-color: var(--cyan);
}
.dict-diagram {
  margin: 0 0 56px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #06081A;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(0,255,202,0.06);
}
.dict-diagram img {
  width: 100%; height: auto; display: block;
}
.dict-body { font-size: 17px; line-height: 1.85; color: #C8CDDD; }
.dict-body p { margin-bottom: 16px; }
.dict-body p:last-child { margin-bottom: 0; }
.dict-h3 {
  font-size: 22px; font-weight: 700; color: #fff;
  margin: 36px 0 14px; letter-spacing: -0.01em;
}
.dict-list { margin: 0 0 20px 0; padding: 0; list-style: none; }
.dict-list li {
  padding-block: 12px;
  padding-inline-start: 28px;
  padding-inline-end: 0;
  position: relative;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.dict-list li:last-child { border-bottom: 0; }
.dict-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 22px;
  width: 14px; height: 2px;
  background: #00FFCA;
  border-radius: 2px;
}
.dict-back {
  margin-top: 72px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-weight: 600; font-size: 15px;
  transition: all .2s;
}
.dict-back:hover {
  background: rgba(0,255,202,0.10);
  border-color: #00FFCA;
  color: #00FFCA;
  box-shadow: 0 0 24px rgba(0,255,202,0.18);
}
.dict-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #06081A;
  padding: 40px 24px;
  text-align: center;
  color: #4D5573;
  font-size: 13px; margin-top: 80px;
}
.dict-footer a { color: #8089A4; margin: 0 8px; transition: color .15s; }
.dict-footer a:hover { color: #00FFCA; }
@media (max-width: 720px) {
  .dict-wrap { padding: 100px 18px 64px; }
}

/* CIIDB Auth — login modal + nav widget */
#ciidb-login-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
}
#ciidb-login-modal .ciidb-login-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
}
#ciidb-login-modal .ciidb-login-card {
  position: relative;
  background: linear-gradient(180deg, #131A35 0%, #06081A 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 36px 32px;
  max-width: 420px;
  width: 92%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
#ciidb-login-modal .ciidb-login-close {
  position: absolute; top: 14px; inset-inline-end: 14px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
}
#ciidb-login-modal .ciidb-login-title {
  font-size: 26px; font-weight: 800; color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
#ciidb-login-modal .ciidb-login-sub {
  font-size: 14.5px; color: #C8CDDD;
  margin: 0 0 24px;
  line-height: 1.5;
}
#ciidb-login-modal .ciidb-google-wrap {
  display: flex; justify-content: center;
  margin-bottom: 18px;
  min-height: 44px;
}
#ciidb-login-modal .ciidb-login-hint {
  font-size: 12px; color: #8089A4;
  margin: 0;
  line-height: 1.5;
}

/* Welcome toast — shown briefly after login */
#ciidb-welcome-toast {
  position: fixed;
  bottom: 90px; inset-inline-end: 24px;
  z-index: 10001;
  max-width: 360px;
  padding: 16px 44px 16px 20px;
  background: linear-gradient(180deg, #131A35 0%, #06081A 100%);
  border: 1px solid rgba(0, 255, 202, 0.40);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 32px rgba(0,255,202,0.14);
  color: #fff;
  font-family: 'Heebo', system-ui, sans-serif;
  direction: rtl;
  animation: welcomeToastIn 0.35s cubic-bezier(.22,.84,.42,1.18);
}
.ciidb-welcome-toast-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
}
.ciidb-welcome-toast-line {
  font-size: 13.5px;
  color: #C8CDDD;
  line-height: 1.5;
}
.ciidb-welcome-toast-line a {
  color: #00FFCA;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ciidb-welcome-toast-close {
  position: absolute;
  top: 10px; inset-inline-end: 10px;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #C8CDDD;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
@keyframes welcomeToastIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  #ciidb-welcome-toast {
    bottom: 80px;
    inset-inline-end: 12px;
    inset-inline-start: 12px;
    max-width: none;
  }
}

/* Purchase modal — shown when a non-buyer clicks a locked video */
#ciidb-purchase-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
}
#ciidb-purchase-modal .ciidb-purchase-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
}
#ciidb-purchase-modal .ciidb-purchase-card {
  position: relative;
  background: linear-gradient(180deg, #131A35 0%, #06081A 100%);
  border: 1px solid rgba(213, 255, 95, 0.25);
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 460px;
  width: 92%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(213, 255, 95, 0.05) inset;
}
#ciidb-purchase-modal .ciidb-purchase-close {
  position: absolute; top: 14px; inset-inline-end: 14px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
}
#ciidb-purchase-modal .ciidb-purchase-title {
  font-size: 28px; font-weight: 800; color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
#ciidb-purchase-modal .ciidb-purchase-sub {
  font-size: 15px; color: #C8CDDD;
  margin: 0 0 22px;
  line-height: 1.5;
}
#ciidb-purchase-modal .ciidb-purchase-bullets {
  list-style: none;
  padding: 0; margin: 0 0 22px;
  text-align: start;
}
#ciidb-purchase-modal .ciidb-purchase-bullets li {
  position: relative;
  padding: 10px 32px 10px 12px;
  font-size: 15.5px;
  color: #E8ECF8;
  border-top: 1px solid rgba(255,255,255,0.06);
}
#ciidb-purchase-modal .ciidb-purchase-bullets li:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#ciidb-purchase-modal .ciidb-purchase-bullets li::before {
  content: "◆";
  position: absolute;
  inset-inline-end: 8px;
  top: 10px;
  color: #D5FF5F;
  font-size: 12px;
}
#ciidb-purchase-modal .ciidb-purchase-strip {
  font-size: 12.5px;
  color: #8089A4;
  letter-spacing: 0.02em;
  margin: 0 0 22px;
}
#ciidb-purchase-modal .ciidb-purchase-cta {
  display: block;
  background: linear-gradient(180deg, #D5FF5F 0%, #B8E63D 100%);
  color: #06081A;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 12px;
  margin: 0 0 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 24px rgba(213, 255, 95, 0.25);
}
#ciidb-purchase-modal .ciidb-purchase-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(213, 255, 95, 0.35);
}
#ciidb-purchase-modal .ciidb-purchase-signin {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  color: #8089A4;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 0 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#ciidb-purchase-modal .ciidb-purchase-signin:hover {
  color: #C8CDDD;
}

/* Nav auth widget */
.ciidb-auth-widget { position: relative; }
.ciidb-auth-login {
  background: rgba(0,255,202,0.08);
  border: 1px solid rgba(0,255,202,0.32);
  color: #00FFCA;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
.ciidb-auth-login:hover {
  background: rgba(0,255,202,0.14);
  border-color: #00FFCA;
}
.ciidb-auth-user {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
.ciidb-auth-user:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.20); }
.ciidb-auth-user img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.ciidb-auth-name { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ciidb-auth-badge {
  display: inline-flex; align-items: center;
  font-size: 9.5px; font-weight: 800;
  padding: 2px 6px; border-radius: 999px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.ciidb-auth-badge-vip {
  color: #00FFCA;
  background: rgba(0,255,202,0.10);
  border: 1px solid rgba(0,255,202,0.35);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-inline-start: 2px;
}
.ciidb-auth-badge-course {
  color: #FFD96B;
  background: rgba(255,217,107,0.10);
  border: 1px solid rgba(255,217,107,0.32);
}
.ciidb-auth-menu {
  position: absolute; top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 220px;
  background: linear-gradient(180deg, #131A35 0%, #06081A 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px;
  z-index: 100;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.ciidb-auth-menu-email {
  font-size: 12.5px;
  color: #8089A4;
  margin-bottom: 10px;
  text-align: start;
  word-break: break-all;
}
.ciidb-auth-menu-status {
  font-size: 13px;
  color: #B8FF00;
  font-weight: 700;
  padding: 8px 0;
  border-block: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 10px;
}
.ciidb-auth-menu-cta {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #B8FF00;
  background: rgba(184,255,0,0.08);
  border: 1px solid rgba(184,255,0,0.32);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-decoration: none;
}
.ciidb-auth-menu-logout {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: #C8CDDD;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.ciidb-auth-menu-logout:hover { background: rgba(255,255,255,0.06); }

/* VIP chapter gate — soft block (paywall card + blurred body below) */
.gloss-vip-lock {
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, #131A35 0%, #06081A 100%);
  border: 1px solid rgba(213, 255, 95, 0.28);
  border-radius: 18px;
  padding: 36px 28px 28px;
  margin: 8px 0 18px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(213, 255, 95, 0.05) inset;
}
.gloss-vip-lock-icon {
  font-size: 28px;
  color: #D5FF5F;
  line-height: 1;
  margin-bottom: 10px;
}
.gloss-vip-lock-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.gloss-vip-lock-sub {
  font-size: 14.5px;
  color: #C8CDDD;
  margin: 0 auto 22px;
  max-width: 520px;
  line-height: 1.6;
}
.gloss-vip-lock-cta {
  display: inline-block;
  background: linear-gradient(180deg, #D5FF5F 0%, #B8E63D 100%);
  color: #06081A;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(213, 255, 95, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gloss-vip-lock-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(213, 255, 95, 0.38);
}
.gloss-vip-lock-signin {
  display: block;
  margin: 14px auto 0;
  background: transparent;
  border: none;
  color: #8089A4;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gloss-vip-lock-signin:hover {
  color: #C8CDDD;
}
.gloss-vip-blurred {
  filter: blur(7px) saturate(0.85);
  pointer-events: none;
  user-select: none;
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

/* Default-blur VIP chapter content as soon as the page renders, before gate.js
   has had a chance to fetch the body. The blur lifts when gate.js removes the
   data-body-placeholder attribute (= access granted), or stays if denied.
   Uses :has() — supported in all modern browsers since 2023. */
article[data-body-placeholder] {
  min-height: 220px;
  filter: blur(7px) saturate(0.85);
  pointer-events: none;
  user-select: none;
  opacity: 0.55;
}
body:has(article[data-body-placeholder]) .dict-video-locked,
body:has(article[data-body-placeholder]) .dict-video-pair {
  filter: blur(7px) saturate(0.85);
  pointer-events: none;
  user-select: none;
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

/* Video preview — looks 100% like a playable thumbnail */
.dict-video-pair {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 56px;
}
.dict-video-pair > .dict-video-locked { margin: 0; }
@media (max-width: 720px) {
  .dict-video-pair { grid-template-columns: 1fr; }
}
.dict-video-part {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 2;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}
.dict-video-locked {
  display: block;
  position: relative;
  margin: 0 0 56px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease;
}
.dict-video-locked:hover { transform: scale(1.005); }
.dict-video-locked .dict-video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: filter .25s ease;
}
.dict-video-locked:hover .dict-video-bg { filter: brightness(0.85); }
.dict-video-locked .dict-video-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.dict-video-locked .dict-video-play {
  width: 76px; height: 54px;
  border-radius: 14px;
  background: rgba(33, 33, 33, 0.85);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .15s ease, transform .15s ease;
}
.dict-video-locked:hover .dict-video-play {
  background: #FF0000;
  transform: scale(1.06);
}
.dict-video-locked .dict-video-play svg {
  margin-inline-start: 3px;
}
.dict-video-locked .dict-video-duration {
  position: absolute;
  bottom: 10px; inset-inline-end: 10px;
  font-size: 12px; font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.80);
  padding: 3px 6px;
  border-radius: 3px;
  font-family: 'Heebo', system-ui, sans-serif;
  letter-spacing: 0.02em;
}

/* Video-course frame — conversion nudge wrapping a chapter's lesson video.
   Flex column; visual order is label -> video -> offer (set via `order` so the
   markup can leave the video block last and untouched). The offer block — the
   "what the course includes" head + perks + CTA — is hidden via
   glossary-videos.js for users who already own the course. */
.dict-video-course {
  display: flex; flex-direction: column; gap: 14px;
  margin: 0 0 56px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(184,255,0,0.07) 0%, rgba(184,255,0,0.02) 100%);
  border: 1px solid rgba(184,255,0,0.45);
  box-shadow: 0 0 0 1px rgba(184,255,0,0.05), 0 6px 28px rgba(184,255,0,0.14);
}
.dict-video-course-note-text {
  order: 1;
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: center; gap: 9px;
  font-size: 14px; font-weight: 800;
  color: #C8FF4D;
}
.dict-video-course-note-text svg { width: 17px; height: 17px; color: #B8FF00; flex-shrink: 0; }
.dict-video-course > .dict-video-locked,
.dict-video-course > .dict-video-pair { order: 2; margin: 0; }
/* Offer block — frames the perks as "what joining the course gets you". */
.dict-video-course-offer {
  order: 3;
  display: flex; flex-direction: column; align-items: center; gap: 11px;
}
.dict-video-course-offer-head {
  margin: 0;
  font-size: 13px; font-weight: 800;
  color: #fff;
}
.dict-video-course-note-perks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 18px;
  margin: 0; padding: 0;
  list-style: none;
}
.dict-video-course-note-perks li {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  color: #B6BCCB;
}
.dict-video-course-note-perks li svg {
  width: 14px; height: 14px; color: #B8FF00; flex-shrink: 0;
}
.dict-video-course-note-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #B8FF00, #d6ff5e);
  color: #00020C;
  font-size: 13.5px; font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s, box-shadow .25s;
}
.dict-video-course-note-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184,255,0,0.30);
}

/* Tier teaser box — what each tier unlocks + prominent CTA.
   Reusable across pages. Add data-non-course to hide for course owners. */
.gloss-tier-box {
  margin: 28px 0 36px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
}
.gloss-tier-list {
  list-style: none; padding: 0; margin: 0 0 16px;
}
.gloss-tier-list li {
  font-size: 14px; color: #C8CDDD;
  padding: 4px 0;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.gloss-tier-list li strong { color: #fff; font-weight: 700; }
.gloss-tier-check {
  width: 16px; height: 16px;
  color: #B8FF00;
  flex-shrink: 0;
  margin-top: 3px;
}
.gloss-tier-vip { color: #00FFCA; font-weight: 700; }
.gloss-tier-course { color: #D5FF5F; font-weight: 700; }
.gloss-tier-cta-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #B8FF00, #d6ff5e);
  color: #00020C;
  font-size: 14px; font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: transform .15s, box-shadow .25s;
}
.gloss-tier-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184,255,0,0.30);
}
@media (max-width: 720px) {
  .gloss-tier-box { padding: 14px 16px; margin: 22px 0 28px; }
  .gloss-tier-list { margin-bottom: 14px; }
  .gloss-tier-list li { font-size: 13px; padding: 2px 0; gap: 8px; }
  .gloss-tier-check { width: 14px; height: 14px; margin-top: 2px; }
  .gloss-tier-cta-btn { padding: 9px 18px; font-size: 13.5px; }
}

/* Locked-video lock badge — the wrapper is added by glossary-chapter-gate.js
   so the badge renders on a layer above the blurred video and stays sharp. */
.dict-video-lockwrap { order: 2; position: relative; }
.dict-video-lockwrap > .dict-video-locked,
.dict-video-lockwrap > .dict-video-pair { margin: 0; }
.dict-video-locked.gloss-vip-blurred .dict-video-overlay { display: none; }
.dict-video-lockbadge {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.dict-video-lockbadge-inner {
  display: flex; align-items: center; justify-content: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(10,12,20,0.85);
  border: 1px solid rgba(184,255,0,0.55);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.dict-video-lockbadge-inner svg { width: 28px; height: 28px; color: #B8FF00; }

/* Chapter prev/next nav */
.dict-chapter-nav {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.dict-chapter-nav-progress {
  font-size: 12.5px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}
.dict-chapter-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .dict-chapter-nav-row { grid-template-columns: 1fr; }
}
.dict-chapter-nav-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(19,26,53,0.5) 0%, rgba(6,8,26,0.5) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .25s;
}
.dict-chapter-nav-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0,255,202,0.40);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 28px rgba(0,255,202,0.10);
}
.dict-chapter-nav-text { flex: 1; min-width: 0; }
.dict-chapter-nav-arrow {
  color: rgba(0,255,202,0.55);
  flex-shrink: 0;
  transition: color .2s, transform .25s;
}
.dict-chapter-nav-btn:hover .dict-chapter-nav-arrow {
  color: #00FFCA;
}
.dict-chapter-nav-prev:hover .dict-chapter-nav-arrow { transform: translateX(4px); }
.dict-chapter-nav-next:hover .dict-chapter-nav-arrow { transform: translateX(-4px); }
.dict-chapter-nav-label {
  font-size: 12px;
  color: #00FFCA;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dict-chapter-nav-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.dict-chapter-nav-prev .dict-chapter-nav-text { text-align: start; }
.dict-chapter-nav-next .dict-chapter-nav-text { text-align: end; }

/* Comparison cards — side-by-side hot/cold (or any 2-way contrast) */
.dict-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0;
}
@media (max-width: 720px) {
  .dict-compare-grid { grid-template-columns: 1fr; }
}
.dict-compare-card {
  padding: 26px 24px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(19,26,53,0.55) 0%, rgba(6,8,26,0.65) 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.dict-compare-card.is-hot {
  border-color: rgba(255, 140, 80, 0.32);
  background: linear-gradient(180deg, rgba(58, 28, 14, 0.45) 0%, rgba(6, 8, 26, 0.65) 100%);
}
.dict-compare-card.is-cold {
  border-color: rgba(0, 255, 202, 0.32);
  background: linear-gradient(180deg, rgba(14, 48, 48, 0.4) 0%, rgba(6, 8, 26, 0.65) 100%);
}
.dict-compare-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: -4px;
}
.dict-compare-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}
.dict-compare-card.is-hot .dict-compare-title { color: #FFB082; }
.dict-compare-card.is-cold .dict-compare-title { color: #00FFCA; }
.dict-compare-tagline {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: -10px;
  letter-spacing: 0.01em;
}
.dict-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.dict-compare-list li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  padding-inline-start: 24px;
  position: relative;
  line-height: 1.5;
}
.dict-compare-list li.pro::before,
.dict-compare-list li.con::before {
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  font-weight: 700;
  font-size: 15px;
}
.dict-compare-list li.pro::before {
  content: "✓";
  color: rgba(0, 255, 202, 0.85);
}
.dict-compare-list li.con::before {
  content: "✗";
  color: rgba(255, 140, 80, 0.85);
}
.dict-compare-section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 12px;
  margin-top: 4px;
}
.dict-compare-label {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.dict-compare-body {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

/* 3-column variant */
.dict-compare-grid.is-three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .dict-compare-grid.is-three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .dict-compare-grid.is-three { grid-template-columns: 1fr; }
}

/* Number-badge for ordered card collections */
.dict-compare-num {
  font-size: 11px;
  font-weight: 800;
  color: rgba(0, 255, 202, 0.65);
  letter-spacing: 0.16em;
  line-height: 1;
  margin-bottom: -6px;
}

/* Neutral cards (no hot/cold accent) */
.dict-compare-card.is-neutral {
  border-color: rgba(0, 255, 202, 0.20);
  background: linear-gradient(180deg, rgba(19, 26, 53, 0.55) 0%, rgba(6, 8, 26, 0.65) 100%);
}
.dict-compare-card.is-neutral .dict-compare-title { color: #fff; }

/* Lens-specific accents (intro chapter) */
.dict-compare-card.is-lens-fundamental {
  border-color: rgba(124, 58, 237, 0.32);
  background: linear-gradient(180deg, rgba(40, 22, 60, 0.40) 0%, rgba(6, 8, 26, 0.65) 100%);
}
.dict-compare-card.is-lens-fundamental .dict-compare-title { color: #B49AFF; }
.dict-compare-card.is-lens-mental {
  border-color: rgba(255, 77, 143, 0.30);
  background: linear-gradient(180deg, rgba(60, 22, 38, 0.40) 0%, rgba(6, 8, 26, 0.65) 100%);
}
.dict-compare-card.is-lens-mental .dict-compare-title { color: #FF8DB0; }
.dict-compare-card.is-lens-technical {
  border-color: rgba(0, 255, 202, 0.32);
  background: linear-gradient(180deg, rgba(14, 48, 48, 0.40) 0%, rgba(6, 8, 26, 0.65) 100%);
}
.dict-compare-card.is-lens-technical .dict-compare-title { color: #00FFCA; }

/* Course CTA block — appears at end of VIP chapters */
.dict-cta-course {
  margin-top: 48px;
  padding: 22px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(184,255,0,0.08), rgba(0,255,202,0.04));
  border: 1px solid rgba(184,255,0,0.25);
  border-right: 3px solid #B8FF00;
}
.dict-cta-course-label {
  display: inline-block;
  font-size: 11.5px; font-weight: 800;
  color: #B8FF00;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dict-cta-course p {
  font-size: 16px; line-height: 1.7; color: #C8CDDD;
  margin: 0;
}
.dict-cta-course a {
  color: #B8FF00; font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.dict-cta-course a:hover { color: #d4ff66; }

/* Visual-needs-live block — gold theme */
.dict-live-note {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,217,107,0.06), rgba(124,58,237,0.03));
  border: 1px solid rgba(255,217,107,0.22);
  border-right: 3px solid #FFD96B;
}
.dict-live-note-label {
  display: inline-block;
  font-size: 11.5px; font-weight: 800;
  color: #FFD96B;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dict-live-note p {
  font-size: 15px; line-height: 1.65; color: #C8CDDD;
  margin: 0;
}

.dict-tldr {
  background: linear-gradient(135deg, rgba(0,255,202,0.06), rgba(124,58,237,0.04));
  border: 1px solid rgba(0,255,202,0.18);
  border-right: 3px solid #00FFCA;
  border-radius: 14px;
  padding: 22px 26px;
  margin: 0 0 48px;
}
.dict-tldr-label {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #00FFCA; margin-bottom: 8px;
}
.dict-tldr-text {
  font-size: 18px; line-height: 1.6; color: #fff;
  margin: 0;
}

.dict-deflist { margin: 12px 0 36px; }
.dict-deflist-item {
  padding: 18px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  margin-bottom: 14px;
}
.dict-deflist-term {
  font-size: 17px; font-weight: 700; color: #00FFCA; margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.dict-deflist-def {
  font-size: 16.5px; line-height: 1.75; color: #C8CDDD;
  margin: 0;
}

.dict-example {
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.20);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 24px 0 36px;
}
.dict-example-label {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #7C3AED; margin-bottom: 12px;
}
.dict-example p { margin-bottom: 12px; color: #C8CDDD; }
.dict-example p:last-child { margin-bottom: 0; }
.dict-example .num { color: #00FFCA; font-weight: 600;
}

.dict-faq { margin: 12px 0 36px; }
.dict-faq-item {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.dict-faq-item[open] { border-color: rgba(0,255,202,0.30); }
.dict-faq-q {
  padding: 16px 20px;
  padding-inline-end: 52px;
  cursor: pointer;
  list-style: none;
  font-size: 16px; font-weight: 600; color: #fff;
  display: block;
  position: relative;
  -webkit-user-select: none; user-select: none;
}
.dict-faq-q::-webkit-details-marker { display: none; }
.dict-faq-q::after {
  content: "+";
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #00FFCA; font-size: 22px; font-weight: 400;
}
.dict-faq-item[open] .dict-faq-q::after { content: "−"; }
.dict-faq-a {
  padding: 0 20px 18px;
  font-size: 15.5px; line-height: 1.75; color: #C8CDDD;
}

.dict-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}
.dict-related-card {
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  transition: all .2s;
  display: block;
  color: inherit;
  text-decoration: none;
}
.dict-related-card:hover {
  border-color: #00FFCA;
  background: rgba(0,255,202,0.06);
  transform: translateY(-2px);
}
.dict-related-name { font-size: 14px; font-weight: 700; color: #00FFCA;
  margin-bottom: 4px;
}
.dict-related-tagline {
  font-size: 13.5px; color: #8089A4;
  line-height: 1.5;
}

.dict-section-h {
  font-size: 24px; font-weight: 800; color: #fff;
  margin: 48px 0 18px;
  letter-spacing: -0.015em;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ============================================
   Site footer — shared across non-homepage pages
   ============================================ */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #06081A;
  padding: 40px 24px 32px;
  text-align: center;
  color: #4D5573;
  font-size: 13px;
  line-height: 1.85;
  margin-top: 80px;
}
.site-footer a { color: #8089A4; transition: color .15s; }
.site-footer a:hover { color: #00FFCA; }
.site-footer-inner { max-width: 880px; margin: 0 auto; }
.site-footer-nav { margin-bottom: 10px; font-size: 14px; color: #C8CDDD; }
.site-footer-nav a { color: #C8CDDD; margin: 0 4px; font-weight: 500; }
.site-footer-legal { margin-bottom: 20px; font-size: 12.5px; }
.site-footer-legal a { margin: 0 4px; }
.site-footer-meta { font-size: 12.5px; color: #4D5573; }
.site-footer-meta a { color: #8089A4; }
@media (max-width: 720px) {
  .site-footer { padding: 32px 18px 24px; margin-top: 56px; }
  .site-footer-nav, .site-footer-legal { line-height: 2.1; }
}
