    #mnb-classes-and-subjects { isolation:isolate; }
    #mnb-classes-and-subjects{
      background:
        radial-gradient(1200px 520px at -10% -20%, rgba(99,102,241,.10), transparent 60%),
        radial-gradient(900px 420px at 110% -10%, rgba(236,72,153,.10), transparent 60%),
        radial-gradient(800px 420px at 50% 120%, rgba(14,165,233,.08), transparent 60%);
    }
    .vk-disabled-dark-mode #mnb-classes-and-subjects{
      background:
        radial-gradient(1200px 520px at -10% -20%, rgba(99,102,241,.18), transparent 60%),
        radial-gradient(900px 420px at 110% -10%, rgba(236,72,153,.16), transparent 60%),
        radial-gradient(800px 420px at 50% 120%, rgba(14,165,233,.14), transparent 60%);
    }
    #mnb-classes-and-subjects .mnb-card{
      position:relative; transition:transform .28s, box-shadow .28s, background .3s, border-color .3s;
      box-shadow:0 10px 24px rgba(2,6,23,.08);
      background:linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.78));
      backdrop-filter:blur(8px) saturate(1.2);
      border:1px solid rgba(15,23,42,.06);
    }
    .vk-disabled-dark-mode #mnb-classes-and-subjects .mnb-card{
      background:linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.45));
      box-shadow:0 12px 28px rgba(2,6,23,.55);
      border-color:rgba(148,163,184,.15);
    }
    #mnb-classes-and-subjects .mnb-card:hover{ transform:translateY(-4px); box-shadow:0 18px 36px rgba(2,6,23,.14) }
    #mnb-classes-and-subjects .mnb-card::before{
      content:""; position:absolute; inset:0 0 auto 0; height:6px; border-radius:14px 14px 0 0;
      background:var(--accent, linear-gradient(90deg, #6366f1, #22c55e));
      opacity:.85;
    }
    
    
    /* ===== Coverflow gallery ===== */
#gallery-showcase .vs-coverflow{
  position: relative;
}

#gallery-showcase .vs-coverflow-stage{
  position: relative;
  height: clamp(300px, 44vw, 520px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gallery-showcase .vs-coverflow-slide{
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(180px, 24vw, 300px);
  aspect-ratio: 3 / 4;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 28px;
  background: #e5e7eb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  transform-origin: center center;
  transition:
    transform .65s cubic-bezier(.22,.61,.36,1),
    opacity .45s ease,
    filter .45s ease,
    box-shadow .45s ease;
}

#gallery-showcase .vs-coverflow-slide img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#gallery-showcase .vs-coverflow-slide::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.16), rgba(15,23,42,0) 42%);
  pointer-events: none;
}

#gallery-showcase .vs-coverflow-slide[data-pos="0"]{
  transform: translate(-50%, -50%) translateX(0) scale(1.16);
  z-index: 5;
  opacity: 1;
  filter: blur(0);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}

#gallery-showcase .vs-coverflow-slide[data-pos="-1"]{
  transform: translate(-50%, -50%) translateX(-68%) scale(.92);
  z-index: 4;
  opacity: .9;
  filter: blur(.2px);
}

#gallery-showcase .vs-coverflow-slide[data-pos="1"]{
  transform: translate(-50%, -50%) translateX(68%) scale(.92);
  z-index: 4;
  opacity: .9;
  filter: blur(.2px);
}

#gallery-showcase .vs-coverflow-slide[data-pos="-2"]{
  transform: translate(-50%, -50%) translateX(-124%) scale(.78);
  z-index: 2;
  opacity: .55;
  filter: blur(.8px);
}

#gallery-showcase .vs-coverflow-slide[data-pos="2"]{
  transform: translate(-50%, -50%) translateX(124%) scale(.78);
  z-index: 2;
  opacity: .55;
  filter: blur(.8px);
}

#gallery-showcase .vs-coverflow-slide[data-pos="hidden"]{
  transform: translate(-50%, -50%) scale(.65);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

#gallery-showcase .vs-coverflow-controls{
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

#gallery-showcase .vs-coverflow-nav{
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 2px solid rgba(15, 23, 42, .45);
  background: #fff;
  color: #111827;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: all .25s ease;
  box-shadow: 0 6px 16px rgba(15,23,42,.08);
}

#gallery-showcase .vs-coverflow-nav:hover{
  transform: translateY(-2px);
  border-color: #7c3aed;
  color: #7c3aed;
  box-shadow: 0 10px 22px rgba(124,58,237,.14);
}

@media (max-width: 1024px){
  #gallery-showcase .vs-coverflow-slide[data-pos="-1"]{
    transform: translate(-50%, -50%) translateX(-58%) scale(.88);
  }

  #gallery-showcase .vs-coverflow-slide[data-pos="1"]{
    transform: translate(-50%, -50%) translateX(58%) scale(.88);
  }

  #gallery-showcase .vs-coverflow-slide[data-pos="-2"]{
    transform: translate(-50%, -50%) translateX(-98%) scale(.72);
  }

  #gallery-showcase .vs-coverflow-slide[data-pos="2"]{
    transform: translate(-50%, -50%) translateX(98%) scale(.72);
  }
}

@media (max-width: 640px){
  #gallery-showcase .vs-coverflow-stage{
    height: 360px;
  }

  #gallery-showcase .vs-coverflow-slide{
    width: 200px;
    border-radius: 22px;
  }

  #gallery-showcase .vs-coverflow-slide[data-pos="0"]{
    transform: translate(-50%, -50%) translateX(0) scale(1.06);
  }

  #gallery-showcase .vs-coverflow-slide[data-pos="-1"]{
    transform: translate(-50%, -50%) translateX(-52%) scale(.82);
    opacity: .72;
  }

  #gallery-showcase .vs-coverflow-slide[data-pos="1"]{
    transform: translate(-50%, -50%) translateX(52%) scale(.82);
    opacity: .72;
  }

  #gallery-showcase .vs-coverflow-slide[data-pos="-2"],
  #gallery-showcase .vs-coverflow-slide[data-pos="2"]{
    opacity: 0;
    pointer-events: none;
  }
}